Options and Derivatives · Lesson 8
Capstone: hedge an option and explain the P&L
Sell a call, hedge it with shares every day, and say afterwards where the year's profit or loss came from: the volatility you charged against the one the share moved with, how often you adjusted, what adjusting cost, and a crash the hedge could not follow.
Know the basics? Read the lesson notesYou sell the call
This capstone takes one trade through the options course. You make nine decisions, and the page keeps the score: a point for each one right on the first try (practice isn't scored). Every number is made up, and every count comes from simulated years in made-up worlds, which can't show how real prices or real option quotes behave.
You sell the call from the earlier lessons: the right, but not the duty, to buy a made-up share for €105 (the strike) on one day a year from now. The share is at €100 and interest is 5% a year. You charge the Black–Scholes formula's price (the lesson "Black–Scholes, from the tree"), €6.94, at a volatility (how widely the share's yearly returns typically spread) of 17.42%. That volatility is the price's implied volatility, σimp: the one at which the formula gives the price.
If the share ends at €125 you owe €20; if it ends below €105, nothing. The call's delta, how much its price moves per euro of the share's move, is 0.5347 (the lesson "The Greeks"). To cancel your risk for small moves today, how many shares do you buy?
The shares cost 0.5347 × 100 = €53.47: the €6.94 you received plus €46.53 borrowed at 5%. Holding delta shares against an option is delta hedging.
The next day
Delta changes as the share moves; its change per euro is gamma, 0.0228 today. The next day the share is at €101, and with 364 days left the formula's delta is 0.5570 (up 0.0223, not quite gamma's 0.0228: gamma itself changes along the move, and a day has passed). What do you do?
Moving the holding to the new delta is rebalancing. After a rise you buy, after a fall you sell: a little buying high and selling low every day. The lesson "The Greeks" showed what pays for it: the hedged seller gains a little on quiet days (theta, the price's fall as time passes) and loses on big moves (gamma). Shares and loan together are the copy of the lesson "Black–Scholes, from the tree": a holding that pays what the call pays. Your P&L (profit and loss) for a year is the cash left on the last day, after selling your shares and paying what the call owes.
One simulated year, rebalanced daily (made-up share, the model's own world)
Top: the share's price; dashed, the €105 strike. Bottom: the shares you hold, from 0 to 1.
Look at a few years. When the share ends above €105 you end up holding about one share, which you sell to pay what the call owes; when it ends below, about none. Either way the year ends within a few tens of cents of €0.
In the model's own world
Now 10,000 simulated years, drawn the way the Black–Scholes model says: volatility 17.42% all year, no jumps, and the share grows on average at the 5% interest rate. You rebalance daily, and for now trading is free.
What will the 10,000 years' P&Ls look like?
The year's P&L, 10,000 simulated years (made-up share, the model's own world, before costs)
Sold at 17.42%; the share moves with 17.42%; rebalanced daily. Each bar counts years.
In this simulation the average was €0.005, with an error bar (a range that misses the long-run average about 1 time in 20) of −€0.002 to €0.011: it contains 0. The typical distance of a year from the average (its standard deviation) was €0.33; 8,729 of 10,000 years ended within €0.50 of 0, before costs.
That spread is the hedging error: what is left because the copy is rebalanced once a day. As in the Greeks lesson's simulation, each hedged day gains or loses a little, and a year adds up 365 of them.
The share moves more than you charged for
Same sale at €6.94, same daily hedge. But in this world the share's returns spread by 20% a year, not 17.42%. The volatility a share actually moves with is its realised volatility, σreal. What happens to you, on average?
The year's P&L by realised volatility, 10,000 simulated years each (made-up, before costs)
Sold at 17.42%, rebalanced daily. Each bar counts years; dashed, the exact average. Years beyond the axis are drawn at its ends.
At 20%, the average was −€1.07 (error bar −€1.08 to −€1.06), and you lost in 9,981 of 10,000 years, before costs.
The reason, step by step. You collected €6.94, which grows like cash to 1.05 × 6.94 by the last day. On average the call costs you 1.05 × 7.97 by then: the share grows 5% like cash, so a payoff priced at 20% (the formula's price with 20% put in, €7.97) averages that much (the binomial tree lesson: a price is the average payoff ÷ 1.05 when the share grows 5%). Your shares add nothing on average, since they grow like the cash borrowed to buy them. So the average is 1.05 × (6.94 − 7.97) = −€1.08. In the model's own world, that is the exact average loss before costs, however often you rebalance; the simulation's error bar contains it. Try the other volatilities: below 17.42% you gain on average, above it you lose.
Gamma P&L: where a hedged option's P&L comes from
Each day your hedged position earns ½ × Γ × S² × σimp² × Δt from decay (the call you owe loses value as a day passes; you keep that, less the day's interest on what you borrowed) and pays ½ × Γ × m² for the share's move m, with Γ the gamma (0.0228 at the start, when the decay part is the Greeks lesson's €0.0095 a day) and Δt one day in years. A typical day's m² is S² × σreal² × Δt. Each day's difference is that day's gamma P&L; the year's sum is the formula part, and it explains the hedged P&L. Averaged over many years, it comes to what was charged minus what copying the call really costs.
- Σdays
- the sum over the year's days
- Γt, St
- gamma (worked out at σimp) and the share's price on day t
- σimp
- the volatility the price was charged at
- σreal
- the volatility the share moves with
- Δt
- one day in years, 1 ÷ 365
- interest
- the simulation also grows each day's part with interest to the last day, at most × 1.05; the first line leaves this out
- C(σ)
- the Black–Scholes price of the call at volatility σ
- r, T
- the interest rate a year and the years to the last day
- P&L
- the seller's cash on the last day, hedged with delta at σimp, before costs
Day one: ½ × Γ × S² = ½ × 0.02282 × 100² = 114.1. σimp² − σreal² = 0.1742² − 0.20² = 0.03035 − 0.04000 = −0.00965. Day one's part: 114.1 × (−0.00965) ÷ 365 = −€0.0030.
If gamma and the share's price stayed put, 365 such days would make 114.1 × (−0.00965) = −€1.10, the idealised estimate. They don't, so the simulation sums each year's own days: the sums averaged −€1.08. The second line: 1.05 × (6.94 − 7.97) = −€1.08.
- the share moves as the model says, with no jumps, at a steady σreal;
- daily moves are small (½Γm² is a small-move estimate); the "≈" is the hedging error;
- before costs; the second line also needs the share to grow on average at the interest rate, as in the model's own world here.
The hedge is rebalanced less often, costs are charged, or the share jumps: the next three screens.
The idealised estimate: if gamma and the share's price stayed put through a year of daily hedging, how much would you lose, in euros?
Hint: ½ × 0.02 × 50² × (0.20² − 0.22²), with 365 days × 1 ÷ 365 = 1 year.
Check it year by year, then hedge less often
The formula part gives each simulated year its own number. Below, each dot is one year of the 20% world, rebalanced daily: the formula part across, the actual P&L up. The dots sit close to the line where the two are equal. Their spread around it, the standard deviation of actual minus formula part over all 10,000 years, is the hedging error: €0.42.
Formula part against the actual P&L, 1,000 of the 10,000 simulated years (made-up, 20% world, before costs)
Each dot: one year. Dashed: actual = formula part. The same years at every frequency; only the hedge changes. Years beyond the axis are drawn at its edge; the two axes differ in scale.
Now rebalance weekly instead: 7 times fewer adjustments. By how much will the spread around the line grow?
Press the buttons. In this simulation, weekly: €1.10, 2.63 times daily's. Every four weeks: €2.11, 5.06 times, against √28 = 5.29.
The average stayed at −€1.07 for all three, as the formula's second line says: in the model's own world, rebalancing less often adds spread, not an average loss, before costs. With k days between adjustments, the spread grows about √k times: each gap's error is its move² minus the move² you'd expect, about k times a day's in size, but there are k times fewer gaps, and random errors add up like √(count).
What adjusting costs
Now every share bought or sold costs 0.1% of its value, a stand-in for fees and the gap between buying and selling prices. In the 20% world, daily rebalancing spent on average €0.68 a year on adjustments, plus €0.11 on the first purchase and the last sale, which every frequency pays.
Weekly makes 7 times fewer adjustments. About what will its adjustments cost?
Spread against costs, by how often you rebalance (made-up, 20% world, 10,000 simulated years)
Dark: the hedging error's spread, before costs. Orange: average costs a year, all trades.
In this simulation, weekly adjustments cost €0.26, 2.63 times less than daily; every four weeks, €0.13, 5.10 times less (√28 = 5.29).
A week's change in delta is about √7 times a day's, because ups and downs within the week partly cancel: 7 times fewer trades, each about √7 times larger. Rebalancing more often: a smaller spread and larger costs. Less often: the reverse. No frequency removes both; which matters more depends on the cost per trade and on the spread a seller can carry, and this simulation shows only the trade between them.
A crash the hedge can't follow
Back to free trading, and to the crash world of the lesson "Implied volatility and the smile". In 1 year in 10, on one day, the price is multiplied by 0.78 (a 22% fall) on top of its usual move: a jump, a move too large and sudden for a daily hedge to follow. The usual moves are calmer, 15.74%, so the year's log returns still spread by 17.42%, the volatility you charged, and the share still grows 5% a year on average.
You sell at €6.94 and rebalance daily. With σreal = σimp over the year, the formula says each year should end near €0. How will the 10,000 years look, before costs?
The year's P&L in the crash world, 10,000 simulated years (made-up, daily, before costs)
Top: years without a crash. Bottom: crash years. Each panel has its own height scale. The small hump near €0 among crash years: 131 ended above −€1, and in 114 of them you held under 0.1 shares when the crash came, with the share well below €105.
The 8,953 years without a crash averaged +€0.70 (error bar €0.69 to €0.71); the 1,047 crash years, −€5.58 (−€5.79 to −€5.37), and the worst lost €18.27. You gained in 8,934 of 10,000 years; the average of all years was €0.05 (€0.00 to €0.09). These counts are this simulation's, before costs.
Why one day costs so much: say the share falls 22% on the first day, from €100 to €78. Your 0.5347 shares lose 0.5347 × 22 = €11.76. The call you owe falls from €6.94 to €0.53, €6.41 in your favour. Net, about −€5.35 in one day. Your shares fell all the way at the old delta; rebalancing the next day comes too late. The year's volatility matched the price, but part of it came in one jump, which the formula's hedge misses.
Explain a year's P&L
Splitting a result into the parts that made it is P&L attribution. For a crash-world year, rebalanced daily, with the 0.1% costs back on, there are four parts: the formula part (usual days, with σreal = 15.74%), the crash day's own result, the costs, and the rest, the hedging error. They add up to the year's P&L.
Year 15 of the simulation crashed on day 288 and ended at −€9.28 after costs. Its formula part was +€0.64, its crash day −€8.94, its costs −€0.69. How much did the hedging error lose, in euros?
Hint: the four parts add up to −9.28, so the rest is −9.28 − 0.64 + 8.94 + 0.69.
Three simulated years, explained part by part (made-up, crash world, daily, after costs)
The first year without a crash and the first two with one. The parts add up to the total.
Crash-world year 1 had no crash: quiet days paid +€1.00, costs took €1.02 (more than the crash world's average €0.70: a busy year, its price near the strike on most days, where delta moves most, and its last sale of about a whole share), the hedging error added €0.16, total +€0.14. In year 4 the crash on day 121 made −€7.37 of its −€7.44. The formula part is collected a little at a time; the crash is paid in one day.
What the simulation can't show
Every count here comes from made-up worlds built to the rules stated on each screen. They can't show real prices, which can jump in ways no list of worlds covers. They hold the implied volatility fixed for the year, while real option prices move: a call sold at 17.42% and valued again later at a higher implied volatility shows a loss before the last day. They leave out liquidity, whether you can trade as much as you need near the price shown, and margin, cash a broker asks a seller to put up when the share moves against them, which can force a sale at the worst moment. Dividends and exercising the option early are left out too.
On the crash day here, your rebalance happened at the day's closing price, at the usual cost. What real problem does that leave out?
A friend's sale
Before costs, what is your friend's average P&L on the last day, in euros?
Hint: (1 + r)T × [C(σimp) − C(σreal)], with T = 1.
Adjusting less often
About how much would rebalancing every 4 days spend on adjustments, in euros?
Hint: with k days between adjustments, adjusting costs shrink about √k times.
Nine years in ten
What should you ask first?
Lesson done
A delta-hedged seller's year, before costs, is close to the sum over its days of ½ × gamma × S² × (σimp² − σreal²) × 1/365, when the share moves without jumps. In this lesson's simulated model world, charging the volatility the share moved with averaged about €0, with a spread from daily rebalancing; charging 17.42% while it moved with 20% lost €1.07 on average, against the exact 1.05 × (6.94 − 7.97) = −€1.08. In these simulations, rebalancing every k days widened the spread about √k times and cut adjusting costs about √k times. In a simulated world with crashes, the same yearly volatility arrived partly in one jump, which the daily hedge could not follow: most years gained a little, crash years lost a lot. These counts come from made-up worlds; real prices, real quotes, liquidity and margin are outside them.
Key ideas
- Delta hedging
- holding delta shares against an option, so that small moves of the share cancel
- Rebalancing
- moving the holding to the new delta, at chosen intervals
- Hedging error
- what a delta hedge leaves because it is rebalanced at intervals, not without pause; in the Black–Scholes model's world its spread grows about √k times with k days between adjustments
- Realised volatility
- the volatility a share actually moves with, as against the implied volatility a price was charged at
- Gamma P&L
- a delta-hedged option's result from one day: about ½ × gamma × S² × (σimp² − σreal²) × the day in years, for the seller, when moves are small
- P&L attribution
- splitting a result into the parts that made it: here the formula part, a jump, costs and the hedging error
- Jump
- a move too large and sudden for the hedge to follow, outside what ½ × gamma × move² describes
P&L ≈ Σdays ½ Γt St² (σimp² − σreal²) Δt, no jumps, before costs
average P&L = (1 + r)T × [C(σimp) − C(σreal)], in the model's world, before costs