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/dist/cjs/src/bitstamp.js
CHANGED
|
@@ -441,7 +441,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
441
441
|
* @method
|
|
442
442
|
* @name bitstamp#fetchMarkets
|
|
443
443
|
* @description retrieves data on all markets for bitstamp
|
|
444
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
444
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
445
445
|
* @returns {object[]} an array of objects representing market data
|
|
446
446
|
*/
|
|
447
447
|
const response = await this.fetchMarketsFromCache(params);
|
|
@@ -584,7 +584,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
584
584
|
* @method
|
|
585
585
|
* @name bitstamp#fetchCurrencies
|
|
586
586
|
* @description fetches all available currencies on an exchange
|
|
587
|
-
* @param {object} [params] extra parameters specific to the
|
|
587
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
588
588
|
* @returns {object} an associative dictionary of currencies
|
|
589
589
|
*/
|
|
590
590
|
const response = await this.fetchMarketsFromCache(params);
|
|
@@ -634,7 +634,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
634
634
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
635
635
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
636
636
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
637
|
-
* @param {object} [params] extra parameters specific to the
|
|
637
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
638
638
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
639
639
|
*/
|
|
640
640
|
await this.loadMarkets();
|
|
@@ -718,7 +718,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
718
718
|
* @name bitstamp#fetchTicker
|
|
719
719
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
720
720
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
721
|
-
* @param {object} [params] extra parameters specific to the
|
|
721
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
722
722
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
723
723
|
*/
|
|
724
724
|
await this.loadMarkets();
|
|
@@ -748,10 +748,10 @@ class bitstamp extends bitstamp$1 {
|
|
|
748
748
|
/**
|
|
749
749
|
* @method
|
|
750
750
|
* @name bitstamp#fetchTickers
|
|
751
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
751
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
752
752
|
* @see https://www.bitstamp.net/api/#all-tickers
|
|
753
753
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
754
|
-
* @param {object} [params] extra parameters specific to the
|
|
754
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
755
755
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
756
756
|
*/
|
|
757
757
|
await this.loadMarkets();
|
|
@@ -982,7 +982,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
982
982
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
983
983
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
984
984
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
985
|
-
* @param {object} [params] extra parameters specific to the
|
|
985
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
986
986
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
987
987
|
*/
|
|
988
988
|
await this.loadMarkets();
|
|
@@ -1041,7 +1041,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1041
1041
|
* @param {string} timeframe the length of time each candle represents
|
|
1042
1042
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1043
1043
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1044
|
-
* @param {object} [params] extra parameters specific to the
|
|
1044
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1045
1045
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1046
1046
|
*/
|
|
1047
1047
|
await this.loadMarkets();
|
|
@@ -1112,7 +1112,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1112
1112
|
* @method
|
|
1113
1113
|
* @name bitstamp#fetchBalance
|
|
1114
1114
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1115
|
-
* @param {object} [params] extra parameters specific to the
|
|
1115
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1116
1116
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1117
1117
|
*/
|
|
1118
1118
|
await this.loadMarkets();
|
|
@@ -1143,7 +1143,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1143
1143
|
* @name bitstamp#fetchTradingFee
|
|
1144
1144
|
* @description fetch the trading fees for a market
|
|
1145
1145
|
* @param {string} symbol unified market symbol
|
|
1146
|
-
* @param {object} [params] extra parameters specific to the
|
|
1146
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1147
1147
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1148
1148
|
*/
|
|
1149
1149
|
await this.loadMarkets();
|
|
@@ -1182,7 +1182,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1182
1182
|
* @method
|
|
1183
1183
|
* @name bitstamp#fetchTradingFees
|
|
1184
1184
|
* @description fetch the trading fees for multiple markets
|
|
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 dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1187
1187
|
*/
|
|
1188
1188
|
await this.loadMarkets();
|
|
@@ -1197,7 +1197,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1197
1197
|
* @description please use fetchDepositWithdrawFees instead
|
|
1198
1198
|
* @see https://www.bitstamp.net/api/#balance
|
|
1199
1199
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1200
|
-
* @param {object} [params] extra parameters specific to the
|
|
1200
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1201
1201
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1202
1202
|
*/
|
|
1203
1203
|
await this.loadMarkets();
|
|
@@ -1259,7 +1259,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1259
1259
|
* @description fetch deposit and withdraw fees
|
|
1260
1260
|
* @see https://www.bitstamp.net/api/#balance
|
|
1261
1261
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1262
|
-
* @param {object} [params] extra parameters specific to the
|
|
1262
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1263
1263
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1264
1264
|
*/
|
|
1265
1265
|
await this.loadMarkets();
|
|
@@ -1334,7 +1334,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1334
1334
|
* @param {string} side 'buy' or 'sell'
|
|
1335
1335
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1336
1336
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1337
|
-
* @param {object} [params] extra parameters specific to the
|
|
1337
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1338
1338
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1339
1339
|
*/
|
|
1340
1340
|
await this.loadMarkets();
|
|
@@ -1371,7 +1371,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1371
1371
|
* @description cancels an open order
|
|
1372
1372
|
* @param {string} id order id
|
|
1373
1373
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1374
|
-
* @param {object} [params] extra parameters specific to the
|
|
1374
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1375
1375
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1376
1376
|
*/
|
|
1377
1377
|
await this.loadMarkets();
|
|
@@ -1386,7 +1386,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1386
1386
|
* @name bitstamp#cancelAllOrders
|
|
1387
1387
|
* @description cancel all open orders
|
|
1388
1388
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1389
|
-
* @param {object} [params] extra parameters specific to the
|
|
1389
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1390
1390
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1391
1391
|
*/
|
|
1392
1392
|
await this.loadMarkets();
|
|
@@ -1429,7 +1429,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1429
1429
|
* @name bitstamp#fetchOrder
|
|
1430
1430
|
* @description fetches information on an order made by the user
|
|
1431
1431
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1432
|
-
* @param {object} [params] extra parameters specific to the
|
|
1432
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1433
1433
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1434
1434
|
*/
|
|
1435
1435
|
await this.loadMarkets();
|
|
@@ -1475,7 +1475,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1475
1475
|
* @param {string} symbol unified market symbol
|
|
1476
1476
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1477
1477
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1478
|
-
* @param {object} [params] extra parameters specific to the
|
|
1478
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1479
1479
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1480
1480
|
*/
|
|
1481
1481
|
await this.loadMarkets();
|
|
@@ -1502,7 +1502,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1502
1502
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
1503
1503
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1504
1504
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1505
|
-
* @param {object} [params] extra parameters specific to the
|
|
1505
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1506
1506
|
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1507
1507
|
*/
|
|
1508
1508
|
await this.loadMarkets();
|
|
@@ -1552,7 +1552,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1552
1552
|
* @param {string} code unified currency code
|
|
1553
1553
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1554
1554
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1555
|
-
* @param {object} [params] extra parameters specific to the
|
|
1555
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1556
1556
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1557
1557
|
*/
|
|
1558
1558
|
await this.loadMarkets();
|
|
@@ -1920,7 +1920,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1920
1920
|
* @param {string} code unified currency code, default is undefined
|
|
1921
1921
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
1922
1922
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
1923
|
-
* @param {object} [params] extra parameters specific to the
|
|
1923
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1924
1924
|
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
|
|
1925
1925
|
*/
|
|
1926
1926
|
await this.loadMarkets();
|
|
@@ -1943,7 +1943,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1943
1943
|
* @param {string} symbol unified market symbol
|
|
1944
1944
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1945
1945
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1946
|
-
* @param {object} [params] extra parameters specific to the
|
|
1946
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1947
1947
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1948
1948
|
*/
|
|
1949
1949
|
let market = undefined;
|
|
@@ -1988,7 +1988,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1988
1988
|
* @name bitstamp#fetchDepositAddress
|
|
1989
1989
|
* @description fetch the deposit address for a currency associated with this account
|
|
1990
1990
|
* @param {string} code unified currency code
|
|
1991
|
-
* @param {object} [params] extra parameters specific to the
|
|
1991
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1992
1992
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1993
1993
|
*/
|
|
1994
1994
|
if (this.isFiat(code)) {
|
|
@@ -2017,7 +2017,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
2017
2017
|
* @param {float} amount the amount to withdraw
|
|
2018
2018
|
* @param {string} address the address to withdraw to
|
|
2019
2019
|
* @param {string} tag
|
|
2020
|
-
* @param {object} [params] extra parameters specific to the
|
|
2020
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2021
2021
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2022
2022
|
*/
|
|
2023
2023
|
// For fiat withdrawals please provide all required additional parameters in the 'params'
|
package/dist/cjs/src/bittrex.js
CHANGED
|
@@ -286,7 +286,7 @@ class bittrex extends bittrex$1 {
|
|
|
286
286
|
* @method
|
|
287
287
|
* @name bittrex#fetchMarkets
|
|
288
288
|
* @description retrieves data on all markets for bittrex
|
|
289
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
289
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
290
290
|
* @returns {object[]} an array of objects representing market data
|
|
291
291
|
*/
|
|
292
292
|
const response = await this.publicGetMarkets(params);
|
|
@@ -391,7 +391,7 @@ class bittrex extends bittrex$1 {
|
|
|
391
391
|
* @method
|
|
392
392
|
* @name bittrex#fetchBalance
|
|
393
393
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
394
|
-
* @param {object} [params] extra parameters specific to the
|
|
394
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
395
395
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
396
396
|
*/
|
|
397
397
|
await this.loadMarkets();
|
|
@@ -405,7 +405,7 @@ class bittrex extends bittrex$1 {
|
|
|
405
405
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
406
406
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
407
407
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
408
|
-
* @param {object} [params] extra parameters specific to the
|
|
408
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
409
409
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
410
410
|
*/
|
|
411
411
|
await this.loadMarkets();
|
|
@@ -444,7 +444,7 @@ class bittrex extends bittrex$1 {
|
|
|
444
444
|
* @method
|
|
445
445
|
* @name bittrex#fetchCurrencies
|
|
446
446
|
* @description fetches all available currencies on an exchange
|
|
447
|
-
* @param {object} [params] extra parameters specific to the
|
|
447
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
448
448
|
* @returns {object} an associative dictionary of currencies
|
|
449
449
|
*/
|
|
450
450
|
const response = await this.publicGetCurrencies(params);
|
|
@@ -568,9 +568,9 @@ class bittrex extends bittrex$1 {
|
|
|
568
568
|
/**
|
|
569
569
|
* @method
|
|
570
570
|
* @name bittrex#fetchTickers
|
|
571
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
571
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
572
572
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
573
|
-
* @param {object} [params] extra parameters specific to the
|
|
573
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
574
574
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
575
575
|
*/
|
|
576
576
|
await this.loadMarkets();
|
|
@@ -619,7 +619,7 @@ class bittrex extends bittrex$1 {
|
|
|
619
619
|
* @name bittrex#fetchTicker
|
|
620
620
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
621
621
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
622
|
-
* @param {object} [params] extra parameters specific to the
|
|
622
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
623
623
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
624
624
|
*/
|
|
625
625
|
await this.loadMarkets();
|
|
@@ -663,7 +663,7 @@ class bittrex extends bittrex$1 {
|
|
|
663
663
|
* @name bittrex#fetchBidsAsks
|
|
664
664
|
* @description fetches the bid and ask price and volume for multiple markets
|
|
665
665
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
|
666
|
-
* @param {object} [params] extra parameters specific to the
|
|
666
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
667
667
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
668
668
|
*/
|
|
669
669
|
await this.loadMarkets();
|
|
@@ -767,7 +767,7 @@ class bittrex extends bittrex$1 {
|
|
|
767
767
|
* @method
|
|
768
768
|
* @name bittrex#fetchTime
|
|
769
769
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
770
|
-
* @param {object} [params] extra parameters specific to the
|
|
770
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
771
771
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
772
772
|
*/
|
|
773
773
|
const response = await this.publicGetPing(params);
|
|
@@ -786,7 +786,7 @@ class bittrex extends bittrex$1 {
|
|
|
786
786
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
787
787
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
788
788
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
789
|
-
* @param {object} [params] extra parameters specific to the
|
|
789
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
790
790
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
791
791
|
*/
|
|
792
792
|
await this.loadMarkets();
|
|
@@ -814,7 +814,7 @@ class bittrex extends bittrex$1 {
|
|
|
814
814
|
* @name bittrex#fetchTradingFee
|
|
815
815
|
* @description fetch the trading fees for a market
|
|
816
816
|
* @param {string} symbol unified market symbol
|
|
817
|
-
* @param {object} [params] extra parameters specific to the
|
|
817
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
818
818
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
819
819
|
*/
|
|
820
820
|
await this.loadMarkets();
|
|
@@ -837,7 +837,7 @@ class bittrex extends bittrex$1 {
|
|
|
837
837
|
* @method
|
|
838
838
|
* @name bittrex#fetchTradingFees
|
|
839
839
|
* @description fetch the trading fees for multiple markets
|
|
840
|
-
* @param {object} [params] extra parameters specific to the
|
|
840
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
841
841
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
842
842
|
*/
|
|
843
843
|
await this.loadMarkets();
|
|
@@ -905,7 +905,7 @@ class bittrex extends bittrex$1 {
|
|
|
905
905
|
* @param {string} timeframe the length of time each candle represents
|
|
906
906
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
907
907
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
908
|
-
* @param {object} [params] extra parameters specific to the
|
|
908
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
909
909
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
910
910
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
911
911
|
*/
|
|
@@ -974,7 +974,7 @@ class bittrex extends bittrex$1 {
|
|
|
974
974
|
* @param {string} symbol unified market symbol
|
|
975
975
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
976
976
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
977
|
-
* @param {object} [params] extra parameters specific to the
|
|
977
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
978
978
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
979
979
|
*/
|
|
980
980
|
await this.loadMarkets();
|
|
@@ -1045,7 +1045,7 @@ class bittrex extends bittrex$1 {
|
|
|
1045
1045
|
* @param {string} symbol unified market symbol
|
|
1046
1046
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1047
1047
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1048
|
-
* @param {object} [params] extra parameters specific to the
|
|
1048
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1049
1049
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1050
1050
|
*/
|
|
1051
1051
|
await this.loadMarkets();
|
|
@@ -1069,7 +1069,7 @@ class bittrex extends bittrex$1 {
|
|
|
1069
1069
|
* @param {string} side 'buy' or 'sell'
|
|
1070
1070
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1071
1071
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1072
|
-
* @param {object} [params] extra parameters specific to the
|
|
1072
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1073
1073
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1074
1074
|
*/
|
|
1075
1075
|
// A ceiling order is a market or limit order that allows you to specify
|
|
@@ -1259,7 +1259,7 @@ class bittrex extends bittrex$1 {
|
|
|
1259
1259
|
* @description cancels an open order
|
|
1260
1260
|
* @param {string} id order id
|
|
1261
1261
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1262
|
-
* @param {object} [params] extra parameters specific to the
|
|
1262
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1263
1263
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1264
1264
|
*/
|
|
1265
1265
|
await this.loadMarkets();
|
|
@@ -1340,7 +1340,7 @@ class bittrex extends bittrex$1 {
|
|
|
1340
1340
|
* @name bittrex#cancelAllOrders
|
|
1341
1341
|
* @description cancel all open orders
|
|
1342
1342
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1343
|
-
* @param {object} [params] extra parameters specific to the
|
|
1343
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1344
1344
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1345
1345
|
*/
|
|
1346
1346
|
await this.loadMarkets();
|
|
@@ -1389,7 +1389,7 @@ class bittrex extends bittrex$1 {
|
|
|
1389
1389
|
* @description fetch data on a currency deposit via the deposit id
|
|
1390
1390
|
* @param {string} id deposit id
|
|
1391
1391
|
* @param {string} code filter by currency code
|
|
1392
|
-
* @param {object} [params] extra parameters specific to the
|
|
1392
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1393
1393
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1394
1394
|
*/
|
|
1395
1395
|
await this.loadMarkets();
|
|
@@ -1412,7 +1412,7 @@ class bittrex extends bittrex$1 {
|
|
|
1412
1412
|
* @param {string} code unified currency code
|
|
1413
1413
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1414
1414
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1415
|
-
* @param {object} [params] extra parameters specific to the
|
|
1415
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1416
1416
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1417
1417
|
* @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
|
|
1418
1418
|
* @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
|
|
@@ -1458,7 +1458,7 @@ class bittrex extends bittrex$1 {
|
|
|
1458
1458
|
* @param {string} code unified currency code
|
|
1459
1459
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1460
1460
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1461
|
-
* @param {object} [params] extra parameters specific to the
|
|
1461
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1462
1462
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1463
1463
|
* @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
|
|
1464
1464
|
* @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
|
|
@@ -1474,7 +1474,7 @@ class bittrex extends bittrex$1 {
|
|
|
1474
1474
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
1475
1475
|
* @param {string} id withdrawal id
|
|
1476
1476
|
* @param {string} code filter by currency code
|
|
1477
|
-
* @param {object} [params] extra parameters specific to the
|
|
1477
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1478
1478
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1479
1479
|
*/
|
|
1480
1480
|
await this.loadMarkets();
|
|
@@ -1497,7 +1497,7 @@ class bittrex extends bittrex$1 {
|
|
|
1497
1497
|
* @param {string} code unified currency code
|
|
1498
1498
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1499
1499
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1500
|
-
* @param {object} [params] extra parameters specific to the
|
|
1500
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1501
1501
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1502
1502
|
* @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
|
|
1503
1503
|
* @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
|
|
@@ -1540,7 +1540,7 @@ class bittrex extends bittrex$1 {
|
|
|
1540
1540
|
* @param {string} code unified currency code
|
|
1541
1541
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1542
1542
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1543
|
-
* @param {object} [params] extra parameters specific to the
|
|
1543
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1544
1544
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1545
1545
|
* @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
|
|
1546
1546
|
* @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
|
|
@@ -1841,7 +1841,7 @@ class bittrex extends bittrex$1 {
|
|
|
1841
1841
|
* @name bittrex#fetchOrder
|
|
1842
1842
|
* @description fetches information on an order made by the user
|
|
1843
1843
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1844
|
-
* @param {object} [params] extra parameters specific to the
|
|
1844
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1845
1845
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1846
1846
|
*/
|
|
1847
1847
|
await this.loadMarkets();
|
|
@@ -1884,7 +1884,7 @@ class bittrex extends bittrex$1 {
|
|
|
1884
1884
|
* @param {string} symbol unified market symbol
|
|
1885
1885
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1886
1886
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1887
|
-
* @param {object} [params] extra parameters specific to the
|
|
1887
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1888
1888
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1889
1889
|
*/
|
|
1890
1890
|
await this.loadMarkets();
|
|
@@ -1911,7 +1911,7 @@ class bittrex extends bittrex$1 {
|
|
|
1911
1911
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1912
1912
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1913
1913
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1914
|
-
* @param {object} [params] extra parameters specific to the
|
|
1914
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1915
1915
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1916
1916
|
*/
|
|
1917
1917
|
await this.loadMarkets();
|
|
@@ -1992,7 +1992,7 @@ class bittrex extends bittrex$1 {
|
|
|
1992
1992
|
* @name bittrex#createDepositAddress
|
|
1993
1993
|
* @description create a currency deposit address
|
|
1994
1994
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1995
|
-
* @param {object} [params] extra parameters specific to the
|
|
1995
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1996
1996
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1997
1997
|
*/
|
|
1998
1998
|
await this.loadMarkets();
|
|
@@ -2029,7 +2029,7 @@ class bittrex extends bittrex$1 {
|
|
|
2029
2029
|
* @name bittrex#fetchDepositAddress
|
|
2030
2030
|
* @description fetch the deposit address for a currency associated with this account
|
|
2031
2031
|
* @param {string} code unified currency code
|
|
2032
|
-
* @param {object} [params] extra parameters specific to the
|
|
2032
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2033
2033
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
2034
2034
|
*/
|
|
2035
2035
|
await this.loadMarkets();
|
|
@@ -2100,7 +2100,7 @@ class bittrex extends bittrex$1 {
|
|
|
2100
2100
|
* @name bittrex#fetchDepositWithdrawFees
|
|
2101
2101
|
* @description fetch deposit and withdraw fees
|
|
2102
2102
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2103
|
-
* @param {object} [params] extra parameters specific to the
|
|
2103
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2104
2104
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
2105
2105
|
*/
|
|
2106
2106
|
await this.loadMarkets();
|
|
@@ -2138,7 +2138,7 @@ class bittrex extends bittrex$1 {
|
|
|
2138
2138
|
* @param {float} amount the amount to withdraw
|
|
2139
2139
|
* @param {string} address the address to withdraw to
|
|
2140
2140
|
* @param {string} tag
|
|
2141
|
-
* @param {object} [params] extra parameters specific to the
|
|
2141
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2142
2142
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2143
2143
|
*/
|
|
2144
2144
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|