IB.ai, but in Python. 🐍
NOTE: 🚧 WORK IN PROGRESS! 🚧
This bot is incomplete.
To run the bot, you must have Docker and Python >=3.11 installed.
- Clone this repository.
git clone https://github.com/ib-ai/ib.py.git
cd ib.py
- Specify the bot configuration using
.envandconfig.toml.
Note: As a rule of thumb, sensitive information goes in .env while the config.toml should be shareable across people that run the bot. However, the package makes no distinction for the source of the configuration fields.
If run without a config.toml file, a blank config.toml is created for you:
# sensitive info - better to define using .env
token=""
db_host=""
db_user=""
db_name=""
db_password=""
# config data
prefix=""
description=""
application_id=0
log_level=""- Run the docker container. 🚧
By some Docker magic, the bot runs. (This has not been figured out yet.)
docker-compose -f docker-compose.postgres.yml up --build
Please read the CONTRIBUTING.md file to find out more about contributing towards the project.