Rule Builder: backtest your own strategy
A strategy is a set of tracks that run side by side over one table of named legs. Each track is a chain of steps; each step holds rules: when these hold, do these actions, then go to a step. Read it as a flow, edit its rules, and backtest it day by day over real prices.
Rule map
every rule in one table
What the engine does each day
settle, read, each track, first match, record
The whole strategy as JSON. Errors are marked at their line as you type; Ctrl+Space suggests names (leg fields, your variables, step ids). An edit that parses carries over to Steps and YAML at once.
The same strategy as YAML. Errors are marked at their line as you type; Ctrl+Space suggests names (leg fields, your variables, step ids). An edit that parses carries over to Steps and JSON at once.
Every strategy
Each built-in strategy has its own page: the builder opened on it, plus the rules in plain English and how it did on SPY.
- LEAPS only
- Shares + crash put
- LEAPS + Protective put
- LEAPS + Protective spreads
- LEAPS + Collar
- PMCC
- Covered calls
- Cash-secured puts
- Put ratio spread 1×2
- Covered straddle wheel
- Short strangle
- Iron condor
- Calendar spread
- Vertical spread by IV
- Short straddle → iron fly
- Iron butterfly
- Covered call ratio write
- Stock repair
- Jade lizard
- Shares collar
- Call diagonal
- Put diagonal
- Broken-wing put butterfly
- Put 1-1-2
- Call backspread
- Double calendar
- Protective put · 90-day rolled put
- LEAPS + Married put
- Simple wheel