Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PerpAccount

Index

Constructors

constructor

Properties

asksQuantity

asksQuantity: BN

basePosition

basePosition: BN

bidsQuantity

bidsQuantity: BN

longSettledFunding

longSettledFunding: I80F48

mngoAccrued

mngoAccrued: BN

quotePosition

quotePosition: I80F48

shortSettledFunding

shortSettledFunding: I80F48

takerBase

takerBase: BN

takerQuote

takerQuote: BN

Methods

getAssetVal

getAverageOpenPrice

  • Get average entry price of current position. Returned value is UI number. Does not include fees. Events are sorted latest event first

    Parameters

    Returns Big

getBasePositionUi

getBreakEvenPrice

getHealth

getLiabsVal

getPnl

getQuotePosition

getUnsettledFunding

simPositionHealth

Generated using TypeDoc