Back

What happens if a company in my portfolio is delisted while backtesting?

Will my whole share for that company be counted as loss?

I backtested my very simple low PE strategy and it recorded pretty impressive CAGR of 58.6% for 20 years of backtest period. (But fitness score is only 2.2. I don't know how to improve this score. ;-P) 

I wonder if there were companies that were delisted in the backtest period and how it was handled by QC.

Thanks.

Update Backtest







0

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.


Fitness is based on a number of different things combined together to form your fitness score. Jared  posted his notebook in the Alpha Stream Scoring Criteria and it explains the different criteria for fitness scoring. 

Potential candidate fitness functions were judged by the following:

  • Independent and Deterministic - functions should not rely on a distribution of community performance
  • Positive Percentage - functions should have results ranging from 0 - 1.
  • Generous Initial Skew - alphas in profit should achieve near 50% score.
  • Statistically Significant Activity - Algorithm should be the cause of the performance.

So, if lets say the equity you are trading gets de-listed at some point and your algorithm stops trading that equity, your fitness is going to go down because any gains your algorithm will see is due to standard market movements and not your algorithm.

You can read further about de-listing events and how to capture the event by looking at this Delisting Events Algorithm example which is talked about in the References for Handling Data

0

Update Backtest





0

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.


Loading...

This discussion is closed