AlphaGBM Hedge Advisor
"I own AAPL at $140 and it's now $180 — how do I protect the gains?"
Takes that question literally. Given a ticker + cost basis + position purpose, the
skill classifies the holding into one of four scenarios and returns ready-to-trade
hedge specs with strikes and costs already resolved from the live option chain.
Scenarios
| Scenario |
Trigger |
Recommended Hedge |
| Falling Knife |
Recent drawdown ≥ 15% from 30-day high AND PnL ≤ +5% |
Long Put 5% OTM, 75 DTE, 100% cover, budget ~5% |
| Bottom Fishing |
PnL within ±8% of cost AND purpose = just_bought or long_term |
Long Put 5% OTM, 90 DTE, 50-75% cover, budget ~3% |
| Gain Protection |
PnL ≥ 15% |
Collar 95/110 (zero-cost or net-credit) + Tier-down as alternative |
| Normal Hold |
Fallback when no scenario fires |
Position rules only, no urgent hedge |
What's Returned
For each recommendation spec, the skill resolves actual strikes and prices from
the live option chain:
- Long Put: strike, DTE,
cost_per_share, cost_per_contract, cost_pct_of_spot, delta, IV
- Collar:
long_put_strike, short_call_strike, put_cost, call_credit,
net_cost_per_share (negative = you receive a credit), breakeven analysis
- Tier-down / Position rules: static rules copy only
Also returns a position_rules[] array (single-name ≤20%, sector ≤30-35%, cash
reserve 10-15%, etc.) for the normal-hold case.
How to Use
Input:
ticker (required)
cost_basis (required, float — your average entry price)
purpose (optional, default long_term) — one of long_term / short_term / pre_earnings / just_bought
Output:
- Scenario label + reason (zh/en)
- Current price, cost basis, unrealized P&L %, recent drawdown %
recommendations[] — each with type, priority, title, rationale, and
resolved block containing the actual priced hedge
position_rules[] — always-applicable sizing rules
Example Queries:
hedge my AAPL at $140, now it's $180 → Gain Protection → Collar 95/110 quote
I just bought NVDA at $110 on the dip, should I hedge? → Falling Knife or Bottom
Fishing → Long Put 5% OTM 60-90 DTE
how to protect my TSLA position → Gain Protection or Bottom Fishing based on PnL
collar MSFT at cost 340 current 410 → Full collar pricing
Mock Data
Mock responses in mock-data/hedge-advisor/ — sample across all four scenarios.
API Endpoint
GET /api/options/hedge-advisor?ticker={SYMBOL}&cost_basis={PRICE}&purpose={PURPOSE}
Query params:
ticker (required)
cost_basis (required, float > 0)
purpose (default long_term) — one of long_term / short_term / pre_earnings / just_bought
Response shape:
{
"success": true,
"ticker": "AAPL",
"current_price": 180.0,
"cost_basis": 140.0,
"unrealized_pnl_pct": 28.57,
"recent_drawdown_pct": 3.1,
"purpose": "long_term",
"scenario": {
"scenario": "gain_protection",
"label_zh": "浮盈怕坐电梯",
"label_en": "Gain Protection",
"reason_zh": "已浮盈 28.6%,需要保护已实现收益。",
"reason_en": "Up 28.6% on cost — protect unrealized gains.",
"unrealized_pnl_pct": 28.57
},
"recommendations": [
{
"type": "collar",
"priority": 1,
"title_zh": "Collar 95/110 锁定收益",
"title_en": "Collar 95/110 lock-in",
"rationale_zh": "...",
"rationale_en": "...",
"resolved": {
"long_put_strike": 170.0,
"short_call_strike": 200.0,
"put_cost": 2.15,
"call_credit": 2.45,
"net_cost_per_share": -0.30,
"net_cost_per_contract": -30,
"is_credit": true,
"dte": 62
}
},
{"type": "tier_down", "priority": 2, ...}
],
"position_rules": [
{"rule_zh": "单票仓位 ≤ 20%", "rule_en": "Single ticker ≤20%", ...},
...
]
}
Pricing: 1 option-analysis credit per call; 5-min cache per (ticker, cost_basis, purpose).
Related Skills
Powered by AlphaGBM — Real-data options & research intelligence. 10K+ users.
1---2name: alphagbm-hedge-advisor3description: |4 Scenario-driven hedge recommendations for an existing stock position. Takes5 ticker + cost basis + purpose, auto-classifies the holding situation (falling6 knife / bottom-fishing / gain-protection / normal) and returns concrete Long Put,7 Collar, or Tier-down recommendations with live strikes and premiums from the8 current option chain.9 Triggers: "hedge my AAPL", "protect my NVDA gains", "collar strategy MSFT",10 "long put for TSLA", "how to hedge falling knife COIN", "reduce risk BABA",11 "lock in gains META", "downside protection", "portfolio hedge", "insurance for position"12globs:13 - "mock-data/hedge-advisor/**"14metadata:15 source: https://skillmd.com/skills/alphagbm/alphagbm-hedge-advisor16---1718# AlphaGBM Hedge Advisor1920"I own AAPL at $140 and it's now $180 — how do I protect the gains?"2122Takes that question literally. Given a ticker + cost basis + position purpose, the23skill classifies the holding into one of four scenarios and returns ready-to-trade24hedge specs with strikes and costs already resolved from the live option chain.2526## Scenarios2728| Scenario | Trigger | Recommended Hedge |29|----------|---------|-------------------|30| **Falling Knife** | Recent drawdown ≥ 15% from 30-day high AND PnL ≤ +5% | Long Put 5% OTM, 75 DTE, 100% cover, budget ~5% |31| **Bottom Fishing** | PnL within ±8% of cost AND purpose = just_bought or long_term | Long Put 5% OTM, 90 DTE, 50-75% cover, budget ~3% |32| **Gain Protection** | PnL ≥ 15% | Collar 95/110 (zero-cost or net-credit) + Tier-down as alternative |33| **Normal Hold** | Fallback when no scenario fires | Position rules only, no urgent hedge |3435## What's Returned3637For each recommendation spec, the skill resolves **actual strikes and prices** from38the live option chain:3940- **Long Put**: strike, DTE, `cost_per_share`, `cost_per_contract`, `cost_pct_of_spot`, delta, IV41- **Collar**: `long_put_strike`, `short_call_strike`, `put_cost`, `call_credit`,42 `net_cost_per_share` (negative = you receive a credit), breakeven analysis43- **Tier-down / Position rules**: static rules copy only4445Also returns a `position_rules[]` array (single-name ≤20%, sector ≤30-35%, cash46reserve 10-15%, etc.) for the normal-hold case.4748## How to Use4950**Input:**51- `ticker` (required)52- `cost_basis` (required, float — your average entry price)53- `purpose` (optional, default `long_term`) — one of `long_term / short_term /54 pre_earnings / just_bought`5556**Output:**57- Scenario label + reason (zh/en)58- Current price, cost basis, unrealized P&L %, recent drawdown %59- `recommendations[]` — each with type, priority, title, rationale, and60 `resolved` block containing the actual priced hedge61- `position_rules[]` — always-applicable sizing rules6263**Example Queries:**64- `hedge my AAPL at $140, now it's $180` → Gain Protection → Collar 95/110 quote65- `I just bought NVDA at $110 on the dip, should I hedge?` → Falling Knife or Bottom66 Fishing → Long Put 5% OTM 60-90 DTE67- `how to protect my TSLA position` → Gain Protection or Bottom Fishing based on PnL68- `collar MSFT at cost 340 current 410` → Full collar pricing6970## Mock Data7172Mock responses in `mock-data/hedge-advisor/` — sample across all four scenarios.7374## API Endpoint7576```77GET /api/options/hedge-advisor?ticker={SYMBOL}&cost_basis={PRICE}&purpose={PURPOSE}78```7980Query params:81- `ticker` (required)82- `cost_basis` (required, float > 0)83- `purpose` (default `long_term`) — one of `long_term / short_term / pre_earnings / just_bought`8485Response shape:8687```json88{89 "success": true,90 "ticker": "AAPL",91 "current_price": 180.0,92 "cost_basis": 140.0,93 "unrealized_pnl_pct": 28.57,94 "recent_drawdown_pct": 3.1,95 "purpose": "long_term",96 "scenario": {97 "scenario": "gain_protection",98 "label_zh": "浮盈怕坐电梯",99 "label_en": "Gain Protection",100 "reason_zh": "已浮盈 28.6%,需要保护已实现收益。",101 "reason_en": "Up 28.6% on cost — protect unrealized gains.",102 "unrealized_pnl_pct": 28.57103 },104 "recommendations": [105 {106 "type": "collar",107 "priority": 1,108 "title_zh": "Collar 95/110 锁定收益",109 "title_en": "Collar 95/110 lock-in",110 "rationale_zh": "...",111 "rationale_en": "...",112 "resolved": {113 "long_put_strike": 170.0,114 "short_call_strike": 200.0,115 "put_cost": 2.15,116 "call_credit": 2.45,117 "net_cost_per_share": -0.30,118 "net_cost_per_contract": -30,119 "is_credit": true,120 "dte": 62121 }122 },123 {"type": "tier_down", "priority": 2, ...}124 ],125 "position_rules": [126 {"rule_zh": "单票仓位 ≤ 20%", "rule_en": "Single ticker ≤20%", ...},127 ...128 ]129}130```131132Pricing: 1 option-analysis credit per call; 5-min cache per (ticker, cost_basis, purpose).133134## Related Skills135136| Skill | Relevance |137|-------|-----------|138| [alphagbm-options-strategy](../alphagbm-options-strategy/) | Multi-leg strategy builder (for custom hedges beyond presets) |139| [alphagbm-greeks](../alphagbm-greeks/) | Greeks of the resulting hedge position |140| [alphagbm-pnl-simulator](../alphagbm-pnl-simulator/) | Stress-test the hedge at various future prices |141142---143144*Powered by [AlphaGBM](https://alphagbm.com) — Real-data options & research intelligence. 10K+ users.*