Hi,
I would like to add new feature request for live trading with IB.
As I know, in QC and Lean it is possible to use same IB account only once, for 1 strategy and not for multiple strategy. This is not IB constraint, but QC constraint.
The problem is that WC allows only 0 for client ID. But IB allows multiple clients IDs and multiple sessions.
QC staffs explains that they allow only 0 client ID, because this is only client ID parameter that allows changing existing orders.
But, in most times, I don't change my orders. I just set market, limit and stop orders.
I would like to be able to use different client id's even if I can't change existing orders with them.
Another solution is to open new accounts in IB, but this is inconvenient for several reasons. The most important one is that I can't use market data subscriptions for more than 1 strategy.
Since this is pretty basic constraint (everybody with 2 and more strategies with IB brokerage encountered this problem for sure), I would like to know how other people solve this problem.
Alexandre Catarino
Hi Mislav Sagovac ,
Could you please explain to us what the goal and the use case are?
The real constraint is that QuantConnect/Lean cannot connect to IB Gateway using the same credentials.
Mislav Sagovac
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!