Function calculateInventoryScale
- calculateInventoryScale(baseAssetAmountWithAmm: BN, baseAssetReserve: BN, minBaseAssetReserve: BN, maxBaseAssetReserve: BN, directionalSpread: number, maxSpread: number): number
-
Parameters
-
baseAssetAmountWithAmm: BN
-
baseAssetReserve: BN
-
minBaseAssetReserve: BN
-
maxBaseAssetReserve: BN
-
directionalSpread: number
-
maxSpread: number
Returns number