Function calculateAllEstimatedFundingRate
- calculateAllEstimatedFundingRate(market: PerpMarketAccount, oraclePriceData?: OraclePriceData, markPrice?: BN, now?: BN): Promise<[BN, BN, BN, BN, BN]>
-
Parameters
-
-
-
Optional
markPrice: BN
-
Optional
now: BN
Returns Promise<[BN, BN, BN, BN, BN]>
Returns
Estimated funding rate. : Precision //TODO-PRECISION