Skip to main content
Backtesting is an add-on with its own API key, separate from your volatility data key. Both go in the X-API-Key header.
1

Describe the strategy

Sell a 20-delta BTC call on the front monthly expiry, at least 20 days out. Take profit when 75% of the premium has decayed, stop out if the call’s delta reaches 0.45, and roll two days before expiry. Save the following as covered-call.json:
covered-call.json
initial_equity: 1 with one contract models one BTC held against the short call.
2

Run it

A six-month run takes a few seconds:
Eleven of the 14 trades hit the take-profit, but two delta stops, in August and September, gave the gains back. The positions array shows each trade’s reason, so you can see which rule closed it. The warning is the engine telling you six months is too short to judge a monthly strategy; widen the window if your lookback allows.
3

Get the report

Add format=html for a self-contained report with the equity curve, drawdowns and trade table, ready to open or share:
format=xlsx gives an Excel workbook and format=csv a zip of trades, positions and equity.

Next steps

Reading the result

What every statistic, trade field and warning means.

Strategy specification

Change the legs, expiry, sizing, exits, hedge and costs.