I am moving over from Quantopian and am having some issues replicating my code so I want to see if anyone can help me clarify things. The goal of this code is to buy something that fits these crietria
current price > SMA30
:100 PricetoEBITDA -> :50 of ROIC from this -> :15 BookValuePerShare from this
Goal would be to then liqiudiate any stock whenever it doesn't fit any of these criteria and purchase whichever one takes its place. My issues are such:
Do I have the current price > SMA30 set-up correctly? I couldn't find a way to reference current price, so I thought SMA1 would do the trick.
Am I only trading on the :15 BookValuePerShare that I have narrowed it down to? If so, I don't understand why I keep having margin issues when I have it set to 0.04 per security. .04 x 15 = 0,6 when leverage is 1.0, so I don't see why this is happening?
Hans Juergen Hinnershitz
?
Jared Broad
Hi Hans, the support team works through questions in the order asked. Please avoid bumping discussions as they are bumped to the bottom of the queue.
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.
Hans Juergen Hinnershitz
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!