Information about the liquidation process on GTE
margin
: The collateral allocated to the position.simualated PnL (sPnL)
: The simulated PnL based on index pricing. We want to avoid using order book liquidity here as it’s too volatile and is prone to gaming. We will start with index pricing and implement sPnL
using average bid/ask impact shortly after.pendingFundingPayment
: The next scheduled funding cost the position must pay (or funding credit if negative).minMarginRequirement:
Calculated as minMarginBps * currentNotional / 10000
.currentNotional
: The position’s size (base units) multiplied by the current index price.side
: 1 for long, -1 for shortmargin_available
isolated_margin - maintenance_margin
account_value - maintenance_margin
maintenance_reciprocal
: 1 / maintenance_leverage
price
: the indexed oracle price of a given asset