Evaluates a model's ability to learn optimal dynamic hedging strategies for financial derivatives under discrete trading and varying risk preferences. The protocol simulates market paths using a Heston stochastic volatility model and trains a neural network to minimize a convex risk measure of the terminal hedging error. Performance is assessed out-of-sample against a theoretical benchmark. Use when the user wants to benchmark on Discretized Heston model, or asks about evaluating this task. R...
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill deep-hedging-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Deep Hedging Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-deep-hedging-eval)More formats (shields.io, HTML) on the badges page.
---
name: deep-hedging-eval
description: Evaluates a model's ability to learn optimal dynamic hedging strategies for financial derivatives under discrete trading and varying risk preferences. The protocol simulates market paths using a Heston stochastic volatility model and trains a neural network to minimize a convex risk measure of the terminal hedging error. Performance is assessed out-of-sample against a theoretical benchmark. Use when the user wants to benchmark on Discretized Heston model, or asks about evaluating this task. Reports Average Value at Risk (AVaR) / Conditional Value at Risk (CVaR).
metadata:
skill_kind: dataset_eval
source_arxiv: 1802.03042
bibtex_key: buehler2018deephedging
confidence: high
---
# deep-hedging-eval
> Deep Hedging — Hans Buehler et al. (arXiv:1802.03042, 2018)
## What this evaluates
Evaluates a model's ability to learn optimal dynamic hedging strategies for financial derivatives under discrete trading and varying risk preferences. The protocol simulates market paths using a Heston stochastic volatility model and trains a neural network to minimize a convex risk measure of the terminal hedging error. Performance is assessed out-of-sample against a theoretical benchmark.
## Datasets
- **Discretized Heston model** — total ?; splits: train (-1), test (-1)
## Metrics
- `Average Value at Risk (AVaR) / Conditional Value at Risk (CVaR)` **(primary)** — range: other
- Computed as $\rho(X) = \frac{1}{1-\alpha}\int_{0}^{1-\alpha}\mathrm{VaR}_{\gamma}(X)\mathrm{d}\gamma$, where $X$ is the terminal hedging error (P&L) and $\alpha \in [0,1)$ controls risk aversion. Measures the expected loss in the worst $(1-\alpha)$ fraction of scenarios.
## Input / output format
**Input**: Sampled trajectories of hedging instruments $S$, payoff $Z$, transaction cost structure $c$, and risk measure $\rho$.
**Output**: Dynamic hedging strategy $\delta^\theta$, i.e., positions in each instrument at each discrete time step $k=0,\dots,n$.
## Scoring recipe
```python
def score(predictions, gold):
# predictions: hedging strategy delta at each step
# gold: payoff Z, initial price q, price paths S
pnl = gold['q'] - gold['Z'] + sum(delta_k * (S[k+1] - S[k]) for k in range(n))
# Compute CVaR at level alpha
var_gamma = np.percentile(pnl, alpha * 100)
tail = pnl[pnl <= var_gamma]
cvar = np.mean(tail) / (1 - alpha)
return cvar
```
## Common pitfalls
- The risk measure parameter $\alpha$ must be consistent between training and evaluation; changing $\alpha$ changes the optimal strategy.
- Out-of-sample evaluation requires a separate set of simulated trajectories (e.g., $10^6$) to avoid overfitting to the training paths.
- The benchmark 'model hedge' assumes continuous-time trading or uses exact Greeks, which is not feasible in discrete time without transaction costs.
## Evidence (verbatim from paper)
> the risk measure $\rho$ is chosen as the average value at risk (also called conditional value at risk or expected shortfall), defined for any random variable $X$ by $\rho(X):=\frac{1}{1-\alpha}\int_{0}^{1-\alpha}\mathrm{VaR}_{\gamma}(X)\mathrm{d}\gamma$ for some $\alpha\in[0,1)$, where $\mathrm{VaR}_{\gamma}(X):=\inf{m\in\mathbb{R}\,:\mathbb{P}(X<-m)\leq\gamma}$. As an out-of-sample test, one can then simulate another set of sample trajectories (here $10^{6}$) and evaluate the terminal hedging errors $q-Z+(\delta^{H}\cdot S)_{T}$
## Citation
```bibtex
@misc{buehler2018deephedging,
title={Deep Hedging},
author={Hans Buehler et al.},
year={2018},
note={arXiv:1802.03042}
}
```
- arXiv: 1802.03042
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!