# Hedging Strategies

> A Claude skill from brainbytes-dev/everything-claude-trading.

- **Type:** Skill
- **Install:** `agentstack add skill-brainbytes-dev-everything-claude-trading-hedging-strategies`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [brainbytes-dev](https://agentstack.voostack.com/s/brainbytes-dev)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [brainbytes-dev](https://github.com/brainbytes-dev)
- **Source:** https://github.com/brainbytes-dev/everything-claude-trading/tree/main/skills/derivatives/hedging-strategies

## Install

```sh
agentstack add skill-brainbytes-dev-everything-claude-trading-hedging-strategies
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## 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

1. What is the position to be hedged (single option, book, portfolio)?
2. Which Greeks are the primary concern (delta, gamma, vega, rho, theta)?
3. What is the hedging objective (minimize variance, protect downside, reduce tail risk)?
4. What is the rebalancing frequency and transaction cost budget?
5. 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](https://github.com/brainbytes-dev)
- **Source:** [brainbytes-dev/everything-claude-trading](https://github.com/brainbytes-dev/everything-claude-trading)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-brainbytes-dev-everything-claude-trading-hedging-strategies
- Seller: https://agentstack.voostack.com/s/brainbytes-dev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
