Options Meerkat

Guides Strategies

Backtesting an options strategy

3 min read

A strategy can look good on a P/L chart and still lose money over a year. A backtest replays it session by session over the past, on the option prices that were actually there, and shows what the rules would have done: how often they won, how much they lost when they lost, and whether all of it beat simply holding the stock.

Rules, not trades

A backtest needs rules a machine can follow without hindsight. For an options strategy that means:

What to measure

The ending return hides the journey An illustrative equity index starts at 100, peaks at 110, falls to 88, and finishes at 117. Its final return is 17%, while its maximum drawdown is 20%, measured from the previous peak of 110. The ending return hides the journey OPTIONS MEERKAT / ILLUSTRATIVE EXAMPLE Equity index · starts at 10080100110120StartPeakTroughEndSessions · illustrative path−20%drawdown
Illustrative arithmetic, not a strategy result: ending return = 117/100 − 1 = +17%; max drawdown = 88/110 − 1 = −20%. A real backtest also needs costs, fill assumptions, data coverage, and a benchmark over the same window.

The pitfalls

In Options Meerkat

Backtests are part of Pro. The backtest page (R) starts from a preset, the wheel, cash-secured puts, covered calls, bull put and bear call spreads, iron condors, short strangles, or long calls and puts, tuned by the short legs' delta, the days to expiry, and a spread's width, with take-profit, stop-loss, and days-to-expiry exits and a window of sessions. It runs on the server over each contract's real daily closes (OPRA day aggregates from Massive's Flat Files), with the underlying's splits applied, against buy and hold, and reports the return, annualized return, max drawdown, Sharpe, trades won, assignments, the net premium and costs, and the equity curve. A contract with no trade on a session is priced by Black-Scholes at its last implied volatility and counted, so each result says how much of it is modeled; assignment happens only at expiry, and dividends are not paid. Ask Meerkat, the chat, to backtest a strategy in a sentence and it writes the rules and runs them; optchain backtest does the same from the command line.