Type alias Instrument

Instrument: trade.InstrumentSchema & {
    getChartSymbol: (() => string);
    getDescription: (() => string);
    getDisplayDecimals: ((price, useExtendedDecimals?) => number);
    getUnitName: ((useShortUnitName?) => string);
}

Type declaration

  • getChartSymbol: (() => string)
      • (): string
      • Returns string

  • getDescription: (() => string)
      • (): string
      • Returns string

  • getDisplayDecimals: ((price, useExtendedDecimals?) => number)
      • (price, useExtendedDecimals?): number
      • Parameters

        • price: BigNumber
        • Optional useExtendedDecimals: boolean
          Optional

        Returns number

  • getUnitName: ((useShortUnitName?) => string)
      • (useShortUnitName?): string
      • Parameters

        • Optional useShortUnitName: boolean
          Optional

        Returns string

Generated using TypeDoc