2019-01-23 09:32:00 :Order Error: id: 39, Insufficient buying power to complete order (Value:-4250), Reason: Id: 39, Initial Margin: -4251.25, Free Margin: 2666.570851063829787234042562019-01-23 09:32:00 :Order Error: id: 40, Insufficient buying power to complete order (Value:-4675), Reason: Id: 40, Initial Margin: -4677.5, Free Margin: 2666.570851063829787234042562019-01-23 09:32:00 :2019-01-23 09:32:00: SecurityChanges: Added: AMZN X1HZU3E27BWM|AMZN R735QTJ8XC9X,AMZN 310LZZJD9H5AE|AMZN R735QTJ8XC9X,CMG X1HZU2VDFIBQ|CMG TFNWQ96IBZ39,CMG 310LZZIUKPBPI|CMG TFNWQ96IBZ39 Removed: AMZN X1HZW7GS1RD2|AMZN R735QTJ8XC9X,AMZN 310M01NFZBKQU|AMZN R735QTJ8XC9X2019-01-23 09:33:00 :Already invested in AMZN2019-01-23 11:56:00 :Runtime Error: GetMaximumOrderQuantityForTargetBuyingPower failed to converge on the target margin: -20038.447053765194565640795719; the following information can be used to reproduce the issue. Total Portfolio Cash: -331122.750; Leverage: 1; Order Fee: 3.5; Lot Size: 1; Per Unit Margin: 3885.00000; Current Holdings: QuantConnect.Securities.Option.OptionHolding; Target Percentage: %-4.254390903255571357204027700; Current Order Target Margin: 52614.752946234805434359204277; Current Order Margin: 54390.00000 in BuyingPowerModel.cs:line 4672019-01-23 11:56:00 :Algorithm Id:(d6f046de9bace5ab06cdc373ee924a68) completed in 14.37 seconds at 3k data points per second. Processing total of 43,506 data points.
Alexandre Catarino
HI Manoj Kandlikar,
Thank you for the report. The QuantConnect Engineering Team is looking into the issue.
I am closing this thread since we can follow the developments on
Manoj Kandlikar
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!