Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "helpers/currency"

Index

Type aliases

MarketData

MarketData: object

Type declaration

  • [key: string]: MarketAuth

Functions

createCurrencyAmount

createCurrencyPrice

Const getPrecision

  • getPrecision(exp: string): number
  • Parameters

    • exp: string

    Returns number

mapMarketsForGoClient

  • mapMarketsForGoClient(markets: object): MarketData
  • Parameters

    • markets: object

    Returns MarketData

normalizeAmountForMarket

normalizeAmountForMarketPrecision

  • normalizeAmountForMarketPrecision(amount: string, tradeSize: number): string
  • Normalizes the given amount based on the given trade size.

    Parameters

    • amount: string
    • tradeSize: number

    Returns string

normalizePriceForMarket

Generated using TypeDoc