Explore more topics
Historical strategy research · October 11, 2026

Options trading strategies: create, backtest and deploy a bot

Compare six SPY options bot variants, a 52.68% modeled development result, 94 audited fills and a no-trade holdout caused by the fixed premium budget.

As of 2026-10-11

Jump to a section

TL;DR

The 50 day SPY long-call rule led six development variants, returning 52.68% versus SPY's 28.06% from 2022 through 2024, with 36.94% drawdown. Its pricing included synthetic spreads alongside real quotes. Later growth lagged SPY, and the reserved July through September 2026 test made no trades under the fixed premium budget. Contract selection, whole-contract sizing and exits mattered as much as the stock signal; each period started separately.

Development strategy
52.68%
SPY development
28.06%
Reserved-test strategy
0.00%
SPY reserved test
1.86%

A payoff example makes the trade-off concrete

Animation: the expiration payoff of a $500-strike call bought for $10 draws as the price sweeps from $482 to $528: the most it can lose is the $1,000 paid, it breaks even at $510 and its profit keeps rising above that, before fees. The chart then cycles through illustrative payoff shapes, labelled illustrative, for a bull call spread, a covered call, a cash-secured put and an iron condor while each name lights up in a list of the page's five payoff choices, and returns to the $500 call.
Bought for $10, the $500 call breaks even at $510 at expiration and can lose at most the $1,000 paid, before fees.

For a simplified standard 100-share contract, a $500-strike call bought for $10 costs $1,000 before fees.

An options trading bot needs a contract rule, not just a stock signal

Being right about the direction of a stock is only part of an options strategy.

Choose the payoff before choosing the signal

Show the table · 5 rows, 3 columns

Scroll sideways to compare all columns. Select a heading to sort.

Long callBuy one callCan the move overcome premium, time loss and trading costs?
Bull call spreadBuy a call; sell a higher-strike callIs cheaper entry worth the capped payoff and short-leg lifecycle?
Covered callOwn shares; sell a callIs the premium worth giving up gains above the strike?
Cash-secured putSell a put; reserve purchase cashCan the account fund assignment and hold the acquired shares?
Credit spread or iron condorMatched long and short legsHow are collateral, early assignment and exits handled?

A long call buys upside exposure and can lose the premium paid.

The tested SPY options strategy

When SPY is above its 50-calendar-day native rolling mean and no matching long-call position exists, request a near-the-money call.

Show the table · 6 rows, 2 columns
SettingSelected version
Underlying and signalSPY above 50-calendar-day native mean
ContractLong near-the-money call; nearest eligible expiry in 30–45 days
Premium allocation$1,000 budget; whole contracts; no matching position already open
ExitTrend breaks or 14 days or fewer remain
Commission$0.65 per contract per fill
ExecutionNative option quote, spread/slippage and liquidity model

Compare the variants before choosing a winner

Compare the variants before choosing a winner: net return by setting

Scale: 0 to 52.68 % · zero baseline

Long call / 50-day

  • Long call / 50-day+52.68%

Long call / 100-day

  • Long call / 100-day+14.16%

Long call / 200-day

  • Long call / 200-day+21.73%

Bull call spread / 50-day

  • Bull call spread / 50-day+33.73%

Bull call spread / 100-day

  • Bull call spread / 100-day+7.86%

Bull call spread / 200-day

  • Bull call spread / 200-day+36.17%
Show the table · 6 rows, 4 columns

Scroll sideways to compare all columns. Select a heading to sort.

Long call / 50-day52.68%36.94%47
Long call / 100-day14.16%46.05%50
Long call / 200-day21.73%49.97%41
Bull call spread / 50-day33.73%30.01%108
Bull call spread / 100-day7.86%40.09%114
Bull call spread / 200-day36.17%32.39%86

2022–2024 development results. Returns include declared costs. The native closed-trade count measures asset trades or option legs: a two-leg spread contributes two closed legs. Selection used net return, with drawdown reported separately.

Test three trend windows for long calls, then the same three for bull call spreads.

The backtest that beat the baseline

Development: 2022-01-03 through 2024-12-31, $10,000 starting capital16.4K7.1K2022-01-032024-12-31
Strategy, costs included 2024-12-31, 21:00:00 UTC
15,267.62
SPY buy and hold 2024-12-31, 21:00:00 UTC
12,806.5
Strategy, costs includedSPY buy and holdHistorical simulation

The selected version ended at $15,267.62 from $10,000, a 52.68% cumulative return.

Audit the option lifecycle and the cash

The event replay reproduced the selected result and produced 94 filled orders across 47 closed call trades.

Quote coverage changes the meaning of the return

The development run recorded 110 real-quote pricings and 344 synthetic-spread pricings.

Freeze the rules, then test later dates

Reserved historical test: 2026-07-06 through 2026-09-30, $10,000 starting capital10.4K9.7K2026-07-062026-09-30
Strategy, costs included 2026-09-30, 20:00:00 UTC
10,000
SPY buy and hold 2026-09-30, 20:00:00 UTC
10,185.51
Strategy, costs includedSPY buy and holdHistorical simulation
SPY options bot: development and later comparisons

Scale: 0 to 52.68 % · zero baseline

2022 through 2024 development

  • Long-call strategy+52.68%
  • SPY holding+28.06%

2025 through June 2026 follow-up

  • Long-call strategy+7.73%
  • SPY holding+28.47%

July through September 2026 reserved

  • Long-call strategy0%
  • SPY holding+1.86%

Each period is a separate $10,000 start. The candidate uses its $1,000 premium budget and option costs; SPY holding uses its recorded benchmark convention. The reserved strategy placed no trades.

Show the table · 3 rows, 4 columns

Scroll sideways to compare all columns. Select a heading to sort.

2022–2024 development52.68%28.06%36.94%
2025–June 2026 follow-up7.73%28.47%16.34%
July–September 2026 reserved test0.00%1.86%0.00%

Independent $10,000 starts. These returns must not be described as one continuously held account or averaged into an annual return.

The initial rules and repairs used January 2022 through December 2024.

Create this options trading bot in NexusTrade

Open Aurora with the filled-in request below.

Paper-test and deploy this options trading bot

After reviewing the rules and historical tests, prepare a separate paper portfolio from the saved draft.

What to take from the options comparison

The 50-day long-call version led the six-setting development comparison.

Continue exploring

Discussion

Sign in or create a free account to join the discussion.

No comments yet.

Aurora · AI research assistant

Try this in Aurora

Edit the request, then open it in Aurora. You choose when to send it.