Liquidation and fixed-price exits
Each position stores its liquidation price when it opens. A long becomes liquidatable when the accepted price reaches or falls below that threshold; a short when it reaches or rises above it. The keeper can submit liquidation without another user signature.
The threshold
Let P0 be entry price and L leverage. First calculate the zero-equity price Z, then apply the position's profile buffer b:
Long: Z = P0 − floor(P0/L); liquidation price = Z + floor(Z × b)
Short: Z = P0 + floor(P0/L); liquidation price = Z − floor(Z × b)
The current buffer is 0.000476041580087574 for the BTC profile and 0.000481304050180130 for the ETH profile. Prices use eight decimal places. BTC uses the BTC profile; the other configured markets use the selected ETH profile.
The threshold uses the original margin and leverage terms. The notional fee is settled inside the margin; it does not move that stored threshold. At or beyond the threshold, the position loses its remaining risk margin and closes. A voluntary close submitted after the threshold is crossed follows the same liquidation treatment.
High leverage puts the threshold close to entry. Keep track of the price shown in the position row rather than using 1/leverage as the exact liquidation distance.
When quotes stop
Ordinary execution checks quote freshness. If the publisher cannot obtain a valid price, execution can pause while data recovers. You can still manage available account funds subject to the account's other obligations.
The protocol has separate market-retirement and emergency exit paths. An authorized retirement fixes the applicable exit price for remaining positions. A prolonged crypto-feed outage can also make the market eligible for the protocol's public retirement procedure. These exits use a fixed settlement value rather than allowing each caller to choose a price.
For equity-linked markets, the session settlement fixes one qualifying price and time for both collateral pools. Once the session price is fixed, remaining positions settle against it even if processing finishes later.