Chartbreaker
    Preparing search index...

    Interface Instruments

    interface Instruments {
        getByIds(
            ids: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [id: string]: Instrument }>;
        getCrossRateSubscription(
            fromIso: string,
            toIso: string,
            abortSignal?: AbortSignal_2,
        ): Promise<CrossRate>;
        queryByGkfxTicker(
            tickerSymbols: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryByIsins(
            isins: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [isin: string]: Instrument }>;
        queryByJfdTicker(
            tickerSymbols: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryBySinoTicker(
            tickerSymbols: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryByUSTicker(
            tickerSymbols: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryByWhselfinvestTicker(
            tickerSymbols: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryByWkns(
            wkns: string[],
            abortSignal?: AbortSignal_2,
        ): Promise<{ [wkn: string]: Instrument }>;
        queryCurrencyPairByInstrumentId(
            instrumentID: string,
        ): Promise<{ from: string; to: string }>;
        queryInstrumentsByInternalCode(
            internalCode: string,
        ): Promise<
            {
                fromCurrency: number;
                fromCurrencyInternalCode: string;
                instrumentId: string;
                toCurrency: number;
                toCurrencyInternalCode: string;
            }[],
        >;
        queryInternalCodeByInstrumentId(instrumentID: string): Promise<string>;
    }
    Index

    Methods

    • Get a subscription to convert amounts in fromIso to amounts in toIso.

      If inverse is false: The fromIso value has to be divided by the quote to get the toIso value. If inverse is true: The fromIso value has to be multiplied with the quote to get the toIso value.

      Parameters

      • fromIso: string

        currencyCode of the source amount

      • toIso: string

        currencyCode of the target

      • OptionalabortSignal: AbortSignal_2

      Returns Promise<CrossRate>

    • Parameters

      Returns Promise<{ [wkn: string]: Instrument }>

    • Parameters

      Returns Promise<{ [wkn: string]: Instrument }>

    • Parameters

      Returns Promise<{ [wkn: string]: Instrument }>

    • Parameters

      Returns Promise<{ [wkn: string]: Instrument }>

    • Parameters

      Returns Promise<{ [wkn: string]: Instrument }>

    • query currency pair by stock3 instrumentId

      Parameters

      • instrumentID: string

      Returns Promise<{ from: string; to: string }>

    • query stock3 instruments by crypto "ISIN"

      Parameters

      • internalCode: string

      Returns Promise<
          {
              fromCurrency: number;
              fromCurrencyInternalCode: string;
              instrumentId: string;
              toCurrency: number;
              toCurrencyInternalCode: string;
          }[],
      >

    • query crypto "ISIN" by stock3 instrumentId

      Parameters

      • instrumentID: string

      Returns Promise<string>