In the documentation I can only find EMA("symbol") which requires a symbol to be passed in. But in the boot camp “200-50 EMA …” it shows, and the code compiles with the code “self.slow = ExponentialMovingAverage(200)”
So where is ExponentialMovingAverage(period) documented? And why does a search not find it?
thanks - dave
Mak K INVESTOR
Hey Dave. The “self.slow = ExponentialMovingAverage(200)” in the example that you're pointing to is being fed data by the universe selection function (Coarse, and Fine Selection) .This Data is stock price data for example and the resolution of that is specified in the “self.UniverseSettingsResolutions”.
Maybe you can attach the code of the project that you're working on?
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.
David Thielen
Hi Mak;
My question is more basic. I want to know where to find the documentation for the API. The sample code (don't remember what sample) compiles and runs fine for the call ExponentialMovingAverage(period) but I can't find it in the documentation.
Where is that documented? Because without knowing where items like this are documented, I'm going to have to post 40 questions/day asking if there's an API that does X and how is it used. That is not workable.
thanks - dave
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.
Mak K INVESTOR
https://lean-api-docs.netlify.app/index.html
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.
David Thielen
Hi Mak;
Thank you. I was not aware of the site https://lean-api-docs.netlify.app (it's not listed anywhere on QuantConnect.com that I saw). This is exactly what I need.
thanks - dave
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!