Install
$ agentstack add skill-brainbytes-dev-everything-claude-trading-hedging-strategies ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Derivatives Hedging Strategies
name: hedging-strategies description: Derivatives hedging — delta-neutral, gamma scalping, vega hedging. origin: ECT
When to Activate
- User wants to hedge a derivatives position or portfolio
- Designing delta-neutral strategies with gamma scalping
- Managing vega exposure across a vol surface
- Building portfolio hedges using options or futures
- Analyzing cross-hedging and basis risk
- Understanding hedge accounting requirements
First Questions
- What is the position to be hedged (single option, book, portfolio)?
- Which Greeks are the primary concern (delta, gamma, vega, rho, theta)?
- What is the hedging objective (minimize variance, protect downside, reduce tail risk)?
- What is the rebalancing frequency and transaction cost budget?
- Are there accounting or regulatory constraints on hedge design?
Core Concepts
Delta Hedging
Delta hedging neutralizes the first-order sensitivity of an option position to changes in the underlying.
Basic delta hedge:
Option position: long N calls with delta = 0.55
Hedge: short N * 0.55 shares of underlying
Net delta = N * 0.55 - N * 0.55 = 0 (delta neutral)
Delta changes as underlying moves (gamma), so hedge must be rebalanced
Discrete delta hedging:
- Continuous hedging is impossible in practice
- Rebalance at fixed intervals (daily, hourly) or on delta threshold
- Hedging error = function of gamma, realized vol, and rebalance frequency
Hedging error per rebalance:
epsilon ~ 0.5 * Gamma * (delta_S)^2 - Theta * delta_t
This is the gamma-theta tradeoff: gamma profits offset theta decay
Delta hedging P&L:
For a long option position, delta-hedged:
Daily P&L = 0.5 * Gamma * S^2 * (realized_return^2 - implied_vol^2 * dt)
If realized vol > implied vol: profit (bought cheap vol)
If realized vol implied vol (bought cheap options)
Loss if: realized vol realized vol + hedging cost to profit
Cost optimization:
1. Wider rebalancing bandwidth: reduces cost but increases tracking error
2. Hedge with options instead of underlying: reduces rebalancing frequency
3. Portfolio netting: offset delta across correlated positions before hedging
4. Batch hedging: aggregate delta changes and execute once per day
Quality Gate
Before implementing a hedging strategy:
- [ ] Hedged risk clearly identified (delta, gamma, vega, tail, or all)
- [ ] Hedge instrument selected with minimal basis risk
- [ ] Hedge ratio calculated using appropriate method (minimum variance, beta-adjusted)
- [ ] Transaction costs of hedging quantified (rebalancing costs erode performance)
- [ ] Rebalancing frequency determined (tradeoff: tracking error vs cost)
- [ ] Cross-hedge basis risk measured and accepted
- [ ] Stress test: hedge performance in 2008, 2020 scenarios
- [ ] Hedge accounting requirements checked (if applicable)
- [ ] Liquidity of hedge instrument verified (can you roll and adjust under stress?)
- [ ] Residual risk after hedging documented and reported to risk management
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: brainbytes-dev
- Source: brainbytes-dev/everything-claude-trading
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.