InverseFuture
#The coin economics of an inverse-margined futures/perp position.
import type { InverseFuture } from '@insiderfinance/totalfinance/crypto/inverse';
/** The coin economics of an inverse-margined futures/perp position. */
export interface InverseFuture {
/** Coin PnL since entry: `s · notionalUsd · (1/entry − 1/mark)`. */
coinPnl: number;
/** USD value of that coin PnL at the mark (`coinPnl · markPrice`). */
usdPnl: number;
/** `∂coinPnl/∂mark = s · notionalUsd / mark²` — coin per $1 move; NOT constant (inverse convexity). */
coinDelta: number;
/** `∂²coinPnl/∂mark² = s · (−2·notionalUsd / mark³)` — a LONG inverse future is SHORT gamma in coin. */
coinGamma: number;
/** Coin-equivalent size at the mark (`s · notionalUsd / mark`) — how many coins the position is long. */
coinExposure: number;
}Fields, parameters and returned members (5)
Stability: stable-by-law (pre-1.0; not a 1.0 stability guarantee). Units come from declared names; “unitless by name” means the name alone does not establish a unit. See conventions and errors and warnings.