Manual vs automatic options backtesting
There are two ways to test an options idea on the past. You can step through history yourself, one trading day at a time, deciding as you go. Or you can write the rules down and let software run them over years of data. They answer different questions.
Automatic backtesting: fixed rules over many dates
A rules-based backtester takes a recipe and applies it to every entry date in its data. The entry is usually set by delta and days to expiry: "sell a 30-delta put and buy a 20-delta put, about 45 days out". The exit is one of a few fixed rules: a profit target (close at half the credit), a stop loss (close when the loss reaches some multiple of the credit) or a number of days held. Many such tools do not roll at all: a trade opens, and one of the exits closes it. Some are offered by a brokerage and need an account there. You get totals over hundreds of trades quickly.
- Good for: comparing rule variations, and seeing how often a rule meets a bad stretch.
- Easy to miss: the totals hide what each trade felt like while it was open. A rule that "recovers" in the summary may have spent weeks near its maximum loss — the days on which a real person changes their mind.
- Watch for: rules tuned until the past looks good. More variations tried means more chance the winner just fits that past.
Manual backtesting: one day at a time
In a manual backtest you open a position on a past date and press Next day, seeing each day's real prices without knowing what comes next. Every roll, close or hold is your decision with only what that day showed.
- Good for: practising the decisions themselves: when to take a profit, when to roll, how a loss feels while it grows.
- Easy to miss: one run is one date. A single good outcome says little about the next one, so test several, including bad stretches.
- Watch for: hindsight. If you already know a date's story, you will trade it better than you would have.
A manual decision on real prices
Here is the kind of moment a fixed rule decides for you, and a manual backtest makes you decide. On Monday 15 July 2024, with SPX at 5,625.88, a put credit spread was opened in Test My Legs with the ready-made Credit spread's own values: sell the 5535 put and buy the 5445 put, both expiring 30 August 2024 (46 days out). It filled at 46.95 and 31.00, a credit of 15.95 or $1,595. The app showed a maximum loss of $9,000 (the 90-point width, before the credit).
Then Next day, one trading day at a time:
| Day | SPX | Spread P&L |
|---|---|---|
| Tue 16 Jul 2024 | 5,660.80 | +$265 |
| Fri 19 Jul | 5,503.88 | −$1,465 |
| Wed 24 Jul | 5,438.40 | −$2,550 |
| Wed 31 Jul | 5,535.50 | −$1,240 |
| Fri 2 Aug | 5,333.05 | −$4,200 |
| Mon 5 Aug | 5,169.30 | −$5,405 |
On 5 August, 25 days before expiry, SPX was below both strikes. The spread was valued at 70.00 of its 90-point width: the 5535 put at 365.95 against the 5445 put at 295.95.
Now you choose, with only what that day showed. Close it and take the loss. Hold it for the 25 days left. Or roll it: tick both legs, press Roll leg(s)…, tick flat to keep the same strikes and type how many days out the new expiry should be. The preview prices the roll before anything fills: moving both legs to 19 September 2024 would cost about 9.15 at mid, or $915, in exchange for more time.
This example stops at the decision on purpose: which choice was right depends on days you have not seen yet. In the app you press Execute or Cancel, keep pressing Next day, and can go back to 5 August to try the other choices.
The other guides are manual backtests too: an SPX iron condor in June 2024, a put credit spread on the same dates, a TQQQ spread in May 2022 and an iron condor through the 2008 crash.
When each fits
- Rules-based fits when you already have a rule and want to compare versions of it (other deltas, other exits, other entry days) across many dates, and see how often it runs into a bad stretch.
- Manual fits when the decisions are the strategy: rolling, adjusting, closing early on judgement, or any trade whose next step depends on what the market just did. A fixed exit cannot stand in for those choices.
- Manual also fits when you are learning: watching real prices move one day at a time shows what a delta, a spread's width or 25 days to expiry mean in money.
The two also work together: step through a few dates by hand until you know what your trade does on a good day and a bad one, then test the rule you settled on across many dates. Then go back and step through the worst stretch the totals show, by hand.
In Test My Legs
Test My Legs is built for the manual kind: real recorded option prices (SPX and XSP from 2007, TQQQ and SOXL from 2010), one trading day at a time, with a preview before every fill, rolls, closes and adjustments on any day, and the option to go back to any day you have played and try another choice. It is free to start.
It can also run a written rule for you. With Test with AI you describe a strategy in plain words, read the plan the app makes of it, and press Run: it plays the plan out day by day over the dates you pick, on the same real prices, and you can pause and look at any day on the way. The Test with AI guide walks through one run.
The example above is one real run in Test My Legs on the recorded SPX option prices of July and August 2024. Backtests describe the past under simplified assumptions. They do not predict future results, and nothing here is investment advice.
Try it on another date yourself. Test My Legs is free: pick a past day and step through it.
Start now