calendar
Report scheduled US economic events (CPI, NFP, FOMC, GDP, PCE, ISM, jobless claims...) with times in ET, impact,…
Get option chain data from Interactive Brokers for equities, ETFs, and futures (FOP), including calls and puts with strikes, bids, asks, volume, implied volatility, and model Greeks. Use when user asks about options using IBKR data, futures options (NQ/ES/CL/GC...), or needs
Claude Code
$ npx -y skills add staskh/trading_skills --skill ib-option-chain --agent claude-code
Codex
$ npx skills add staskh/trading_skills --skill ib-option-chain -a codex -y
Cursor
$ npx skills add staskh/trading_skills --skill ib-option-chain -a cursor -y
Gemini CLI
$ npx skills add staskh/trading_skills --skill ib-option-chain -a gemini-cli -y
GitHub Copilot
$ npx skills add staskh/trading_skills --skill ib-option-chain -a github-copilot -y
OpenCode
$ npx skills add staskh/trading_skills --skill ib-option-chain -a opencode -y
Windsurf
$ npx skills add staskh/trading_skills --skill ib-option-chain -a windsurf -y
name: ib-option-chain description: Get option chain data from Interactive Brokers for equities, ETFs, and futures (FOP), including calls and puts with strikes, bids, asks, volume, implied volatility, and model Greeks. Use when user asks about options using IBKR data, futures options (NQ/ES/CL/GC...), or needs real-time option quotes from their broker. Requires TWS or IB Gateway running locally. dependencies: ["trading-skills"]
Fetch option chain data from Interactive Brokers for a specific expiration date. Handles **equities/ETFs** (Stock/OPT) and **futures options** (FOP). The asset type and exchange are resolved from **IB contract details** (no hardcoded symbol table): auto-detect tries a SMART stock first and falls back to a future when no stock exists (so `NQ`, `GC`, `RTY` resolve as futures, while `AAPL` resolves as a stock even though it has an obscure single-stock future). Tickers that are **both** a stock and a futures root (e.g. `ES`=Eversource, `CL`=Colgate) default to the equity — pass `--sec-type fut` to force the future.
TWS or IB Gateway must be running locally with API enabled:
**Port fallback:** If the configured port fails, automatically retry on the other port. If the retry succeeds, save to memory which account type worked (live/paper) and reuse it for all IB skill calls in this and future sessions — until the user explicitly asks for the other account. If both ports fail, ask the user to verify that TWS or IB Gateway is running with API access enabled.
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 YYYYMMDD
Returns JSON with:
For futures, only expiries up to the front continuous-future's expiry are returned; longer-dated FOPs require the next quarter's future. Futures quote nearly 24h on Globex, so Greeks populate pre-market.
Present data as a table. Highlight high volume strikes and notable IV levels.
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.
Most retail traders juggle 5+ tabs — broker, charting platform, screener, news feed, spreadsheet — just to decide whether to enter a trade. This project collapses all of that into a single conversational interface powered by Claude.
Report scheduled US economic events (CPI, NFP, FOMC, GDP, PCE, ISM, jobless claims...) with times in ET, impact,…
Get upcoming earnings dates with timing (before/after market) and EPS estimates. Use when user asks about earnings dates,…
Get fundamental financial data including financials, earnings, and key metrics. Use when user asks about financials, earnings,…
Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options. Use when user asks about Greeks,…
Get account summary from Interactive Brokers including cash balance, buying power, and account value. Use when user asks about…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…