Overview
Greeks are risk measures that describe how an option’s price changes in response to various factors. The OptionStrat AI API calculates net portfolio Greeks by aggregating all option legs in a strategy, giving you a complete view of your position’s risk profile. Greeks are returned by the/api/ai/greeks and /api/ai/insights endpoints as part of the response.
Greeks Response Model
When you call the Greeks endpoints, you receive a response containing:Greek Metrics Explained
Delta measures the rate of change in option price relative to a $1 change in the underlying asset price.
Interpretation:
- Positive Delta: Bullish position - profits when underlying goes up
+25.50means the position gains 1 increase in underlying
- Negative Delta: Bearish position - profits when underlying goes down
-40.00means the position loses 1 increase in underlying
- Near Zero: Delta-neutral - relatively insensitive to price movement
Risk Alerts:
|delta| > 50: Highly directional position (leveraged exposure)|delta| < 10: Near market-neutral
Examples:
- Long 1 Call (ATM): Delta ≈ +50 (0.50 × 100)
- Short 2 Puts (OTM): Delta ≈ -60 (2 × -0.30 × 100)
- Iron Condor: Delta ≈ 0 (balanced structure)
Gamma measures the rate of change in delta relative to a $1 change in the underlying asset price.
Interpretation:
- Positive Gamma: Delta increases as underlying rises (long options)
+0.15means delta increases by 0.15 for every $1 move in underlying
- Negative Gamma: Delta decreases as underlying rises (short options)
-0.25means delta decreases by 0.25 for every $1 move in underlying
Risk Alerts:
gamma < -10: Severe negative gamma - high volatility risk- High negative gamma means your position becomes increasingly worse as the market moves against you
Examples:
- Long Straddle: High positive gamma (benefits from large moves)
- Short Iron Condor: Negative gamma (hurt by large moves)
- Covered Call: Negative gamma (short call component)
Theta measures the rate of time decay - how much value the position loses or gains per day.
Interpretation:
- Negative Theta: Position loses value each day (time decay works against you)
-12.30means you lose $12.30 per day due to time decay
- Positive Theta: Position gains value each day (time decay works for you)
+25.00means you gain $25 per day from premium decay
Risk Alerts:
theta < -20: Accelerated time decay - losing significant value dailytheta > 20: Collecting significant premium daily
Examples:
- Long Call/Put: Negative theta (buying premium = losing to decay)
- Short Call/Put: Positive theta (selling premium = profiting from decay)
- Iron Condor: Positive theta (net credit strategy)
- Calendar Spread: Near-zero or positive theta (engineered for time decay)
Time Decay Acceleration:
Theta accelerates as expiration approaches, especially in the last 30 days.Vega measures sensitivity to changes in implied volatility (IV).
Interpretation:
- Positive Vega: Position profits from volatility increase
+18.75means position gains $18.75 for every 1% increase in IV
- Negative Vega: Position profits from volatility decrease
-22.50means position loses $22.50 for every 1% increase in IV
Examples:
- Long Straddle/Strangle: High positive vega (want vol expansion)
- Short Iron Condor: Negative vega (want vol contraction)
- Long Call/Put: Positive vega (benefits from vol increase)
- Short Call/Put: Negative vega (benefits from vol decrease)
Volatility Context:
- High IV environment → Consider selling premium (negative vega)
- Low IV environment → Consider buying premium (positive vega)
Complete Response Structure
Overall risk score from 1 (lowest risk) to 10 (highest risk).Calculated based on:
- Magnitude of delta (directional exposure)
- Negative gamma (volatility risk)
- Accelerated theta decay
- Extreme vega exposure
- 1-3: Low risk (well-balanced, defined risk)
- 4-6: Moderate risk (some directional bias)
- 7-10: High risk (leveraged, undefined risk, or extreme exposure)
Net portfolio Greeks aggregated across all legs.
Array of actionable insights about the position’s risk profile.Examples:
- “ALERTA: Riesgo de Theta acelerado. Pierdes $12.30/dia.”
- “Cartera apalancada: Alcista (Delta 65.50).”
- “ALERTA: Gamma negativo severo (Riesgo agudo de volatilidad).”
- “Ingresas $25.00/dia por primas desgastadas (Theta positiva).”
AI-generated analysis of the strategy (only in
/api/ai/insights endpoint).Will be null in the fast /api/ai/greeks endpoint.Example API Call
Strategy Examples with Greeks
Bull Call Spread
- Bullish position (positive delta)
- Moderate directional bias
- Small daily time decay
- Benefits from volatility increase
Iron Condor
- Near delta-neutral (slight directional bias)
- Negative gamma (volatility risk)
- Collecting premium daily (positive theta)
- Benefits from volatility contraction
Long Straddle
- Delta-neutral (profits from any large move)
- Positive gamma (accelerating profits with movement)
- High negative theta (expensive hold)
- High positive vega (needs volatility expansion)
Calculation Method
The API uses the Black-Scholes-Merton model to calculate Greeks for each individual leg, then aggregates them:-
For each leg:
- Calculate individual Greeks using BSM
- Apply multiplier:
qty × 100(for options) - Invert sign if action is “sell”
-
Sum across all legs:
-
Apply volatility shock if specified:
Related Models
- StrategyState - Input model containing strategy definition
- OptionLeg - Individual positions that make up the strategy
Related Endpoints
POST /api/ai/greeks- Fast Greeks calculation (no LLM)POST /api/ai/insights- Complete analysis with AI insights