Hacker News new | ask | show | jobs
by chollida1 1060 days ago
We’ll refine detection is detecting when the market refine changes. But I assume you know that.

Typically you’ll run one set of strategies in a bull market for a given Security and another in a sideways market and others in a bear market.

Keep in mind different securities can be in different regimes at the same time.

And the market in general can be in a different return from individual securities.

To detect regime change you typically model it as a hidden Markov process.

For back testing we typical pre-label the data by the regime that we know the market was in because we have the benefit of hindsight: