The base of project is based on extrange/ibkr-docker, but the goal/method is different.
Hartza Capital isn't affiliated to Interactive Brokers.
- Fully containerized IB Gateway instance + IBC Alpha with no external dependencies,
- Autorestarts automatically (for example, due to daily logoff),
- Supports VNC,
- Helm chart for Kubernetes.
- Build the image:
./build.sh {stable||latest}
- Start the container:
docker-compose up -d
- start VNC Client (url:
127.0.0.1:5900
, passwordtest
)
- To stop:
docker-compose down
See KUBERNETES.md to execute IB Gateway in Kubernetes.
This container is setup to connect to a paper account. To switch to a live account:
- Create your config IBC (example
gateway/config/config.ini.example
) in the same folder of exampleconfig.ini
.TradingMode=live
IbLoginId=LOGIN
IbPassword=XXXX
You will have to restart the container after making these changes.
AcceptBidAskLastSizeDisplayUpdateNotification=accept
AcceptIncomingConnectionAction=accept
AcceptNonBrokerageAccountWarning=yes
TradingMode=paper