Fair Price Marking
- Fair Price Marking
Leverage is inherent in derivative contracts, combined with high volatility of crypto-currencies can lead to unwarranted liquidations. Lack of liquidity could further exacerbate this situation as price swings in a derivatives contract relative to the underlying index could widen even further.
To ensure a great trader experience, Delta Exchange marks all open position at Fair Price instead of Last Traded Price. The Fair Price has lesser volatility and is more resilient against attempts to manipulate market.
It is worth noting that Fair Price marking is relevant only computation of Unrealized PnL and Liquidation price. Realized PnL is computed using actual trading prices and is thus not impacted by the Fair Price.
Calculation of Fair Price of a Futures Contract
The price of a futures contract converges to the underlying index price at the time of contract maturity, i.e.
At all other times, the price of a futures contract broadly moves in tandem with the price of the Underlying Index, with the difference between the two referred to as basis, i.e.
Since the Underlying Index is the foundation of the futures contract, it is logical to assume that
The is obviously independent of the trading happening on Delta Exchange and is sourced in real-time from leading spot exchanges.
To understand the computation of , we first need to introduce the notion of . This price tries to estimate the price at which a typical long or short position (called Impact Position) in the futures contract can be entered at any given time.
Impact Size, in terms of number is contracts to be traded, is provided in the specifications for each futures contract. It is easy to see that Impact Price is a function of: (a) Impact Size and (b) current state of the order book.
Fair Basis Calculation
We first compute an annualised fair value basis, :
is computed only once 5 seconds. Further, in case at any time of update, market is illiquid, i.e.
is not updated.
Next, is computed as the moving average of the 12 most recent values of . To avoid anomolous values, the is bounded by certain hard limits, which can vary from contract to contract.
is used to compute the .
Now, that we have the , the fair price of the futures (i.e. the mark price) can be easily computed:
It is worth noting that only live positions are marked using the Fair Price. Thus, unrealised PnL may swing with the Mark Price, realised PnL is determined using actual traded price and is unimpacted by Mark Price.
Fair Price Marking Leading into Settlement
A Futures contract on Delta Exchange are settled on the minute TWAP (time-weighted average price) of its Underlying Index. To ensure that at the time of settlement there are no under-margined positions, the transition from using to in the calculation of Mark Price is done gradually.
When the settlement time of a contract is one hour away, we switch to a weighted average of amd in Mark Price computation. At the time of switch, weight of is and weight of is . Over the next minutes, these weights are changed every minute such that weights converge to 0% and 100% respectively. This means that in the last 30 minutes leading into contract settlement, it is that is used in the computation of the Mark Price. At contract settlemment, is and Mark Price converges to .