spread-analysis

Solid

Analyze option spread strategies like vertical spreads, iron condors, straddles, strangles. Use when user asks about spreads, multi-leg strategies, vertical spread, iron condor, straddle, strangle, or strategy analysis.

AI & Automation 229 stars 56 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
79
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
82
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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. ```bash uv run python scripts/spreads.py SYMBOL --strategy STRATEGY --expiry YYYY-MM-DD [options] ``` ## Strategies and Options **Vertical Spread** (bull/bear call/put spread): ```bash 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): ```bash uv run python scripts/spreads.py AAPL --strategy straddle --expiry 2026-01-16 --strike 180 ``` **Strangle** (long call + long put at different strikes): ```bash 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): ```bash 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` ## Timezone All timestamps and time...

Details

Author
staskh
Repository
staskh/trading_skills
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

technical-analysis

Compute technical indicators like RSI, MACD, Bollinger Bands, SMA, EMA for a stock. Use when user asks about technical analysis, indicators, RSI, MACD, moving averages, overbought/oversold, or chart analysis.

229 Updated today
staskh
AI & Automation Solid

option-chain

Get option chain data including calls and puts with strikes, bids, asks, volume, open interest, and implied volatility. Use when user asks about options, option prices, calls, puts, or option chain for a specific expiration date.

229 Updated today
staskh
AI & Automation Listed

options-strategy-advisor

Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.

1 Updated 1 months ago
JadeGate
AI & Automation Solid

greeks

Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options. Use when user asks about Greeks, delta, gamma, theta, vega, IV, or option sensitivity analysis.

229 Updated today
staskh
AI & Automation Solid

scanner-bullish

Scan stocks for bullish trends using technical indicators (SMA, RSI, MACD, ADX). Use when user asks to scan for bullish stocks, find trending stocks, or rank symbols by momentum.

229 Updated today
staskh