A docker container and flask app for use with the Interactive Brokers Web API 1.0
**NOTE:**This project is still under active development, watch for tagged releases.
git clone https://github.com/interwebshack/interactive-brokers-web-api.git
To install the app with all dependencies:
poetry install
poetry export --without-hashes --format=requirements.txt > requirements.txt
pytest --cov=ib_rest_api --cov-report=term-missing
podman build -t ibkr-rest-api:0.1.0 .
podman run --rm --name ibkr -e IBKR_ACCOUNT_ID=U1234567 -p 5055:5055 -p 5056:5056 ibkr-rest-api:0.1.0
interactive-brokers-web-api/
├── ib_gateway/
│ └── conf.yaml
├── ib_rest_api/
│ ├── __init__.py
│ ├── app.py
│ ├── config.py
│ └── routes.py
├── tests/
│ ├── __init__.py
│ └── test_routes.py
├── .gitignore # Git ignore rules
├── Dockerfile # Docker build script
├── LICENSE # Project license
├── pyproject.toml
├── README.md # Project docs
├── requirements-dev.txt
└── requirements.txt
MIT (See LICENSE)
This project is heavily inspired by the following projects: