Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PerpPositionDto

Index

Constructors

  • new PerpPositionDto(marketIndex: number, settlePnlLimitWindow: number, settlePnlLimitSettledInCurrentWindowNative: BN, basePositionLots: BN, quotePositionNative: { val: BN }, quoteRunningNative: BN, longSettledFunding: I80F48Dto, shortSettledFunding: I80F48Dto, bidsBaseLots: BN, asksBaseLots: BN, takerBaseLots: BN, takerQuoteLots: BN, cumulativeLongFunding: number, cumulativeShortFunding: number, makerVolume: BN, takerVolume: BN, perpSpotTransfers: BN, avgEntryPricePerBaseLot: number, deprecatedRealizedTradePnlNative: I80F48Dto, oneshotSettlePnlAllowance: I80F48Dto, recurringSettlePnlAllowance: BN, realizedPnlForPositionNative: I80F48Dto): PerpPositionDto
  • Parameters

    • marketIndex: number
    • settlePnlLimitWindow: number
    • settlePnlLimitSettledInCurrentWindowNative: BN
    • basePositionLots: BN
    • quotePositionNative: { val: BN }
      • val: BN
    • quoteRunningNative: BN
    • longSettledFunding: I80F48Dto
    • shortSettledFunding: I80F48Dto
    • bidsBaseLots: BN
    • asksBaseLots: BN
    • takerBaseLots: BN
    • takerQuoteLots: BN
    • cumulativeLongFunding: number
    • cumulativeShortFunding: number
    • makerVolume: BN
    • takerVolume: BN
    • perpSpotTransfers: BN
    • avgEntryPricePerBaseLot: number
    • deprecatedRealizedTradePnlNative: I80F48Dto
    • oneshotSettlePnlAllowance: I80F48Dto
    • recurringSettlePnlAllowance: BN
    • realizedPnlForPositionNative: I80F48Dto

    Returns PerpPositionDto

Properties

asksBaseLots: BN
avgEntryPricePerBaseLot: number
basePositionLots: BN
bidsBaseLots: BN
cumulativeLongFunding: number
cumulativeShortFunding: number
deprecatedRealizedTradePnlNative: I80F48Dto
longSettledFunding: I80F48Dto
makerVolume: BN
marketIndex: number
oneshotSettlePnlAllowance: I80F48Dto
perpSpotTransfers: BN
quotePositionNative: { val: BN }

Type declaration

  • val: BN
quoteRunningNative: BN
realizedPnlForPositionNative: I80F48Dto
recurringSettlePnlAllowance: BN
settlePnlLimitSettledInCurrentWindowNative: BN
settlePnlLimitWindow: number
shortSettledFunding: I80F48Dto
takerBaseLots: BN
takerQuoteLots: BN
takerVolume: BN

Generated using TypeDoc