How delta hedging and greeks work

How Hedge on fill keeps an option’s delta covered as it fills, how the one-off hedges are sized and loaded, and where every greek and risk figure (value at risk, beta, scenarios) comes from. Auto-hedge, the hedger that keeps a book neutral on its own, is on How Auto-hedge works.

Hedge on fill, step by step

  1. 01Send the option as an algorithm (TWAP, Chase and the rest) with Hedge on fill on. The hedge trades the same coin’s perpetual, a future or spot, on this account or another account you have open. The option sets its side: a bought call or a sold put sells the hedge, a sold call or a bought put buys it.
  2. 02At the start the engine takes the exchange’s own delta for the option, no older than the option’s price, and turns it into the hedge’s contract units. No delta, or a stale one, and it refuses to start: it never guesses. That ratio is locked for the whole order.
  3. 03As the option fills, the hedge may hold at most the ratio times what has filled, rounded down to the hedge’s lot. It is never ahead of the option, and it trades as the fills add up to whole lots, not one order per fill.
  4. 04Each hedge order rests at the touch and follows it, repricing at most once a second, never past your No worse than. While prices are more than 5 seconds old it holds.
  5. 05Not filled after Cross after (10 seconds by default), it crosses the spread once, as far as No worse than allows. Empty, it never crosses.
  6. 06When the option is done, the hedge finishes what the fills earned. If less than the exchange’s smallest order is left, it ends there.

When something goes wrong

The hedge cannot trade
Refused, in doubt, or paused after a restart: the option pauses too, and places nothing more until the hedge can trade. Fills never pile up unhedged.
The hedge ends short
The option is stopped, and you are told exactly how much filled, how much was hedged, and how much was not.
Nothing is unwound
What filled stays filled. Undoing the option would be a new trade at a price nobody chose, so that decision is yours.
Hedging on another account
Two separate orders. The option starts first; if the hedge is refused you are told the option is working unhedged, with Cancel the option. Cancelling the hedge leaves the option working. This browser must hold the hedge’s account through BackQuant’s one-device check (see How the engine works).
The engine
It runs in the engine in your browser, which every BackQuant tab shares. If the engine restarts it comes back paused and does not resume by itself; orders it had resting stay at the exchange. While the computer sleeps it waits, and does not catch up.
Delta moves
The ratio is locked at the start. As the price moves the option’s delta changes and the hedge does not follow it. To stay neutral after that, hedge again, or use Auto-hedge.
Already hedged
Refused if an Auto-hedge already keeps that coin’s whole book on the account, so the same delta is never hedged twice.

One-off hedges

Three buttons load a hedge into a ticket for you to check and send. None of them sends anything, and none follows the delta afterwards.

Load a delta hedge into the ticket
In a position’s ⋯ menu in Positions and orders: the perpetual order on the same account that offsets that position’s delta, at the perpetual’s touch, in that panel’s ticket.
Hedge, in Exposure by coin
On the Portfolio page: the coin’s net delta across every account, on an account you choose that lists the coin’s perpetual, loaded into the Portfolio page’s ticket at market.
Hedge, in Portfolio risk
With one coin chosen: that coin’s delta, on the ticket’s account, loaded into the ticket as a limit at the touch.
The size
The delta over the contract size (times the price on an inverse contract), rounded to the nearest step. Below the smallest order, nothing is loaded.

Greeks

In the option chain
Every options exchange (Deribit, Bybit, Derive, OKX) states each option’s IV and delta, and the chain shows the exchange’s. Gamma, vega and theta in the chain are BackQuant’s.
Your positions, from the exchange
Deribit and Derive state greeks for a position: their delta, vega and theta are used, and their gamma unless it reads 0 (Deribit rounds gamma to 5 decimals), when BackQuant’s is used.
Your positions, from BackQuant
On Bybit and OKX, and wherever a figure is missing: Black-76 (the standard model for an option on a future’s price) on the underlying, no rates, on a 365-day year. The implied volatility is solved from the option’s mark.
Units
Delta in coins. Gamma: the change in delta per $1. Vega: dollars per vol point. Theta: dollars per day.
Gamma 1%
How much the dollar delta changes on a 1% move: gamma times the price squared, over 100.
Net exposure per 1%
The dollar delta over 100: what the book makes or loses on a 1% move.

Risk figures

VaR 95% 1 day
Value at risk, from history, not a formula. Today’s book is replayed on each of the last 90 days’ moves (30 at least): the dollar delta times the move, plus gamma’s share. VaR is the loss on the worst 5% of those days. Price only: vega is not in it.
Beta to BTC
The slope of a coin’s 90 daily returns against BTC’s, from 30 days at least, for your 15 largest holdings. Others count as moving with BTC one for one.
Scenarios
Every option fully repriced at the moved price, its implied volatility plus the shift, and the days left: moves of 2% to 30% either way against -10 to +10 vol points. With All, each coin moves by its beta times BTC’s move.

More

  • Stops, exits and hedges. The Hedge on fill fields in the ticket.
  • All your accounts in one place. The three hedge buttons side by side.
  • Portfolio risk. The curve, the grid and value at risk on screen.