Balance for a perp product

interface PerpBalance {
    productId: number;
    amount: BigNumber;
    lpAmount: BigNumber;
    healthContributions: BalanceHealthContributions;
    type: PERP;
    vQuoteBalance: BigNumber;
}

Hierarchy (view full)

Properties

productId: number
amount: BigNumber
lpAmount: BigNumber
healthContributions: BalanceHealthContributions
type: PERP
vQuoteBalance: BigNumber

As there is no "quote" product for the perp engine, this is a representation of the net quote balance associated with the position. The entry cost and funding is rolled into this.