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/dist/cjs/src/bit2c.js
CHANGED
|
@@ -261,7 +261,7 @@ class bit2c extends bit2c$1 {
|
|
|
261
261
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
262
262
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
263
263
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
264
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
264
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
265
265
|
*/
|
|
266
266
|
await this.loadMarkets();
|
|
267
267
|
const market = this.market(symbol);
|
|
@@ -307,7 +307,7 @@ class bit2c extends bit2c$1 {
|
|
|
307
307
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
308
308
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
309
309
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
310
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
310
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
311
311
|
*/
|
|
312
312
|
await this.loadMarkets();
|
|
313
313
|
const market = this.market(symbol);
|
|
@@ -359,7 +359,7 @@ class bit2c extends bit2c$1 {
|
|
|
359
359
|
* @name bit2c#fetchTradingFees
|
|
360
360
|
* @description fetch the trading fees for multiple markets
|
|
361
361
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
362
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
362
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
363
363
|
*/
|
|
364
364
|
await this.loadMarkets();
|
|
365
365
|
const response = await this.privateGetAccountBalance(params);
|
|
@@ -410,9 +410,9 @@ class bit2c extends bit2c$1 {
|
|
|
410
410
|
* @param {string} type 'market' or 'limit'
|
|
411
411
|
* @param {string} side 'buy' or 'sell'
|
|
412
412
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
413
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
413
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
414
414
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
415
|
-
* @returns {object} an [order structure]{@link https://
|
|
415
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
416
416
|
*/
|
|
417
417
|
await this.loadMarkets();
|
|
418
418
|
let method = 'privatePostOrderAddOrder';
|
|
@@ -442,7 +442,7 @@ class bit2c extends bit2c$1 {
|
|
|
442
442
|
* @param {string} id order id
|
|
443
443
|
* @param {string} symbol Not used by bit2c cancelOrder ()
|
|
444
444
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
445
|
-
* @returns {object} An [order structure]{@link https://
|
|
445
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
446
446
|
*/
|
|
447
447
|
const request = {
|
|
448
448
|
'id': id,
|
|
@@ -458,7 +458,7 @@ class bit2c extends bit2c$1 {
|
|
|
458
458
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
459
459
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
460
460
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
461
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
461
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
462
462
|
*/
|
|
463
463
|
if (symbol === undefined) {
|
|
464
464
|
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
|
|
@@ -481,7 +481,7 @@ class bit2c extends bit2c$1 {
|
|
|
481
481
|
* @description fetches information on an order made by the user
|
|
482
482
|
* @param {string} symbol unified market symbol
|
|
483
483
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
484
|
-
* @returns {object} An [order structure]{@link https://
|
|
484
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
485
485
|
*/
|
|
486
486
|
await this.loadMarkets();
|
|
487
487
|
const market = this.market(symbol);
|
|
@@ -635,7 +635,7 @@ class bit2c extends bit2c$1 {
|
|
|
635
635
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
636
636
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
637
637
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
638
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
638
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
639
639
|
*/
|
|
640
640
|
await this.loadMarkets();
|
|
641
641
|
let market = undefined;
|
|
@@ -813,7 +813,7 @@ class bit2c extends bit2c$1 {
|
|
|
813
813
|
* @description fetch the deposit address for a currency associated with this account
|
|
814
814
|
* @param {string} code unified currency code
|
|
815
815
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
816
|
-
* @returns {object} an [address structure]{@link https://
|
|
816
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
817
817
|
*/
|
|
818
818
|
await this.loadMarkets();
|
|
819
819
|
const currency = this.currency(code);
|
package/dist/cjs/src/bitbank.js
CHANGED
|
@@ -284,7 +284,7 @@ class bitbank extends bitbank$1 {
|
|
|
284
284
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
285
285
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
286
286
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
287
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
287
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
288
288
|
*/
|
|
289
289
|
await this.loadMarkets();
|
|
290
290
|
const market = this.market(symbol);
|
|
@@ -303,7 +303,7 @@ class bitbank extends bitbank$1 {
|
|
|
303
303
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
304
304
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
305
305
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
306
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
306
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
307
307
|
*/
|
|
308
308
|
await this.loadMarkets();
|
|
309
309
|
const market = this.market(symbol);
|
|
@@ -376,7 +376,7 @@ class bitbank extends bitbank$1 {
|
|
|
376
376
|
* @name bitbank#fetchTradingFees
|
|
377
377
|
* @description fetch the trading fees for multiple markets
|
|
378
378
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
379
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
379
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
380
380
|
*/
|
|
381
381
|
await this.loadMarkets();
|
|
382
382
|
const response = await this.marketsGetSpotPairs(params);
|
|
@@ -620,9 +620,9 @@ class bitbank extends bitbank$1 {
|
|
|
620
620
|
* @param {string} type 'market' or 'limit'
|
|
621
621
|
* @param {string} side 'buy' or 'sell'
|
|
622
622
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
623
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
623
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
624
624
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
625
|
-
* @returns {object} an [order structure]{@link https://
|
|
625
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
626
626
|
*/
|
|
627
627
|
await this.loadMarkets();
|
|
628
628
|
const market = this.market(symbol);
|
|
@@ -647,7 +647,7 @@ class bitbank extends bitbank$1 {
|
|
|
647
647
|
* @param {string} id order id
|
|
648
648
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
649
649
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
650
|
-
* @returns {object} An [order structure]{@link https://
|
|
650
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
651
651
|
*/
|
|
652
652
|
await this.loadMarkets();
|
|
653
653
|
const market = this.market(symbol);
|
|
@@ -666,7 +666,7 @@ class bitbank extends bitbank$1 {
|
|
|
666
666
|
* @description fetches information on an order made by the user
|
|
667
667
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
668
668
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
669
|
-
* @returns {object} An [order structure]{@link https://
|
|
669
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
670
670
|
*/
|
|
671
671
|
await this.loadMarkets();
|
|
672
672
|
const market = this.market(symbol);
|
|
@@ -687,7 +687,7 @@ class bitbank extends bitbank$1 {
|
|
|
687
687
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
688
688
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
689
689
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
690
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
690
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
691
691
|
*/
|
|
692
692
|
await this.loadMarkets();
|
|
693
693
|
const market = this.market(symbol);
|
|
@@ -714,7 +714,7 @@ class bitbank extends bitbank$1 {
|
|
|
714
714
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
715
715
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
716
716
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
717
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
717
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
718
718
|
*/
|
|
719
719
|
await this.loadMarkets();
|
|
720
720
|
const request = {};
|
|
@@ -741,7 +741,7 @@ class bitbank extends bitbank$1 {
|
|
|
741
741
|
* @description fetch the deposit address for a currency associated with this account
|
|
742
742
|
* @param {string} code unified currency code
|
|
743
743
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
744
|
-
* @returns {object} an [address structure]{@link https://
|
|
744
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
745
745
|
*/
|
|
746
746
|
await this.loadMarkets();
|
|
747
747
|
const currency = this.currency(code);
|
|
@@ -772,7 +772,7 @@ class bitbank extends bitbank$1 {
|
|
|
772
772
|
* @param {string} address the address to withdraw to
|
|
773
773
|
* @param {string} tag
|
|
774
774
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
775
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
775
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
776
776
|
*/
|
|
777
777
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
778
778
|
if (!('uuid' in params)) {
|
package/dist/cjs/src/bitbns.js
CHANGED
|
@@ -156,7 +156,7 @@ class bitbns extends bitbns$1 {
|
|
|
156
156
|
* @name bitbns#fetchStatus
|
|
157
157
|
* @description the latest known information on the availability of the exchange API
|
|
158
158
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
159
|
-
* @returns {object} a [status structure]{@link https://
|
|
159
|
+
* @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
|
|
160
160
|
*/
|
|
161
161
|
const response = await this.v1GetPlatformStatus(params);
|
|
162
162
|
//
|
|
@@ -288,7 +288,7 @@ class bitbns extends bitbns$1 {
|
|
|
288
288
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
289
289
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
290
290
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
291
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
291
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
292
292
|
*/
|
|
293
293
|
await this.loadMarkets();
|
|
294
294
|
const market = this.market(symbol);
|
|
@@ -384,7 +384,7 @@ class bitbns extends bitbns$1 {
|
|
|
384
384
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
385
385
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
386
386
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
387
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
387
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
388
388
|
*/
|
|
389
389
|
await this.loadMarkets();
|
|
390
390
|
const response = await this.wwwGetOrderFetchTickers(params);
|
|
@@ -592,9 +592,9 @@ class bitbns extends bitbns$1 {
|
|
|
592
592
|
* @param {string} type 'market' or 'limit'
|
|
593
593
|
* @param {string} side 'buy' or 'sell'
|
|
594
594
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
595
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
595
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
596
596
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
597
|
-
* @returns {object} an [order structure]{@link https://
|
|
597
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
598
598
|
*/
|
|
599
599
|
if (type !== 'limit' && type !== 'market') {
|
|
600
600
|
throw new errors.ExchangeError(this.id + ' allows limit and market orders only');
|
|
@@ -643,7 +643,7 @@ class bitbns extends bitbns$1 {
|
|
|
643
643
|
* @param {string} id order id
|
|
644
644
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
645
645
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
646
|
-
* @returns {object} An [order structure]{@link https://
|
|
646
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
647
647
|
*/
|
|
648
648
|
if (symbol === undefined) {
|
|
649
649
|
throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
|
|
@@ -666,7 +666,7 @@ class bitbns extends bitbns$1 {
|
|
|
666
666
|
* @description fetches information on an order made by the user
|
|
667
667
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
668
668
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
669
|
-
* @returns {object} An [order structure]{@link https://
|
|
669
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
670
670
|
*/
|
|
671
671
|
if (symbol === undefined) {
|
|
672
672
|
throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
|
|
@@ -716,7 +716,7 @@ class bitbns extends bitbns$1 {
|
|
|
716
716
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
717
717
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
718
718
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
719
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
719
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
720
720
|
*/
|
|
721
721
|
if (symbol === undefined) {
|
|
722
722
|
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
|
|
@@ -841,7 +841,7 @@ class bitbns extends bitbns$1 {
|
|
|
841
841
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
842
842
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
843
843
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
844
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
844
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
845
845
|
*/
|
|
846
846
|
if (symbol === undefined) {
|
|
847
847
|
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
|
|
@@ -939,7 +939,7 @@ class bitbns extends bitbns$1 {
|
|
|
939
939
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
940
940
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
941
941
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
942
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
942
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
943
943
|
*/
|
|
944
944
|
if (code === undefined) {
|
|
945
945
|
throw new errors.ArgumentsRequired(this.id + ' fetchDeposits() requires a currency code argument');
|
|
@@ -986,7 +986,7 @@ class bitbns extends bitbns$1 {
|
|
|
986
986
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
987
987
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
988
988
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
989
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
989
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
990
990
|
*/
|
|
991
991
|
if (code === undefined) {
|
|
992
992
|
throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawals() requires a currency code argument');
|
|
@@ -1097,7 +1097,7 @@ class bitbns extends bitbns$1 {
|
|
|
1097
1097
|
* @description fetch the deposit address for a currency associated with this account
|
|
1098
1098
|
* @param {string} code unified currency code
|
|
1099
1099
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
1100
|
-
* @returns {object} an [address structure]{@link https://
|
|
1100
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1101
1101
|
*/
|
|
1102
1102
|
await this.loadMarkets();
|
|
1103
1103
|
const currency = this.currency(code);
|
package/dist/cjs/src/bitfinex.js
CHANGED
|
@@ -402,7 +402,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
402
402
|
* @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
|
|
403
403
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
404
404
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
405
|
-
* @returns {object[]} a list of [fees structures]{@link https://
|
|
405
|
+
* @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
406
406
|
*/
|
|
407
407
|
await this.loadMarkets();
|
|
408
408
|
const result = {};
|
|
@@ -438,7 +438,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
438
438
|
* @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
|
|
439
439
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
440
440
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
441
|
-
* @returns {object[]} a list of [fees structures]{@link https://
|
|
441
|
+
* @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
442
442
|
*/
|
|
443
443
|
await this.loadMarkets();
|
|
444
444
|
const response = await this.privatePostAccountFees(params);
|
|
@@ -476,7 +476,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
476
476
|
* @name bitfinex#fetchTradingFees
|
|
477
477
|
* @description fetch the trading fees for multiple markets
|
|
478
478
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
479
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
479
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
480
480
|
*/
|
|
481
481
|
await this.loadMarkets();
|
|
482
482
|
const response = await this.privatePostSummary(params);
|
|
@@ -742,7 +742,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
742
742
|
* @param {string} fromAccount account to transfer from
|
|
743
743
|
* @param {string} toAccount account to transfer to
|
|
744
744
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
745
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
745
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
746
746
|
*/
|
|
747
747
|
// transferring between derivatives wallet and regular wallet is not documented in their API
|
|
748
748
|
// however we support it in CCXT (from just looking at web inspector)
|
|
@@ -826,7 +826,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
826
826
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
827
827
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
828
828
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
829
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
829
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
830
830
|
*/
|
|
831
831
|
await this.loadMarkets();
|
|
832
832
|
const market = this.market(symbol);
|
|
@@ -847,7 +847,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
847
847
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
848
848
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
849
849
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
850
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
850
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
851
851
|
*/
|
|
852
852
|
await this.loadMarkets();
|
|
853
853
|
symbols = this.marketSymbols(symbols);
|
|
@@ -867,7 +867,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
867
867
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
868
868
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
869
869
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
870
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
870
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
871
871
|
*/
|
|
872
872
|
await this.loadMarkets();
|
|
873
873
|
const market = this.market(symbol);
|
|
@@ -1016,7 +1016,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1016
1016
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1017
1017
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1018
1018
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1019
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1019
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1020
1020
|
*/
|
|
1021
1021
|
if (symbol === undefined) {
|
|
1022
1022
|
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
|
|
@@ -1044,9 +1044,9 @@ class bitfinex extends bitfinex$1 {
|
|
|
1044
1044
|
* @param {string} type 'market' or 'limit'
|
|
1045
1045
|
* @param {string} side 'buy' or 'sell'
|
|
1046
1046
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1047
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1047
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1048
1048
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1049
|
-
* @returns {object} an [order structure]{@link https://
|
|
1049
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1050
1050
|
*/
|
|
1051
1051
|
await this.loadMarkets();
|
|
1052
1052
|
const market = this.market(symbol);
|
|
@@ -1110,7 +1110,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1110
1110
|
* @param {string} id order id
|
|
1111
1111
|
* @param {string} symbol not used by bitfinex cancelOrder ()
|
|
1112
1112
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1113
|
-
* @returns {object} An [order structure]{@link https://
|
|
1113
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1114
1114
|
*/
|
|
1115
1115
|
await this.loadMarkets();
|
|
1116
1116
|
const request = {
|
|
@@ -1211,7 +1211,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1211
1211
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1212
1212
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1213
1213
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1214
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1214
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1215
1215
|
*/
|
|
1216
1216
|
await this.loadMarkets();
|
|
1217
1217
|
if (symbol !== undefined) {
|
|
@@ -1235,7 +1235,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1235
1235
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1236
1236
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1237
1237
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1238
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1238
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1239
1239
|
*/
|
|
1240
1240
|
await this.loadMarkets();
|
|
1241
1241
|
symbol = this.symbol(symbol);
|
|
@@ -1258,7 +1258,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1258
1258
|
* @description fetches information on an order made by the user
|
|
1259
1259
|
* @param {string} symbol not used by bitfinex fetchOrder
|
|
1260
1260
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1261
|
-
* @returns {object} An [order structure]{@link https://
|
|
1261
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1262
1262
|
*/
|
|
1263
1263
|
await this.loadMarkets();
|
|
1264
1264
|
const request = {
|
|
@@ -1338,7 +1338,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1338
1338
|
* @description create a currency deposit address
|
|
1339
1339
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1340
1340
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1341
|
-
* @returns {object} an [address structure]{@link https://
|
|
1341
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1342
1342
|
*/
|
|
1343
1343
|
await this.loadMarkets();
|
|
1344
1344
|
const request = {
|
|
@@ -1353,7 +1353,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1353
1353
|
* @description fetch the deposit address for a currency associated with this account
|
|
1354
1354
|
* @param {string} code unified currency code
|
|
1355
1355
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1356
|
-
* @returns {object} an [address structure]{@link https://
|
|
1356
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1357
1357
|
*/
|
|
1358
1358
|
await this.loadMarkets();
|
|
1359
1359
|
// todo rewrite for https://api-pub.bitfinex.com//v2/conf/pub:map:tx:method
|
|
@@ -1388,7 +1388,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1388
1388
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1389
1389
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1390
1390
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1391
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
1391
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1392
1392
|
*/
|
|
1393
1393
|
await this.loadMarkets();
|
|
1394
1394
|
let currencyId = this.safeString(params, 'currency');
|
|
@@ -1524,7 +1524,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1524
1524
|
* @param {string} address the address to withdraw to
|
|
1525
1525
|
* @param {string} tag
|
|
1526
1526
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1527
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1527
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1528
1528
|
*/
|
|
1529
1529
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1530
1530
|
this.checkAddress(address);
|
|
@@ -1571,7 +1571,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1571
1571
|
* @description fetch all open positions
|
|
1572
1572
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
1573
1573
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
1574
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
1574
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
1575
1575
|
*/
|
|
1576
1576
|
await this.loadMarkets();
|
|
1577
1577
|
const response = await this.privatePostPositions(params);
|