You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gets candles regarding the last price converted to the target currency for all symbols or for the specified symbols
466
+
*
467
+
* Candles are used for OHLC representation
468
+
*
469
+
* The result contains candles with non-zero volume only (no trades = no candles).
470
+
*
471
+
* Conversion from the symbol quote currency to the target currency is the mean of "best" bid price and "best" ask price in the order book. If there is no "best" bid or ask price, the last price is returned.
472
+
*
473
+
* Requires no API key Access Rights.
474
+
*
475
+
* https://api.exchange.cryptomkt.com/#candles
476
+
*
477
+
* @param {object} [params]
478
+
* @param {string[]} [params.targetCurrency] Target currency for conversion
479
+
* @param {string[]} [params.symbols] Optional. A list of symbol ids
* Gets candles regarding the last price converted to the target currency for the specified symbol
502
+
*
503
+
* Candles are used for OHLC representation
504
+
*
505
+
* The result contains candles with non-zero volume only (no trades = no candles).
506
+
*
507
+
* Conversion from the symbol quote currency to the target currency is the mean of "best" bid price and "best" ask price in the order book. If there is no "best" bid or ask price, the last price is returned.
508
+
*
509
+
* Requires no API key Access Rights.
510
+
*
511
+
* https://api.exchange.cryptomkt.com/#candles
512
+
*
513
+
* @param {string[]} symbol A symbol id
514
+
* @param {object} params
515
+
* @param {string[]} params.targetCurrency Target currency for conversion
* @param {function} callback a function that recieves notifications as a dict of candles indexed by symbol, and the type of notification (either SNAPSHOT or UPDATE)
* @param {function} callback a function that recieves notifications as a dict of candles indexed by symbol, and the type of notification (either SNAPSHOT or UPDATE)
208
+
* @param {function} params.targetCurrency Target currency for conversion
0 commit comments