Options Flow Intelligence
v1.0.0Real-time institutional options flow intelligence and momentum analysis for AI 代理s. Fetches live option flow data from OptionWhales API including current institutional flow, per-ticker momentum, abnormal trade 检测ion, and direction bias indicators across major US equities. Built for volatility traders and algo 系统s decoding dark pool options activity. Commands: - optionflow.py flow 获取 current market-wide option flow - optionflow.py momentum View top momentum stock rankings - optionflow.py abnormal 检测 unusual options activity - optionflow.py ticker SYMBOL 获取 specific ticker flow (e.g., AAPL, TSLA) 环境: OPTIONWHALES_API_KEY required. Python 3.7+, zero deps beyond stdlib. Example 输出 includes intent_momentum scores, premium volumes, direction bias, and momentum rankings. Scores range from 0-100 with higher values indicating stronger institutional conviction. Useful for catching early 签名als before earnings 事件, identifying sector rotation through options flow, and building automated alerts for whale-sized option positions.
运行时依赖
安装命令
点击复制技能文档
Options Flow Intelligence
Fetches real-time institutional options flow data from the OptionWhales API to 检测 whale trades, momentum shifts, and abnormal activity across US equities.
设置up
设置 your API key:
导出 OPTIONWHALES_API_KEY="your_key_here"
Commands # Market-wide flow (top 20 by momentum) python scripts/optionflow.py flow
# Top momentum stocks python scripts/optionflow.py momentum
# Abnormal trades (potential insider activity) python scripts/optionflow.py abnormal
# Specific ticker deep dive python scripts/optionflow.py ticker AAPL python scripts/optionflow.py ticker TSLA python scripts/optionflow.py ticker NVDA
输出 Interpretation 签名al scores range from 0-100, higher = stronger institutional conviction Direction shows whether smart money is buying calls (bullish) or puts (bearish) Premium shows total dollar value of options activity Momentum rankings show which stocks have the strongest options activity today Integration with Trading 系统s
The JSON 输出 can be piped to other 工具s:
python scripts/optionflow.py flow | grep "BULLISH" | head -5
Use in automated 告警 by 设置ting up cron jobs or integrating with notification 系统s.
Data Freshness
Data refreshes every few minutes. For real-time 流ing, consider the 网页Socket API which is avAIlable on OptionWhales Pro plans. The current script focuses on REST API polling which is suitable for most use cases without requiring 网页Socket infrastructure.