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
|
@@ -329,7 +329,7 @@ class poloniex extends poloniex$1 {
|
|
|
329
329
|
* @param {string} timeframe the length of time each candle represents
|
|
330
330
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
331
331
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
332
|
-
* @param {object} [params] extra parameters specific to the
|
|
332
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
333
333
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
334
334
|
*/
|
|
335
335
|
await this.loadMarkets();
|
|
@@ -351,7 +351,7 @@ class poloniex extends poloniex$1 {
|
|
|
351
351
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
352
352
|
* @see https://docs.poloniex.com/#public-channels-market-data-ticker
|
|
353
353
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
354
|
-
* @param {object} [params] extra parameters specific to the
|
|
354
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
355
355
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
356
356
|
*/
|
|
357
357
|
await this.loadMarkets();
|
|
@@ -366,7 +366,7 @@ class poloniex extends poloniex$1 {
|
|
|
366
366
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
367
367
|
* @see https://docs.poloniex.com/#public-channels-market-data-ticker
|
|
368
368
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
369
|
-
* @param {object} [params] extra parameters specific to the
|
|
369
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
370
370
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
371
371
|
*/
|
|
372
372
|
await this.loadMarkets();
|
|
@@ -387,7 +387,7 @@ class poloniex extends poloniex$1 {
|
|
|
387
387
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
388
388
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
389
389
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
390
|
-
* @param {object} [params] extra parameters specific to the
|
|
390
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
391
391
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
392
392
|
*/
|
|
393
393
|
await this.loadMarkets();
|
|
@@ -407,7 +407,7 @@ class poloniex extends poloniex$1 {
|
|
|
407
407
|
* @see https://docs.poloniex.com/#public-channels-market-data-book-level-2
|
|
408
408
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
409
409
|
* @param {int} [limit] not used by poloniex watchOrderBook
|
|
410
|
-
* @param {object} [params] extra parameters specific to the
|
|
410
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
411
411
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
412
412
|
*/
|
|
413
413
|
await this.loadMarkets();
|
|
@@ -426,7 +426,7 @@ class poloniex extends poloniex$1 {
|
|
|
426
426
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
427
427
|
* @param {int} [since] not used by poloniex watchOrders
|
|
428
428
|
* @param {int} [limit] not used by poloniex watchOrders
|
|
429
|
-
* @param {object} [params] extra parameters specific to the
|
|
429
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
430
430
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
431
431
|
*/
|
|
432
432
|
await this.loadMarkets();
|
|
@@ -474,7 +474,7 @@ class poloniex extends poloniex$1 {
|
|
|
474
474
|
* @name poloniex#watchBalance
|
|
475
475
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
476
476
|
* @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
|
|
477
|
-
* @param {object} [params] extra parameters specific to the
|
|
477
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
478
478
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
479
479
|
*/
|
|
480
480
|
await this.loadMarkets();
|
|
@@ -228,7 +228,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
228
228
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
229
229
|
* @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
|
|
230
230
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
231
|
-
* @param {object} [params] extra parameters specific to the
|
|
231
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
232
232
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
233
233
|
*/
|
|
234
234
|
await this.loadMarkets();
|
|
@@ -245,7 +245,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
245
245
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
246
246
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
247
247
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
248
|
-
* @param {object} [params] extra parameters specific to the
|
|
248
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
249
249
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
250
250
|
*/
|
|
251
251
|
await this.loadMarkets();
|
|
@@ -267,7 +267,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
267
267
|
* @see https://futures-docs.poloniex.com/#level-2-market-data
|
|
268
268
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
269
269
|
* @param {int} [limit] not used by poloniexfutures watchOrderBook
|
|
270
|
-
* @param {object} [params] extra parameters specific to the
|
|
270
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
271
271
|
* @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
|
|
272
272
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
273
273
|
*/
|
|
@@ -298,7 +298,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
298
298
|
* @param {string} symbol filter by unified market symbol of the market orders were made in
|
|
299
299
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
300
300
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
301
|
-
* @param {object} [params] extra parameters specific to the
|
|
301
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
302
302
|
* @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
|
|
303
303
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
304
304
|
*/
|
|
@@ -322,7 +322,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
322
322
|
* @name poloniexfutures#watchBalance
|
|
323
323
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
324
324
|
* @see https://futures-docs.poloniex.com/#account-balance-events
|
|
325
|
-
* @param {object} [params] extra parameters specific to the
|
|
325
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
326
326
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
327
327
|
*/
|
|
328
328
|
await this.loadMarkets();
|
|
@@ -52,7 +52,7 @@ class probit extends probit$1 {
|
|
|
52
52
|
* @name probit#watchBalance
|
|
53
53
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
54
54
|
* @see https://docs-en.probit.com/reference/balance-1
|
|
55
|
-
* @param {object} [params] extra parameters specific to the
|
|
55
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
56
56
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
57
57
|
*/
|
|
58
58
|
await this.authenticate(params);
|
|
@@ -119,7 +119,7 @@ class probit extends probit$1 {
|
|
|
119
119
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
120
120
|
* @see https://docs-en.probit.com/reference/marketdata
|
|
121
121
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
122
|
-
* @param {object} [params] extra parameters specific to the
|
|
122
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
123
123
|
* @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
|
|
124
124
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
125
125
|
*/
|
|
@@ -164,7 +164,7 @@ class probit extends probit$1 {
|
|
|
164
164
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
165
165
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
166
166
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
167
|
-
* @param {object} [params] extra parameters specific to the
|
|
167
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
168
168
|
* @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
|
|
169
169
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
170
170
|
*/
|
|
@@ -225,7 +225,7 @@ class probit extends probit$1 {
|
|
|
225
225
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
226
226
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
227
227
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
228
|
-
* @param {object} [params] extra parameters specific to the
|
|
228
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
229
229
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
230
230
|
*/
|
|
231
231
|
await this.loadMarkets();
|
|
@@ -306,7 +306,7 @@ class probit extends probit$1 {
|
|
|
306
306
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
307
307
|
* @param {int} [since] timestamp in ms of the earliest order to watch
|
|
308
308
|
* @param {int} [limit] the maximum amount of orders to watch
|
|
309
|
-
* @param {object} [params] extra parameters specific to the
|
|
309
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
310
310
|
* @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
|
|
311
311
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
312
312
|
*/
|
|
@@ -392,7 +392,7 @@ class probit extends probit$1 {
|
|
|
392
392
|
* @see https://docs-en.probit.com/reference/marketdata
|
|
393
393
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
394
394
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
395
|
-
* @param {object} [params] extra parameters specific to the
|
|
395
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
396
396
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
397
397
|
*/
|
|
398
398
|
let filter = undefined;
|
|
@@ -54,7 +54,7 @@ class upbit extends upbit$1 {
|
|
|
54
54
|
* @name upbit#watchTicker
|
|
55
55
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
56
56
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
57
|
-
* @param {object} [params] extra parameters specific to the
|
|
57
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
58
58
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
59
59
|
*/
|
|
60
60
|
return await this.watchPublic(symbol, 'ticker');
|
|
@@ -67,7 +67,7 @@ class upbit extends upbit$1 {
|
|
|
67
67
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
68
68
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
69
69
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
70
|
-
* @param {object} [params] extra parameters specific to the
|
|
70
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
71
71
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
72
72
|
*/
|
|
73
73
|
await this.loadMarkets();
|
|
@@ -85,7 +85,7 @@ class upbit extends upbit$1 {
|
|
|
85
85
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
86
86
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
87
87
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
88
|
-
* @param {object} [params] extra parameters specific to the
|
|
88
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
89
89
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
90
90
|
*/
|
|
91
91
|
const orderbook = await this.watchPublic(symbol, 'orderbook');
|
|
@@ -43,7 +43,7 @@ class wazirx extends wazirx$1 {
|
|
|
43
43
|
* @name wazirx#watchBalance
|
|
44
44
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
45
45
|
* @see https://docs.wazirx.com/#account-update
|
|
46
|
-
* @param {object} [params] extra parameters specific to the
|
|
46
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
47
47
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
48
48
|
*/
|
|
49
49
|
await this.loadMarkets();
|
|
@@ -164,7 +164,7 @@ class wazirx extends wazirx$1 {
|
|
|
164
164
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
165
165
|
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
166
166
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
167
|
-
* @param {object} [params] extra parameters specific to the
|
|
167
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
168
168
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
169
169
|
*/
|
|
170
170
|
await this.loadMarkets();
|
|
@@ -187,7 +187,7 @@ class wazirx extends wazirx$1 {
|
|
|
187
187
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
188
188
|
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
189
189
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
190
|
-
* @param {object} [params] extra parameters specific to the
|
|
190
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
191
191
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
192
192
|
*/
|
|
193
193
|
await this.loadMarkets();
|
|
@@ -287,7 +287,7 @@ class wazirx extends wazirx$1 {
|
|
|
287
287
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
288
288
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
289
289
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
290
|
-
* @param {object} [params] extra parameters specific to the
|
|
290
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
291
291
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
292
292
|
*/
|
|
293
293
|
await this.loadMarkets();
|
|
@@ -353,7 +353,7 @@ class wazirx extends wazirx$1 {
|
|
|
353
353
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
354
354
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
355
355
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
356
|
-
* @param {object} [params] extra parameters specific to the
|
|
356
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
357
357
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
358
358
|
*/
|
|
359
359
|
await this.loadMarkets();
|
|
@@ -385,7 +385,7 @@ class wazirx extends wazirx$1 {
|
|
|
385
385
|
* @param {string} timeframe the length of time each candle represents
|
|
386
386
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
387
387
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
388
|
-
* @param {object} [params] extra parameters specific to the
|
|
388
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
389
389
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
390
390
|
*/
|
|
391
391
|
await this.loadMarkets();
|
|
@@ -472,7 +472,7 @@ class wazirx extends wazirx$1 {
|
|
|
472
472
|
* @see https://docs.wazirx.com/#depth-stream
|
|
473
473
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
474
474
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
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 dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
477
477
|
*/
|
|
478
478
|
await this.loadMarkets();
|
|
@@ -65,7 +65,7 @@ class whitebit extends whitebit$1 {
|
|
|
65
65
|
* @param {string} timeframe the length of time each candle represents
|
|
66
66
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
67
67
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
68
|
-
* @param {object} [params] extra parameters specific to the
|
|
68
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
69
69
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
70
70
|
*/
|
|
71
71
|
await this.loadMarkets();
|
|
@@ -133,7 +133,7 @@ class whitebit extends whitebit$1 {
|
|
|
133
133
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
134
134
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
135
135
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
136
|
-
* @param {object} [params] extra parameters specific to the
|
|
136
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
137
137
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
138
138
|
*/
|
|
139
139
|
await this.loadMarkets();
|
|
@@ -236,7 +236,7 @@ class whitebit extends whitebit$1 {
|
|
|
236
236
|
* @name whitebit#watchTicker
|
|
237
237
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
238
238
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
239
|
-
* @param {object} [params] extra parameters specific to the
|
|
239
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
240
240
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
241
241
|
*/
|
|
242
242
|
await this.loadMarkets();
|
|
@@ -304,7 +304,7 @@ class whitebit extends whitebit$1 {
|
|
|
304
304
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
305
305
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
306
306
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
307
|
-
* @param {object} [params] extra parameters specific to the
|
|
307
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
308
308
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
309
309
|
*/
|
|
310
310
|
await this.loadMarkets();
|
|
@@ -370,7 +370,7 @@ class whitebit extends whitebit$1 {
|
|
|
370
370
|
* @param {str} symbol unified market symbol
|
|
371
371
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
372
372
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
373
|
-
* @param {object} [params] extra parameters specific to the
|
|
373
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
374
374
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
375
375
|
*/
|
|
376
376
|
if (symbol === undefined) {
|
|
@@ -469,7 +469,7 @@ class whitebit extends whitebit$1 {
|
|
|
469
469
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
470
470
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
471
471
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
472
|
-
* @param {object} [params] extra parameters specific to the
|
|
472
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
473
473
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
474
474
|
*/
|
|
475
475
|
if (symbol === undefined) {
|
|
@@ -641,7 +641,7 @@ class whitebit extends whitebit$1 {
|
|
|
641
641
|
* @method
|
|
642
642
|
* @name whitebit#watchBalance
|
|
643
643
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
644
|
-
* @param {object} [params] extra parameters specific to the
|
|
644
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
645
645
|
* @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
|
|
646
646
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
647
647
|
*/
|
package/dist/cjs/src/pro/woo.js
CHANGED
|
@@ -610,7 +610,7 @@ class woo extends woo$1 {
|
|
|
610
610
|
* @see https://docs.woo.org/#balance
|
|
611
611
|
* @name woo#watchBalance
|
|
612
612
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
613
|
-
* @param {object} [params] extra parameters specific to the
|
|
613
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
614
614
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
615
615
|
*/
|
|
616
616
|
await this.loadMarkets();
|
package/dist/cjs/src/probit.js
CHANGED
|
@@ -244,7 +244,7 @@ class probit extends probit$1 {
|
|
|
244
244
|
* @name probit#fetchMarkets
|
|
245
245
|
* @see https://docs-en.probit.com/reference/market
|
|
246
246
|
* @description retrieves data on all markets for probit
|
|
247
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
247
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
248
248
|
* @returns {object[]} an array of objects representing market data
|
|
249
249
|
*/
|
|
250
250
|
const response = await this.publicGetMarket(params);
|
|
@@ -344,7 +344,7 @@ class probit extends probit$1 {
|
|
|
344
344
|
* @name probit#fetchCurrencies
|
|
345
345
|
* @see https://docs-en.probit.com/reference/currency
|
|
346
346
|
* @description fetches all available currencies on an exchange
|
|
347
|
-
* @param {object} [params] extra parameters specific to the
|
|
347
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
348
348
|
* @returns {object} an associative dictionary of currencies
|
|
349
349
|
*/
|
|
350
350
|
const response = await this.publicGetCurrencyWithPlatform(params);
|
|
@@ -528,7 +528,7 @@ class probit extends probit$1 {
|
|
|
528
528
|
* @name probit#fetchBalance
|
|
529
529
|
* @see https://docs-en.probit.com/reference/balance
|
|
530
530
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
531
|
-
* @param {object} [params] extra parameters specific to the
|
|
531
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
532
532
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
533
533
|
*/
|
|
534
534
|
await this.loadMarkets();
|
|
@@ -554,7 +554,7 @@ class probit extends probit$1 {
|
|
|
554
554
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
555
555
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
556
556
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
557
|
-
* @param {object} [params] extra parameters specific to the
|
|
557
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
558
558
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
559
559
|
*/
|
|
560
560
|
await this.loadMarkets();
|
|
@@ -581,9 +581,9 @@ class probit extends probit$1 {
|
|
|
581
581
|
* @method
|
|
582
582
|
* @name probit#fetchTickers
|
|
583
583
|
* @see https://docs-en.probit.com/reference/ticker
|
|
584
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
584
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
585
585
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
586
|
-
* @param {object} [params] extra parameters specific to the
|
|
586
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
587
587
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
588
588
|
*/
|
|
589
589
|
await this.loadMarkets();
|
|
@@ -619,7 +619,7 @@ class probit extends probit$1 {
|
|
|
619
619
|
* @see https://docs-en.probit.com/reference/ticker
|
|
620
620
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
621
621
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
622
|
-
* @param {object} [params] extra parameters specific to the
|
|
622
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
623
623
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
624
624
|
*/
|
|
625
625
|
await this.loadMarkets();
|
|
@@ -703,7 +703,7 @@ class probit extends probit$1 {
|
|
|
703
703
|
* @param {string} symbol unified market symbol
|
|
704
704
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
705
705
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
706
|
-
* @param {object} [params] extra parameters specific to the
|
|
706
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
707
707
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
708
708
|
*/
|
|
709
709
|
await this.loadMarkets();
|
|
@@ -757,7 +757,7 @@ class probit extends probit$1 {
|
|
|
757
757
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
758
758
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
759
759
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
760
|
-
* @param {object} [params] extra parameters specific to the
|
|
760
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
761
761
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
762
762
|
*/
|
|
763
763
|
await this.loadMarkets();
|
|
@@ -874,7 +874,7 @@ class probit extends probit$1 {
|
|
|
874
874
|
* @name probit#fetchTime
|
|
875
875
|
* @see https://docs-en.probit.com/reference/time
|
|
876
876
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
877
|
-
* @param {object} [params] extra parameters specific to the
|
|
877
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
878
878
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
879
879
|
*/
|
|
880
880
|
const response = await this.publicGetTime(params);
|
|
@@ -930,7 +930,7 @@ class probit extends probit$1 {
|
|
|
930
930
|
* @param {string} timeframe the length of time each candle represents
|
|
931
931
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
932
932
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
933
|
-
* @param {object} [params] extra parameters specific to the
|
|
933
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
934
934
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
935
935
|
*/
|
|
936
936
|
await this.loadMarkets();
|
|
@@ -1020,7 +1020,7 @@ class probit extends probit$1 {
|
|
|
1020
1020
|
* @param {string} symbol unified market symbol
|
|
1021
1021
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1022
1022
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1023
|
-
* @param {object} [params] extra parameters specific to the
|
|
1023
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1024
1024
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1025
1025
|
*/
|
|
1026
1026
|
await this.loadMarkets();
|
|
@@ -1044,7 +1044,7 @@ class probit extends probit$1 {
|
|
|
1044
1044
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1045
1045
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1046
1046
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1047
|
-
* @param {object} [params] extra parameters specific to the
|
|
1047
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1048
1048
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1049
1049
|
*/
|
|
1050
1050
|
await this.loadMarkets();
|
|
@@ -1075,7 +1075,7 @@ class probit extends probit$1 {
|
|
|
1075
1075
|
* @see https://docs-en.probit.com/reference/order-3
|
|
1076
1076
|
* @description fetches information on an order made by the user
|
|
1077
1077
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1078
|
-
* @param {object} [params] extra parameters specific to the
|
|
1078
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1079
1079
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1080
1080
|
*/
|
|
1081
1081
|
if (symbol === undefined) {
|
|
@@ -1186,7 +1186,7 @@ class probit extends probit$1 {
|
|
|
1186
1186
|
* @param {string} side 'buy' or 'sell'
|
|
1187
1187
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1188
1188
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1189
|
-
* @param {object} [params] extra parameters specific to the
|
|
1189
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1190
1190
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1191
1191
|
*/
|
|
1192
1192
|
await this.loadMarkets();
|
|
@@ -1278,7 +1278,7 @@ class probit extends probit$1 {
|
|
|
1278
1278
|
* @description cancels an open order
|
|
1279
1279
|
* @param {string} id order id
|
|
1280
1280
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1281
|
-
* @param {object} [params] extra parameters specific to the
|
|
1281
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1282
1282
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1283
1283
|
*/
|
|
1284
1284
|
if (symbol === undefined) {
|
|
@@ -1317,7 +1317,7 @@ class probit extends probit$1 {
|
|
|
1317
1317
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1318
1318
|
* @description fetch the deposit address for a currency associated with this account
|
|
1319
1319
|
* @param {string} code unified currency code
|
|
1320
|
-
* @param {object} [params] extra parameters specific to the
|
|
1320
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1321
1321
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1322
1322
|
*/
|
|
1323
1323
|
await this.loadMarkets();
|
|
@@ -1371,7 +1371,7 @@ class probit extends probit$1 {
|
|
|
1371
1371
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1372
1372
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1373
1373
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
1374
|
-
* @param {object} [params] extra parameters specific to the
|
|
1374
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1375
1375
|
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1376
1376
|
*/
|
|
1377
1377
|
await this.loadMarkets();
|
|
@@ -1398,7 +1398,7 @@ class probit extends probit$1 {
|
|
|
1398
1398
|
* @param {float} amount the amount to withdraw
|
|
1399
1399
|
* @param {string} address the address to withdraw to
|
|
1400
1400
|
* @param {string} tag
|
|
1401
|
-
* @param {object} [params] extra parameters specific to the
|
|
1401
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1402
1402
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1403
1403
|
*/
|
|
1404
1404
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1443,7 +1443,7 @@ class probit extends probit$1 {
|
|
|
1443
1443
|
* @param {string} code unified currency code
|
|
1444
1444
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1445
1445
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1446
|
-
* @param {object} [params] extra parameters specific to the
|
|
1446
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1447
1447
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1448
1448
|
*/
|
|
1449
1449
|
const request = {
|
|
@@ -1460,7 +1460,7 @@ class probit extends probit$1 {
|
|
|
1460
1460
|
* @param {string} code unified currency code
|
|
1461
1461
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1462
1462
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1463
|
-
* @param {object} [params] extra parameters specific to the
|
|
1463
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1464
1464
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1465
1465
|
*/
|
|
1466
1466
|
const request = {
|
|
@@ -1480,7 +1480,7 @@ class probit extends probit$1 {
|
|
|
1480
1480
|
* @param {int} [since] the earliest time in ms to fetch transactions for
|
|
1481
1481
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1482
1482
|
* @param {int} [params.until] the latest time in ms to fetch transactions for
|
|
1483
|
-
* @param {object} [params] extra parameters specific to the
|
|
1483
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1484
1484
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1485
1485
|
*/
|
|
1486
1486
|
await this.loadMarkets();
|
|
@@ -1622,7 +1622,7 @@ class probit extends probit$1 {
|
|
|
1622
1622
|
* @see https://docs-en.probit.com/reference/currency
|
|
1623
1623
|
* @description fetch deposit and withdraw fees
|
|
1624
1624
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1625
|
-
* @param {object} [params] extra parameters specific to the
|
|
1625
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1626
1626
|
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1627
1627
|
*/
|
|
1628
1628
|
await this.loadMarkets();
|
|
@@ -1807,7 +1807,7 @@ class probit extends probit$1 {
|
|
|
1807
1807
|
* @name probit#signIn
|
|
1808
1808
|
* @see https://docs-en.probit.com/reference/token
|
|
1809
1809
|
* @description sign in, must be called prior to using other authenticated methods
|
|
1810
|
-
* @param {object} [params] extra parameters specific to the
|
|
1810
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1811
1811
|
* @returns response from exchange
|
|
1812
1812
|
*/
|
|
1813
1813
|
this.checkRequiredCredentials();
|