ccxt 4.0.73 → 4.0.75
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 +11 -11
- package/dist/ccxt.browser.js +2058 -1943
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +9 -9
- package/dist/cjs/src/alpaca.js +6 -6
- package/dist/cjs/src/ascendex.js +22 -22
- package/dist/cjs/src/base/Exchange.js +2 -2
- package/dist/cjs/src/bigone.js +17 -17
- package/dist/cjs/src/binance.js +51 -51
- package/dist/cjs/src/bingx.js +25 -26
- package/dist/cjs/src/bit2c.js +10 -10
- package/dist/cjs/src/bitbank.js +11 -11
- package/dist/cjs/src/bitbns.js +12 -12
- package/dist/cjs/src/bitfinex.js +19 -19
- package/dist/cjs/src/bitfinex2.js +25 -25
- package/dist/cjs/src/bitflyer.js +15 -15
- package/dist/cjs/src/bitforex.js +9 -9
- package/dist/cjs/src/bitget.js +34 -34
- package/dist/cjs/src/bithumb.js +9 -9
- package/dist/cjs/src/bitmart.js +42 -29
- package/dist/cjs/src/bitmex.js +19 -19
- package/dist/cjs/src/bitopro.js +18 -18
- package/dist/cjs/src/bitpanda.js +19 -19
- package/dist/cjs/src/bitrue.js +15 -15
- package/dist/cjs/src/bitso.js +19 -19
- package/dist/cjs/src/bitstamp.js +19 -19
- package/dist/cjs/src/bitstamp1.js +6 -6
- package/dist/cjs/src/bittrex.js +24 -24
- package/dist/cjs/src/bitvavo.js +16 -16
- package/dist/cjs/src/bkex.js +17 -17
- package/dist/cjs/src/bl3p.js +6 -6
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/btcalpha.js +13 -13
- package/dist/cjs/src/btcbox.js +8 -8
- package/dist/cjs/src/btcmarkets.js +15 -15
- package/dist/cjs/src/btctradeua.js +6 -6
- package/dist/cjs/src/btcturk.js +9 -9
- package/dist/cjs/src/bybit.js +148 -116
- package/dist/cjs/src/cex.js +12 -12
- package/dist/cjs/src/coinbase.js +20 -20
- package/dist/cjs/src/coinbasepro.js +22 -22
- package/dist/cjs/src/coincheck.js +10 -10
- package/dist/cjs/src/coinex.js +81 -35
- package/dist/cjs/src/coinfalcon.js +14 -14
- package/dist/cjs/src/coinmate.js +12 -12
- package/dist/cjs/src/coinone.js +10 -10
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +6 -6
- package/dist/cjs/src/cryptocom.js +24 -24
- package/dist/cjs/src/currencycom.js +18 -18
- package/dist/cjs/src/delta.js +23 -23
- package/dist/cjs/src/deribit.js +27 -27
- package/dist/cjs/src/digifinex.js +27 -27
- package/dist/cjs/src/exmo.js +24 -24
- package/dist/cjs/src/gate.js +34 -34
- package/dist/cjs/src/gemini.js +14 -14
- package/dist/cjs/src/hitbtc.js +30 -30
- package/dist/cjs/src/hollaex.js +20 -20
- package/dist/cjs/src/huobi.js +40 -40
- package/dist/cjs/src/huobijp.js +18 -18
- package/dist/cjs/src/idex.js +17 -17
- package/dist/cjs/src/independentreserve.js +10 -10
- package/dist/cjs/src/indodax.js +12 -12
- package/dist/cjs/src/kraken.js +25 -25
- package/dist/cjs/src/krakenfutures.js +12 -12
- package/dist/cjs/src/kucoin.js +29 -29
- package/dist/cjs/src/kucoinfutures.js +19 -19
- package/dist/cjs/src/kuna.js +10 -10
- package/dist/cjs/src/latoken.js +15 -15
- package/dist/cjs/src/lbank.js +10 -10
- package/dist/cjs/src/lbank2.js +21 -21
- package/dist/cjs/src/luno.js +14 -14
- package/dist/cjs/src/lykke.js +14 -14
- package/dist/cjs/src/mercado.js +10 -10
- package/dist/cjs/src/mexc.js +38 -38
- package/dist/cjs/src/ndax.js +18 -18
- package/dist/cjs/src/novadax.js +18 -18
- package/dist/cjs/src/oceanex.js +14 -14
- package/dist/cjs/src/okcoin.js +19 -19
- package/dist/cjs/src/okx.js +48 -48
- package/dist/cjs/src/paymium.js +9 -9
- package/dist/cjs/src/phemex.js +24 -24
- package/dist/cjs/src/poloniex.js +77 -60
- package/dist/cjs/src/poloniexfutures.js +16 -16
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +2 -2
- package/dist/cjs/src/pro/binance.js +10 -10
- package/dist/cjs/src/pro/bitfinex.js +3 -3
- package/dist/cjs/src/pro/bitfinex2.js +4 -4
- package/dist/cjs/src/pro/bitget.js +4 -4
- package/dist/cjs/src/pro/bitmart.js +3 -3
- package/dist/cjs/src/pro/bitmex.js +4 -4
- package/dist/cjs/src/pro/bitopro.js +2 -2
- package/dist/cjs/src/pro/bitrue.js +1 -1
- package/dist/cjs/src/pro/bitstamp.js +2 -2
- package/dist/cjs/src/pro/bittrex.js +4 -4
- package/dist/cjs/src/pro/bitvavo.js +4 -4
- package/dist/cjs/src/pro/bybit.js +12 -11
- package/dist/cjs/src/pro/cex.js +3 -3
- package/dist/cjs/src/pro/coinbasepro.js +5 -5
- package/dist/cjs/src/pro/coinex.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +7 -7
- package/dist/cjs/src/pro/currencycom.js +2 -2
- package/dist/cjs/src/pro/deribit.js +3 -3
- package/dist/cjs/src/pro/exmo.js +2 -2
- package/dist/cjs/src/pro/gate.js +5 -5
- package/dist/cjs/src/pro/gemini.js +2 -2
- package/dist/cjs/src/pro/hitbtc.js +2 -2
- package/dist/cjs/src/pro/hollaex.js +3 -3
- package/dist/cjs/src/pro/huobi.js +4 -4
- package/dist/cjs/src/pro/huobijp.js +2 -2
- package/dist/cjs/src/pro/idex.js +3 -3
- package/dist/cjs/src/pro/independentreserve.js +1 -1
- package/dist/cjs/src/pro/kraken.js +6 -6
- package/dist/cjs/src/pro/krakenfutures.js +2 -2
- package/dist/cjs/src/pro/kucoin.js +4 -4
- package/dist/cjs/src/pro/kucoinfutures.js +3 -3
- package/dist/cjs/src/pro/luno.js +1 -1
- package/dist/cjs/src/pro/ndax.js +2 -2
- package/dist/cjs/src/pro/okcoin.js +3 -3
- package/dist/cjs/src/pro/okx.js +12 -11
- package/dist/cjs/src/pro/phemex.js +4 -4
- package/dist/cjs/src/pro/poloniex.js +1 -1
- package/dist/cjs/src/pro/upbit.js +2 -2
- package/dist/cjs/src/pro/wazirx.js +3 -3
- package/dist/cjs/src/pro/whitebit.js +4 -4
- package/dist/cjs/src/probit.js +17 -17
- package/dist/cjs/src/tidex.js +11 -11
- package/dist/cjs/src/timex.js +14 -14
- package/dist/cjs/src/tokocrypto.js +16 -16
- package/dist/cjs/src/upbit.js +18 -18
- package/dist/cjs/src/wavesexchange.js +13 -13
- package/dist/cjs/src/wazirx.js +10 -10
- package/dist/cjs/src/whitebit.js +21 -21
- package/dist/cjs/src/woo.js +28 -22
- package/dist/cjs/src/yobit.js +14 -14
- package/dist/cjs/src/zaif.js +8 -8
- package/dist/cjs/src/zonda.js +13 -13
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bitmart.d.ts +13 -0
- package/js/src/abstract/bybit.d.ts +33 -21
- package/js/src/abstract/woo.d.ts +6 -0
- package/js/src/ace.js +9 -9
- package/js/src/alpaca.js +6 -6
- package/js/src/ascendex.js +22 -22
- package/js/src/base/Exchange.js +2 -2
- package/js/src/bigone.js +17 -17
- package/js/src/binance.js +51 -51
- package/js/src/bingx.js +25 -26
- package/js/src/bit2c.js +10 -10
- package/js/src/bitbank.js +11 -11
- package/js/src/bitbns.js +12 -12
- package/js/src/bitfinex.js +19 -19
- package/js/src/bitfinex2.js +25 -25
- package/js/src/bitflyer.js +15 -15
- package/js/src/bitforex.js +9 -9
- package/js/src/bitget.js +34 -34
- package/js/src/bithumb.js +9 -9
- package/js/src/bitmart.js +42 -29
- package/js/src/bitmex.js +19 -19
- package/js/src/bitopro.js +18 -18
- package/js/src/bitpanda.js +19 -19
- package/js/src/bitrue.js +15 -15
- package/js/src/bitso.js +19 -19
- package/js/src/bitstamp.js +19 -19
- package/js/src/bitstamp1.js +6 -6
- package/js/src/bittrex.js +24 -24
- package/js/src/bitvavo.js +16 -16
- package/js/src/bkex.js +17 -17
- package/js/src/bl3p.js +6 -6
- package/js/src/blockchaincom.js +20 -20
- package/js/src/btcalpha.js +13 -13
- package/js/src/btcbox.js +8 -8
- package/js/src/btcmarkets.js +15 -15
- package/js/src/btctradeua.js +6 -6
- package/js/src/btcturk.js +9 -9
- package/js/src/bybit.js +148 -116
- package/js/src/cex.js +12 -12
- package/js/src/coinbase.js +20 -20
- package/js/src/coinbasepro.js +22 -22
- package/js/src/coincheck.js +10 -10
- package/js/src/coinex.d.ts +1 -0
- package/js/src/coinex.js +81 -35
- package/js/src/coinfalcon.js +14 -14
- package/js/src/coinmate.js +12 -12
- package/js/src/coinone.js +10 -10
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.js +6 -6
- package/js/src/cryptocom.js +24 -24
- package/js/src/currencycom.js +18 -18
- package/js/src/delta.js +23 -23
- package/js/src/deribit.js +27 -27
- package/js/src/digifinex.js +27 -27
- package/js/src/exmo.js +24 -24
- package/js/src/gate.js +34 -34
- package/js/src/gemini.js +14 -14
- package/js/src/hitbtc.js +30 -30
- package/js/src/hollaex.js +20 -20
- package/js/src/huobi.js +40 -40
- package/js/src/huobijp.js +18 -18
- package/js/src/idex.js +17 -17
- package/js/src/independentreserve.js +10 -10
- package/js/src/indodax.js +12 -12
- package/js/src/kraken.js +25 -25
- package/js/src/krakenfutures.js +12 -12
- package/js/src/kucoin.js +29 -29
- package/js/src/kucoinfutures.js +19 -19
- package/js/src/kuna.js +10 -10
- package/js/src/latoken.js +15 -15
- package/js/src/lbank.js +10 -10
- package/js/src/lbank2.js +21 -21
- package/js/src/luno.js +14 -14
- package/js/src/lykke.js +14 -14
- package/js/src/mercado.js +10 -10
- package/js/src/mexc.js +38 -38
- package/js/src/ndax.js +18 -18
- package/js/src/novadax.js +18 -18
- package/js/src/oceanex.js +14 -14
- package/js/src/okcoin.js +19 -19
- package/js/src/okx.js +48 -48
- package/js/src/paymium.js +9 -9
- package/js/src/phemex.js +24 -24
- package/js/src/poloniex.js +77 -60
- package/js/src/poloniexfutures.js +16 -16
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/ascendex.js +2 -2
- package/js/src/pro/binance.js +10 -10
- package/js/src/pro/bitfinex.js +3 -3
- package/js/src/pro/bitfinex2.js +4 -4
- package/js/src/pro/bitget.js +4 -4
- package/js/src/pro/bitmart.js +3 -3
- package/js/src/pro/bitmex.js +4 -4
- package/js/src/pro/bitopro.js +2 -2
- package/js/src/pro/bitrue.js +1 -1
- package/js/src/pro/bitstamp.js +2 -2
- package/js/src/pro/bittrex.js +4 -4
- package/js/src/pro/bitvavo.js +4 -4
- package/js/src/pro/bybit.d.ts +1 -1
- package/js/src/pro/bybit.js +12 -11
- package/js/src/pro/cex.js +3 -3
- package/js/src/pro/coinbasepro.js +5 -5
- package/js/src/pro/coinex.js +3 -3
- package/js/src/pro/cryptocom.js +7 -7
- package/js/src/pro/currencycom.js +2 -2
- package/js/src/pro/deribit.js +3 -3
- package/js/src/pro/exmo.js +2 -2
- package/js/src/pro/gate.js +5 -5
- package/js/src/pro/gemini.js +2 -2
- package/js/src/pro/hitbtc.js +2 -2
- package/js/src/pro/hollaex.js +3 -3
- package/js/src/pro/huobi.js +4 -4
- package/js/src/pro/huobijp.js +2 -2
- package/js/src/pro/idex.js +3 -3
- package/js/src/pro/independentreserve.js +1 -1
- package/js/src/pro/kraken.js +6 -6
- package/js/src/pro/krakenfutures.js +2 -2
- package/js/src/pro/kucoin.js +4 -4
- package/js/src/pro/kucoinfutures.js +3 -3
- package/js/src/pro/luno.js +1 -1
- package/js/src/pro/ndax.js +2 -2
- package/js/src/pro/okcoin.js +3 -3
- package/js/src/pro/okx.d.ts +1 -1
- package/js/src/pro/okx.js +12 -11
- package/js/src/pro/phemex.js +4 -4
- package/js/src/pro/poloniex.js +1 -1
- package/js/src/pro/upbit.js +2 -2
- package/js/src/pro/wazirx.js +3 -3
- package/js/src/pro/whitebit.js +4 -4
- package/js/src/probit.js +17 -17
- package/js/src/tidex.js +11 -11
- package/js/src/timex.js +14 -14
- package/js/src/tokocrypto.js +16 -16
- package/js/src/upbit.js +18 -18
- package/js/src/wavesexchange.js +13 -13
- package/js/src/wazirx.js +10 -10
- package/js/src/whitebit.js +21 -21
- package/js/src/woo.js +28 -22
- package/js/src/yobit.js +14 -14
- package/js/src/zaif.js +8 -8
- package/js/src/zonda.js +13 -13
- package/package.json +1 -1
package/dist/cjs/src/hitbtc.js
CHANGED
|
@@ -864,7 +864,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
864
864
|
* @description create a currency deposit address
|
|
865
865
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
866
866
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
867
|
-
* @returns {object} an [address structure]{@link https://
|
|
867
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
868
868
|
*/
|
|
869
869
|
await this.loadMarkets();
|
|
870
870
|
const currency = this.currency(code);
|
|
@@ -900,7 +900,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
900
900
|
* @description fetch the deposit address for a currency associated with this account
|
|
901
901
|
* @param {string} code unified currency code
|
|
902
902
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
903
|
-
* @returns {object} an [address structure]{@link https://
|
|
903
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
904
904
|
*/
|
|
905
905
|
await this.loadMarkets();
|
|
906
906
|
const currency = this.currency(code);
|
|
@@ -993,7 +993,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
993
993
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
994
994
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
995
995
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
996
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
996
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
997
997
|
*/
|
|
998
998
|
const response = await this.fetchTickers([symbol], params);
|
|
999
999
|
return this.safeValue(response, symbol);
|
|
@@ -1005,7 +1005,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1005
1005
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
1006
1006
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1007
1007
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1008
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
1008
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
1009
1009
|
*/
|
|
1010
1010
|
await this.loadMarkets();
|
|
1011
1011
|
symbols = this.marketSymbols(symbols);
|
|
@@ -1133,7 +1133,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1133
1133
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1134
1134
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1135
1135
|
* @param {bool} [params.margin] true for fetching margin trades
|
|
1136
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1136
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1137
1137
|
*/
|
|
1138
1138
|
await this.loadMarkets();
|
|
1139
1139
|
let market = undefined;
|
|
@@ -1411,7 +1411,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1411
1411
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1412
1412
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1413
1413
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1414
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
1414
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1415
1415
|
*/
|
|
1416
1416
|
return await this.fetchTransactionsHelper('DEPOSIT,WITHDRAW', code, since, limit, params);
|
|
1417
1417
|
}
|
|
@@ -1424,7 +1424,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1424
1424
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1425
1425
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1426
1426
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1427
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1427
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1428
1428
|
*/
|
|
1429
1429
|
return await this.fetchTransactionsHelper('DEPOSIT', code, since, limit, params);
|
|
1430
1430
|
}
|
|
@@ -1437,7 +1437,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1437
1437
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1438
1438
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1439
1439
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1440
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1440
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1441
1441
|
*/
|
|
1442
1442
|
return await this.fetchTransactionsHelper('WITHDRAW', code, since, limit, params);
|
|
1443
1443
|
}
|
|
@@ -1449,7 +1449,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1449
1449
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
1450
1450
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
1451
1451
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1452
|
-
* @returns {object} a dictionary of [order book structures]{@link https://
|
|
1452
|
+
* @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
|
|
1453
1453
|
*/
|
|
1454
1454
|
await this.loadMarkets();
|
|
1455
1455
|
const request = {};
|
|
@@ -1480,7 +1480,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1480
1480
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1481
1481
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
1482
1482
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1483
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
1483
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
1484
1484
|
*/
|
|
1485
1485
|
const result = await this.fetchOrderBooks([symbol], limit, params);
|
|
1486
1486
|
return result[symbol];
|
|
@@ -1511,7 +1511,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1511
1511
|
* @description fetch the trading fees for a market
|
|
1512
1512
|
* @param {string} symbol unified market symbol
|
|
1513
1513
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1514
|
-
* @returns {object} a [fee structure]{@link https://
|
|
1514
|
+
* @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1515
1515
|
*/
|
|
1516
1516
|
await this.loadMarkets();
|
|
1517
1517
|
const market = this.market(symbol);
|
|
@@ -1537,7 +1537,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1537
1537
|
* @name hitbtc#fetchTradingFees
|
|
1538
1538
|
* @description fetch the trading fees for multiple markets
|
|
1539
1539
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1540
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
1540
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
1541
1541
|
*/
|
|
1542
1542
|
await this.loadMarkets();
|
|
1543
1543
|
const [marketType, query] = this.handleMarketTypeAndParams('fetchTradingFees', undefined, params);
|
|
@@ -1678,7 +1678,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1678
1678
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1679
1679
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1680
1680
|
* @param {bool} [params.margin] true for fetching margin orders
|
|
1681
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1681
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1682
1682
|
*/
|
|
1683
1683
|
await this.loadMarkets();
|
|
1684
1684
|
let market = undefined;
|
|
@@ -1717,7 +1717,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1717
1717
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1718
1718
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1719
1719
|
* @param {bool} [params.margin] true for fetching a margin order
|
|
1720
|
-
* @returns {object} An [order structure]{@link https://
|
|
1720
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1721
1721
|
*/
|
|
1722
1722
|
await this.loadMarkets();
|
|
1723
1723
|
let market = undefined;
|
|
@@ -1773,7 +1773,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1773
1773
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1774
1774
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1775
1775
|
* @param {bool} [params.margin] true for fetching margin trades
|
|
1776
|
-
* @returns {object[]} a list of [trade structures]{@link https://
|
|
1776
|
+
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1777
1777
|
*/
|
|
1778
1778
|
await this.loadMarkets();
|
|
1779
1779
|
let market = undefined;
|
|
@@ -1846,7 +1846,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1846
1846
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1847
1847
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1848
1848
|
* @param {bool} [params.margin] true for fetching open margin orders
|
|
1849
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1849
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1850
1850
|
*/
|
|
1851
1851
|
await this.loadMarkets();
|
|
1852
1852
|
let market = undefined;
|
|
@@ -1898,7 +1898,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1898
1898
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1899
1899
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1900
1900
|
* @param {bool} [params.margin] true for fetching an open margin order
|
|
1901
|
-
* @returns {object} an [order structure]{@link https://
|
|
1901
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1902
1902
|
*/
|
|
1903
1903
|
await this.loadMarkets();
|
|
1904
1904
|
let market = undefined;
|
|
@@ -1931,7 +1931,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1931
1931
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1932
1932
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1933
1933
|
* @param {bool} [params.margin] true for canceling margin orders
|
|
1934
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
1934
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1935
1935
|
*/
|
|
1936
1936
|
await this.loadMarkets();
|
|
1937
1937
|
let market = undefined;
|
|
@@ -1964,7 +1964,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1964
1964
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1965
1965
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1966
1966
|
* @param {bool} [params.margin] true for canceling a margin order
|
|
1967
|
-
* @returns {object} An [order structure]{@link https://
|
|
1967
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1968
1968
|
*/
|
|
1969
1969
|
await this.loadMarkets();
|
|
1970
1970
|
let market = undefined;
|
|
@@ -2030,12 +2030,12 @@ class hitbtc extends hitbtc$1 {
|
|
|
2030
2030
|
* @param {string} type 'market' or 'limit'
|
|
2031
2031
|
* @param {string} side 'buy' or 'sell'
|
|
2032
2032
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2033
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
2033
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
2034
2034
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2035
2035
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2036
2036
|
* @param {bool} [params.margin] true for creating a margin order
|
|
2037
2037
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
2038
|
-
* @returns {object} an [order structure]{@link https://
|
|
2038
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2039
2039
|
*/
|
|
2040
2040
|
await this.loadMarkets();
|
|
2041
2041
|
const market = this.market(symbol);
|
|
@@ -2248,7 +2248,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2248
2248
|
* @param {string} fromAccount account to transfer from
|
|
2249
2249
|
* @param {string} toAccount account to transfer to
|
|
2250
2250
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2251
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
2251
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
2252
2252
|
*/
|
|
2253
2253
|
// account can be "spot", "wallet", or "derivatives"
|
|
2254
2254
|
await this.loadMarkets();
|
|
@@ -2335,7 +2335,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2335
2335
|
* @param {string} address the address to withdraw to
|
|
2336
2336
|
* @param {string} tag
|
|
2337
2337
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2338
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
2338
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
2339
2339
|
*/
|
|
2340
2340
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
2341
2341
|
await this.loadMarkets();
|
|
@@ -2452,7 +2452,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2452
2452
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2453
2453
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2454
2454
|
* @param {bool} [params.margin] true for fetching spot-margin positions
|
|
2455
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
2455
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
2456
2456
|
*/
|
|
2457
2457
|
await this.loadMarkets();
|
|
2458
2458
|
const request = {};
|
|
@@ -2514,7 +2514,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2514
2514
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2515
2515
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2516
2516
|
* @param {bool} [params.margin] true for fetching a spot-margin position
|
|
2517
|
-
* @returns {object} a [position structure]{@link https://
|
|
2517
|
+
* @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
2518
2518
|
*/
|
|
2519
2519
|
await this.loadMarkets();
|
|
2520
2520
|
let marketType = undefined;
|
|
@@ -2659,7 +2659,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2659
2659
|
* @description fetch the current funding rate
|
|
2660
2660
|
* @param {string} symbol unified market symbol
|
|
2661
2661
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2662
|
-
* @returns {object} a [funding rate structure]{@link https://
|
|
2662
|
+
* @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
|
|
2663
2663
|
*/
|
|
2664
2664
|
await this.loadMarkets();
|
|
2665
2665
|
const market = this.market(symbol);
|
|
@@ -2805,7 +2805,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2805
2805
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2806
2806
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2807
2807
|
* @param {bool} [params.margin] true for reducing spot-margin
|
|
2808
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2808
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
|
|
2809
2809
|
*/
|
|
2810
2810
|
if (amount !== 0) {
|
|
2811
2811
|
throw new errors.BadRequest(this.id + ' reduceMargin() on hitbtc requires the amount to be 0 and that will remove the entire margin amount');
|
|
@@ -2822,7 +2822,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2822
2822
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2823
2823
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2824
2824
|
* @param {bool} [params.margin] true for adding spot-margin
|
|
2825
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2825
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
|
|
2826
2826
|
*/
|
|
2827
2827
|
return await this.modifyMarginHelper(symbol, amount, 'add', params);
|
|
2828
2828
|
}
|
|
@@ -2835,7 +2835,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2835
2835
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2836
2836
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2837
2837
|
* @param {bool} [params.margin] true for fetching spot-margin leverage
|
|
2838
|
-
* @returns {object} a [leverage structure]{@link https://
|
|
2838
|
+
* @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
|
|
2839
2839
|
*/
|
|
2840
2840
|
await this.loadMarkets();
|
|
2841
2841
|
const market = this.market(symbol);
|
|
@@ -2926,7 +2926,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
2926
2926
|
* @see https://api.hitbtc.com/#currencies
|
|
2927
2927
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2928
2928
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2929
|
-
* @returns {object[]} a list of [fees structures]{@link https://
|
|
2929
|
+
* @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2930
2930
|
*/
|
|
2931
2931
|
await this.loadMarkets();
|
|
2932
2932
|
const response = await this.publicGetPublicCurrency(params);
|
package/dist/cjs/src/hollaex.js
CHANGED
|
@@ -411,7 +411,7 @@ class hollaex extends hollaex$1 {
|
|
|
411
411
|
* @param {string[]|undefined} symbols not used by hollaex fetchOrderBooks ()
|
|
412
412
|
* @param {int} [limit] not used by hollaex fetchOrderBooks ()
|
|
413
413
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
414
|
-
* @returns {object} a dictionary of [order book structures]{@link https://
|
|
414
|
+
* @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
|
|
415
415
|
*/
|
|
416
416
|
await this.loadMarkets();
|
|
417
417
|
const response = await this.publicGetOrderbooks(params);
|
|
@@ -434,7 +434,7 @@ class hollaex extends hollaex$1 {
|
|
|
434
434
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
435
435
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
436
436
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
437
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
437
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
438
438
|
*/
|
|
439
439
|
await this.loadMarkets();
|
|
440
440
|
const market = this.market(symbol);
|
|
@@ -472,7 +472,7 @@ class hollaex extends hollaex$1 {
|
|
|
472
472
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
473
473
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
474
474
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
475
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
475
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
476
476
|
*/
|
|
477
477
|
await this.loadMarkets();
|
|
478
478
|
const market = this.market(symbol);
|
|
@@ -500,7 +500,7 @@ class hollaex extends hollaex$1 {
|
|
|
500
500
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
501
501
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
502
502
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
503
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
503
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
504
504
|
*/
|
|
505
505
|
await this.loadMarkets();
|
|
506
506
|
symbols = this.marketSymbols(symbols);
|
|
@@ -684,7 +684,7 @@ class hollaex extends hollaex$1 {
|
|
|
684
684
|
* @name hollaex#fetchTradingFees
|
|
685
685
|
* @description fetch the trading fees for multiple markets
|
|
686
686
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
687
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
687
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
688
688
|
*/
|
|
689
689
|
await this.loadMarkets();
|
|
690
690
|
const response = await this.publicGetTiers(params);
|
|
@@ -863,7 +863,7 @@ class hollaex extends hollaex$1 {
|
|
|
863
863
|
* @param {string} id order id
|
|
864
864
|
* @param {string} symbol not used by hollaex fetchOpenOrder ()
|
|
865
865
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
866
|
-
* @returns {object} an [order structure]{@link https://
|
|
866
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
867
867
|
*/
|
|
868
868
|
await this.loadMarkets();
|
|
869
869
|
const request = {
|
|
@@ -905,7 +905,7 @@ class hollaex extends hollaex$1 {
|
|
|
905
905
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
906
906
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
907
907
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
908
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
908
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
909
909
|
*/
|
|
910
910
|
const request = {
|
|
911
911
|
'open': true,
|
|
@@ -921,7 +921,7 @@ class hollaex extends hollaex$1 {
|
|
|
921
921
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
922
922
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
923
923
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
924
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
924
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
925
925
|
*/
|
|
926
926
|
const request = {
|
|
927
927
|
'open': false,
|
|
@@ -935,7 +935,7 @@ class hollaex extends hollaex$1 {
|
|
|
935
935
|
* @description fetches information on an order made by the user
|
|
936
936
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
937
937
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
938
|
-
* @returns {object} An [order structure]{@link https://
|
|
938
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
939
939
|
*/
|
|
940
940
|
await this.loadMarkets();
|
|
941
941
|
const request = {
|
|
@@ -979,7 +979,7 @@ class hollaex extends hollaex$1 {
|
|
|
979
979
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
980
980
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
981
981
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
982
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
982
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
983
983
|
*/
|
|
984
984
|
await this.loadMarkets();
|
|
985
985
|
let market = undefined;
|
|
@@ -1123,9 +1123,9 @@ class hollaex extends hollaex$1 {
|
|
|
1123
1123
|
* @param {string} type 'market' or 'limit'
|
|
1124
1124
|
* @param {string} side 'buy' or 'sell'
|
|
1125
1125
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1126
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1126
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1127
1127
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1128
|
-
* @returns {object} an [order structure]{@link https://
|
|
1128
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1129
1129
|
*/
|
|
1130
1130
|
await this.loadMarkets();
|
|
1131
1131
|
const market = this.market(symbol);
|
|
@@ -1188,7 +1188,7 @@ class hollaex extends hollaex$1 {
|
|
|
1188
1188
|
* @param {string} id order id
|
|
1189
1189
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1190
1190
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1191
|
-
* @returns {object} An [order structure]{@link https://
|
|
1191
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1192
1192
|
*/
|
|
1193
1193
|
await this.loadMarkets();
|
|
1194
1194
|
const request = {
|
|
@@ -1217,7 +1217,7 @@ class hollaex extends hollaex$1 {
|
|
|
1217
1217
|
* @description cancel all open orders in a market
|
|
1218
1218
|
* @param {string} symbol unified market symbol of the market to cancel orders in
|
|
1219
1219
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1220
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
1220
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1221
1221
|
*/
|
|
1222
1222
|
if (symbol === undefined) {
|
|
1223
1223
|
throw new errors.ArgumentsRequired(this.id + " cancelAllOrders() requires a 'symbol' argument");
|
|
@@ -1254,7 +1254,7 @@ class hollaex extends hollaex$1 {
|
|
|
1254
1254
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1255
1255
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1256
1256
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1257
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1257
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1258
1258
|
*/
|
|
1259
1259
|
await this.loadMarkets();
|
|
1260
1260
|
const request = {
|
|
@@ -1333,7 +1333,7 @@ class hollaex extends hollaex$1 {
|
|
|
1333
1333
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1334
1334
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
1335
1335
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1336
|
-
* @returns {object} a list of [address structures]{@link https://
|
|
1336
|
+
* @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1337
1337
|
*/
|
|
1338
1338
|
await this.loadMarkets();
|
|
1339
1339
|
const network = this.safeString(params, 'network');
|
|
@@ -1397,7 +1397,7 @@ class hollaex extends hollaex$1 {
|
|
|
1397
1397
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1398
1398
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1399
1399
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1400
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1400
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1401
1401
|
*/
|
|
1402
1402
|
await this.loadMarkets();
|
|
1403
1403
|
const request = {
|
|
@@ -1455,7 +1455,7 @@ class hollaex extends hollaex$1 {
|
|
|
1455
1455
|
* @param {string} id withdrawal id
|
|
1456
1456
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
1457
1457
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1458
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1458
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1459
1459
|
*/
|
|
1460
1460
|
await this.loadMarkets();
|
|
1461
1461
|
const request = {
|
|
@@ -1503,7 +1503,7 @@ class hollaex extends hollaex$1 {
|
|
|
1503
1503
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1504
1504
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1505
1505
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1506
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1506
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1507
1507
|
*/
|
|
1508
1508
|
await this.loadMarkets();
|
|
1509
1509
|
const request = {
|
|
@@ -1662,7 +1662,7 @@ class hollaex extends hollaex$1 {
|
|
|
1662
1662
|
* @param {string} address the address to withdraw to
|
|
1663
1663
|
* @param {string} tag
|
|
1664
1664
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1665
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1665
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1666
1666
|
*/
|
|
1667
1667
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1668
1668
|
this.checkAddress(address);
|