Hi,
In Canada with interactive brokers we get multiple accounts for one parent account with interactive brokers. For example I have one margin account (dedicated account number) but when I open TFSA (it is reigstered account) which shows up with the same username and pw with different account number i.e. single loging. When trading using TWS i can simply pick where I want to buy given security. With lean/qc is there way to buy into TFSA while runing algorithm as margin account number. I.e. can choose/change account id provided in config.json file at runtime to direct trade to specific account ? Is there better method to trade into multiple accounts (I am not talking abotu managed account but rather simple ablility to trade). Main problem is that when I run algo on my margin account I lose complete access to TFSA account as I can no longer login without affect data for algo that is already running despite account is separte. Basic problem is that these kind of accounts are neither complely sperate nor completley joint to allow trading in both accounts with lean/qc (really IB issue with API solution i guess but there has to be better way to handle this).
Derek Melchin
Hi Desi,
To trade the TFSA account, we must provide that account number to the config.json file before compiling. The config.json file can't be changed at runtime.
Best,
Derek Melchin
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.
Magno0113
I'm currently running two Live algorithms with Interactive Brokers. One margin account and one RRSP account. If both algorithms are running LIVE and I try to log into IB it will stop both algorithms. If I am not running the margin account Live and the RRSP account is running Live I can log into IB without affecting the RRSP account. If I understand your question correctly, if I run my margin account LIVE I will not be able to access my RRSP account? I have not tried this situation yet. I'll give it a try.
Desi Monk
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!