Trading_skills 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.
install
source · Clone the upstream repo
git clone https://github.com/staskh/trading_skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/staskh/trading_skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/option-chain" ~/.claude/skills/staskh-trading-skills-option-chain && rm -rf "$T"
manifest:
.claude/skills/option-chain/SKILL.mdsource content
Option Chain
Fetch option chain data from Yahoo Finance for a specific expiration date.
Instructions
Note: If
is not installed oruvis not found, replacepyproject.tomlwithuv run pythonin all commands below.python
First, get available expiration dates:
uv run python scripts/options.py SYMBOL --expiries
Then fetch the chain for a specific expiry:
uv run python scripts/options.py SYMBOL --expiry YYYY-MM-DD
Arguments
- Ticker symbol (e.g., AAPL, SPY, TSLA)SYMBOL
- List available expiration dates only--expiries
- Fetch chain for specific date--expiry YYYY-MM-DD
Output
Returns JSON with:
- Array of call options with strike, bid, ask, volume, openInterest, impliedVolatilitycalls
- Array of put options with same fieldsputs
- Current stock price for referenceunderlying_price
Present data as a table. Highlight high volume/OI strikes and notable IV levels.
Dependencies
pandasyfinance