Skip to content

ib-ai/ib.py

Repository files navigation

ib.py

IB.ai, but in Python. 🐍

NOTE: 🚧 WORK IN PROGRESS! 🚧

This bot is incomplete.

Usage

To run the bot, you must have Docker and Python >=3.11 installed.

  1. Clone this repository.
git clone https://github.com/ib-ai/ib.py.git
cd ib.py
  1. Specify the bot configuration using .env and config.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=""
  1. 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

Contributing

Please read the CONTRIBUTING.md file to find out more about contributing towards the project.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors