Interface PositionData

interface PositionData {
    collateralAmount: BN;
    collateralUsd: BN;
    entryOraclePrice: ContractOraclePrice;
    leverage: BN;
    liquidationPrice: ContractOraclePrice;
    pnl: PositionPnl;
    pnlPercentageWithFee: BN;
    pnlPercentageWithoutFee: BN;
    pnlWithFeeUsd: BN;
    pnlWithoutFeeUsd: BN;
    sizeAmount: BN;
    sizeUsd: BN;
}

Properties

collateralAmount: BN
collateralUsd: BN
entryOraclePrice: ContractOraclePrice
leverage: BN
liquidationPrice: ContractOraclePrice
pnlPercentageWithFee: BN
pnlPercentageWithoutFee: BN
pnlWithFeeUsd: BN
pnlWithoutFeeUsd: BN
sizeAmount: BN
sizeUsd: BN