Type alias PerpPosition

PerpPosition: {
    baseAssetAmount: BN;
    lastBaseAssetAmountPerLp: BN;
    lastCumulativeFundingRate: BN;
    lastQuoteAssetAmountPerLp: BN;
    lpShares: BN;
    marketIndex: number;
    openAsks: BN;
    openBids: BN;
    openOrders: number;
    perLpBase: number;
    quoteAssetAmount: BN;
    quoteBreakEvenAmount: BN;
    quoteEntryAmount: BN;
    remainderBaseAssetAmount: number;
    settledPnl: BN;
}

Type declaration

  • baseAssetAmount: BN
  • lastBaseAssetAmountPerLp: BN
  • lastCumulativeFundingRate: BN
  • lastQuoteAssetAmountPerLp: BN
  • lpShares: BN
  • marketIndex: number
  • openAsks: BN
  • openBids: BN
  • openOrders: number
  • perLpBase: number
  • quoteAssetAmount: BN
  • quoteBreakEvenAmount: BN
  • quoteEntryAmount: BN
  • remainderBaseAssetAmount: number
  • settledPnl: BN

Generated using TypeDoc