I've noticed a lot of my algorithms have consistent losses when using an alpha framework. To test this, I've made the following (backtest attached).
The idea of this system is straightforward. Look at equities which have released earnings in the last 30 days (universe selection occurs daily). Look at 5 minute candles of all equities in our universe. And hold those with the greatest difference between the last high and last low.
Interesting, the algorithm shows similar losses when emitting down-ward insights instead of upward insights. This makes me think the problem is slippage, or in some way related to the quantity of trades rather than the direction of them.
Am I doing something wrong? What could be done to prevent this? I would appreciate feedback anyone could offer me.
Louis Szeto
Hi Asher
There could be a lot of reasons for losing, even if you switch the direction of the sign. Here are a few insights as examples you could think of:
Best
Louis Szeto
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.
Asher S
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!