manhinhang / ib-gateway-docker

lightweight interactive brokers gateway docker
MIT License
90 stars 42 forks source link

Error while running the docker image #71

Open dnoredu opened 1 year ago

dnoredu commented 1 year ago

This docker image is great to seamlessly the algorithm trading process. Thanks for making it so easy!

I just encounter the following error when pull the image and run with the paper mode:

[2023-07-20 19:17:50,432]ERROR:API connection failed: ConnectionRefusedError(111, "Connect call failed ('127.0.0.1', 4001)")
[2023-07-20 19:17:50,432]ERROR:Make sure API port on TWS/IBG is open

I didn't see anywhere in the code we start the IBG explicitly, wondering any configure I'm missing?

rayli09 commented 5 months ago

+1 on this