
This handles multi-leg options analysis for vertical spreads, straddles, strangles, and iron condors. You pass a symbol, strategy type, expiry date, and the relevant strikes, and it spits back JSON with cost, max profit/loss, breakeven points, and probability of profit based on implied volatility. The breakeven and probability metrics are legitimately useful when you're trying to decide between a bull call spread versus just buying the call outright. All timestamps use New York time since that's where markets actually operate. It wraps yfinance, so you're getting the same data quality and delays that come with that, but the strategic analysis layer saves you from building your own Greeks calculator.
$ npx -y skills add staskh/trading_skills --skill spread-analysis --agent claude-codeInstalls into .claude/skills of the current project.
Analyze multi-leg option strategies.
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/spreads.py SYMBOL --strategy STRATEGY --expiry YYYY-MM-DD [options]
Vertical Spread (bull/bear call/put spread):
uv run python scripts/spreads.py AAPL --strategy vertical --expiry 2026-01-16 --type call --long-strike 180 --short-strike 185
Straddle (long call + long put at same strike):
uv run python scripts/spreads.py AAPL --strategy straddle --expiry 2026-01-16 --strike 180
Strangle (long call + long put at different strikes):
uv run python scripts/spreads.py AAPL --strategy strangle --expiry 2026-01-16 --put-strike 175 --call-strike 185
Iron Condor (sell strangle + buy wider strangle):
uv run python scripts/spreads.py AAPL --strategy iron-condor --expiry 2026-01-16 --put-short 175 --put-long 170 --call-short 185 --call-long 190
Sponsors