ccxt 4.0.74 → 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 +4 -4
- package/dist/ccxt.browser.js +2047 -1932
- 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 +21 -21
- 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 +5 -5
- 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 +21 -21
- 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.js +5 -5
- 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/js/src/hitbtc.js
CHANGED
|
@@ -867,7 +867,7 @@ export default class hitbtc extends Exchange {
|
|
|
867
867
|
* @description create a currency deposit address
|
|
868
868
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
869
869
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
870
|
-
* @returns {object} an [address structure]{@link https://
|
|
870
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
871
871
|
*/
|
|
872
872
|
await this.loadMarkets();
|
|
873
873
|
const currency = this.currency(code);
|
|
@@ -903,7 +903,7 @@ export default class hitbtc extends Exchange {
|
|
|
903
903
|
* @description fetch the deposit address for a currency associated with this account
|
|
904
904
|
* @param {string} code unified currency code
|
|
905
905
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
906
|
-
* @returns {object} an [address structure]{@link https://
|
|
906
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
907
907
|
*/
|
|
908
908
|
await this.loadMarkets();
|
|
909
909
|
const currency = this.currency(code);
|
|
@@ -996,7 +996,7 @@ export default class hitbtc extends Exchange {
|
|
|
996
996
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
997
997
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
998
998
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
999
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
999
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
1000
1000
|
*/
|
|
1001
1001
|
const response = await this.fetchTickers([symbol], params);
|
|
1002
1002
|
return this.safeValue(response, symbol);
|
|
@@ -1008,7 +1008,7 @@ export default class hitbtc extends Exchange {
|
|
|
1008
1008
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
1009
1009
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1010
1010
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1011
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
1011
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
1012
1012
|
*/
|
|
1013
1013
|
await this.loadMarkets();
|
|
1014
1014
|
symbols = this.marketSymbols(symbols);
|
|
@@ -1136,7 +1136,7 @@ export default class hitbtc extends Exchange {
|
|
|
1136
1136
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1137
1137
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1138
1138
|
* @param {bool} [params.margin] true for fetching margin trades
|
|
1139
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1139
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1140
1140
|
*/
|
|
1141
1141
|
await this.loadMarkets();
|
|
1142
1142
|
let market = undefined;
|
|
@@ -1414,7 +1414,7 @@ export default class hitbtc extends Exchange {
|
|
|
1414
1414
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1415
1415
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1416
1416
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1417
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
1417
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1418
1418
|
*/
|
|
1419
1419
|
return await this.fetchTransactionsHelper('DEPOSIT,WITHDRAW', code, since, limit, params);
|
|
1420
1420
|
}
|
|
@@ -1427,7 +1427,7 @@ export default class hitbtc extends Exchange {
|
|
|
1427
1427
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1428
1428
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1429
1429
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1430
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1430
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1431
1431
|
*/
|
|
1432
1432
|
return await this.fetchTransactionsHelper('DEPOSIT', code, since, limit, params);
|
|
1433
1433
|
}
|
|
@@ -1440,7 +1440,7 @@ export default class hitbtc extends Exchange {
|
|
|
1440
1440
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1441
1441
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1442
1442
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1443
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1443
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1444
1444
|
*/
|
|
1445
1445
|
return await this.fetchTransactionsHelper('WITHDRAW', code, since, limit, params);
|
|
1446
1446
|
}
|
|
@@ -1452,7 +1452,7 @@ export default class hitbtc extends Exchange {
|
|
|
1452
1452
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
1453
1453
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
1454
1454
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1455
|
-
* @returns {object} a dictionary of [order book structures]{@link https://
|
|
1455
|
+
* @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
|
|
1456
1456
|
*/
|
|
1457
1457
|
await this.loadMarkets();
|
|
1458
1458
|
const request = {};
|
|
@@ -1483,7 +1483,7 @@ export default class hitbtc extends Exchange {
|
|
|
1483
1483
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1484
1484
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
1485
1485
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1486
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
1486
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
1487
1487
|
*/
|
|
1488
1488
|
const result = await this.fetchOrderBooks([symbol], limit, params);
|
|
1489
1489
|
return result[symbol];
|
|
@@ -1514,7 +1514,7 @@ export default class hitbtc extends Exchange {
|
|
|
1514
1514
|
* @description fetch the trading fees for a market
|
|
1515
1515
|
* @param {string} symbol unified market symbol
|
|
1516
1516
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1517
|
-
* @returns {object} a [fee structure]{@link https://
|
|
1517
|
+
* @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1518
1518
|
*/
|
|
1519
1519
|
await this.loadMarkets();
|
|
1520
1520
|
const market = this.market(symbol);
|
|
@@ -1540,7 +1540,7 @@ export default class hitbtc extends Exchange {
|
|
|
1540
1540
|
* @name hitbtc#fetchTradingFees
|
|
1541
1541
|
* @description fetch the trading fees for multiple markets
|
|
1542
1542
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1543
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
1543
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
1544
1544
|
*/
|
|
1545
1545
|
await this.loadMarkets();
|
|
1546
1546
|
const [marketType, query] = this.handleMarketTypeAndParams('fetchTradingFees', undefined, params);
|
|
@@ -1681,7 +1681,7 @@ export default class hitbtc extends Exchange {
|
|
|
1681
1681
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1682
1682
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1683
1683
|
* @param {bool} [params.margin] true for fetching margin orders
|
|
1684
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1684
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1685
1685
|
*/
|
|
1686
1686
|
await this.loadMarkets();
|
|
1687
1687
|
let market = undefined;
|
|
@@ -1720,7 +1720,7 @@ export default class hitbtc extends Exchange {
|
|
|
1720
1720
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1721
1721
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1722
1722
|
* @param {bool} [params.margin] true for fetching a margin order
|
|
1723
|
-
* @returns {object} An [order structure]{@link https://
|
|
1723
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1724
1724
|
*/
|
|
1725
1725
|
await this.loadMarkets();
|
|
1726
1726
|
let market = undefined;
|
|
@@ -1776,7 +1776,7 @@ export default class hitbtc extends Exchange {
|
|
|
1776
1776
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1777
1777
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1778
1778
|
* @param {bool} [params.margin] true for fetching margin trades
|
|
1779
|
-
* @returns {object[]} a list of [trade structures]{@link https://
|
|
1779
|
+
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1780
1780
|
*/
|
|
1781
1781
|
await this.loadMarkets();
|
|
1782
1782
|
let market = undefined;
|
|
@@ -1849,7 +1849,7 @@ export default class hitbtc extends Exchange {
|
|
|
1849
1849
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1850
1850
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1851
1851
|
* @param {bool} [params.margin] true for fetching open margin orders
|
|
1852
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1852
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1853
1853
|
*/
|
|
1854
1854
|
await this.loadMarkets();
|
|
1855
1855
|
let market = undefined;
|
|
@@ -1901,7 +1901,7 @@ export default class hitbtc extends Exchange {
|
|
|
1901
1901
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1902
1902
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1903
1903
|
* @param {bool} [params.margin] true for fetching an open margin order
|
|
1904
|
-
* @returns {object} an [order structure]{@link https://
|
|
1904
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1905
1905
|
*/
|
|
1906
1906
|
await this.loadMarkets();
|
|
1907
1907
|
let market = undefined;
|
|
@@ -1934,7 +1934,7 @@ export default class hitbtc extends Exchange {
|
|
|
1934
1934
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1935
1935
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1936
1936
|
* @param {bool} [params.margin] true for canceling margin orders
|
|
1937
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
1937
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1938
1938
|
*/
|
|
1939
1939
|
await this.loadMarkets();
|
|
1940
1940
|
let market = undefined;
|
|
@@ -1967,7 +1967,7 @@ export default class hitbtc extends Exchange {
|
|
|
1967
1967
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1968
1968
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1969
1969
|
* @param {bool} [params.margin] true for canceling a margin order
|
|
1970
|
-
* @returns {object} An [order structure]{@link https://
|
|
1970
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1971
1971
|
*/
|
|
1972
1972
|
await this.loadMarkets();
|
|
1973
1973
|
let market = undefined;
|
|
@@ -2033,12 +2033,12 @@ export default class hitbtc extends Exchange {
|
|
|
2033
2033
|
* @param {string} type 'market' or 'limit'
|
|
2034
2034
|
* @param {string} side 'buy' or 'sell'
|
|
2035
2035
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2036
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
2036
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
2037
2037
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2038
2038
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2039
2039
|
* @param {bool} [params.margin] true for creating a margin order
|
|
2040
2040
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
2041
|
-
* @returns {object} an [order structure]{@link https://
|
|
2041
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2042
2042
|
*/
|
|
2043
2043
|
await this.loadMarkets();
|
|
2044
2044
|
const market = this.market(symbol);
|
|
@@ -2251,7 +2251,7 @@ export default class hitbtc extends Exchange {
|
|
|
2251
2251
|
* @param {string} fromAccount account to transfer from
|
|
2252
2252
|
* @param {string} toAccount account to transfer to
|
|
2253
2253
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2254
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
2254
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
2255
2255
|
*/
|
|
2256
2256
|
// account can be "spot", "wallet", or "derivatives"
|
|
2257
2257
|
await this.loadMarkets();
|
|
@@ -2338,7 +2338,7 @@ export default class hitbtc extends Exchange {
|
|
|
2338
2338
|
* @param {string} address the address to withdraw to
|
|
2339
2339
|
* @param {string} tag
|
|
2340
2340
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2341
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
2341
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
2342
2342
|
*/
|
|
2343
2343
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
2344
2344
|
await this.loadMarkets();
|
|
@@ -2455,7 +2455,7 @@ export default class hitbtc extends Exchange {
|
|
|
2455
2455
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2456
2456
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2457
2457
|
* @param {bool} [params.margin] true for fetching spot-margin positions
|
|
2458
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
2458
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
2459
2459
|
*/
|
|
2460
2460
|
await this.loadMarkets();
|
|
2461
2461
|
const request = {};
|
|
@@ -2517,7 +2517,7 @@ export default class hitbtc extends Exchange {
|
|
|
2517
2517
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2518
2518
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if this is set
|
|
2519
2519
|
* @param {bool} [params.margin] true for fetching a spot-margin position
|
|
2520
|
-
* @returns {object} a [position structure]{@link https://
|
|
2520
|
+
* @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
2521
2521
|
*/
|
|
2522
2522
|
await this.loadMarkets();
|
|
2523
2523
|
let marketType = undefined;
|
|
@@ -2662,7 +2662,7 @@ export default class hitbtc extends Exchange {
|
|
|
2662
2662
|
* @description fetch the current funding rate
|
|
2663
2663
|
* @param {string} symbol unified market symbol
|
|
2664
2664
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2665
|
-
* @returns {object} a [funding rate structure]{@link https://
|
|
2665
|
+
* @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
|
|
2666
2666
|
*/
|
|
2667
2667
|
await this.loadMarkets();
|
|
2668
2668
|
const market = this.market(symbol);
|
|
@@ -2808,7 +2808,7 @@ export default class hitbtc extends Exchange {
|
|
|
2808
2808
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2809
2809
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2810
2810
|
* @param {bool} [params.margin] true for reducing spot-margin
|
|
2811
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2811
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
|
|
2812
2812
|
*/
|
|
2813
2813
|
if (amount !== 0) {
|
|
2814
2814
|
throw new BadRequest(this.id + ' reduceMargin() on hitbtc requires the amount to be 0 and that will remove the entire margin amount');
|
|
@@ -2825,7 +2825,7 @@ export default class hitbtc extends Exchange {
|
|
|
2825
2825
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2826
2826
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2827
2827
|
* @param {bool} [params.margin] true for adding spot-margin
|
|
2828
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2828
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
|
|
2829
2829
|
*/
|
|
2830
2830
|
return await this.modifyMarginHelper(symbol, amount, 'add', params);
|
|
2831
2831
|
}
|
|
@@ -2838,7 +2838,7 @@ export default class hitbtc extends Exchange {
|
|
|
2838
2838
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2839
2839
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported, defaults to the spot-margin endpoint if this is set
|
|
2840
2840
|
* @param {bool} [params.margin] true for fetching spot-margin leverage
|
|
2841
|
-
* @returns {object} a [leverage structure]{@link https://
|
|
2841
|
+
* @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
|
|
2842
2842
|
*/
|
|
2843
2843
|
await this.loadMarkets();
|
|
2844
2844
|
const market = this.market(symbol);
|
|
@@ -2929,7 +2929,7 @@ export default class hitbtc extends Exchange {
|
|
|
2929
2929
|
* @see https://api.hitbtc.com/#currencies
|
|
2930
2930
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2931
2931
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2932
|
-
* @returns {object[]} a list of [fees structures]{@link https://
|
|
2932
|
+
* @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2933
2933
|
*/
|
|
2934
2934
|
await this.loadMarkets();
|
|
2935
2935
|
const response = await this.publicGetPublicCurrency(params);
|
package/js/src/hollaex.js
CHANGED
|
@@ -414,7 +414,7 @@ export default class hollaex extends Exchange {
|
|
|
414
414
|
* @param {string[]|undefined} symbols not used by hollaex fetchOrderBooks ()
|
|
415
415
|
* @param {int} [limit] not used by hollaex fetchOrderBooks ()
|
|
416
416
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
417
|
-
* @returns {object} a dictionary of [order book structures]{@link https://
|
|
417
|
+
* @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
|
|
418
418
|
*/
|
|
419
419
|
await this.loadMarkets();
|
|
420
420
|
const response = await this.publicGetOrderbooks(params);
|
|
@@ -437,7 +437,7 @@ export default class hollaex extends Exchange {
|
|
|
437
437
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
438
438
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
439
439
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
440
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
440
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
441
441
|
*/
|
|
442
442
|
await this.loadMarkets();
|
|
443
443
|
const market = this.market(symbol);
|
|
@@ -475,7 +475,7 @@ export default class hollaex extends Exchange {
|
|
|
475
475
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
476
476
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
477
477
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
478
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
478
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
479
479
|
*/
|
|
480
480
|
await this.loadMarkets();
|
|
481
481
|
const market = this.market(symbol);
|
|
@@ -503,7 +503,7 @@ export default class hollaex extends Exchange {
|
|
|
503
503
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
504
504
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
505
505
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
506
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
506
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
507
507
|
*/
|
|
508
508
|
await this.loadMarkets();
|
|
509
509
|
symbols = this.marketSymbols(symbols);
|
|
@@ -687,7 +687,7 @@ export default class hollaex extends Exchange {
|
|
|
687
687
|
* @name hollaex#fetchTradingFees
|
|
688
688
|
* @description fetch the trading fees for multiple markets
|
|
689
689
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
690
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
690
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
691
691
|
*/
|
|
692
692
|
await this.loadMarkets();
|
|
693
693
|
const response = await this.publicGetTiers(params);
|
|
@@ -866,7 +866,7 @@ export default class hollaex extends Exchange {
|
|
|
866
866
|
* @param {string} id order id
|
|
867
867
|
* @param {string} symbol not used by hollaex fetchOpenOrder ()
|
|
868
868
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
869
|
-
* @returns {object} an [order structure]{@link https://
|
|
869
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
870
870
|
*/
|
|
871
871
|
await this.loadMarkets();
|
|
872
872
|
const request = {
|
|
@@ -908,7 +908,7 @@ export default class hollaex extends Exchange {
|
|
|
908
908
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
909
909
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
910
910
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
911
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
911
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
912
912
|
*/
|
|
913
913
|
const request = {
|
|
914
914
|
'open': true,
|
|
@@ -924,7 +924,7 @@ export default class hollaex extends Exchange {
|
|
|
924
924
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
925
925
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
926
926
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
927
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
927
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
928
928
|
*/
|
|
929
929
|
const request = {
|
|
930
930
|
'open': false,
|
|
@@ -938,7 +938,7 @@ export default class hollaex extends Exchange {
|
|
|
938
938
|
* @description fetches information on an order made by the user
|
|
939
939
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
940
940
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
941
|
-
* @returns {object} An [order structure]{@link https://
|
|
941
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
942
942
|
*/
|
|
943
943
|
await this.loadMarkets();
|
|
944
944
|
const request = {
|
|
@@ -982,7 +982,7 @@ export default class hollaex extends Exchange {
|
|
|
982
982
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
983
983
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
984
984
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
985
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
985
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
986
986
|
*/
|
|
987
987
|
await this.loadMarkets();
|
|
988
988
|
let market = undefined;
|
|
@@ -1126,9 +1126,9 @@ export default class hollaex extends Exchange {
|
|
|
1126
1126
|
* @param {string} type 'market' or 'limit'
|
|
1127
1127
|
* @param {string} side 'buy' or 'sell'
|
|
1128
1128
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1129
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1129
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1130
1130
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1131
|
-
* @returns {object} an [order structure]{@link https://
|
|
1131
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1132
1132
|
*/
|
|
1133
1133
|
await this.loadMarkets();
|
|
1134
1134
|
const market = this.market(symbol);
|
|
@@ -1191,7 +1191,7 @@ export default class hollaex extends Exchange {
|
|
|
1191
1191
|
* @param {string} id order id
|
|
1192
1192
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1193
1193
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1194
|
-
* @returns {object} An [order structure]{@link https://
|
|
1194
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1195
1195
|
*/
|
|
1196
1196
|
await this.loadMarkets();
|
|
1197
1197
|
const request = {
|
|
@@ -1220,7 +1220,7 @@ export default class hollaex extends Exchange {
|
|
|
1220
1220
|
* @description cancel all open orders in a market
|
|
1221
1221
|
* @param {string} symbol unified market symbol of the market to cancel orders in
|
|
1222
1222
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1223
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
1223
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1224
1224
|
*/
|
|
1225
1225
|
if (symbol === undefined) {
|
|
1226
1226
|
throw new ArgumentsRequired(this.id + " cancelAllOrders() requires a 'symbol' argument");
|
|
@@ -1257,7 +1257,7 @@ export default class hollaex extends Exchange {
|
|
|
1257
1257
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1258
1258
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1259
1259
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1260
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1260
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1261
1261
|
*/
|
|
1262
1262
|
await this.loadMarkets();
|
|
1263
1263
|
const request = {
|
|
@@ -1336,7 +1336,7 @@ export default class hollaex extends Exchange {
|
|
|
1336
1336
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1337
1337
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
1338
1338
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1339
|
-
* @returns {object} a list of [address structures]{@link https://
|
|
1339
|
+
* @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1340
1340
|
*/
|
|
1341
1341
|
await this.loadMarkets();
|
|
1342
1342
|
const network = this.safeString(params, 'network');
|
|
@@ -1400,7 +1400,7 @@ export default class hollaex extends Exchange {
|
|
|
1400
1400
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1401
1401
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1402
1402
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1403
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1403
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1404
1404
|
*/
|
|
1405
1405
|
await this.loadMarkets();
|
|
1406
1406
|
const request = {
|
|
@@ -1458,7 +1458,7 @@ export default class hollaex extends Exchange {
|
|
|
1458
1458
|
* @param {string} id withdrawal id
|
|
1459
1459
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
1460
1460
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1461
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1461
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1462
1462
|
*/
|
|
1463
1463
|
await this.loadMarkets();
|
|
1464
1464
|
const request = {
|
|
@@ -1506,7 +1506,7 @@ export default class hollaex extends Exchange {
|
|
|
1506
1506
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1507
1507
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1508
1508
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1509
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1509
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1510
1510
|
*/
|
|
1511
1511
|
await this.loadMarkets();
|
|
1512
1512
|
const request = {
|
|
@@ -1665,7 +1665,7 @@ export default class hollaex extends Exchange {
|
|
|
1665
1665
|
* @param {string} address the address to withdraw to
|
|
1666
1666
|
* @param {string} tag
|
|
1667
1667
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1668
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1668
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1669
1669
|
*/
|
|
1670
1670
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1671
1671
|
this.checkAddress(address);
|