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/bitstamp.js
CHANGED
|
@@ -444,7 +444,7 @@ export default class bitstamp extends Exchange {
|
|
|
444
444
|
* @method
|
|
445
445
|
* @name bitstamp#fetchMarkets
|
|
446
446
|
* @description retrieves data on all markets for bitstamp
|
|
447
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
447
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
448
448
|
* @returns {object[]} an array of objects representing market data
|
|
449
449
|
*/
|
|
450
450
|
const response = await this.fetchMarketsFromCache(params);
|
|
@@ -587,7 +587,7 @@ export default class bitstamp extends Exchange {
|
|
|
587
587
|
* @method
|
|
588
588
|
* @name bitstamp#fetchCurrencies
|
|
589
589
|
* @description fetches all available currencies on an exchange
|
|
590
|
-
* @param {object} [params] extra parameters specific to the
|
|
590
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
591
591
|
* @returns {object} an associative dictionary of currencies
|
|
592
592
|
*/
|
|
593
593
|
const response = await this.fetchMarketsFromCache(params);
|
|
@@ -637,7 +637,7 @@ export default class bitstamp extends Exchange {
|
|
|
637
637
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
638
638
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
639
639
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
640
|
-
* @param {object} [params] extra parameters specific to the
|
|
640
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
641
641
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
642
642
|
*/
|
|
643
643
|
await this.loadMarkets();
|
|
@@ -721,7 +721,7 @@ export default class bitstamp extends Exchange {
|
|
|
721
721
|
* @name bitstamp#fetchTicker
|
|
722
722
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
723
723
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
724
|
-
* @param {object} [params] extra parameters specific to the
|
|
724
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
725
725
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
726
726
|
*/
|
|
727
727
|
await this.loadMarkets();
|
|
@@ -751,10 +751,10 @@ export default class bitstamp extends Exchange {
|
|
|
751
751
|
/**
|
|
752
752
|
* @method
|
|
753
753
|
* @name bitstamp#fetchTickers
|
|
754
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
754
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
755
755
|
* @see https://www.bitstamp.net/api/#all-tickers
|
|
756
756
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
757
|
-
* @param {object} [params] extra parameters specific to the
|
|
757
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
758
758
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
759
759
|
*/
|
|
760
760
|
await this.loadMarkets();
|
|
@@ -985,7 +985,7 @@ export default class bitstamp extends Exchange {
|
|
|
985
985
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
986
986
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
987
987
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
988
|
-
* @param {object} [params] extra parameters specific to the
|
|
988
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
989
989
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
990
990
|
*/
|
|
991
991
|
await this.loadMarkets();
|
|
@@ -1044,7 +1044,7 @@ export default class bitstamp extends Exchange {
|
|
|
1044
1044
|
* @param {string} timeframe the length of time each candle represents
|
|
1045
1045
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1046
1046
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1047
|
-
* @param {object} [params] extra parameters specific to the
|
|
1047
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1048
1048
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1049
1049
|
*/
|
|
1050
1050
|
await this.loadMarkets();
|
|
@@ -1115,7 +1115,7 @@ export default class bitstamp extends Exchange {
|
|
|
1115
1115
|
* @method
|
|
1116
1116
|
* @name bitstamp#fetchBalance
|
|
1117
1117
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1118
|
-
* @param {object} [params] extra parameters specific to the
|
|
1118
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1119
1119
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1120
1120
|
*/
|
|
1121
1121
|
await this.loadMarkets();
|
|
@@ -1146,7 +1146,7 @@ export default class bitstamp extends Exchange {
|
|
|
1146
1146
|
* @name bitstamp#fetchTradingFee
|
|
1147
1147
|
* @description fetch the trading fees for a market
|
|
1148
1148
|
* @param {string} symbol unified market symbol
|
|
1149
|
-
* @param {object} [params] extra parameters specific to the
|
|
1149
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1150
1150
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1151
1151
|
*/
|
|
1152
1152
|
await this.loadMarkets();
|
|
@@ -1185,7 +1185,7 @@ export default class bitstamp extends Exchange {
|
|
|
1185
1185
|
* @method
|
|
1186
1186
|
* @name bitstamp#fetchTradingFees
|
|
1187
1187
|
* @description fetch the trading fees for multiple markets
|
|
1188
|
-
* @param {object} [params] extra parameters specific to the
|
|
1188
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1189
1189
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1190
1190
|
*/
|
|
1191
1191
|
await this.loadMarkets();
|
|
@@ -1200,7 +1200,7 @@ export default class bitstamp extends Exchange {
|
|
|
1200
1200
|
* @description please use fetchDepositWithdrawFees instead
|
|
1201
1201
|
* @see https://www.bitstamp.net/api/#balance
|
|
1202
1202
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1203
|
-
* @param {object} [params] extra parameters specific to the
|
|
1203
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1204
1204
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1205
1205
|
*/
|
|
1206
1206
|
await this.loadMarkets();
|
|
@@ -1262,7 +1262,7 @@ export default class bitstamp extends Exchange {
|
|
|
1262
1262
|
* @description fetch deposit and withdraw fees
|
|
1263
1263
|
* @see https://www.bitstamp.net/api/#balance
|
|
1264
1264
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1265
|
-
* @param {object} [params] extra parameters specific to the
|
|
1265
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1266
1266
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1267
1267
|
*/
|
|
1268
1268
|
await this.loadMarkets();
|
|
@@ -1337,7 +1337,7 @@ export default class bitstamp extends Exchange {
|
|
|
1337
1337
|
* @param {string} side 'buy' or 'sell'
|
|
1338
1338
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1339
1339
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1340
|
-
* @param {object} [params] extra parameters specific to the
|
|
1340
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1341
1341
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1342
1342
|
*/
|
|
1343
1343
|
await this.loadMarkets();
|
|
@@ -1374,7 +1374,7 @@ export default class bitstamp extends Exchange {
|
|
|
1374
1374
|
* @description cancels an open order
|
|
1375
1375
|
* @param {string} id order id
|
|
1376
1376
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
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} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1379
1379
|
*/
|
|
1380
1380
|
await this.loadMarkets();
|
|
@@ -1389,7 +1389,7 @@ export default class bitstamp extends Exchange {
|
|
|
1389
1389
|
* @name bitstamp#cancelAllOrders
|
|
1390
1390
|
* @description cancel all open orders
|
|
1391
1391
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
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 list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1394
1394
|
*/
|
|
1395
1395
|
await this.loadMarkets();
|
|
@@ -1432,7 +1432,7 @@ export default class bitstamp extends Exchange {
|
|
|
1432
1432
|
* @name bitstamp#fetchOrder
|
|
1433
1433
|
* @description fetches information on an order made by the user
|
|
1434
1434
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1435
|
-
* @param {object} [params] extra parameters specific to the
|
|
1435
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1436
1436
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1437
1437
|
*/
|
|
1438
1438
|
await this.loadMarkets();
|
|
@@ -1478,7 +1478,7 @@ export default class bitstamp extends Exchange {
|
|
|
1478
1478
|
* @param {string} symbol unified market symbol
|
|
1479
1479
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1480
1480
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1481
|
-
* @param {object} [params] extra parameters specific to the
|
|
1481
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1482
1482
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1483
1483
|
*/
|
|
1484
1484
|
await this.loadMarkets();
|
|
@@ -1505,7 +1505,7 @@ export default class bitstamp extends Exchange {
|
|
|
1505
1505
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
1506
1506
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1507
1507
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1508
|
-
* @param {object} [params] extra parameters specific to the
|
|
1508
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1509
1509
|
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1510
1510
|
*/
|
|
1511
1511
|
await this.loadMarkets();
|
|
@@ -1555,7 +1555,7 @@ export default class bitstamp extends Exchange {
|
|
|
1555
1555
|
* @param {string} code unified currency code
|
|
1556
1556
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1557
1557
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1558
|
-
* @param {object} [params] extra parameters specific to the
|
|
1558
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1559
1559
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1560
1560
|
*/
|
|
1561
1561
|
await this.loadMarkets();
|
|
@@ -1923,7 +1923,7 @@ export default class bitstamp extends Exchange {
|
|
|
1923
1923
|
* @param {string} code unified currency code, default is undefined
|
|
1924
1924
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
1925
1925
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
1926
|
-
* @param {object} [params] extra parameters specific to the
|
|
1926
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1927
1927
|
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
|
|
1928
1928
|
*/
|
|
1929
1929
|
await this.loadMarkets();
|
|
@@ -1946,7 +1946,7 @@ export default class bitstamp extends Exchange {
|
|
|
1946
1946
|
* @param {string} symbol unified market symbol
|
|
1947
1947
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1948
1948
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1949
|
-
* @param {object} [params] extra parameters specific to the
|
|
1949
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1950
1950
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1951
1951
|
*/
|
|
1952
1952
|
let market = undefined;
|
|
@@ -1991,7 +1991,7 @@ export default class bitstamp extends Exchange {
|
|
|
1991
1991
|
* @name bitstamp#fetchDepositAddress
|
|
1992
1992
|
* @description fetch the deposit address for a currency associated with this account
|
|
1993
1993
|
* @param {string} code unified currency code
|
|
1994
|
-
* @param {object} [params] extra parameters specific to the
|
|
1994
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1995
1995
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1996
1996
|
*/
|
|
1997
1997
|
if (this.isFiat(code)) {
|
|
@@ -2020,7 +2020,7 @@ export default class bitstamp extends Exchange {
|
|
|
2020
2020
|
* @param {float} amount the amount to withdraw
|
|
2021
2021
|
* @param {string} address the address to withdraw to
|
|
2022
2022
|
* @param {string} tag
|
|
2023
|
-
* @param {object} [params] extra parameters specific to the
|
|
2023
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2024
2024
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2025
2025
|
*/
|
|
2026
2026
|
// For fiat withdrawals please provide all required additional parameters in the 'params'
|
package/js/src/bittrex.js
CHANGED
|
@@ -289,7 +289,7 @@ export default class bittrex extends Exchange {
|
|
|
289
289
|
* @method
|
|
290
290
|
* @name bittrex#fetchMarkets
|
|
291
291
|
* @description retrieves data on all markets for bittrex
|
|
292
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
292
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
293
293
|
* @returns {object[]} an array of objects representing market data
|
|
294
294
|
*/
|
|
295
295
|
const response = await this.publicGetMarkets(params);
|
|
@@ -394,7 +394,7 @@ export default class bittrex extends Exchange {
|
|
|
394
394
|
* @method
|
|
395
395
|
* @name bittrex#fetchBalance
|
|
396
396
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
397
|
-
* @param {object} [params] extra parameters specific to the
|
|
397
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
398
398
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
399
399
|
*/
|
|
400
400
|
await this.loadMarkets();
|
|
@@ -408,7 +408,7 @@ export default class bittrex extends Exchange {
|
|
|
408
408
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
409
409
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
410
410
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
411
|
-
* @param {object} [params] extra parameters specific to the
|
|
411
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
412
412
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
413
413
|
*/
|
|
414
414
|
await this.loadMarkets();
|
|
@@ -447,7 +447,7 @@ export default class bittrex extends Exchange {
|
|
|
447
447
|
* @method
|
|
448
448
|
* @name bittrex#fetchCurrencies
|
|
449
449
|
* @description fetches all available currencies on an exchange
|
|
450
|
-
* @param {object} [params] extra parameters specific to the
|
|
450
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
451
451
|
* @returns {object} an associative dictionary of currencies
|
|
452
452
|
*/
|
|
453
453
|
const response = await this.publicGetCurrencies(params);
|
|
@@ -571,9 +571,9 @@ export default class bittrex extends Exchange {
|
|
|
571
571
|
/**
|
|
572
572
|
* @method
|
|
573
573
|
* @name bittrex#fetchTickers
|
|
574
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
574
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
575
575
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
576
|
-
* @param {object} [params] extra parameters specific to the
|
|
576
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
577
577
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
578
578
|
*/
|
|
579
579
|
await this.loadMarkets();
|
|
@@ -622,7 +622,7 @@ export default class bittrex extends Exchange {
|
|
|
622
622
|
* @name bittrex#fetchTicker
|
|
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();
|
|
@@ -666,7 +666,7 @@ export default class bittrex extends Exchange {
|
|
|
666
666
|
* @name bittrex#fetchBidsAsks
|
|
667
667
|
* @description fetches the bid and ask price and volume for multiple markets
|
|
668
668
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
|
669
|
-
* @param {object} [params] extra parameters specific to the
|
|
669
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
670
670
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
671
671
|
*/
|
|
672
672
|
await this.loadMarkets();
|
|
@@ -770,7 +770,7 @@ export default class bittrex extends Exchange {
|
|
|
770
770
|
* @method
|
|
771
771
|
* @name bittrex#fetchTime
|
|
772
772
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
773
|
-
* @param {object} [params] extra parameters specific to the
|
|
773
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
774
774
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
775
775
|
*/
|
|
776
776
|
const response = await this.publicGetPing(params);
|
|
@@ -789,7 +789,7 @@ export default class bittrex extends Exchange {
|
|
|
789
789
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
790
790
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
791
791
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
792
|
-
* @param {object} [params] extra parameters specific to the
|
|
792
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
793
793
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
794
794
|
*/
|
|
795
795
|
await this.loadMarkets();
|
|
@@ -817,7 +817,7 @@ export default class bittrex extends Exchange {
|
|
|
817
817
|
* @name bittrex#fetchTradingFee
|
|
818
818
|
* @description fetch the trading fees for a market
|
|
819
819
|
* @param {string} symbol unified market symbol
|
|
820
|
-
* @param {object} [params] extra parameters specific to the
|
|
820
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
821
821
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
822
822
|
*/
|
|
823
823
|
await this.loadMarkets();
|
|
@@ -840,7 +840,7 @@ export default class bittrex extends Exchange {
|
|
|
840
840
|
* @method
|
|
841
841
|
* @name bittrex#fetchTradingFees
|
|
842
842
|
* @description fetch the trading fees for multiple markets
|
|
843
|
-
* @param {object} [params] extra parameters specific to the
|
|
843
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
844
844
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
845
845
|
*/
|
|
846
846
|
await this.loadMarkets();
|
|
@@ -908,7 +908,7 @@ export default class bittrex extends Exchange {
|
|
|
908
908
|
* @param {string} timeframe the length of time each candle represents
|
|
909
909
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
910
910
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
911
|
-
* @param {object} [params] extra parameters specific to the
|
|
911
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
912
912
|
* @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)
|
|
913
913
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
914
914
|
*/
|
|
@@ -977,7 +977,7 @@ export default class bittrex extends Exchange {
|
|
|
977
977
|
* @param {string} symbol unified market symbol
|
|
978
978
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
979
979
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
980
|
-
* @param {object} [params] extra parameters specific to the
|
|
980
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
981
981
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
982
982
|
*/
|
|
983
983
|
await this.loadMarkets();
|
|
@@ -1048,7 +1048,7 @@ export default class bittrex extends Exchange {
|
|
|
1048
1048
|
* @param {string} symbol unified market symbol
|
|
1049
1049
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1050
1050
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1051
|
-
* @param {object} [params] extra parameters specific to the
|
|
1051
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1052
1052
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1053
1053
|
*/
|
|
1054
1054
|
await this.loadMarkets();
|
|
@@ -1072,7 +1072,7 @@ export default class bittrex extends Exchange {
|
|
|
1072
1072
|
* @param {string} side 'buy' or 'sell'
|
|
1073
1073
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1074
1074
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1075
|
-
* @param {object} [params] extra parameters specific to the
|
|
1075
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1076
1076
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1077
1077
|
*/
|
|
1078
1078
|
// A ceiling order is a market or limit order that allows you to specify
|
|
@@ -1262,7 +1262,7 @@ export default class bittrex extends Exchange {
|
|
|
1262
1262
|
* @description cancels an open order
|
|
1263
1263
|
* @param {string} id order id
|
|
1264
1264
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1265
|
-
* @param {object} [params] extra parameters specific to the
|
|
1265
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1266
1266
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1267
1267
|
*/
|
|
1268
1268
|
await this.loadMarkets();
|
|
@@ -1343,7 +1343,7 @@ export default class bittrex extends Exchange {
|
|
|
1343
1343
|
* @name bittrex#cancelAllOrders
|
|
1344
1344
|
* @description cancel all open orders
|
|
1345
1345
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1346
|
-
* @param {object} [params] extra parameters specific to the
|
|
1346
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1347
1347
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1348
1348
|
*/
|
|
1349
1349
|
await this.loadMarkets();
|
|
@@ -1392,7 +1392,7 @@ export default class bittrex extends Exchange {
|
|
|
1392
1392
|
* @description fetch data on a currency deposit via the deposit id
|
|
1393
1393
|
* @param {string} id deposit id
|
|
1394
1394
|
* @param {string} code filter by currency code
|
|
1395
|
-
* @param {object} [params] extra parameters specific to the
|
|
1395
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1396
1396
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1397
1397
|
*/
|
|
1398
1398
|
await this.loadMarkets();
|
|
@@ -1415,7 +1415,7 @@ export default class bittrex extends Exchange {
|
|
|
1415
1415
|
* @param {string} code unified currency code
|
|
1416
1416
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1417
1417
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1418
|
-
* @param {object} [params] extra parameters specific to the
|
|
1418
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1419
1419
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1420
1420
|
* @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.
|
|
1421
1421
|
* @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.
|
|
@@ -1461,7 +1461,7 @@ export default class bittrex extends Exchange {
|
|
|
1461
1461
|
* @param {string} code unified currency code
|
|
1462
1462
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1463
1463
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1464
|
-
* @param {object} [params] extra parameters specific to the
|
|
1464
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1465
1465
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1466
1466
|
* @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.
|
|
1467
1467
|
* @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.
|
|
@@ -1477,7 +1477,7 @@ export default class bittrex extends Exchange {
|
|
|
1477
1477
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
1478
1478
|
* @param {string} id withdrawal id
|
|
1479
1479
|
* @param {string} code filter by currency code
|
|
1480
|
-
* @param {object} [params] extra parameters specific to the
|
|
1480
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1481
1481
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1482
1482
|
*/
|
|
1483
1483
|
await this.loadMarkets();
|
|
@@ -1500,7 +1500,7 @@ export default class bittrex extends Exchange {
|
|
|
1500
1500
|
* @param {string} code unified currency code
|
|
1501
1501
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1502
1502
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1503
|
-
* @param {object} [params] extra parameters specific to the
|
|
1503
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1504
1504
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1505
1505
|
* @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.
|
|
1506
1506
|
* @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.
|
|
@@ -1543,7 +1543,7 @@ export default class bittrex extends Exchange {
|
|
|
1543
1543
|
* @param {string} code unified currency code
|
|
1544
1544
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1545
1545
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1546
|
-
* @param {object} [params] extra parameters specific to the
|
|
1546
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1547
1547
|
* @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
|
|
1548
1548
|
* @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.
|
|
1549
1549
|
* @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.
|
|
@@ -1844,7 +1844,7 @@ export default class bittrex extends Exchange {
|
|
|
1844
1844
|
* @name bittrex#fetchOrder
|
|
1845
1845
|
* @description fetches information on an order made by the user
|
|
1846
1846
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1847
|
-
* @param {object} [params] extra parameters specific to the
|
|
1847
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1848
1848
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1849
1849
|
*/
|
|
1850
1850
|
await this.loadMarkets();
|
|
@@ -1887,7 +1887,7 @@ export default class bittrex extends Exchange {
|
|
|
1887
1887
|
* @param {string} symbol unified market symbol
|
|
1888
1888
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1889
1889
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1890
|
-
* @param {object} [params] extra parameters specific to the
|
|
1890
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1891
1891
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1892
1892
|
*/
|
|
1893
1893
|
await this.loadMarkets();
|
|
@@ -1914,7 +1914,7 @@ export default class bittrex extends Exchange {
|
|
|
1914
1914
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1915
1915
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1916
1916
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1917
|
-
* @param {object} [params] extra parameters specific to the
|
|
1917
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1918
1918
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1919
1919
|
*/
|
|
1920
1920
|
await this.loadMarkets();
|
|
@@ -1995,7 +1995,7 @@ export default class bittrex extends Exchange {
|
|
|
1995
1995
|
* @name bittrex#createDepositAddress
|
|
1996
1996
|
* @description create a currency deposit address
|
|
1997
1997
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1998
|
-
* @param {object} [params] extra parameters specific to the
|
|
1998
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1999
1999
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
2000
2000
|
*/
|
|
2001
2001
|
await this.loadMarkets();
|
|
@@ -2032,7 +2032,7 @@ export default class bittrex extends Exchange {
|
|
|
2032
2032
|
* @name bittrex#fetchDepositAddress
|
|
2033
2033
|
* @description fetch the deposit address for a currency associated with this account
|
|
2034
2034
|
* @param {string} code unified currency code
|
|
2035
|
-
* @param {object} [params] extra parameters specific to the
|
|
2035
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2036
2036
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
2037
2037
|
*/
|
|
2038
2038
|
await this.loadMarkets();
|
|
@@ -2103,7 +2103,7 @@ export default class bittrex extends Exchange {
|
|
|
2103
2103
|
* @name bittrex#fetchDepositWithdrawFees
|
|
2104
2104
|
* @description fetch deposit and withdraw fees
|
|
2105
2105
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2106
|
-
* @param {object} [params] extra parameters specific to the
|
|
2106
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2107
2107
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
2108
2108
|
*/
|
|
2109
2109
|
await this.loadMarkets();
|
|
@@ -2141,7 +2141,7 @@ export default class bittrex extends Exchange {
|
|
|
2141
2141
|
* @param {float} amount the amount to withdraw
|
|
2142
2142
|
* @param {string} address the address to withdraw to
|
|
2143
2143
|
* @param {string} tag
|
|
2144
|
-
* @param {object} [params] extra parameters specific to the
|
|
2144
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2145
2145
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2146
2146
|
*/
|
|
2147
2147
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|