options-analytics-agent-guide
AI agent for options pricing, Greeks, and strategy analysis
它会碰到什么
扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Options Analytics Agent Guide
Overview
An AI agent for options pricing, risk analysis, and strategy evaluation. It combines Black-Scholes and binomial models, Greeks calculations, implied volatility surfaces, and portfolio risk analytics into a conversational interface. Researchers and quantitative analysts can query options data, price exotic derivatives, and evaluate trading strategies through natural language.
Core Capabilities
from options_agent import OptionsAgent
agent = OptionsAgent(llm_provider="anthropic")
# Price an option
result = agent.price(
option_type="call",
strike=100,
spot=105,
expiry_days=30,
risk_free_rate=0.05,
volatility=0.20,
model="black_scholes",
)
print(f"Price: ${result.price:.2f}")
print(f"Delta: {result.delta:.4f}")
print(f"Gamma: {result.gamma:.4f}")
print(f"Theta: {result.theta:.4f}")
print(f"Vega: {result.vega:.4f}")
print(f"Rho: {result.rho:.4f}")
Greeks Analysis
# Full Greeks surface
surface = agent.greeks_surface(
strike=100,
spot_range=(80, 120),
expiry_range=(7, 90), # days
volatility=0.25,
)
surface.plot_delta_surface("delta_surface.png")
surface.plot_gamma_surface("gamma_surface.png")
surface.plot_theta_decay("theta_decay.png")
Strategy Evaluation
# Evaluate an options strategy
strategy = agent.evaluate_strategy(
legs=[
{"type": "call", "strike": 100, "action": "buy", "qty": 1},
{"type": "call", "strike": 110, "action": "sell", "qty": 1},
],
spot=105,
expiry_days=30,
volatility=0.20,
)
print(f"Strategy: {strategy.name}") # Bull Call Spread
print(f"Max profit: ${strategy.max_profit:.2f}")
print(f"Max loss: ${strategy.max_loss:.2f}")
print(f"Breakeven: ${strategy.breakeven:.2f}")
strategy.plot_payoff("payoff.png")
strategy.plot_pnl_scenarios("scenarios.png")
Implied Volatility
# Calculate implied volatility
iv = agent.implied_volatility(
market_price=5.50,
option_type="call",
strike=100,
spot=105,
expiry_days=30,
risk_free_rate=0.05,
)
print(f"Implied volatility: {iv:.2%}")
# Volatility smile/surface
vol_surface = agent.volatility_surface(
ticker="SPY",
date="2025-03-10",
)
vol_surface.plot("vol_surface.png")
Use Cases
- Options pricing: Black-Scholes and numerical methods
- Risk management: Greeks and portfolio risk metrics
- Strategy analysis: P&L profiles and breakeven analysis
- Volatility analysis: IV surfaces and skew analysis
- Education: Interactive derivatives teaching tool
References
- Options Analytics Agent
- QuantLib — Quantitative finance library
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 3,829
本站分层T1
该仓技能数1161
原文件路径
skills/43-wentorai-research-plugins/skills/domains/finance/options-analytics-agent-guide/SKILL.md同一个仓库里的其他技能
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-R
- Full-empirical-analysis-skill-Stata
- auto-empirical-research-skills
- StatsPAI_skill
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-Stata
- Full-empirical-analysis-skill-R
- academic-paper-composer
- academic-paper-strategist
- medical-imaging-review
- paper-slide-deck