Function derivativeMarginFromChainMargin
- derivativeMarginFromChainMargin(__namedParameters: {
quoteDecimals?: string | number;
value: string | number | BigNumber;
}): BigNumber
-
Parameters
-
__namedParameters: {
quoteDecimals?: string | number;
value: string | number | BigNumber;
}
-
Optional
quoteDecimals?: string | number
-
value: string | number | BigNumber
Returns BigNumber
Amount that the chain returns is in the x * 10^(quoteDecimals) format where x is a human readable number