Tokenomics

Implementation

⚖

Delta Hedging

Lyra's mechanism automatically calculates and hedges the delta of LPs. The algorithm for determining the net delta exposure of the AMM is outlined in full detail in section 5.1.1 of the whitepaper.

In short, deltas are *additive* across strikes and expiries. This means we can calculate the net delta of the pool by:

- 1.Calculating the delta for each listed option
- 2.Fetching the net position of the AMM for each listed option (e.g. long 5, short 2)
- 3.Multiply the net position by the delta for each listed option
- 4.Sum the results of (3) across each listed option

The resulting sum of this process represents the *net delta* of the AMM. This is the amount of the underlying asset that needs to be bought (if negative) or sold (if positive) to become delta neutral.

Lyra community members can call the incentivized *t, *a parameter set by governance. This function prompts the protocol to compose with a spot exchange to buy or sell the underlying asset, hedging the delta of the pool.

`hedgeDelta()`

function, which is only callable once per period of time Last modified 1mo ago

Copy link