I am not a professional. There might be some problems in the code. Since deepvue and market smith is too expensive for a newbie. I try to recreate something similar.
Explanation:
-Check 12 months, 6 months, 3 months and 1 month Rate of change
-Different months have different weighting. 0.2 for 12,6,3 months, and 0.4 for 1 months rate of change.
-sort the weighted roc in ascending order. Then put symbols in a list. RS rating is simply calculated by (the index in list)/ (size of list).
-sort the list again in descending order.
-if you want to get stocks within top 15% rs rating . set self.topXPercent to 0.15. Get the number of stocks at 15% by 0.15 * number of all stocks. Then use a for loop and a counter to control the number of output.
Deepvue AS rating explanation:
I hope I did not get it wrong. AS is just roc without weighting. RS is roc with different weighting.
Mia Alissi
The provided code is correct and does not contain any errors. You can proceed with using it as is.
Sources: Stock Selection Strategy Based On Fundamental Factors, Volatility Effect In Stocks, Momentum Short Term Reversal Strategy, Momentum Effect In Commodities Futures, Momentum And State Of Market Filters
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.
William Chau
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!