← 返回
未分类 Key

options-strategist

Analyze options chains, compute implied volatility rank, and select optimal multi-leg strategies based on market conditions via the Finskills API.
通过 Finskills API 分析期权链,计算隐含波动率排名,并根据市场状况选择最佳多腿策略。
finskills
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 374
下载
💾 0
安装
1
版本
#latest

概述

Options Strategist

Analyze options chains, construct multi-leg strategies, calculate Greek risk

metrics, and generate structured trade recommendations using real-time options

data from the Finskills API. Combines quantitative options theory with live

market data to evaluate opportunity and manage risk.


Setup

API Key requiredRegister at https://finskills.net to get your free key.

Header: X-API-Key:

> Get your API key: Register at https://finskills.net — free tier available, Pro plan unlocks real-time quotes, history, and financials.


When to Activate This Skill

Activate when the user:

  • Asks which options strategy is best for a given outlook
  • Wants to analyze a specific options contract or expiration
  • Asks about Greeks (Delta, Gamma, Theta, Vega) for a position
  • Wants to build a covered call, protective put, spread, straddle, or iron condor
  • Asks about implied volatility, volatility skew, or IV rank
  • Wants to calculate break-even points or max profit/loss for a trade

Required Information

Resolve before starting:

  1. Underlying ticker — e.g., SPY, AAPL
  2. Directional outlook — Bullish / Bearish / Neutral / Volatile / Non-volatile
  3. Time horizon — Days to target expiration (e.g., 30, 45, 60 DTE)
  4. Risk tolerance — Defined-risk vs. undefined-risk strategies preferred
  5. Account level — Options approval level (Level 1–4) if known

Data Retrieval — Finskills API Calls

1. Real-Time Quote

GET https://finskills.net/v1/stocks/quote/{SYMBOL}

Extract: price (current underlying price), volume, changePercent

2. Options Chain

GET https://finskills.net/v1/stocks/options/{SYMBOL}

Extract from each contract:

  • strike, expiration, type (call/put)
  • bid, ask, mid (use mid for pricing)
  • impliedVolatility (as decimal, multiply by 100 for %)
  • delta, gamma, theta, vega (Greeks)
  • openInterest, volume
  • inTheMoney flag

3. Historical Price (for IV Rank / Realized Vol)

GET https://finskills.net/v1/stocks/history/{SYMBOL}?period=1y&interval=1d

Extract closing prices; compute:

  • HV20: 20-day historical volatility (annualized standard deviation of daily returns × √252)
  • HV60: 60-day historical volatility
  • Price range: 52-week high/low for support/resistance context

Analysis Workflow

Step 1 — Market Context

From the quote data, note:

  • Current price vs. 52-week range (where in range?)
  • Recent price momentum (up/down trend)
  • Sector/market context (risk-on/off environment)

Step 2 — Volatility Analysis

Using the options chain and historical data:

Implied Volatility Metrics:

  • ATM IV: Use implied volatility of the nearest-to-ATM straddle
  • IV Rank (approximation): (Current ATM IV − 52w Low IV) / (52w High IV − 52w Low IV) × 100
  • IV Rank > 50: Elevated IV → consider selling premium
  • IV Rank < 30: Low IV → consider buying premium

Volatility Skew: Compare put IV vs. call IV at equidistant strikes

  • Positive skew (puts more expensive): Market pricing downside protection
  • Flat skew: Balanced two-directional uncertainty

HV vs. IV Comparison:

  • IV > HV by > 20%: Premium selling opportunity (high vega)
  • IV < HV: Premium buying may be cheap

Step 3 — Strategy Selection Matrix

Based on outlook and volatility environment:

OutlookIV EnvironmentRecommended Strategy
----------------------------------------------
BullishLow IVLong Call, Bull Call Spread
BullishHigh IVCash-Secured Put (sell put), Bull Put Spread
BearishLow IVLong Put, Bear Put Spread
BearishHigh IVBear Call Spread, Covered Call
Neutral (non-volatile)High IVIron Condor, Short Strangle, Short Straddle
Neutral (volatile)Low IVLong Straddle, Long Strangle
Mildly BullishHigh IVCovered Call, Bull Put Spread
Hedge existing longAnyProtective Put, Collar

Always prefer defined-risk strategies unless user explicitly requests undefined risk.

Step 4 — Strike and Expiration Selection

Expiration guidelines:

  • Income strategies (iron condor, credit spreads): 30–45 DTE (optimal theta decay)
  • Directional strategies (debit spreads): 45–90 DTE (time buffer)
  • Long options (earnings plays, catalysts): 1–2 weeks past the event

Strike selection guidelines:

  • Delta guide: Long calls/puts: 0.30–0.50 delta for balanced risk/reward
  • Credit spreads: Sell at 0.25–0.35 delta (≈ 70–75% probability of profit)
  • Iron condor wings: 0.15–0.20 delta for outer strikes
  • ATM for straddles/strangles: Use the nearest strike(s) to current price

Step 5 — Strategy Metrics Calculation

For the recommended strategy (manual calculation using API data):

For Debit Spreads (e.g., Bull Call Spread):

Max Profit  = (Width of spread − Net debit) × 100
Max Loss    = Net debit × 100
Break-Even  = Long strike + Net debit paid
ROI at max  = Max Profit / Max Loss × 100%

For Credit Spreads (e.g., Bull Put Spread):

Max Profit  = Net credit received × 100
Max Loss    = (Width of spread − Net credit) × 100
Break-Even  = Short strike − Net credit received
Probability of Profit ≈ 1 − short put delta (as %)

For Iron Condors:

Max Profit  = Total net credit × 100
Max Loss    = (Width of widest wing − Total credit) × 100
Lower B/E   = Short put strike − Total credit
Upper B/E   = Short call strike + Total credit

Greeks for the position:

  • Position Delta: Net sum of (leg delta × lots × sign)
  • Position Theta: Net sum of (leg theta × lots × sign) — daily P&L from time decay
  • Position Vega: Net sum — how much P&L changes per 1% IV move

Step 6 — Risk Management Rules

Always state:

  1. Max loss cap: Risk no more than 2–5% of portfolio per trade
  2. Exit at 50% max profit (for credit strategies): Lock in profit, reinvest theta
  3. Exit at 2× max credit (stop-loss): Close if spread doubles in value against you
  4. Adjust or roll if: Underlying breaches short strike by more than 1 strike width
  5. Earnings blackout: Close or roll before earnings if not intentionally an earnings play

Output Format

╔══════════════════════════════════════════════════════╗
║     OPTIONS STRATEGY REPORT — {TICKER} ({DATE})     ║
╚══════════════════════════════════════════════════════╝

📌 UNDERLYING
  {Ticker}: ${price}  Change: {%}  Outlook: {Bullish/Bearish/Neutral}

📊 VOLATILITY ENVIRONMENT
  ATM IV:        {%}    IV Rank: {0–100} → {Low/Elevated/High}
  HV20:          {%}    HV60: {%}
  IV vs HV:      {premium/discount}
  Skew:          {Positive/Flat/Negative} — {one-line interpretation}
  Recommendation: {Sell premium / Buy premium}

🎯 RECOMMENDED STRATEGY: {STRATEGY NAME}

  Structure:
    Leg 1: {BUY/SELL} {qty} {TICKER} {Strike} {Exp} {CALL/PUT}  @ ${price}
    Leg 2: {BUY/SELL} {qty} {TICKER} {Strike} {Exp} {CALL/PUT}  @ ${price}
    [Additional legs if applicable]

  Net {Debit/Credit}: ${amount} per contract

  📐 Key Metrics:
    Max Profit:   ${amount} ({%} ROI)
    Max Loss:     ${amount}
    Break-Even:   ${price} [{direction} from current]
    Prob of Profit: {%}
    Days to Exp:  {DTE} days

  📉 Position Greeks (per contract):
    Delta: {value}  Gamma: {value}  Theta: {value}/day  Vega: {value}

  💼 Risk Management:
    ✓ Profit target: Close at 50% max profit (${amount} credit remaining)
    ✓ Stop-loss: Close if debit/spread reaches ${amount} (2× initial credit)
    ✓ Time exit: Close or roll at 21 DTE to avoid gamma risk

📋 ALTERNATIVE STRATEGIES CONSIDERED
  {Alternative 1}: {brief rationale for/against}
  {Alternative 2}: {brief rationale for/against}

⚠️ KEY RISKS
  • {Risk 1 — e.g., earnings announcement within DTE, sudden vol crush}
  • {Risk 2 — e.g., gap risk if undefined risk}

Limitations

  • Options chain data reflects last available bid/ask; actual fills may differ.
  • IV Rank is approximated from available chain data, not full 52-week option history.
  • Greeks calculations assume no dividends or early assignment unless noted.
  • This is not personalized financial advice; consult a licensed advisor before trading options.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 12:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 185 📥 61,837
professional

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 276 📥 57,404
professional

All-Market Financial Data Hub

financial-ai-analyst
基于东方财富数据库,支持自然语言查询金融数据,覆盖A股、港股、美股、基金、债券等资产,提供实时行情、公司信息、估值、财务报表等,适用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,满足机构与个人需求。返回结果为
★ 121 📥 41,242