Hi guys. When live trading a certain stock, would having other holdings (stock or forex) in the portfolio be causing issues? I tried deploying, for the purpose of testing, with holdings already in the portfolio, which are not used in the code, and got a runtime error. Just checking if that's as expected.
Jared Broad
Hi Mike; if you have other supported asset types it should not cause and issue with LEAN. If you have bonds / unsupported assets it will cause problems with the portfolio modeling. Looking at your logs the runtime error is inability to connect. This could be caused by many things (IB servers, incorrect credentials, already logged into TWS). We'll need to take a closer look to be sure. I see you've already contacted support so we'll finish investigation to your case there and post results back to forum.
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.
Mike G
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!