During recent StockLab course, we discussed the importance of ensuring that a strategy operates within the appropriate market regime.
I’m now diving deeper into this topic and exploring how different market regimes influence our existing strategies.
One strategy with a particularly clear edge is our “Turn of the Month”example.
What Is the Turn-of-the-Month Effect? It’s widely believed that, after receiving their salaries, many investors allocate funds into ETFs like SPY, which tends to lift the market during that period.
I tested this behavior over 50 years of data and found that it produced positive returns most of the time. Below is a backtest in AlgoCloud using data starting in 1993.
Backtest of the Turn of the Month strategy
Market Regimes and Recent Volatility Recently, the strategy suffered a sizable loss when it held a position during the announcement of President Trump’s large tariffs on U.S. imports. I wondered whether a market‐regime filter could have mitigated that drawdown. To explore this, I added a volatility filter designed to keep the strategy out of the market during high‐volatility periods.
Volatility Filter Conditions
Entry Condition:
Exit Condition:
Results Since adding the filter, the overall stability of the strategy has improved:
Backtest of the strategy with volatility filter
Backtest of the strategy with volatility filter
Original results without volatility filter:
Backtest of the original strategy without volatility filter
Backtest of the original strategy without volatility filter
Final Thoughts This study is purely exploratory, and the filter does not guarantee that the strategy can’t incur large losses in the future. However, pairing a volatility filter with a known edge feels intuitively sound, and I plan to continue refining and testing this approach.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.