ccxt 4.1.64 → 4.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +2558 -2534
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +13 -13
- package/dist/cjs/src/alpaca.js +10 -10
- package/dist/cjs/src/ascendex.js +33 -33
- package/dist/cjs/src/base/Exchange.js +6 -6
- package/dist/cjs/src/bigone.js +23 -23
- package/dist/cjs/src/binance.js +68 -68
- package/dist/cjs/src/binanceus.js +1 -0
- package/dist/cjs/src/bingx.js +33 -33
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +14 -14
- package/dist/cjs/src/bitbns.js +15 -15
- package/dist/cjs/src/bitfinex.js +24 -24
- package/dist/cjs/src/bitfinex2.js +30 -30
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +12 -12
- package/dist/cjs/src/bitget.js +50 -50
- package/dist/cjs/src/bithumb.js +13 -13
- package/dist/cjs/src/bitmart.js +74 -59
- package/dist/cjs/src/bitmex.js +29 -28
- package/dist/cjs/src/bitopro.js +23 -23
- package/dist/cjs/src/bitpanda.js +25 -25
- package/dist/cjs/src/bitrue.js +26 -26
- package/dist/cjs/src/bitso.js +22 -22
- package/dist/cjs/src/bitstamp.js +24 -24
- package/dist/cjs/src/bittrex.js +31 -31
- package/dist/cjs/src/bitvavo.js +23 -23
- package/dist/cjs/src/bl3p.js +7 -7
- package/dist/cjs/src/blockchaincom.js +23 -23
- package/dist/cjs/src/btcalpha.js +17 -17
- package/dist/cjs/src/btcbox.js +9 -9
- package/dist/cjs/src/btcmarkets.js +19 -19
- package/dist/cjs/src/btcturk.js +13 -13
- package/dist/cjs/src/bybit.js +71 -67
- package/dist/cjs/src/cex.js +17 -17
- package/dist/cjs/src/coinbase.js +28 -28
- package/dist/cjs/src/coinbasepro.js +27 -27
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +42 -42
- package/dist/cjs/src/coinlist.js +29 -29
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +13 -13
- package/dist/cjs/src/coinsph.js +25 -25
- package/dist/cjs/src/coinspot.js +9 -9
- package/dist/cjs/src/cryptocom.js +33 -32
- package/dist/cjs/src/currencycom.js +24 -24
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +35 -35
- package/dist/cjs/src/digifinex.js +43 -43
- package/dist/cjs/src/exmo.js +30 -30
- package/dist/cjs/src/gate.js +39 -39
- package/dist/cjs/src/gemini.js +18 -18
- package/dist/cjs/src/hitbtc.js +40 -40
- package/dist/cjs/src/hollaex.js +26 -26
- package/dist/cjs/src/htx.js +48 -48
- package/dist/cjs/src/huobijp.js +24 -24
- package/dist/cjs/src/idex.js +23 -23
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +16 -16
- package/dist/cjs/src/kraken.js +28 -28
- package/dist/cjs/src/krakenfutures.js +9 -9
- package/dist/cjs/src/kucoin.js +39 -39
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +25 -25
- package/dist/cjs/src/latoken.js +20 -20
- package/dist/cjs/src/lbank.js +24 -24
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/lykke.js +18 -18
- package/dist/cjs/src/mercado.js +13 -13
- package/dist/cjs/src/mexc.js +47 -45
- package/dist/cjs/src/ndax.js +23 -23
- package/dist/cjs/src/novadax.js +23 -23
- package/dist/cjs/src/oceanex.js +19 -19
- package/dist/cjs/src/okcoin.js +25 -25
- package/dist/cjs/src/okx.js +53 -53
- package/dist/cjs/src/p2b.js +14 -14
- package/dist/cjs/src/paymium.js +10 -10
- package/dist/cjs/src/phemex.js +32 -32
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/poloniexfutures.js +21 -21
- package/dist/cjs/src/pro/alpaca.js +6 -6
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/binance.js +21 -21
- package/dist/cjs/src/pro/bingx.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +7 -7
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bitmart.js +5 -5
- package/dist/cjs/src/pro/bitmex.js +8 -8
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +7 -7
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrex.js +7 -7
- package/dist/cjs/src/pro/bitvavo.js +6 -6
- package/dist/cjs/src/pro/blockchaincom.js +6 -6
- package/dist/cjs/src/pro/bybit.js +12 -12
- package/dist/cjs/src/pro/cex.js +9 -9
- package/dist/cjs/src/pro/coinbase.js +6 -6
- package/dist/cjs/src/pro/coinbasepro.js +10 -10
- package/dist/cjs/src/pro/coinex.js +7 -7
- package/dist/cjs/src/pro/cryptocom.js +13 -13
- package/dist/cjs/src/pro/currencycom.js +5 -5
- package/dist/cjs/src/pro/deribit.js +7 -7
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +10 -10
- package/dist/cjs/src/pro/gemini.js +4 -4
- package/dist/cjs/src/pro/hitbtc.js +11 -11
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +8 -8
- package/dist/cjs/src/pro/huobijp.js +4 -4
- package/dist/cjs/src/pro/idex.js +5 -5
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +11 -11
- package/dist/cjs/src/pro/krakenfutures.js +8 -8
- package/dist/cjs/src/pro/kucoin.js +10 -10
- package/dist/cjs/src/pro/kucoinfutures.js +8 -8
- package/dist/cjs/src/pro/luno.js +4 -4
- package/dist/cjs/src/pro/mexc.js +7 -7
- package/dist/cjs/src/pro/ndax.js +4 -4
- package/dist/cjs/src/pro/okcoin.js +6 -6
- package/dist/cjs/src/pro/okx.js +16 -16
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +7 -7
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +3 -3
- package/dist/cjs/src/pro/wazirx.js +7 -7
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/probit.js +24 -24
- package/dist/cjs/src/tidex.js +15 -15
- package/dist/cjs/src/timex.js +19 -19
- package/dist/cjs/src/tokocrypto.js +21 -21
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +15 -15
- package/dist/cjs/src/whitebit.js +29 -29
- package/dist/cjs/src/woo.js +26 -26
- package/dist/cjs/src/yobit.js +17 -17
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +16 -16
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/ace.js +13 -13
- package/js/src/alpaca.js +10 -10
- package/js/src/ascendex.js +33 -33
- package/js/src/base/Exchange.js +6 -6
- package/js/src/bigone.js +23 -23
- package/js/src/binance.js +68 -68
- package/js/src/binanceus.js +1 -0
- package/js/src/bingx.js +33 -33
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.js +14 -14
- package/js/src/bitbns.js +15 -15
- package/js/src/bitfinex.js +24 -24
- package/js/src/bitfinex2.js +30 -30
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +12 -12
- package/js/src/bitget.js +50 -50
- package/js/src/bithumb.js +13 -13
- package/js/src/bitmart.js +74 -59
- package/js/src/bitmex.js +29 -28
- package/js/src/bitopro.js +23 -23
- package/js/src/bitpanda.js +25 -25
- package/js/src/bitrue.js +26 -26
- package/js/src/bitso.js +22 -22
- package/js/src/bitstamp.js +24 -24
- package/js/src/bittrex.js +31 -31
- package/js/src/bitvavo.js +23 -23
- package/js/src/bl3p.js +7 -7
- package/js/src/blockchaincom.js +23 -23
- package/js/src/btcalpha.js +17 -17
- package/js/src/btcbox.js +9 -9
- package/js/src/btcmarkets.js +19 -19
- package/js/src/btcturk.js +13 -13
- package/js/src/bybit.js +71 -67
- package/js/src/cex.js +17 -17
- package/js/src/coinbase.js +28 -28
- package/js/src/coinbasepro.js +27 -27
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.js +42 -42
- package/js/src/coinlist.js +29 -29
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +13 -13
- package/js/src/coinsph.js +25 -25
- package/js/src/coinspot.js +9 -9
- package/js/src/cryptocom.js +33 -32
- package/js/src/currencycom.js +24 -24
- package/js/src/delta.js +29 -29
- package/js/src/deribit.js +35 -35
- package/js/src/digifinex.js +43 -43
- package/js/src/exmo.js +30 -30
- package/js/src/gate.js +39 -39
- package/js/src/gemini.js +18 -18
- package/js/src/hitbtc.js +40 -40
- package/js/src/hollaex.js +26 -26
- package/js/src/htx.js +48 -48
- package/js/src/huobijp.js +24 -24
- package/js/src/idex.js +23 -23
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +16 -16
- package/js/src/kraken.js +28 -28
- package/js/src/krakenfutures.js +9 -9
- package/js/src/kucoin.js +39 -39
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +25 -25
- package/js/src/latoken.js +20 -20
- package/js/src/lbank.js +24 -24
- package/js/src/luno.js +17 -17
- package/js/src/lykke.js +18 -18
- package/js/src/mercado.js +13 -13
- package/js/src/mexc.js +47 -45
- package/js/src/ndax.js +23 -23
- package/js/src/novadax.js +23 -23
- package/js/src/oceanex.js +19 -19
- package/js/src/okcoin.js +25 -25
- package/js/src/okx.js +53 -53
- package/js/src/p2b.js +14 -14
- package/js/src/paymium.js +10 -10
- package/js/src/phemex.js +32 -32
- package/js/src/poloniex.js +27 -27
- package/js/src/poloniexfutures.js +21 -21
- package/js/src/pro/alpaca.js +6 -6
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/binance.js +21 -21
- package/js/src/pro/bingx.js +6 -6
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +7 -7
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bitmart.js +5 -5
- package/js/src/pro/bitmex.js +8 -8
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +7 -7
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +7 -7
- package/js/src/pro/bitvavo.js +6 -6
- package/js/src/pro/blockchaincom.js +6 -6
- package/js/src/pro/bybit.js +12 -12
- package/js/src/pro/cex.js +9 -9
- package/js/src/pro/coinbase.js +6 -6
- package/js/src/pro/coinbasepro.js +10 -10
- package/js/src/pro/coinex.js +7 -7
- package/js/src/pro/cryptocom.js +13 -13
- package/js/src/pro/currencycom.js +5 -5
- package/js/src/pro/deribit.js +7 -7
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +10 -10
- package/js/src/pro/gemini.js +4 -4
- package/js/src/pro/hitbtc.js +11 -11
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.js +8 -8
- package/js/src/pro/huobijp.js +4 -4
- package/js/src/pro/idex.js +5 -5
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +11 -11
- package/js/src/pro/krakenfutures.js +8 -8
- package/js/src/pro/kucoin.js +10 -10
- package/js/src/pro/kucoinfutures.js +8 -8
- package/js/src/pro/luno.js +4 -4
- package/js/src/pro/mexc.js +7 -7
- package/js/src/pro/ndax.js +4 -4
- package/js/src/pro/okcoin.js +6 -6
- package/js/src/pro/okx.js +16 -16
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.js +7 -7
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +3 -3
- package/js/src/pro/wazirx.js +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.js +1 -1
- package/js/src/probit.js +24 -24
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +21 -21
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +15 -15
- package/js/src/whitebit.js +29 -29
- package/js/src/woo.js +26 -26
- package/js/src/yobit.js +17 -17
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +16 -16
- package/package.json +1 -1
package/js/src/pro/poloniex.js
CHANGED
|
@@ -332,7 +332,7 @@ export default class poloniex extends poloniexRest {
|
|
|
332
332
|
* @param {string} timeframe the length of time each candle represents
|
|
333
333
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
334
334
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
335
|
-
* @param {object} [params] extra parameters specific to the
|
|
335
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
336
336
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
337
337
|
*/
|
|
338
338
|
await this.loadMarkets();
|
|
@@ -354,7 +354,7 @@ export default class poloniex extends poloniexRest {
|
|
|
354
354
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
355
355
|
* @see https://docs.poloniex.com/#public-channels-market-data-ticker
|
|
356
356
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
357
|
-
* @param {object} [params] extra parameters specific to the
|
|
357
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
358
358
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
359
359
|
*/
|
|
360
360
|
await this.loadMarkets();
|
|
@@ -369,7 +369,7 @@ export default class poloniex extends poloniexRest {
|
|
|
369
369
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
370
370
|
* @see https://docs.poloniex.com/#public-channels-market-data-ticker
|
|
371
371
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
372
|
-
* @param {object} [params] extra parameters specific to the
|
|
372
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
373
373
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
374
374
|
*/
|
|
375
375
|
await this.loadMarkets();
|
|
@@ -390,7 +390,7 @@ export default class poloniex extends poloniexRest {
|
|
|
390
390
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
391
391
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
392
392
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
393
|
-
* @param {object} [params] extra parameters specific to the
|
|
393
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
394
394
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
395
395
|
*/
|
|
396
396
|
await this.loadMarkets();
|
|
@@ -410,7 +410,7 @@ export default class poloniex extends poloniexRest {
|
|
|
410
410
|
* @see https://docs.poloniex.com/#public-channels-market-data-book-level-2
|
|
411
411
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
412
412
|
* @param {int} [limit] not used by poloniex watchOrderBook
|
|
413
|
-
* @param {object} [params] extra parameters specific to the
|
|
413
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
414
414
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
415
415
|
*/
|
|
416
416
|
await this.loadMarkets();
|
|
@@ -429,7 +429,7 @@ export default class poloniex extends poloniexRest {
|
|
|
429
429
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
430
430
|
* @param {int} [since] not used by poloniex watchOrders
|
|
431
431
|
* @param {int} [limit] not used by poloniex watchOrders
|
|
432
|
-
* @param {object} [params] extra parameters specific to the
|
|
432
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
433
433
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
434
434
|
*/
|
|
435
435
|
await this.loadMarkets();
|
|
@@ -477,7 +477,7 @@ export default class poloniex extends poloniexRest {
|
|
|
477
477
|
* @name poloniex#watchBalance
|
|
478
478
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
479
479
|
* @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
|
|
480
|
-
* @param {object} [params] extra parameters specific to the
|
|
480
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
481
481
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
482
482
|
*/
|
|
483
483
|
await this.loadMarkets();
|
|
@@ -233,7 +233,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
|
|
|
233
233
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
234
234
|
* @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
|
|
235
235
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
236
|
-
* @param {object} [params] extra parameters specific to the
|
|
236
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
237
237
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
238
238
|
*/
|
|
239
239
|
await this.loadMarkets();
|
|
@@ -250,7 +250,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
|
|
|
250
250
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
251
251
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
252
252
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
253
|
-
* @param {object} [params] extra parameters specific to the
|
|
253
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
254
254
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
255
255
|
*/
|
|
256
256
|
await this.loadMarkets();
|
|
@@ -272,7 +272,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
|
|
|
272
272
|
* @see https://futures-docs.poloniex.com/#level-2-market-data
|
|
273
273
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
274
274
|
* @param {int} [limit] not used by poloniexfutures watchOrderBook
|
|
275
|
-
* @param {object} [params] extra parameters specific to the
|
|
275
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
276
276
|
* @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
|
|
277
277
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
278
278
|
*/
|
|
@@ -303,7 +303,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
|
|
|
303
303
|
* @param {string} symbol filter by unified market symbol of the market orders were made in
|
|
304
304
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
305
305
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
306
|
-
* @param {object} [params] extra parameters specific to the
|
|
306
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
307
307
|
* @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
|
|
308
308
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
309
309
|
*/
|
|
@@ -327,7 +327,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
|
|
|
327
327
|
* @name poloniexfutures#watchBalance
|
|
328
328
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
329
329
|
* @see https://futures-docs.poloniex.com/#account-balance-events
|
|
330
|
-
* @param {object} [params] extra parameters specific to the
|
|
330
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
331
331
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
332
332
|
*/
|
|
333
333
|
await this.loadMarkets();
|
package/js/src/pro/probit.js
CHANGED
|
@@ -57,7 +57,7 @@ export default class probit extends probitRest {
|
|
|
57
57
|
* @name probit#watchBalance
|
|
58
58
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
59
59
|
* @see https://docs-en.probit.com/reference/balance-1
|
|
60
|
-
* @param {object} [params] extra parameters specific to the
|
|
60
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
61
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
62
62
|
*/
|
|
63
63
|
await this.authenticate(params);
|
|
@@ -124,7 +124,7 @@ export default class probit extends probitRest {
|
|
|
124
124
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
125
125
|
* @see https://docs-en.probit.com/reference/marketdata
|
|
126
126
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
127
|
-
* @param {object} [params] extra parameters specific to the
|
|
127
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
128
128
|
* @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
|
|
129
129
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
130
130
|
*/
|
|
@@ -169,7 +169,7 @@ export default class probit extends probitRest {
|
|
|
169
169
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
170
170
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
171
171
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
172
|
-
* @param {object} [params] extra parameters specific to the
|
|
172
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
173
173
|
* @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
|
|
174
174
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
175
175
|
*/
|
|
@@ -230,7 +230,7 @@ export default class probit extends probitRest {
|
|
|
230
230
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
231
231
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
232
232
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
233
|
-
* @param {object} [params] extra parameters specific to the
|
|
233
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
234
234
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
235
235
|
*/
|
|
236
236
|
await this.loadMarkets();
|
|
@@ -311,7 +311,7 @@ export default class probit extends probitRest {
|
|
|
311
311
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
312
312
|
* @param {int} [since] timestamp in ms of the earliest order to watch
|
|
313
313
|
* @param {int} [limit] the maximum amount of orders to watch
|
|
314
|
-
* @param {object} [params] extra parameters specific to the
|
|
314
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
315
315
|
* @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
|
|
316
316
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
317
317
|
*/
|
|
@@ -397,7 +397,7 @@ export default class probit extends probitRest {
|
|
|
397
397
|
* @see https://docs-en.probit.com/reference/marketdata
|
|
398
398
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
399
399
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
400
|
-
* @param {object} [params] extra parameters specific to the
|
|
400
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
401
401
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
402
402
|
*/
|
|
403
403
|
let filter = undefined;
|
package/js/src/pro/upbit.js
CHANGED
|
@@ -57,7 +57,7 @@ export default class upbit extends upbitRest {
|
|
|
57
57
|
* @name upbit#watchTicker
|
|
58
58
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
59
59
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
60
|
-
* @param {object} [params] extra parameters specific to the
|
|
60
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
61
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
62
62
|
*/
|
|
63
63
|
return await this.watchPublic(symbol, 'ticker');
|
|
@@ -70,7 +70,7 @@ export default class upbit extends upbitRest {
|
|
|
70
70
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
71
71
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
72
72
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
73
|
-
* @param {object} [params] extra parameters specific to the
|
|
73
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
74
74
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
75
75
|
*/
|
|
76
76
|
await this.loadMarkets();
|
|
@@ -88,7 +88,7 @@ export default class upbit extends upbitRest {
|
|
|
88
88
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
89
89
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
90
90
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
91
|
-
* @param {object} [params] extra parameters specific to the
|
|
91
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
92
92
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
93
93
|
*/
|
|
94
94
|
const orderbook = await this.watchPublic(symbol, 'orderbook');
|
package/js/src/pro/wazirx.js
CHANGED
|
@@ -46,7 +46,7 @@ export default class wazirx extends wazirxRest {
|
|
|
46
46
|
* @name wazirx#watchBalance
|
|
47
47
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
48
48
|
* @see https://docs.wazirx.com/#account-update
|
|
49
|
-
* @param {object} [params] extra parameters specific to the
|
|
49
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
50
50
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
51
51
|
*/
|
|
52
52
|
await this.loadMarkets();
|
|
@@ -167,7 +167,7 @@ export default class wazirx extends wazirxRest {
|
|
|
167
167
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
168
168
|
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
169
169
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
170
|
-
* @param {object} [params] extra parameters specific to the
|
|
170
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
171
171
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
172
172
|
*/
|
|
173
173
|
await this.loadMarkets();
|
|
@@ -190,7 +190,7 @@ export default class wazirx extends wazirxRest {
|
|
|
190
190
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
191
191
|
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
192
192
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
193
|
-
* @param {object} [params] extra parameters specific to the
|
|
193
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
194
194
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
195
195
|
*/
|
|
196
196
|
await this.loadMarkets();
|
|
@@ -290,7 +290,7 @@ export default class wazirx extends wazirxRest {
|
|
|
290
290
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
291
291
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
292
292
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
293
|
-
* @param {object} [params] extra parameters specific to the
|
|
293
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
294
294
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
295
295
|
*/
|
|
296
296
|
await this.loadMarkets();
|
|
@@ -356,7 +356,7 @@ export default class wazirx extends wazirxRest {
|
|
|
356
356
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
357
357
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
358
358
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
359
|
-
* @param {object} [params] extra parameters specific to the
|
|
359
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
360
360
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
361
361
|
*/
|
|
362
362
|
await this.loadMarkets();
|
|
@@ -388,7 +388,7 @@ export default class wazirx extends wazirxRest {
|
|
|
388
388
|
* @param {string} timeframe the length of time each candle represents
|
|
389
389
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
390
390
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
391
|
-
* @param {object} [params] extra parameters specific to the
|
|
391
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
392
392
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
393
393
|
*/
|
|
394
394
|
await this.loadMarkets();
|
|
@@ -475,7 +475,7 @@ export default class wazirx extends wazirxRest {
|
|
|
475
475
|
* @see https://docs.wazirx.com/#depth-stream
|
|
476
476
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
477
477
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
478
|
-
* @param {object} [params] extra parameters specific to the
|
|
478
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
479
479
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
480
480
|
*/
|
|
481
481
|
await this.loadMarkets();
|
package/js/src/pro/whitebit.js
CHANGED
|
@@ -68,7 +68,7 @@ export default class whitebit extends whitebitRest {
|
|
|
68
68
|
* @param {string} timeframe the length of time each candle represents
|
|
69
69
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
70
70
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
71
|
-
* @param {object} [params] extra parameters specific to the
|
|
71
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
72
72
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
73
73
|
*/
|
|
74
74
|
await this.loadMarkets();
|
|
@@ -136,7 +136,7 @@ export default class whitebit extends whitebitRest {
|
|
|
136
136
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
137
137
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
138
138
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
139
|
-
* @param {object} [params] extra parameters specific to the
|
|
139
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
140
140
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
141
141
|
*/
|
|
142
142
|
await this.loadMarkets();
|
|
@@ -239,7 +239,7 @@ export default class whitebit extends whitebitRest {
|
|
|
239
239
|
* @name whitebit#watchTicker
|
|
240
240
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
241
241
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
242
|
-
* @param {object} [params] extra parameters specific to the
|
|
242
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
243
243
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
244
244
|
*/
|
|
245
245
|
await this.loadMarkets();
|
|
@@ -307,7 +307,7 @@ export default class whitebit extends whitebitRest {
|
|
|
307
307
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
308
308
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
309
309
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
310
|
-
* @param {object} [params] extra parameters specific to the
|
|
310
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
311
311
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
312
312
|
*/
|
|
313
313
|
await this.loadMarkets();
|
|
@@ -373,7 +373,7 @@ export default class whitebit extends whitebitRest {
|
|
|
373
373
|
* @param {str} symbol unified market symbol
|
|
374
374
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
375
375
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
376
|
-
* @param {object} [params] extra parameters specific to the
|
|
376
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
377
377
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
378
378
|
*/
|
|
379
379
|
if (symbol === undefined) {
|
|
@@ -472,7 +472,7 @@ export default class whitebit extends whitebitRest {
|
|
|
472
472
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
473
473
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
474
474
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
475
|
-
* @param {object} [params] extra parameters specific to the
|
|
475
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
476
476
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
477
477
|
*/
|
|
478
478
|
if (symbol === undefined) {
|
|
@@ -644,7 +644,7 @@ export default class whitebit extends whitebitRest {
|
|
|
644
644
|
* @method
|
|
645
645
|
* @name whitebit#watchBalance
|
|
646
646
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
647
|
-
* @param {object} [params] extra parameters specific to the
|
|
647
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
648
648
|
* @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
|
|
649
649
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
650
650
|
*/
|
package/js/src/pro/woo.js
CHANGED
|
@@ -613,7 +613,7 @@ export default class woo extends wooRest {
|
|
|
613
613
|
* @see https://docs.woo.org/#balance
|
|
614
614
|
* @name woo#watchBalance
|
|
615
615
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
616
|
-
* @param {object} [params] extra parameters specific to the
|
|
616
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
617
617
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
618
618
|
*/
|
|
619
619
|
await this.loadMarkets();
|
package/js/src/probit.js
CHANGED
|
@@ -247,7 +247,7 @@ export default class probit extends Exchange {
|
|
|
247
247
|
* @name probit#fetchMarkets
|
|
248
248
|
* @see https://docs-en.probit.com/reference/market
|
|
249
249
|
* @description retrieves data on all markets for probit
|
|
250
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
250
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
251
251
|
* @returns {object[]} an array of objects representing market data
|
|
252
252
|
*/
|
|
253
253
|
const response = await this.publicGetMarket(params);
|
|
@@ -347,7 +347,7 @@ export default class probit extends Exchange {
|
|
|
347
347
|
* @name probit#fetchCurrencies
|
|
348
348
|
* @see https://docs-en.probit.com/reference/currency
|
|
349
349
|
* @description fetches all available currencies on an exchange
|
|
350
|
-
* @param {object} [params] extra parameters specific to the
|
|
350
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
351
351
|
* @returns {object} an associative dictionary of currencies
|
|
352
352
|
*/
|
|
353
353
|
const response = await this.publicGetCurrencyWithPlatform(params);
|
|
@@ -531,7 +531,7 @@ export default class probit extends Exchange {
|
|
|
531
531
|
* @name probit#fetchBalance
|
|
532
532
|
* @see https://docs-en.probit.com/reference/balance
|
|
533
533
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
534
|
-
* @param {object} [params] extra parameters specific to the
|
|
534
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
535
535
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
536
536
|
*/
|
|
537
537
|
await this.loadMarkets();
|
|
@@ -557,7 +557,7 @@ export default class probit extends Exchange {
|
|
|
557
557
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
558
558
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
559
559
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
560
|
-
* @param {object} [params] extra parameters specific to the
|
|
560
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
561
561
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
562
562
|
*/
|
|
563
563
|
await this.loadMarkets();
|
|
@@ -584,9 +584,9 @@ export default class probit extends Exchange {
|
|
|
584
584
|
* @method
|
|
585
585
|
* @name probit#fetchTickers
|
|
586
586
|
* @see https://docs-en.probit.com/reference/ticker
|
|
587
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
587
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
588
588
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
589
|
-
* @param {object} [params] extra parameters specific to the
|
|
589
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
590
590
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
591
591
|
*/
|
|
592
592
|
await this.loadMarkets();
|
|
@@ -622,7 +622,7 @@ export default class probit extends Exchange {
|
|
|
622
622
|
* @see https://docs-en.probit.com/reference/ticker
|
|
623
623
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
624
624
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
625
|
-
* @param {object} [params] extra parameters specific to the
|
|
625
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
626
626
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
627
627
|
*/
|
|
628
628
|
await this.loadMarkets();
|
|
@@ -706,7 +706,7 @@ export default class probit extends Exchange {
|
|
|
706
706
|
* @param {string} symbol unified market symbol
|
|
707
707
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
708
708
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
709
|
-
* @param {object} [params] extra parameters specific to the
|
|
709
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
710
710
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
711
711
|
*/
|
|
712
712
|
await this.loadMarkets();
|
|
@@ -760,7 +760,7 @@ export default class probit extends Exchange {
|
|
|
760
760
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
761
761
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
762
762
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
763
|
-
* @param {object} [params] extra parameters specific to the
|
|
763
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
764
764
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
765
765
|
*/
|
|
766
766
|
await this.loadMarkets();
|
|
@@ -877,7 +877,7 @@ export default class probit extends Exchange {
|
|
|
877
877
|
* @name probit#fetchTime
|
|
878
878
|
* @see https://docs-en.probit.com/reference/time
|
|
879
879
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
880
|
-
* @param {object} [params] extra parameters specific to the
|
|
880
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
881
881
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
882
882
|
*/
|
|
883
883
|
const response = await this.publicGetTime(params);
|
|
@@ -933,7 +933,7 @@ export default class probit extends Exchange {
|
|
|
933
933
|
* @param {string} timeframe the length of time each candle represents
|
|
934
934
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
935
935
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
936
|
-
* @param {object} [params] extra parameters specific to the
|
|
936
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
937
937
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
938
938
|
*/
|
|
939
939
|
await this.loadMarkets();
|
|
@@ -1023,7 +1023,7 @@ export default class probit extends Exchange {
|
|
|
1023
1023
|
* @param {string} symbol unified market symbol
|
|
1024
1024
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1025
1025
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1026
|
-
* @param {object} [params] extra parameters specific to the
|
|
1026
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1027
1027
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1028
1028
|
*/
|
|
1029
1029
|
await this.loadMarkets();
|
|
@@ -1047,7 +1047,7 @@ export default class probit extends Exchange {
|
|
|
1047
1047
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1048
1048
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1049
1049
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1050
|
-
* @param {object} [params] extra parameters specific to the
|
|
1050
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1051
1051
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1052
1052
|
*/
|
|
1053
1053
|
await this.loadMarkets();
|
|
@@ -1078,7 +1078,7 @@ export default class probit extends Exchange {
|
|
|
1078
1078
|
* @see https://docs-en.probit.com/reference/order-3
|
|
1079
1079
|
* @description fetches information on an order made by the user
|
|
1080
1080
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1081
|
-
* @param {object} [params] extra parameters specific to the
|
|
1081
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1082
1082
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1083
1083
|
*/
|
|
1084
1084
|
if (symbol === undefined) {
|
|
@@ -1189,7 +1189,7 @@ export default class probit extends Exchange {
|
|
|
1189
1189
|
* @param {string} side 'buy' or 'sell'
|
|
1190
1190
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1191
1191
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1192
|
-
* @param {object} [params] extra parameters specific to the
|
|
1192
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1193
1193
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1194
1194
|
*/
|
|
1195
1195
|
await this.loadMarkets();
|
|
@@ -1281,7 +1281,7 @@ export default class probit extends Exchange {
|
|
|
1281
1281
|
* @description cancels an open order
|
|
1282
1282
|
* @param {string} id order id
|
|
1283
1283
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1284
|
-
* @param {object} [params] extra parameters specific to the
|
|
1284
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1285
1285
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1286
1286
|
*/
|
|
1287
1287
|
if (symbol === undefined) {
|
|
@@ -1320,7 +1320,7 @@ export default class probit extends Exchange {
|
|
|
1320
1320
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1321
1321
|
* @description fetch the deposit address for a currency associated with this account
|
|
1322
1322
|
* @param {string} code unified currency code
|
|
1323
|
-
* @param {object} [params] extra parameters specific to the
|
|
1323
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1324
1324
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1325
1325
|
*/
|
|
1326
1326
|
await this.loadMarkets();
|
|
@@ -1374,7 +1374,7 @@ export default class probit extends Exchange {
|
|
|
1374
1374
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1375
1375
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1376
1376
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
1377
|
-
* @param {object} [params] extra parameters specific to the
|
|
1377
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1378
1378
|
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1379
1379
|
*/
|
|
1380
1380
|
await this.loadMarkets();
|
|
@@ -1401,7 +1401,7 @@ export default class probit extends Exchange {
|
|
|
1401
1401
|
* @param {float} amount the amount to withdraw
|
|
1402
1402
|
* @param {string} address the address to withdraw to
|
|
1403
1403
|
* @param {string} tag
|
|
1404
|
-
* @param {object} [params] extra parameters specific to the
|
|
1404
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1405
1405
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1406
1406
|
*/
|
|
1407
1407
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1446,7 +1446,7 @@ export default class probit extends Exchange {
|
|
|
1446
1446
|
* @param {string} code unified currency code
|
|
1447
1447
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1448
1448
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1449
|
-
* @param {object} [params] extra parameters specific to the
|
|
1449
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1450
1450
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1451
1451
|
*/
|
|
1452
1452
|
const request = {
|
|
@@ -1463,7 +1463,7 @@ export default class probit extends Exchange {
|
|
|
1463
1463
|
* @param {string} code unified currency code
|
|
1464
1464
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1465
1465
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1466
|
-
* @param {object} [params] extra parameters specific to the
|
|
1466
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1467
1467
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1468
1468
|
*/
|
|
1469
1469
|
const request = {
|
|
@@ -1483,7 +1483,7 @@ export default class probit extends Exchange {
|
|
|
1483
1483
|
* @param {int} [since] the earliest time in ms to fetch transactions for
|
|
1484
1484
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1485
1485
|
* @param {int} [params.until] the latest time in ms to fetch transactions for
|
|
1486
|
-
* @param {object} [params] extra parameters specific to the
|
|
1486
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1487
1487
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1488
1488
|
*/
|
|
1489
1489
|
await this.loadMarkets();
|
|
@@ -1625,7 +1625,7 @@ export default class probit extends Exchange {
|
|
|
1625
1625
|
* @see https://docs-en.probit.com/reference/currency
|
|
1626
1626
|
* @description fetch deposit and withdraw fees
|
|
1627
1627
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1628
|
-
* @param {object} [params] extra parameters specific to the
|
|
1628
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1629
1629
|
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1630
1630
|
*/
|
|
1631
1631
|
await this.loadMarkets();
|
|
@@ -1810,7 +1810,7 @@ export default class probit extends Exchange {
|
|
|
1810
1810
|
* @name probit#signIn
|
|
1811
1811
|
* @see https://docs-en.probit.com/reference/token
|
|
1812
1812
|
* @description sign in, must be called prior to using other authenticated methods
|
|
1813
|
-
* @param {object} [params] extra parameters specific to the
|
|
1813
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1814
1814
|
* @returns response from exchange
|
|
1815
1815
|
*/
|
|
1816
1816
|
this.checkRequiredCredentials();
|