Back

Issue Connecting to Interactive Brokers

I am trying to deploy a script from Papertrading to Interactive Brokers for the first time and I'm getting the following message:

 

System.TimeoutException: InteractiveBrokersBrokerage.Connect(): Operation took longer than 15 seconds. at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.Connect () [0x00355] in <760890b11546449d82bf5939eafc7fbd>:0 at QuantConnect.Lean.Engine.HistoricalData.BrokerageHistoryProvider.Initialize (QuantConnect.Data.HistoryProviderInitializeParameters parameters) [0x00001] in Lean.Engine.HistoricalData.BrokerageHistoryProvider.Initialize (QuantConnect.Data.HistoryProviderInitializeParameters parameters) [0x00001] in <84454424c99040969f8d97159e06b05a>:0 at QuantConnect.Lean.Engine.Engine.Run (QuantConnect.Packets.AlgorithmNodePacket job, QuantConnect.Lean.Engine.AlgorithmManager manager, System.String assemblyPath) [0x003d6] in Lean.Engine.AlgorithmManager manager, System.String assemblyPath) [0x003d6] in <84454424c99040969f8d97159e06b05a>:0

Is this likely a configuration issue with IAB or something not coded correctly in my QC code?

 

Thanks.

 

 

Update Backtest








0

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.


for the first time -> do you enter the security code from the card when TWS opens?

write to the support - > you have to turn that off i think

https://www.interactivebrokers.com/en/software/am/am/manageaccount/sls_opt_out.htm

 

1

Update Backtest





0

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.


Loading...

This discussion is closed