J-Rivard / trading-bot

Discord Bot for mock stock trading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trading-bot Discord Bot

This is a discord bot written in go with the purpose of simulating stock trading

Dependencies

Running

The following env vars are needed to run

export BotToken=*
export StockAPIToken=*

export db_user=postgres
export db_pw=*
export db_host=127.0.0.1
export db_schema=*
export db_name=*devdb*

Be sure to fill in the * with relevant fields for your environment

Once the appropriate environment variables are exported, simply run go run cmd/trading-bot/main.go

Postgres

You will also need postgres running, with the trading_bot.sql file configuration ran.

Usage

About

Discord Bot for mock stock trading


Languages

Language:Go 98.8%Language:Dockerfile 1.2%