spread-analysis

Analyze multi-leg option strategies.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "spread-analysis" with this command: npx skills add staskh/trading_skills/staskh-trading-skills-spread-analysis

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 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

Output

Returns JSON with:

  • strategy

  • Strategy name and legs

  • cost

  • Net debit or credit

  • max_profit

  • Maximum potential profit

  • max_loss

  • Maximum potential loss

  • breakeven

  • Breakeven price(s)

  • probability

  • Estimated probability of profit (based on IV)

Explain the risk/reward and when this strategy is appropriate.

Dependencies

  • pandas

  • yfinance

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

technical-analysis

No summary provided by upstream source.

Repository SourceNeeds Review
General

fundamentals

No summary provided by upstream source.

Repository SourceNeeds Review
General

ib-portfolio

No summary provided by upstream source.

Repository SourceNeeds Review
General

risk-assessment

No summary provided by upstream source.

Repository SourceNeeds Review