技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Fetch option chain data from Yahoo Finance for a specific expiration date.
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
SYMBOL - Ticker symbol (e.g., AAPL, SPY, TSLA)--expiries - List available expiration dates only--expiry YYYY-MM-DD - Fetch chain for specific dateReturns 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 referencePresent data as a table. Highlight high volume/OI strikes and notable IV levels.
pandasyfinanceAll 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.