spread-analysis
Spread Analysis evaluates complex option strategies across multiple legs, calculating net cost, maximum profit and loss, breakeven points, and probability of profit. It supports vertical spreads, iron condors, straddles, and strangles, helping traders understand risk exposure and strategy appropriateness.
Spread Analysis evaluates multi-leg option strategies to show you cost, max profit/loss, and breakeven prices.
AI-generated summary based on this skill's SKILL.md
Install
staskh/trading_skills/spread-analysis · repository language: Python
git clone https://github.com/staskh/trading_skills
cp -r trading_skills/.claude/skills/spread-analysis ~/.claude/skills/spread-analysisnpx skillfed install staskh/trading_skills/spread-analysisFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do vertical spreads work?
Spread Analysis evaluates vertical spreads by analyzing their two-leg structure: a long option at one strike and a short option at another strike in the same expiration. The tool calculates net cost, maximum profit (width minus net debit for call spreads), maximum loss, and breakeven points. Vertical spreads limit both risk and reward compared to naked options, making them suitable for directional trades with defined risk.
What is the difference between straddle vs strangle options?
Spread Analysis distinguishes these volatility strategies: a straddle buys (or sells) both a call and put at the same strike, profiting from large moves in either direction; a strangle uses different strikes, typically cheaper to enter but requiring larger moves to profit. The tool calculates breakeven points, max profit, and max loss for each, helping you choose based on your volatility outlook and capital constraints.
How do you analyze iron condor strategy?
Spread Analysis evaluates iron condors as four-leg spreads: a short call spread above current price and a short put spread below it. The tool computes net credit received, maximum profit (the credit), maximum loss (width minus credit), and probability of profit at expiration. Iron condors work best in low-volatility environments where price stays between the short strikes.
What is the strangle breakeven calculation?
Spread Analysis calculates strangle breakevens by adding the net debit to the call strike (upper breakeven) and subtracting it from the put strike (lower breakeven). For a long strangle, profit occurs if price moves beyond either breakeven; for a short strangle, profit occurs if price stays between them. The tool also estimates probability of profit based on implied volatility and time decay.
When should I use a straddle strategy?
Spread Analysis helps determine straddle timing by evaluating implied volatility and expected moves. Use long straddles before earnings or major events when you expect large moves but are unsure of direction. Short straddles work in stable markets with declining volatility. The tool calculates your breakeven range and maximum loss, helping you assess whether the strategy matches your market outlook.
What does Spread Analysis calculate for multi-leg option strategies?
Spread Analysis evaluates multi-leg strategies by computing net cost or credit, maximum profit, maximum loss, all breakeven points, and probability of profit. It supports vertical spreads, iron condors, straddles, strangles, and other complex tactics, helping traders understand risk exposure, strategy appropriateness for current market conditions, and whether the risk-reward profile matches their trading goals.
SKILL.md
rendered from the published skill — quoted content, verbatim
Spread Analysis
Analyze multi-leg option strategies.
Instructions
> Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.
uv run python scripts/spreads.py SYMBOL --strategy STRATEGY --expiry YYYY-MM-DD [options]
Strategies and 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
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
.claude/skills/spread-analysis/SKILL.md
.claude/skills/spread-analysis/scripts/spreads.py