Constructors
constructor
Parameters
decoded: any
includeExpired: boolean = false
Optional maxBookDelay: number
Properties
bumpIndex
bumpIndex: number
freeListLen
freeListLen: number
freelistHead
freelistHead: number
includeExpired
includeExpired: boolean
leafCount
leafCount: number
Methods
[iterator]
- [iterator](): Generator<PerpOrder, any, unknown>
getImpactPriceUi
- getImpactPriceUi(quantity: BN): undefined | number
Parameters
Returns undefined | number
getL2
- getL2(depth: number): [number, number, BN, BN][]
Parameters
Returns [number, number, BN, BN][]
getL2Ui
- getL2Ui(depth: number): [number, number][]
Parameters
Returns [number, number][]
Return the ui price reached at
quantity
lots up the book; return undefined ifquantity
not on book