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/tidex.js
CHANGED
|
@@ -173,7 +173,7 @@ export default class tidex extends Exchange {
|
|
|
173
173
|
* @method
|
|
174
174
|
* @name tidex#fetchCurrencies
|
|
175
175
|
* @description fetches all available currencies on an exchange
|
|
176
|
-
* @param {object} [params] extra parameters specific to the
|
|
176
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
177
177
|
* @returns {object} an associative dictionary of currencies
|
|
178
178
|
*/
|
|
179
179
|
const response = await this.webGetCurrency(params);
|
|
@@ -258,7 +258,7 @@ export default class tidex extends Exchange {
|
|
|
258
258
|
* @method
|
|
259
259
|
* @name tidex#fetchMarkets
|
|
260
260
|
* @description retrieves data on all markets for tidex
|
|
261
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
261
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
262
262
|
* @returns {object[]} an array of objects representing market data
|
|
263
263
|
*/
|
|
264
264
|
const response = await this.publicGetInfo(params);
|
|
@@ -370,7 +370,7 @@ export default class tidex extends Exchange {
|
|
|
370
370
|
* @method
|
|
371
371
|
* @name tidex#fetchBalance
|
|
372
372
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
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 [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
375
375
|
*/
|
|
376
376
|
await this.loadMarkets();
|
|
@@ -410,7 +410,7 @@ export default class tidex extends Exchange {
|
|
|
410
410
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
411
411
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
412
412
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
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();
|
|
@@ -436,7 +436,7 @@ export default class tidex extends Exchange {
|
|
|
436
436
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
|
|
437
437
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
438
438
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
439
|
-
* @param {object} [params] extra parameters specific to the
|
|
439
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
440
440
|
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbol
|
|
441
441
|
*/
|
|
442
442
|
await this.loadMarkets();
|
|
@@ -513,9 +513,9 @@ export default class tidex extends Exchange {
|
|
|
513
513
|
/**
|
|
514
514
|
* @method
|
|
515
515
|
* @name tidex#fetchTickers
|
|
516
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
516
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
517
517
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
518
|
-
* @param {object} [params] extra parameters specific to the
|
|
518
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
519
519
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
520
520
|
*/
|
|
521
521
|
await this.loadMarkets();
|
|
@@ -554,7 +554,7 @@ export default class tidex extends Exchange {
|
|
|
554
554
|
* @name tidex#fetchTicker
|
|
555
555
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
556
556
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
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 [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
559
559
|
*/
|
|
560
560
|
const tickers = await this.fetchTickers([symbol], params);
|
|
@@ -624,7 +624,7 @@ export default class tidex extends Exchange {
|
|
|
624
624
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
625
625
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
626
626
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
627
|
-
* @param {object} [params] extra parameters specific to the
|
|
627
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
628
628
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
629
629
|
*/
|
|
630
630
|
await this.loadMarkets();
|
|
@@ -654,7 +654,7 @@ export default class tidex extends Exchange {
|
|
|
654
654
|
* @param {string} side 'buy' or 'sell'
|
|
655
655
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
656
656
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
657
|
-
* @param {object} [params] extra parameters specific to the
|
|
657
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
658
658
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
659
659
|
*/
|
|
660
660
|
if (type === 'market') {
|
|
@@ -715,7 +715,7 @@ export default class tidex extends Exchange {
|
|
|
715
715
|
* @description cancels an open order
|
|
716
716
|
* @param {string} id order id
|
|
717
717
|
* @param {string} symbol not used by tidex cancelOrder ()
|
|
718
|
-
* @param {object} [params] extra parameters specific to the
|
|
718
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
719
719
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
720
720
|
*/
|
|
721
721
|
await this.loadMarkets();
|
|
@@ -781,7 +781,7 @@ export default class tidex extends Exchange {
|
|
|
781
781
|
* @name tidex#fetchOrder
|
|
782
782
|
* @description fetches information on an order made by the user
|
|
783
783
|
* @param {string} symbol not used by tidex fetchOrder
|
|
784
|
-
* @param {object} [params] extra parameters specific to the
|
|
784
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
785
785
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
786
786
|
*/
|
|
787
787
|
await this.loadMarkets();
|
|
@@ -802,7 +802,7 @@ export default class tidex extends Exchange {
|
|
|
802
802
|
* @param {string} symbol unified market symbol
|
|
803
803
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
804
804
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
805
|
-
* @param {object} [params] extra parameters specific to the
|
|
805
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
806
806
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
807
807
|
*/
|
|
808
808
|
await this.loadMarkets();
|
|
@@ -846,7 +846,7 @@ export default class tidex extends Exchange {
|
|
|
846
846
|
* @param {string} symbol unified market symbol
|
|
847
847
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
848
848
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
849
|
-
* @param {object} [params] extra parameters specific to the
|
|
849
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
850
850
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
851
851
|
*/
|
|
852
852
|
await this.loadMarkets();
|
|
@@ -885,7 +885,7 @@ export default class tidex extends Exchange {
|
|
|
885
885
|
* @param {float} amount the amount to withdraw
|
|
886
886
|
* @param {string} address the address to withdraw to
|
|
887
887
|
* @param {string} tag
|
|
888
|
-
* @param {object} [params] extra parameters specific to the
|
|
888
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
889
889
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
890
890
|
*/
|
|
891
891
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
package/js/src/timex.js
CHANGED
|
@@ -270,7 +270,7 @@ export default class timex extends Exchange {
|
|
|
270
270
|
* @method
|
|
271
271
|
* @name timex#fetchMarkets
|
|
272
272
|
* @description retrieves data on all markets for timex
|
|
273
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
273
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
274
274
|
* @returns {object[]} an array of objects representing market data
|
|
275
275
|
*/
|
|
276
276
|
const response = await this.publicGetMarkets(params);
|
|
@@ -302,7 +302,7 @@ export default class timex extends Exchange {
|
|
|
302
302
|
* @method
|
|
303
303
|
* @name timex#fetchCurrencies
|
|
304
304
|
* @description fetches all available currencies on an exchange
|
|
305
|
-
* @param {object} [params] extra parameters specific to the
|
|
305
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
306
306
|
* @returns {object} an associative dictionary of currencies
|
|
307
307
|
*/
|
|
308
308
|
const response = await this.publicGetCurrencies(params);
|
|
@@ -346,7 +346,7 @@ export default class timex extends Exchange {
|
|
|
346
346
|
* @param {string} code unified currency code
|
|
347
347
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
348
348
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
349
|
-
* @param {object} [params] extra parameters specific to the
|
|
349
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
350
350
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
351
351
|
*/
|
|
352
352
|
const address = this.safeString(params, 'address');
|
|
@@ -381,7 +381,7 @@ export default class timex extends Exchange {
|
|
|
381
381
|
* @param {string} code unified currency code
|
|
382
382
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
383
383
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
384
|
-
* @param {object} [params] extra parameters specific to the
|
|
384
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
385
385
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
386
386
|
*/
|
|
387
387
|
const address = this.safeString(params, 'address');
|
|
@@ -461,9 +461,9 @@ export default class timex extends Exchange {
|
|
|
461
461
|
/**
|
|
462
462
|
* @method
|
|
463
463
|
* @name timex#fetchTickers
|
|
464
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
464
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
465
465
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
466
|
-
* @param {object} [params] extra parameters specific to the
|
|
466
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
467
467
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
468
468
|
*/
|
|
469
469
|
await this.loadMarkets();
|
|
@@ -497,7 +497,7 @@ export default class timex extends Exchange {
|
|
|
497
497
|
* @name timex#fetchTicker
|
|
498
498
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
499
499
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
500
|
-
* @param {object} [params] extra parameters specific to the
|
|
500
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
501
501
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
502
502
|
*/
|
|
503
503
|
await this.loadMarkets();
|
|
@@ -535,7 +535,7 @@ export default class timex extends Exchange {
|
|
|
535
535
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
536
536
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
537
537
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
538
|
-
* @param {object} [params] extra parameters specific to the
|
|
538
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
539
539
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
540
540
|
*/
|
|
541
541
|
await this.loadMarkets();
|
|
@@ -582,7 +582,7 @@ export default class timex extends Exchange {
|
|
|
582
582
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
583
583
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
584
584
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
585
|
-
* @param {object} [params] extra parameters specific to the
|
|
585
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
586
586
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
587
587
|
*/
|
|
588
588
|
await this.loadMarkets();
|
|
@@ -630,7 +630,7 @@ export default class timex extends Exchange {
|
|
|
630
630
|
* @param {string} timeframe the length of time each candle represents
|
|
631
631
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
632
632
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
633
|
-
* @param {object} [params] extra parameters specific to the
|
|
633
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
634
634
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
635
635
|
*/
|
|
636
636
|
await this.loadMarkets();
|
|
@@ -691,7 +691,7 @@ export default class timex extends Exchange {
|
|
|
691
691
|
* @method
|
|
692
692
|
* @name timex#fetchBalance
|
|
693
693
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
694
|
-
* @param {object} [params] extra parameters specific to the
|
|
694
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
695
695
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
696
696
|
*/
|
|
697
697
|
await this.loadMarkets();
|
|
@@ -717,7 +717,7 @@ export default class timex extends Exchange {
|
|
|
717
717
|
* @param {string} side 'buy' or 'sell'
|
|
718
718
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
719
719
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
720
|
-
* @param {object} [params] extra parameters specific to the
|
|
720
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
721
721
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
722
722
|
*/
|
|
723
723
|
await this.loadMarkets();
|
|
@@ -842,7 +842,7 @@ export default class timex extends Exchange {
|
|
|
842
842
|
* @description cancels an open order
|
|
843
843
|
* @param {string} id order id
|
|
844
844
|
* @param {string} symbol not used by timex cancelOrder ()
|
|
845
|
-
* @param {object} [params] extra parameters specific to the
|
|
845
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
846
846
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
847
847
|
*/
|
|
848
848
|
await this.loadMarkets();
|
|
@@ -855,7 +855,7 @@ export default class timex extends Exchange {
|
|
|
855
855
|
* @description cancel multiple orders
|
|
856
856
|
* @param {string[]} ids order ids
|
|
857
857
|
* @param {string} symbol unified market symbol, default is undefined
|
|
858
|
-
* @param {object} [params] extra parameters specific to the
|
|
858
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
859
859
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
860
860
|
*/
|
|
861
861
|
await this.loadMarkets();
|
|
@@ -895,7 +895,7 @@ export default class timex extends Exchange {
|
|
|
895
895
|
* @name timex#fetchOrder
|
|
896
896
|
* @description fetches information on an order made by the user
|
|
897
897
|
* @param {string} symbol not used by timex fetchOrder
|
|
898
|
-
* @param {object} [params] extra parameters specific to the
|
|
898
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
899
899
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
900
900
|
*/
|
|
901
901
|
await this.loadMarkets();
|
|
@@ -948,7 +948,7 @@ export default class timex extends Exchange {
|
|
|
948
948
|
* @param {string} symbol unified market symbol
|
|
949
949
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
950
950
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
951
|
-
* @param {object} [params] extra parameters specific to the
|
|
951
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
952
952
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
953
953
|
*/
|
|
954
954
|
await this.loadMarkets();
|
|
@@ -1002,7 +1002,7 @@ export default class timex extends Exchange {
|
|
|
1002
1002
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1003
1003
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1004
1004
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1005
|
-
* @param {object} [params] extra parameters specific to the
|
|
1005
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1006
1006
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1007
1007
|
*/
|
|
1008
1008
|
await this.loadMarkets();
|
|
@@ -1061,7 +1061,7 @@ export default class timex extends Exchange {
|
|
|
1061
1061
|
* @param {string} symbol unified market symbol
|
|
1062
1062
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1063
1063
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1064
|
-
* @param {object} [params] extra parameters specific to the
|
|
1064
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1065
1065
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1066
1066
|
*/
|
|
1067
1067
|
await this.loadMarkets();
|
|
@@ -1137,7 +1137,7 @@ export default class timex extends Exchange {
|
|
|
1137
1137
|
* @name timex#fetchTradingFee
|
|
1138
1138
|
* @description fetch the trading fees for a market
|
|
1139
1139
|
* @param {string} symbol unified market symbol
|
|
1140
|
-
* @param {object} [params] extra parameters specific to the
|
|
1140
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1141
1141
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1142
1142
|
*/
|
|
1143
1143
|
await this.loadMarkets();
|
package/js/src/tokocrypto.js
CHANGED
|
@@ -605,7 +605,7 @@ export default class tokocrypto extends Exchange {
|
|
|
605
605
|
* @name tokocrypto#fetchTime
|
|
606
606
|
* @see https://www.tokocrypto.com/apidocs/#check-server-time
|
|
607
607
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
608
|
-
* @param {object} [params] extra parameters specific to the
|
|
608
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
609
609
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
610
610
|
*/
|
|
611
611
|
const response = await this.publicGetOpenV1CommonTime(params);
|
|
@@ -620,7 +620,7 @@ export default class tokocrypto extends Exchange {
|
|
|
620
620
|
* @name tokocrypto#fetchMarkets
|
|
621
621
|
* @see https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
|
|
622
622
|
* @description retrieves data on all markets for tokocrypto
|
|
623
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
623
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
624
624
|
* @returns {object[]} an array of objects representing market data
|
|
625
625
|
*/
|
|
626
626
|
const response = await this.publicGetOpenV1CommonSymbols(params);
|
|
@@ -788,7 +788,7 @@ export default class tokocrypto extends Exchange {
|
|
|
788
788
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
789
789
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
790
790
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
791
|
-
* @param {object} [params] extra parameters specific to the
|
|
791
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
792
792
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
793
793
|
*/
|
|
794
794
|
await this.loadMarkets();
|
|
@@ -998,7 +998,7 @@ export default class tokocrypto extends Exchange {
|
|
|
998
998
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
999
999
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1000
1000
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1001
|
-
* @param {object} [params] extra parameters specific to the
|
|
1001
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1002
1002
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
1003
1003
|
*/
|
|
1004
1004
|
await this.loadMarkets();
|
|
@@ -1160,9 +1160,9 @@ export default class tokocrypto extends Exchange {
|
|
|
1160
1160
|
* @method
|
|
1161
1161
|
* @name tokocrypto#fetchTickers
|
|
1162
1162
|
* @see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
|
1163
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
1163
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
1164
1164
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1165
|
-
* @param {object} [params] extra parameters specific to the
|
|
1165
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1166
1166
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
1167
1167
|
*/
|
|
1168
1168
|
await this.loadMarkets();
|
|
@@ -1182,7 +1182,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1182
1182
|
* @see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
|
1183
1183
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
1184
1184
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1185
|
-
* @param {object} [params] extra parameters specific to the
|
|
1185
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1186
1186
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
1187
1187
|
*/
|
|
1188
1188
|
await this.loadMarkets();
|
|
@@ -1204,7 +1204,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1204
1204
|
* @see https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
|
|
1205
1205
|
* @description fetches the bid and ask price and volume for multiple markets
|
|
1206
1206
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
|
1207
|
-
* @param {object} [params] extra parameters specific to the
|
|
1207
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1208
1208
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
1209
1209
|
*/
|
|
1210
1210
|
await this.loadMarkets();
|
|
@@ -1265,7 +1265,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1265
1265
|
* @param {string} timeframe the length of time each candle represents
|
|
1266
1266
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1267
1267
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1268
|
-
* @param {object} [params] extra parameters specific to the
|
|
1268
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1269
1269
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
1270
1270
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
1271
1271
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
@@ -1320,7 +1320,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1320
1320
|
* @name tokocrypto#fetchBalance
|
|
1321
1321
|
* @see https://www.tokocrypto.com/apidocs/#account-information-signed
|
|
1322
1322
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1323
|
-
* @param {object} [params] extra parameters specific to the
|
|
1323
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1324
1324
|
* @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
|
|
1325
1325
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
|
|
1326
1326
|
* @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
|
|
@@ -1575,7 +1575,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1575
1575
|
* @param {string} side 'buy' or 'sell'
|
|
1576
1576
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1577
1577
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1578
|
-
* @param {object} [params] extra parameters specific to the
|
|
1578
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1579
1579
|
* @param {float} [params.triggerPrice] the price at which a trigger order would be triggered
|
|
1580
1580
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1581
1581
|
*/
|
|
@@ -1751,7 +1751,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1751
1751
|
* @see https://www.tokocrypto.com/apidocs/#all-orders-signed
|
|
1752
1752
|
* @description fetches information on an order made by the user
|
|
1753
1753
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1754
|
-
* @param {object} [params] extra parameters specific to the
|
|
1754
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1755
1755
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1756
1756
|
*/
|
|
1757
1757
|
const request = {
|
|
@@ -1802,7 +1802,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1802
1802
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1803
1803
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1804
1804
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1805
|
-
* @param {object} [params] extra parameters specific to the
|
|
1805
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1806
1806
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1807
1807
|
*/
|
|
1808
1808
|
if (symbol === undefined) {
|
|
@@ -1873,7 +1873,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1873
1873
|
* @param {string} symbol unified market symbol
|
|
1874
1874
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1875
1875
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1876
|
-
* @param {object} [params] extra parameters specific to the
|
|
1876
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1877
1877
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1878
1878
|
*/
|
|
1879
1879
|
const request = { 'type': 1 }; // -1 = all, 1 = open, 2 = closed
|
|
@@ -1888,7 +1888,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1888
1888
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1889
1889
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1890
1890
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1891
|
-
* @param {object} [params] extra parameters specific to the
|
|
1891
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1892
1892
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1893
1893
|
*/
|
|
1894
1894
|
const request = { 'type': 2 }; // -1 = all, 1 = open, 2 = closed
|
|
@@ -1902,7 +1902,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1902
1902
|
* @description cancels an open order
|
|
1903
1903
|
* @param {string} id order id
|
|
1904
1904
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1905
|
-
* @param {object} [params] extra parameters specific to the
|
|
1905
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1906
1906
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1907
1907
|
*/
|
|
1908
1908
|
const request = {
|
|
@@ -1948,7 +1948,7 @@ export default class tokocrypto extends Exchange {
|
|
|
1948
1948
|
* @param {string} symbol unified market symbol
|
|
1949
1949
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1950
1950
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1951
|
-
* @param {object} [params] extra parameters specific to the
|
|
1951
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1952
1952
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1953
1953
|
*/
|
|
1954
1954
|
if (symbol === undefined) {
|
|
@@ -2007,7 +2007,7 @@ export default class tokocrypto extends Exchange {
|
|
|
2007
2007
|
* @see https://www.tokocrypto.com/apidocs/#deposit-address-signed
|
|
2008
2008
|
* @description fetch the deposit address for a currency associated with this account
|
|
2009
2009
|
* @param {string} code unified currency code
|
|
2010
|
-
* @param {object} [params] extra parameters specific to the
|
|
2010
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2011
2011
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
2012
2012
|
*/
|
|
2013
2013
|
await this.loadMarkets();
|
|
@@ -2065,7 +2065,7 @@ export default class tokocrypto extends Exchange {
|
|
|
2065
2065
|
* @param {string} code unified currency code
|
|
2066
2066
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
2067
2067
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
2068
|
-
* @param {object} [params] extra parameters specific to the
|
|
2068
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2069
2069
|
* @param {int} [params.until] the latest time in ms to fetch deposits for
|
|
2070
2070
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2071
2071
|
*/
|
|
@@ -2126,7 +2126,7 @@ export default class tokocrypto extends Exchange {
|
|
|
2126
2126
|
* @param {string} code unified currency code
|
|
2127
2127
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
2128
2128
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2129
|
-
* @param {object} [params] extra parameters specific to the
|
|
2129
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2130
2130
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2131
2131
|
*/
|
|
2132
2132
|
await this.loadMarkets();
|
|
@@ -2319,7 +2319,7 @@ export default class tokocrypto extends Exchange {
|
|
|
2319
2319
|
* @param {float} amount the amount to withdraw
|
|
2320
2320
|
* @param {string} address the address to withdraw to
|
|
2321
2321
|
* @param {string} tag
|
|
2322
|
-
* @param {object} [params] extra parameters specific to the
|
|
2322
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2323
2323
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2324
2324
|
*/
|
|
2325
2325
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|