
Option Chain
Pulls option chain data from Yahoo Finance with all the standard fields you'd expect: strikes, bid/ask spreads, volume, open interest, and implied volatility for both calls and puts. You run it twice, first to see available expiration dates, then to fetch the actual chain for whichever date you care about. The output comes back as JSON with separate arrays for calls and puts, plus the underlying price for reference. It timestamps everything in New York time, which matters for options trading. Useful when you need to quickly scan the chain without opening a browser or want to feed the data into another script.
- skills.sh installs
- 111
- GitHub stars
- 406
- last updated
- Jun 11, 2026
Install
$ npx -y skills add staskh/trading_skills --skill option-chain --agent claude-codeInstalls into .claude/skills of the current project.
Files
Option Chain
Fetch option chain data from Yahoo Finance for a specific expiration date.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
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
SYMBOL- Ticker symbol (e.g., AAPL, SPY, TSLA)--expiries- List available expiration dates only--expiry YYYY-MM-DD- Fetch chain for specific date
Output
Returns JSON with:
calls- Array of call options with strike, bid, ask, volume, openInterest, impliedVolatilityputs- Array of put options with same fieldsunderlying_price- Current stock price for reference
Present data as a table. Highlight high volume/OI strikes and notable IV levels.
Dependencies
pandasyfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Sponsors
Details
- Repository
- github.com/staskh/trading_skills
- Category
- Finance & Trading
- License
- MIT
- First seen
- Jun 11, 2026
More from staskh/trading_skills
All 28- Risk Assessment105
- Earnings Calendar
- Ib Account
- Ib Collar
- Ib Create Consolidated Report
- Ib Find Short Roll
- Ib Option Chain
- Ib Pmcc Advisor
- Ib Portfolio
- Ib Portfolio Action Report
- Ib Report Delta Adjusted Notional Exposure
- Ib Stop Loss
- Ib Trades History
- Ib Trailing Stop
- Insider Trading
- Markdown To Pdf
- Price History
- Scanner Bullish
- Scanner Pmcc
- Spread Analysis
- Whale Hunting
- Technical Analysis598
- News Sentiment246
- Fundamentals182