Improving Volatility Risk Premium with Trailing Stops
Overviewโ
Writing options is a common and straightforward method for generating income from derivatives, often referred to as Volatility Risk Premium (VRP) harvesting.
Selling put options is akin to operating an insurance business:
the option seller is rewarded with the premium (option price) in exchange for taking the risk of assignment if the market moves below the strike price at expiration.
This simple strategy can be highly profitable in bull markets, but it can result in significant losses during bear markets and sudden down moves.
Simulating Option Writing on SPXโ
MesoSim was created to study options trading strategies. It offers numerous built-in templates demonstrating key features as well as ready-to-use strategies.ย
For simulating Option Writing, we will utilize the [SPX-ShortPut]
built-in template.
The above screenshots capture the overview of two runs for different time periods:
- 2021. 01. 01. - 2021. 12. 31.: Bull Market Simulation
- 2022. 01. 01. - 2022. 12. 31.: Bear Market Simulation
Trailing Stopsโ
In generalโ
Trailing Stops are well known to equity, futures and options traders alike. The idea is simple: As the profit increases we store the highest profit achieved (high watermark) and create a stop order relative to the high watermark. This way, our stop loss will not be fixed, but it will continuously move higher as the strategy gains.
Programatically it can be described as:
-
At entry:
Setpnl_high_watermark
to 0. -
When
current_pnl > pnl_high_watermark
:
Setpnl_high_watermark
tocurrent_pnl
. -
When
current_pnl < pnl_high_watermark * x%
:
Exit the position.
Implementing in MesoSimโ
To explore how a trailing stop could enhance a trading strategy - such as option writing-ย in different market conditions, we will implement it in MesoSim. The above logic can be translated into a Job Definition as follows:
- At entry initialize pnl_high_watermark variable to 0:
"Entry": {
...
"VarDefines": {
"pnl_high_watermark": "0"
}
},
- Increase pnl_high_watermark when we reach a new high of pnl:
"Adjustment": {
...
"ConditionalAdjustments": {
"pos_pnl > pnl_high_watermark -- record new high watermark": {
"UpdateVarsAdjustment": {
"VarDefines": {
"pnl_high_watermark": "pos_pnl"
}
}
}
}
},
- Exit when the current pnl falls below the 75% of the high watermark:
"Exit": {
...
"Conditions": [
"pos_pnl < (pnl_high_watermark * 0.75) -- Exit if pnl drops 25pct from high water mark"
]
},
Trailing Stop with SPX Short Put resultsโ
Incorporating the trailing stop snippets into the Short Put template and re-running the tests produces the following results:
The above runs can be accessed in the following URLs:
- 2021. 01. 01. - 2021. 12. 31.: Bull Market Simulation
- 2022. 01. 01. - 2022. 12. 31.: Bear Market Simulation
Summarizing the resultsโ
When comparing the original Short Put runs with the Trailing Stop version, we can conclude that the trailing stop signifficantly improved the strategy performance in Bear market. In contrast, the results in bull market became more modest, although it remains fairly good (with a sharpe ratio around 2).
Conclusionโ
Trailing stop is a dynamic approach to increase strategy performance. It has proven to be beneficial for the simple SPX Put Writing strategy by locking in gains without sacrificing much upside potential.ย
Someone interested in this approach should try different relative ranges from the high watermark to see how it affects her strategy performance.