ccxt 4.1.63 → 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 +4 -4
- package/dist/ccxt.browser.js +2769 -2653
- package/dist/ccxt.browser.min.js +3 -3
- 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 +33 -3
- 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 +48 -30
- package/dist/cjs/src/krakenfutures.js +16 -16
- 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 +27 -28
- 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 +162 -123
- 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 +12 -9
- 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 +22 -24
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +22 -16
- 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/doc/manual.rst +1 -1
- package/doc/readme.rst +1 -1
- 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 +33 -3
- 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 +48 -30
- package/js/src/krakenfutures.js +16 -16
- 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 +27 -28
- 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 +162 -123
- 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 +12 -9
- 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/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +22 -24
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +22 -16
- 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/probit.js
CHANGED
|
@@ -247,7 +247,7 @@ export default class probit extends Exchange {
|
|
|
247
247
|
* @name probit#fetchMarkets
|
|
248
248
|
* @see https://docs-en.probit.com/reference/market
|
|
249
249
|
* @description retrieves data on all markets for probit
|
|
250
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
250
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
251
251
|
* @returns {object[]} an array of objects representing market data
|
|
252
252
|
*/
|
|
253
253
|
const response = await this.publicGetMarket(params);
|
|
@@ -347,7 +347,7 @@ export default class probit extends Exchange {
|
|
|
347
347
|
* @name probit#fetchCurrencies
|
|
348
348
|
* @see https://docs-en.probit.com/reference/currency
|
|
349
349
|
* @description fetches all available currencies on an exchange
|
|
350
|
-
* @param {object} [params] extra parameters specific to the
|
|
350
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
351
351
|
* @returns {object} an associative dictionary of currencies
|
|
352
352
|
*/
|
|
353
353
|
const response = await this.publicGetCurrencyWithPlatform(params);
|
|
@@ -531,7 +531,7 @@ export default class probit extends Exchange {
|
|
|
531
531
|
* @name probit#fetchBalance
|
|
532
532
|
* @see https://docs-en.probit.com/reference/balance
|
|
533
533
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
534
|
-
* @param {object} [params] extra parameters specific to the
|
|
534
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
535
535
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
536
536
|
*/
|
|
537
537
|
await this.loadMarkets();
|
|
@@ -557,7 +557,7 @@ export default class probit extends Exchange {
|
|
|
557
557
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
558
558
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
559
559
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
560
|
-
* @param {object} [params] extra parameters specific to the
|
|
560
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
561
561
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
562
562
|
*/
|
|
563
563
|
await this.loadMarkets();
|
|
@@ -584,9 +584,9 @@ export default class probit extends Exchange {
|
|
|
584
584
|
* @method
|
|
585
585
|
* @name probit#fetchTickers
|
|
586
586
|
* @see https://docs-en.probit.com/reference/ticker
|
|
587
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
587
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
588
588
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
589
|
-
* @param {object} [params] extra parameters specific to the
|
|
589
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
590
590
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
591
591
|
*/
|
|
592
592
|
await this.loadMarkets();
|
|
@@ -622,7 +622,7 @@ export default class probit extends Exchange {
|
|
|
622
622
|
* @see https://docs-en.probit.com/reference/ticker
|
|
623
623
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
624
624
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
625
|
-
* @param {object} [params] extra parameters specific to the
|
|
625
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
626
626
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
627
627
|
*/
|
|
628
628
|
await this.loadMarkets();
|
|
@@ -706,7 +706,7 @@ export default class probit extends Exchange {
|
|
|
706
706
|
* @param {string} symbol unified market symbol
|
|
707
707
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
708
708
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
709
|
-
* @param {object} [params] extra parameters specific to the
|
|
709
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
710
710
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
711
711
|
*/
|
|
712
712
|
await this.loadMarkets();
|
|
@@ -760,7 +760,7 @@ export default class probit extends Exchange {
|
|
|
760
760
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
761
761
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
762
762
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
763
|
-
* @param {object} [params] extra parameters specific to the
|
|
763
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
764
764
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
765
765
|
*/
|
|
766
766
|
await this.loadMarkets();
|
|
@@ -877,7 +877,7 @@ export default class probit extends Exchange {
|
|
|
877
877
|
* @name probit#fetchTime
|
|
878
878
|
* @see https://docs-en.probit.com/reference/time
|
|
879
879
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
880
|
-
* @param {object} [params] extra parameters specific to the
|
|
880
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
881
881
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
882
882
|
*/
|
|
883
883
|
const response = await this.publicGetTime(params);
|
|
@@ -933,7 +933,7 @@ export default class probit extends Exchange {
|
|
|
933
933
|
* @param {string} timeframe the length of time each candle represents
|
|
934
934
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
935
935
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
936
|
-
* @param {object} [params] extra parameters specific to the
|
|
936
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
937
937
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
938
938
|
*/
|
|
939
939
|
await this.loadMarkets();
|
|
@@ -1023,7 +1023,7 @@ export default class probit extends Exchange {
|
|
|
1023
1023
|
* @param {string} symbol unified market symbol
|
|
1024
1024
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1025
1025
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1026
|
-
* @param {object} [params] extra parameters specific to the
|
|
1026
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1027
1027
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1028
1028
|
*/
|
|
1029
1029
|
await this.loadMarkets();
|
|
@@ -1047,7 +1047,7 @@ export default class probit extends Exchange {
|
|
|
1047
1047
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1048
1048
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1049
1049
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1050
|
-
* @param {object} [params] extra parameters specific to the
|
|
1050
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1051
1051
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1052
1052
|
*/
|
|
1053
1053
|
await this.loadMarkets();
|
|
@@ -1078,7 +1078,7 @@ export default class probit extends Exchange {
|
|
|
1078
1078
|
* @see https://docs-en.probit.com/reference/order-3
|
|
1079
1079
|
* @description fetches information on an order made by the user
|
|
1080
1080
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1081
|
-
* @param {object} [params] extra parameters specific to the
|
|
1081
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1082
1082
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1083
1083
|
*/
|
|
1084
1084
|
if (symbol === undefined) {
|
|
@@ -1189,7 +1189,7 @@ export default class probit extends Exchange {
|
|
|
1189
1189
|
* @param {string} side 'buy' or 'sell'
|
|
1190
1190
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1191
1191
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1192
|
-
* @param {object} [params] extra parameters specific to the
|
|
1192
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1193
1193
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1194
1194
|
*/
|
|
1195
1195
|
await this.loadMarkets();
|
|
@@ -1281,7 +1281,7 @@ export default class probit extends Exchange {
|
|
|
1281
1281
|
* @description cancels an open order
|
|
1282
1282
|
* @param {string} id order id
|
|
1283
1283
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1284
|
-
* @param {object} [params] extra parameters specific to the
|
|
1284
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1285
1285
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1286
1286
|
*/
|
|
1287
1287
|
if (symbol === undefined) {
|
|
@@ -1320,7 +1320,7 @@ export default class probit extends Exchange {
|
|
|
1320
1320
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1321
1321
|
* @description fetch the deposit address for a currency associated with this account
|
|
1322
1322
|
* @param {string} code unified currency code
|
|
1323
|
-
* @param {object} [params] extra parameters specific to the
|
|
1323
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1324
1324
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1325
1325
|
*/
|
|
1326
1326
|
await this.loadMarkets();
|
|
@@ -1374,7 +1374,7 @@ export default class probit extends Exchange {
|
|
|
1374
1374
|
* @see https://docs-en.probit.com/reference/deposit_address
|
|
1375
1375
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1376
1376
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
1377
|
-
* @param {object} [params] extra parameters specific to the
|
|
1377
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1378
1378
|
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1379
1379
|
*/
|
|
1380
1380
|
await this.loadMarkets();
|
|
@@ -1401,7 +1401,7 @@ export default class probit extends Exchange {
|
|
|
1401
1401
|
* @param {float} amount the amount to withdraw
|
|
1402
1402
|
* @param {string} address the address to withdraw to
|
|
1403
1403
|
* @param {string} tag
|
|
1404
|
-
* @param {object} [params] extra parameters specific to the
|
|
1404
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1405
1405
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1406
1406
|
*/
|
|
1407
1407
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1446,7 +1446,7 @@ export default class probit extends Exchange {
|
|
|
1446
1446
|
* @param {string} code unified currency code
|
|
1447
1447
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1448
1448
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1449
|
-
* @param {object} [params] extra parameters specific to the
|
|
1449
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1450
1450
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1451
1451
|
*/
|
|
1452
1452
|
const request = {
|
|
@@ -1463,7 +1463,7 @@ export default class probit extends Exchange {
|
|
|
1463
1463
|
* @param {string} code unified currency code
|
|
1464
1464
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1465
1465
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1466
|
-
* @param {object} [params] extra parameters specific to the
|
|
1466
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1467
1467
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1468
1468
|
*/
|
|
1469
1469
|
const request = {
|
|
@@ -1483,7 +1483,7 @@ export default class probit extends Exchange {
|
|
|
1483
1483
|
* @param {int} [since] the earliest time in ms to fetch transactions for
|
|
1484
1484
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
1485
1485
|
* @param {int} [params.until] the latest time in ms to fetch transactions for
|
|
1486
|
-
* @param {object} [params] extra parameters specific to the
|
|
1486
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1487
1487
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1488
1488
|
*/
|
|
1489
1489
|
await this.loadMarkets();
|
|
@@ -1625,7 +1625,7 @@ export default class probit extends Exchange {
|
|
|
1625
1625
|
* @see https://docs-en.probit.com/reference/currency
|
|
1626
1626
|
* @description fetch deposit and withdraw fees
|
|
1627
1627
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1628
|
-
* @param {object} [params] extra parameters specific to the
|
|
1628
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1629
1629
|
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1630
1630
|
*/
|
|
1631
1631
|
await this.loadMarkets();
|
|
@@ -1810,7 +1810,7 @@ export default class probit extends Exchange {
|
|
|
1810
1810
|
* @name probit#signIn
|
|
1811
1811
|
* @see https://docs-en.probit.com/reference/token
|
|
1812
1812
|
* @description sign in, must be called prior to using other authenticated methods
|
|
1813
|
-
* @param {object} [params] extra parameters specific to the
|
|
1813
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1814
1814
|
* @returns response from exchange
|
|
1815
1815
|
*/
|
|
1816
1816
|
this.checkRequiredCredentials();
|
|
@@ -15,7 +15,7 @@ export declare class BigInteger {
|
|
|
15
15
|
protected intValue(): number;
|
|
16
16
|
protected byteValue(): number;
|
|
17
17
|
protected shortValue(): number;
|
|
18
|
-
protected signum():
|
|
18
|
+
protected signum(): 0 | 1 | -1;
|
|
19
19
|
toByteArray(): number[];
|
|
20
20
|
protected equals(a: BigInteger): boolean;
|
|
21
21
|
protected min(a: BigInteger): BigInteger;
|
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();
|