Options Strategy Builder
Design, test, and refine options strategies before executing. Build spreads from scratch or use pre-made templates with real-time P&L and Greeks visualization.
Category
Trading
Inspired By
- TradingView Options Strategy Builder
- OptionStrat
- Thinkorswim Strategy Roller
- Tastytrade
Features
Strategy Templates (30+)
Bullish:
- Long Call, Bull Call Spread, Bull Put Spread
- Call Ratio Backspread, Synthetic Long
- Poor Man's Covered Call (PMCC)
Bearish:
- Long Put, Bear Put Spread, Bear Call Spread
- Put Ratio Backspread, Synthetic Short
Neutral:
- Iron Condor, Iron Butterfly, Straddle, Strangle
- Calendar Spread, Diagonal Spread
- Jade Lizard, Big Lizard
Income:
- Covered Call, Cash-Secured Put
- Wheel Strategy, Collar
Visual Builder
- Drag & Drop: Add legs visually on option chain
- P&L Diagram: Real-time profit/loss chart
- Break-Even Points: Automatic calculation
- Max Profit/Loss: Risk visualization
- Greeks Profile: Delta, Gamma, Theta, Vega curves
What-If Scenarios
- Price Movement: How does P&L change with underlying?
- Time Decay: Theta impact over days/weeks
- IV Changes: Vega exposure simulation
- Assignment Risk: Early exercise probability
- Roll Analysis: Compare roll options
Advanced Features
- Multi-Leg Support: Up to 8 legs per strategy
- Custom Ratios: Unbalanced spreads
- Different Expirations: Diagonal strategies
- Index vs ETF: Compare SPX vs SPY options
- IV Rank/Percentile: Context for current volatility
Execution Integration
- One-Click Trade: Send strategy to broker
- Limit Order: Calculate mid-price
- Adjustment Alerts: When to roll or close
- Auto-Management: Profit/loss targets
Usage
import { OptionsStrategyBuilder } from 'kit-trading/skills/options-strategy-builder';
const builder = new OptionsStrategyBuilder();
// Build an Iron Condor
const strategy = await builder.create('AAPL', {
template: 'iron-condor',
expiration: '2026-03-21',
width: 5,
delta: 0.15
});
// Analyze the strategy
console.log(strategy.analysis);
// {
// maxProfit: 245,
// maxLoss: 255,
// breakEvens: [177.55, 192.45],
// probabilityOfProfit: 0.68,
// greeks: { delta: 0.02, theta: 12.5, vega: -45 }
// }
// What-if analysis
const scenarios = await builder.whatIf(strategy, {
priceChange: [-5, 0, 5],
ivChange: [-10, 0, 10],
daysForward: [7, 14, 21]
});
API Endpoints
GET /api/options/:symbol/chain - Full options chain
POST /api/options/strategy - Build strategy
GET /api/options/templates - Available templates
POST /api/options/analyze - P&L and Greeks analysis
POST /api/options/whatif - Scenario analysis
POST /api/options/execute - Send to broker
1---2name: options-strategy-builder3description: Options Strategy Builder4---5# Options Strategy Builder67Design, test, and refine options strategies before executing. Build spreads from scratch or use pre-made templates with real-time P&L and Greeks visualization.89## Category10Trading1112## Inspired By13- TradingView Options Strategy Builder14- OptionStrat15- Thinkorswim Strategy Roller16- Tastytrade1718## Features1920### Strategy Templates (30+)21**Bullish:**22- Long Call, Bull Call Spread, Bull Put Spread23- Call Ratio Backspread, Synthetic Long24- Poor Man's Covered Call (PMCC)2526**Bearish:**27- Long Put, Bear Put Spread, Bear Call Spread28- Put Ratio Backspread, Synthetic Short2930**Neutral:**31- Iron Condor, Iron Butterfly, Straddle, Strangle32- Calendar Spread, Diagonal Spread33- Jade Lizard, Big Lizard3435**Income:**36- Covered Call, Cash-Secured Put37- Wheel Strategy, Collar3839### Visual Builder40- **Drag & Drop**: Add legs visually on option chain41- **P&L Diagram**: Real-time profit/loss chart42- **Break-Even Points**: Automatic calculation43- **Max Profit/Loss**: Risk visualization44- **Greeks Profile**: Delta, Gamma, Theta, Vega curves4546### What-If Scenarios47- **Price Movement**: How does P&L change with underlying?48- **Time Decay**: Theta impact over days/weeks49- **IV Changes**: Vega exposure simulation50- **Assignment Risk**: Early exercise probability51- **Roll Analysis**: Compare roll options5253### Advanced Features54- **Multi-Leg Support**: Up to 8 legs per strategy55- **Custom Ratios**: Unbalanced spreads56- **Different Expirations**: Diagonal strategies57- **Index vs ETF**: Compare SPX vs SPY options58- **IV Rank/Percentile**: Context for current volatility5960### Execution Integration61- **One-Click Trade**: Send strategy to broker62- **Limit Order**: Calculate mid-price63- **Adjustment Alerts**: When to roll or close64- **Auto-Management**: Profit/loss targets6566## Usage6768```typescript69import { OptionsStrategyBuilder } from 'kit-trading/skills/options-strategy-builder';7071const builder = new OptionsStrategyBuilder();7273// Build an Iron Condor74const strategy = await builder.create('AAPL', {75 template: 'iron-condor',76 expiration: '2026-03-21',77 width: 5,78 delta: 0.1579});8081// Analyze the strategy82console.log(strategy.analysis);83// {84// maxProfit: 245,85// maxLoss: 255,86// breakEvens: [177.55, 192.45],87// probabilityOfProfit: 0.68,88// greeks: { delta: 0.02, theta: 12.5, vega: -45 }89// }9091// What-if analysis92const scenarios = await builder.whatIf(strategy, {93 priceChange: [-5, 0, 5],94 ivChange: [-10, 0, 10],95 daysForward: [7, 14, 21]96});97```9899## API Endpoints100101- `GET /api/options/:symbol/chain` - Full options chain102- `POST /api/options/strategy` - Build strategy103- `GET /api/options/templates` - Available templates104- `POST /api/options/analyze` - P&L and Greeks analysis105- `POST /api/options/whatif` - Scenario analysis106- `POST /api/options/execute` - Send to broker