Hello. I am having issues making Lean work with IB.
According the `run-ib-controller.sh` file, the TWS vession should be 968, but I don't find it to download on IB. I see available 972 and 973. Is ok if I update `run-ib-controller.sh` to use 973, or I must use 968? If I must use 968, where I should download historical TWS versions?
I tried with versions 972 and 973, but after getting how much cash I have on my account, it crashed with the following logs:
```
20181005 14:35:39.621 Trace:: BrokerageSetupHandler.Setup(): Setting USD cash to 3098.34
20181005 14:35:39.624 Trace:: BrokerageSetupHandler.Setup(): Fetching open orders from brokerage...
20181005 14:35:39.635 Trace:: InteractiveBrokersBrokerage.HandleError(): RequestId: -1 ErrorCode: 504 - Not connected
20181005 14:35:39.635 ERROR:: Brokerage.OnMessage(): Error - Code: 504 - Not connected
20181005 14:35:39.641 ERROR:: LiveTradingResultHandler.Update(): Algorithm not yet initialized.
```
Last IBController 3.4.0 is ok?
I appreciate your help.
Jared Broad
We only support the well-crafted versions installed in the docker file. IB and IB Controller are fairly version sensitive.
See the dockerfile lean foundation in LEAN GitHub root directory for install instructions for the matching version. Or even better just pull down the LEAN docker image! =)
docker pull quantconnect/lean:foundation
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Gabriel Moncarz
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!