Back

Interactive Brokers connection error

Hello. Im trying to connect by QuantConnect live mode to InteractiveBrokers, but im getting the error below.

Im sure te credentials are ok, as i able to connect by TradeStation.  SLS Opt out has been disbaled for this "demo user account".

What can i be missing ?

Thank you

Failed to initialize algorithm: Error connecting to brokerage: Connection refused. Be sure to logout of Trader Workstation. IB only allows one active log in at a time. This can also be caused by requiring two-factor authentication. Be sure to disable this in IB Account Management > Security > SLS Opt out.. This may be caused by incorrect login credentials or an unsupported account type.
Update Backtest








Hey Marco; generally we can only diagnose any user specific issues by going into your logs through a support request.

Broadly speaking other issues might be:

  • Connecting too soon after the account's been created (they take time to enable api access)
  • Financial advisor account types (not Individual)
  • After login - if the portfolio contains unsupported assets (e.g. futures, options assets).

Please send through a support request with the project attached and one of the team will dig into what it could be.

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.


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