ccxt 4.1.64 → 4.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +2558 -2534
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +13 -13
- package/dist/cjs/src/alpaca.js +10 -10
- package/dist/cjs/src/ascendex.js +33 -33
- package/dist/cjs/src/base/Exchange.js +6 -6
- package/dist/cjs/src/bigone.js +23 -23
- package/dist/cjs/src/binance.js +68 -68
- package/dist/cjs/src/binanceus.js +1 -0
- package/dist/cjs/src/bingx.js +33 -33
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +14 -14
- package/dist/cjs/src/bitbns.js +15 -15
- package/dist/cjs/src/bitfinex.js +24 -24
- package/dist/cjs/src/bitfinex2.js +30 -30
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +12 -12
- package/dist/cjs/src/bitget.js +50 -50
- package/dist/cjs/src/bithumb.js +13 -13
- package/dist/cjs/src/bitmart.js +74 -59
- package/dist/cjs/src/bitmex.js +29 -28
- package/dist/cjs/src/bitopro.js +23 -23
- package/dist/cjs/src/bitpanda.js +25 -25
- package/dist/cjs/src/bitrue.js +26 -26
- package/dist/cjs/src/bitso.js +22 -22
- package/dist/cjs/src/bitstamp.js +24 -24
- package/dist/cjs/src/bittrex.js +31 -31
- package/dist/cjs/src/bitvavo.js +23 -23
- package/dist/cjs/src/bl3p.js +7 -7
- package/dist/cjs/src/blockchaincom.js +23 -23
- package/dist/cjs/src/btcalpha.js +17 -17
- package/dist/cjs/src/btcbox.js +9 -9
- package/dist/cjs/src/btcmarkets.js +19 -19
- package/dist/cjs/src/btcturk.js +13 -13
- package/dist/cjs/src/bybit.js +71 -67
- package/dist/cjs/src/cex.js +17 -17
- package/dist/cjs/src/coinbase.js +28 -28
- package/dist/cjs/src/coinbasepro.js +27 -27
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +42 -42
- package/dist/cjs/src/coinlist.js +29 -29
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +13 -13
- package/dist/cjs/src/coinsph.js +25 -25
- package/dist/cjs/src/coinspot.js +9 -9
- package/dist/cjs/src/cryptocom.js +33 -32
- package/dist/cjs/src/currencycom.js +24 -24
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +35 -35
- package/dist/cjs/src/digifinex.js +43 -43
- package/dist/cjs/src/exmo.js +30 -30
- package/dist/cjs/src/gate.js +39 -39
- package/dist/cjs/src/gemini.js +18 -18
- package/dist/cjs/src/hitbtc.js +40 -40
- package/dist/cjs/src/hollaex.js +26 -26
- package/dist/cjs/src/htx.js +48 -48
- package/dist/cjs/src/huobijp.js +24 -24
- package/dist/cjs/src/idex.js +23 -23
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +16 -16
- package/dist/cjs/src/kraken.js +28 -28
- package/dist/cjs/src/krakenfutures.js +9 -9
- package/dist/cjs/src/kucoin.js +39 -39
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +25 -25
- package/dist/cjs/src/latoken.js +20 -20
- package/dist/cjs/src/lbank.js +24 -24
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/lykke.js +18 -18
- package/dist/cjs/src/mercado.js +13 -13
- package/dist/cjs/src/mexc.js +47 -45
- package/dist/cjs/src/ndax.js +23 -23
- package/dist/cjs/src/novadax.js +23 -23
- package/dist/cjs/src/oceanex.js +19 -19
- package/dist/cjs/src/okcoin.js +25 -25
- package/dist/cjs/src/okx.js +53 -53
- package/dist/cjs/src/p2b.js +14 -14
- package/dist/cjs/src/paymium.js +10 -10
- package/dist/cjs/src/phemex.js +32 -32
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/poloniexfutures.js +21 -21
- package/dist/cjs/src/pro/alpaca.js +6 -6
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/binance.js +21 -21
- package/dist/cjs/src/pro/bingx.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +7 -7
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bitmart.js +5 -5
- package/dist/cjs/src/pro/bitmex.js +8 -8
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +7 -7
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrex.js +7 -7
- package/dist/cjs/src/pro/bitvavo.js +6 -6
- package/dist/cjs/src/pro/blockchaincom.js +6 -6
- package/dist/cjs/src/pro/bybit.js +12 -12
- package/dist/cjs/src/pro/cex.js +9 -9
- package/dist/cjs/src/pro/coinbase.js +6 -6
- package/dist/cjs/src/pro/coinbasepro.js +10 -10
- package/dist/cjs/src/pro/coinex.js +7 -7
- package/dist/cjs/src/pro/cryptocom.js +13 -13
- package/dist/cjs/src/pro/currencycom.js +5 -5
- package/dist/cjs/src/pro/deribit.js +7 -7
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +10 -10
- package/dist/cjs/src/pro/gemini.js +4 -4
- package/dist/cjs/src/pro/hitbtc.js +11 -11
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +8 -8
- package/dist/cjs/src/pro/huobijp.js +4 -4
- package/dist/cjs/src/pro/idex.js +5 -5
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +11 -11
- package/dist/cjs/src/pro/krakenfutures.js +8 -8
- package/dist/cjs/src/pro/kucoin.js +10 -10
- package/dist/cjs/src/pro/kucoinfutures.js +8 -8
- package/dist/cjs/src/pro/luno.js +4 -4
- package/dist/cjs/src/pro/mexc.js +7 -7
- package/dist/cjs/src/pro/ndax.js +4 -4
- package/dist/cjs/src/pro/okcoin.js +6 -6
- package/dist/cjs/src/pro/okx.js +16 -16
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +7 -7
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +3 -3
- package/dist/cjs/src/pro/wazirx.js +7 -7
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/probit.js +24 -24
- package/dist/cjs/src/tidex.js +15 -15
- package/dist/cjs/src/timex.js +19 -19
- package/dist/cjs/src/tokocrypto.js +21 -21
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +15 -15
- package/dist/cjs/src/whitebit.js +29 -29
- package/dist/cjs/src/woo.js +26 -26
- package/dist/cjs/src/yobit.js +17 -17
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +16 -16
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/ace.js +13 -13
- package/js/src/alpaca.js +10 -10
- package/js/src/ascendex.js +33 -33
- package/js/src/base/Exchange.js +6 -6
- package/js/src/bigone.js +23 -23
- package/js/src/binance.js +68 -68
- package/js/src/binanceus.js +1 -0
- package/js/src/bingx.js +33 -33
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.js +14 -14
- package/js/src/bitbns.js +15 -15
- package/js/src/bitfinex.js +24 -24
- package/js/src/bitfinex2.js +30 -30
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +12 -12
- package/js/src/bitget.js +50 -50
- package/js/src/bithumb.js +13 -13
- package/js/src/bitmart.js +74 -59
- package/js/src/bitmex.js +29 -28
- package/js/src/bitopro.js +23 -23
- package/js/src/bitpanda.js +25 -25
- package/js/src/bitrue.js +26 -26
- package/js/src/bitso.js +22 -22
- package/js/src/bitstamp.js +24 -24
- package/js/src/bittrex.js +31 -31
- package/js/src/bitvavo.js +23 -23
- package/js/src/bl3p.js +7 -7
- package/js/src/blockchaincom.js +23 -23
- package/js/src/btcalpha.js +17 -17
- package/js/src/btcbox.js +9 -9
- package/js/src/btcmarkets.js +19 -19
- package/js/src/btcturk.js +13 -13
- package/js/src/bybit.js +71 -67
- package/js/src/cex.js +17 -17
- package/js/src/coinbase.js +28 -28
- package/js/src/coinbasepro.js +27 -27
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.js +42 -42
- package/js/src/coinlist.js +29 -29
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +13 -13
- package/js/src/coinsph.js +25 -25
- package/js/src/coinspot.js +9 -9
- package/js/src/cryptocom.js +33 -32
- package/js/src/currencycom.js +24 -24
- package/js/src/delta.js +29 -29
- package/js/src/deribit.js +35 -35
- package/js/src/digifinex.js +43 -43
- package/js/src/exmo.js +30 -30
- package/js/src/gate.js +39 -39
- package/js/src/gemini.js +18 -18
- package/js/src/hitbtc.js +40 -40
- package/js/src/hollaex.js +26 -26
- package/js/src/htx.js +48 -48
- package/js/src/huobijp.js +24 -24
- package/js/src/idex.js +23 -23
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +16 -16
- package/js/src/kraken.js +28 -28
- package/js/src/krakenfutures.js +9 -9
- package/js/src/kucoin.js +39 -39
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +25 -25
- package/js/src/latoken.js +20 -20
- package/js/src/lbank.js +24 -24
- package/js/src/luno.js +17 -17
- package/js/src/lykke.js +18 -18
- package/js/src/mercado.js +13 -13
- package/js/src/mexc.js +47 -45
- package/js/src/ndax.js +23 -23
- package/js/src/novadax.js +23 -23
- package/js/src/oceanex.js +19 -19
- package/js/src/okcoin.js +25 -25
- package/js/src/okx.js +53 -53
- package/js/src/p2b.js +14 -14
- package/js/src/paymium.js +10 -10
- package/js/src/phemex.js +32 -32
- package/js/src/poloniex.js +27 -27
- package/js/src/poloniexfutures.js +21 -21
- package/js/src/pro/alpaca.js +6 -6
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/binance.js +21 -21
- package/js/src/pro/bingx.js +6 -6
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +7 -7
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bitmart.js +5 -5
- package/js/src/pro/bitmex.js +8 -8
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +7 -7
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +7 -7
- package/js/src/pro/bitvavo.js +6 -6
- package/js/src/pro/blockchaincom.js +6 -6
- package/js/src/pro/bybit.js +12 -12
- package/js/src/pro/cex.js +9 -9
- package/js/src/pro/coinbase.js +6 -6
- package/js/src/pro/coinbasepro.js +10 -10
- package/js/src/pro/coinex.js +7 -7
- package/js/src/pro/cryptocom.js +13 -13
- package/js/src/pro/currencycom.js +5 -5
- package/js/src/pro/deribit.js +7 -7
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +10 -10
- package/js/src/pro/gemini.js +4 -4
- package/js/src/pro/hitbtc.js +11 -11
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.js +8 -8
- package/js/src/pro/huobijp.js +4 -4
- package/js/src/pro/idex.js +5 -5
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +11 -11
- package/js/src/pro/krakenfutures.js +8 -8
- package/js/src/pro/kucoin.js +10 -10
- package/js/src/pro/kucoinfutures.js +8 -8
- package/js/src/pro/luno.js +4 -4
- package/js/src/pro/mexc.js +7 -7
- package/js/src/pro/ndax.js +4 -4
- package/js/src/pro/okcoin.js +6 -6
- package/js/src/pro/okx.js +16 -16
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.js +7 -7
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +3 -3
- package/js/src/pro/wazirx.js +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.js +1 -1
- package/js/src/probit.js +24 -24
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +21 -21
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +15 -15
- package/js/src/whitebit.js +29 -29
- package/js/src/woo.js +26 -26
- package/js/src/yobit.js +17 -17
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +16 -16
- package/package.json +1 -1
package/dist/cjs/src/bitmex.js
CHANGED
|
@@ -256,7 +256,7 @@ class bitmex extends bitmex$1 {
|
|
|
256
256
|
* @method
|
|
257
257
|
* @name bitmex#fetchCurrencies
|
|
258
258
|
* @description fetches all available currencies on an exchange
|
|
259
|
-
* @param {object} [params] extra parameters specific to the
|
|
259
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
260
260
|
* @returns {object} an associative dictionary of currencies
|
|
261
261
|
*/
|
|
262
262
|
const response = await this.publicGetWalletAssets(params);
|
|
@@ -424,7 +424,8 @@ class bitmex extends bitmex$1 {
|
|
|
424
424
|
* @method
|
|
425
425
|
* @name bitmex#fetchMarkets
|
|
426
426
|
* @description retrieves data on all markets for bitmex
|
|
427
|
-
* @
|
|
427
|
+
* @see https://www.bitmex.com/api/explorer/#!/Instrument/Instrument_getActive
|
|
428
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
428
429
|
* @returns {object[]} an array of objects representing market data
|
|
429
430
|
*/
|
|
430
431
|
const response = await this.publicGetInstrumentActive(params);
|
|
@@ -734,7 +735,7 @@ class bitmex extends bitmex$1 {
|
|
|
734
735
|
* @method
|
|
735
736
|
* @name bitmex#fetchBalance
|
|
736
737
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
737
|
-
* @param {object} [params] extra parameters specific to the
|
|
738
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
738
739
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
739
740
|
*/
|
|
740
741
|
await this.loadMarkets();
|
|
@@ -798,7 +799,7 @@ class bitmex extends bitmex$1 {
|
|
|
798
799
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
799
800
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
800
801
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
801
|
-
* @param {object} [params] extra parameters specific to the
|
|
802
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
802
803
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
803
804
|
*/
|
|
804
805
|
await this.loadMarkets();
|
|
@@ -840,7 +841,7 @@ class bitmex extends bitmex$1 {
|
|
|
840
841
|
* @name bitmex#fetchOrder
|
|
841
842
|
* @description fetches information on an order made by the user
|
|
842
843
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
843
|
-
* @param {object} [params] extra parameters specific to the
|
|
844
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
844
845
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
845
846
|
*/
|
|
846
847
|
const filter = {
|
|
@@ -864,7 +865,7 @@ class bitmex extends bitmex$1 {
|
|
|
864
865
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
865
866
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
866
867
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
867
|
-
* @param {object} [params] extra parameters specific to the
|
|
868
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
868
869
|
* @param {int} [params.until] the earliest time in ms to fetch orders for
|
|
869
870
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
870
871
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -910,7 +911,7 @@ class bitmex extends bitmex$1 {
|
|
|
910
911
|
* @param {string} symbol unified market symbol
|
|
911
912
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
912
913
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
913
|
-
* @param {object} [params] extra parameters specific to the
|
|
914
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
914
915
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
915
916
|
*/
|
|
916
917
|
const request = {
|
|
@@ -928,7 +929,7 @@ class bitmex extends bitmex$1 {
|
|
|
928
929
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
929
930
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
930
931
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
931
|
-
* @param {object} [params] extra parameters specific to the
|
|
932
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
932
933
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
933
934
|
*/
|
|
934
935
|
// Bitmex barfs if you set 'open': false in the filter...
|
|
@@ -944,7 +945,7 @@ class bitmex extends bitmex$1 {
|
|
|
944
945
|
* @param {string} symbol unified market symbol
|
|
945
946
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
946
947
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
947
|
-
* @param {object} [params] extra parameters specific to the
|
|
948
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
948
949
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
949
950
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
950
951
|
*/
|
|
@@ -1152,7 +1153,7 @@ class bitmex extends bitmex$1 {
|
|
|
1152
1153
|
* @param {string} code unified currency code, default is undefined
|
|
1153
1154
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
1154
1155
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
1155
|
-
* @param {object} [params] extra parameters specific to the
|
|
1156
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1156
1157
|
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
|
|
1157
1158
|
*/
|
|
1158
1159
|
await this.loadMarkets();
|
|
@@ -1203,7 +1204,7 @@ class bitmex extends bitmex$1 {
|
|
|
1203
1204
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
1204
1205
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1205
1206
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1206
|
-
* @param {object} [params] extra parameters specific to the
|
|
1207
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1207
1208
|
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1208
1209
|
*/
|
|
1209
1210
|
await this.loadMarkets();
|
|
@@ -1319,7 +1320,7 @@ class bitmex extends bitmex$1 {
|
|
|
1319
1320
|
* @name bitmex#fetchTicker
|
|
1320
1321
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
1321
1322
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1322
|
-
* @param {object} [params] extra parameters specific to the
|
|
1323
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1323
1324
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
1324
1325
|
*/
|
|
1325
1326
|
await this.loadMarkets();
|
|
@@ -1338,9 +1339,9 @@ class bitmex extends bitmex$1 {
|
|
|
1338
1339
|
/**
|
|
1339
1340
|
* @method
|
|
1340
1341
|
* @name bitmex#fetchTickers
|
|
1341
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
1342
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
1342
1343
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1343
|
-
* @param {object} [params] extra parameters specific to the
|
|
1344
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1344
1345
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
1345
1346
|
*/
|
|
1346
1347
|
await this.loadMarkets();
|
|
@@ -1427,7 +1428,7 @@ class bitmex extends bitmex$1 {
|
|
|
1427
1428
|
* @param {string} timeframe the length of time each candle represents
|
|
1428
1429
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1429
1430
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1430
|
-
* @param {object} [params] extra parameters specific to the
|
|
1431
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1431
1432
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1432
1433
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1433
1434
|
*/
|
|
@@ -1744,7 +1745,7 @@ class bitmex extends bitmex$1 {
|
|
|
1744
1745
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
1745
1746
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1746
1747
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1747
|
-
* @param {object} [params] extra parameters specific to the
|
|
1748
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1748
1749
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1749
1750
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
1750
1751
|
*/
|
|
@@ -1815,7 +1816,7 @@ class bitmex extends bitmex$1 {
|
|
|
1815
1816
|
* @param {string} side 'buy' or 'sell'
|
|
1816
1817
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1817
1818
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1818
|
-
* @param {object} [params] extra parameters specific to the
|
|
1819
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1819
1820
|
* @param {object} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
1820
1821
|
* @param {object} [params.triggerDirection] the direction whenever the trigger happens with relation to price - 'above' or 'below'
|
|
1821
1822
|
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
@@ -1919,7 +1920,7 @@ class bitmex extends bitmex$1 {
|
|
|
1919
1920
|
* @description cancels an open order
|
|
1920
1921
|
* @param {string} id order id
|
|
1921
1922
|
* @param {string} symbol not used by bitmex cancelOrder ()
|
|
1922
|
-
* @param {object} [params] extra parameters specific to the
|
|
1923
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1923
1924
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1924
1925
|
*/
|
|
1925
1926
|
await this.loadMarkets();
|
|
@@ -1950,7 +1951,7 @@ class bitmex extends bitmex$1 {
|
|
|
1950
1951
|
* @description cancel multiple orders
|
|
1951
1952
|
* @param {string[]} ids order ids
|
|
1952
1953
|
* @param {string} symbol not used by bitmex cancelOrders ()
|
|
1953
|
-
* @param {object} [params] extra parameters specific to the
|
|
1954
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1954
1955
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1955
1956
|
*/
|
|
1956
1957
|
// return await this.cancelOrder (ids, symbol, params);
|
|
@@ -1974,7 +1975,7 @@ class bitmex extends bitmex$1 {
|
|
|
1974
1975
|
* @name bitmex#cancelAllOrders
|
|
1975
1976
|
* @description cancel all open orders
|
|
1976
1977
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1977
|
-
* @param {object} [params] extra parameters specific to the
|
|
1978
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1978
1979
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1979
1980
|
*/
|
|
1980
1981
|
await this.loadMarkets();
|
|
@@ -2032,7 +2033,7 @@ class bitmex extends bitmex$1 {
|
|
|
2032
2033
|
* @name bitmex#fetchPositions
|
|
2033
2034
|
* @description fetch all open positions
|
|
2034
2035
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2035
|
-
* @param {object} [params] extra parameters specific to the
|
|
2036
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2036
2037
|
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
|
|
2037
2038
|
*/
|
|
2038
2039
|
await this.loadMarkets();
|
|
@@ -2293,7 +2294,7 @@ class bitmex extends bitmex$1 {
|
|
|
2293
2294
|
* @param {float} amount the amount to withdraw
|
|
2294
2295
|
* @param {string} address the address to withdraw to
|
|
2295
2296
|
* @param {string} tag
|
|
2296
|
-
* @param {object} [params] extra parameters specific to the
|
|
2297
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2297
2298
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2298
2299
|
*/
|
|
2299
2300
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2337,7 +2338,7 @@ class bitmex extends bitmex$1 {
|
|
|
2337
2338
|
* @name bitmex#fetchFundingRates
|
|
2338
2339
|
* @description fetch the funding rate for multiple markets
|
|
2339
2340
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2340
|
-
* @param {object} [params] extra parameters specific to the
|
|
2341
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2341
2342
|
* @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
|
|
2342
2343
|
*/
|
|
2343
2344
|
await this.loadMarkets();
|
|
@@ -2390,7 +2391,7 @@ class bitmex extends bitmex$1 {
|
|
|
2390
2391
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
2391
2392
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2392
2393
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
|
|
2393
|
-
* @param {object} [params] extra parameters specific to the
|
|
2394
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2394
2395
|
* @param {int} [params.until] timestamp in ms for ending date filter
|
|
2395
2396
|
* @param {bool} [params.reverse] if true, will sort results newest first
|
|
2396
2397
|
* @param {int} [params.start] starting point for results
|
|
@@ -2472,7 +2473,7 @@ class bitmex extends bitmex$1 {
|
|
|
2472
2473
|
* @description set the level of leverage for a market
|
|
2473
2474
|
* @param {float} leverage the rate of leverage
|
|
2474
2475
|
* @param {string} symbol unified market symbol
|
|
2475
|
-
* @param {object} [params] extra parameters specific to the
|
|
2476
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2476
2477
|
* @returns {object} response from the exchange
|
|
2477
2478
|
*/
|
|
2478
2479
|
if (symbol === undefined) {
|
|
@@ -2499,7 +2500,7 @@ class bitmex extends bitmex$1 {
|
|
|
2499
2500
|
* @description set margin mode to 'cross' or 'isolated'
|
|
2500
2501
|
* @param {string} marginMode 'cross' or 'isolated'
|
|
2501
2502
|
* @param {string} symbol unified market symbol
|
|
2502
|
-
* @param {object} [params] extra parameters specific to the
|
|
2503
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2503
2504
|
* @returns {object} response from the exchange
|
|
2504
2505
|
*/
|
|
2505
2506
|
if (symbol === undefined) {
|
|
@@ -2528,7 +2529,7 @@ class bitmex extends bitmex$1 {
|
|
|
2528
2529
|
* @description fetch the deposit address for a currency associated with this account
|
|
2529
2530
|
* @see https://www.bitmex.com/api/explorer/#!/User/User_getDepositAddress
|
|
2530
2531
|
* @param {string} code unified currency code
|
|
2531
|
-
* @param {object} [params] extra parameters specific to the
|
|
2532
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2532
2533
|
* @param {string} [params.network] deposit chain, can view all chains via this.publicGetWalletAssets, default is eth, unless the currency has a default chain within this.options['networks']
|
|
2533
2534
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
2534
2535
|
*/
|
|
@@ -2629,7 +2630,7 @@ class bitmex extends bitmex$1 {
|
|
|
2629
2630
|
* @description fetch deposit and withdraw fees
|
|
2630
2631
|
* @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
|
|
2631
2632
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2632
|
-
* @param {object} [params] extra parameters specific to the
|
|
2633
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2633
2634
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
2634
2635
|
*/
|
|
2635
2636
|
await this.loadMarkets();
|
package/dist/cjs/src/bitopro.js
CHANGED
|
@@ -215,7 +215,7 @@ class bitopro extends bitopro$1 {
|
|
|
215
215
|
* @name bitopro#fetchCurrencies
|
|
216
216
|
* @description fetches all available currencies on an exchange
|
|
217
217
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_currency_info.md
|
|
218
|
-
* @param {object} [params] extra parameters specific to the
|
|
218
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
219
219
|
* @returns {object} an associative dictionary of currencies
|
|
220
220
|
*/
|
|
221
221
|
const response = await this.publicGetProvisioningCurrencies(params);
|
|
@@ -278,7 +278,7 @@ class bitopro extends bitopro$1 {
|
|
|
278
278
|
* @name bitopro#fetchMarkets
|
|
279
279
|
* @description retrieves data on all markets for bitopro
|
|
280
280
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_trading_pair_info.md
|
|
281
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
281
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
282
282
|
* @returns {object[]} an array of objects representing market data
|
|
283
283
|
*/
|
|
284
284
|
const response = await this.publicGetProvisioningTradingPairs();
|
|
@@ -411,7 +411,7 @@ class bitopro extends bitopro$1 {
|
|
|
411
411
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
412
412
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
413
413
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
414
|
-
* @param {object} [params] extra parameters specific to the
|
|
414
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
415
415
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
416
416
|
*/
|
|
417
417
|
await this.loadMarkets();
|
|
@@ -440,10 +440,10 @@ class bitopro extends bitopro$1 {
|
|
|
440
440
|
/**
|
|
441
441
|
* @method
|
|
442
442
|
* @name bitopro#fetchTickers
|
|
443
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
443
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
444
444
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
445
445
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
446
|
-
* @param {object} [params] extra parameters specific to the
|
|
446
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
447
447
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
448
448
|
*/
|
|
449
449
|
await this.loadMarkets();
|
|
@@ -474,7 +474,7 @@ class bitopro extends bitopro$1 {
|
|
|
474
474
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_orderbook_data.md
|
|
475
475
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
476
476
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
477
|
-
* @param {object} [params] extra parameters specific to the
|
|
477
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
478
478
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
479
479
|
*/
|
|
480
480
|
await this.loadMarkets();
|
|
@@ -606,7 +606,7 @@ class bitopro extends bitopro$1 {
|
|
|
606
606
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
607
607
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
608
608
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
609
|
-
* @param {object} [params] extra parameters specific to the
|
|
609
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
610
610
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
611
611
|
*/
|
|
612
612
|
await this.loadMarkets();
|
|
@@ -636,7 +636,7 @@ class bitopro extends bitopro$1 {
|
|
|
636
636
|
* @name bitopro#fetchTradingFees
|
|
637
637
|
* @description fetch the trading fees for multiple markets
|
|
638
638
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_limitations_and_fees.md
|
|
639
|
-
* @param {object} [params] extra parameters specific to the
|
|
639
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
640
640
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
641
641
|
*/
|
|
642
642
|
await this.loadMarkets();
|
|
@@ -740,7 +740,7 @@ class bitopro extends bitopro$1 {
|
|
|
740
740
|
* @param {string} timeframe the length of time each candle represents
|
|
741
741
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
742
742
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
743
|
-
* @param {object} [params] extra parameters specific to the
|
|
743
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
744
744
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
745
745
|
*/
|
|
746
746
|
await this.loadMarkets();
|
|
@@ -859,7 +859,7 @@ class bitopro extends bitopro$1 {
|
|
|
859
859
|
* @name bitopro#fetchBalance
|
|
860
860
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
861
861
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_account_balance.md
|
|
862
|
-
* @param {object} [params] extra parameters specific to the
|
|
862
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
863
863
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
864
864
|
*/
|
|
865
865
|
await this.loadMarkets();
|
|
@@ -992,7 +992,7 @@ class bitopro extends bitopro$1 {
|
|
|
992
992
|
* @param {string} side 'buy' or 'sell'
|
|
993
993
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
994
994
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
995
|
-
* @param {object} [params] extra parameters specific to the
|
|
995
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
996
996
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
997
997
|
*/
|
|
998
998
|
await this.loadMarkets();
|
|
@@ -1051,7 +1051,7 @@ class bitopro extends bitopro$1 {
|
|
|
1051
1051
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_an_order.md
|
|
1052
1052
|
* @param {string} id order id
|
|
1053
1053
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1054
|
-
* @param {object} [params] extra parameters specific to the
|
|
1054
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1055
1055
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1056
1056
|
*/
|
|
1057
1057
|
if (symbol === undefined) {
|
|
@@ -1083,7 +1083,7 @@ class bitopro extends bitopro$1 {
|
|
|
1083
1083
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_batch_orders.md
|
|
1084
1084
|
* @param {string[]} ids order ids
|
|
1085
1085
|
* @param {string} symbol unified market symbol
|
|
1086
|
-
* @param {object} [params] extra parameters specific to the
|
|
1086
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1087
1087
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1088
1088
|
*/
|
|
1089
1089
|
if (symbol === undefined) {
|
|
@@ -1114,7 +1114,7 @@ class bitopro extends bitopro$1 {
|
|
|
1114
1114
|
* @description cancel all open orders
|
|
1115
1115
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_all_orders.md
|
|
1116
1116
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1117
|
-
* @param {object} [params] extra parameters specific to the
|
|
1117
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1118
1118
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1119
1119
|
*/
|
|
1120
1120
|
await this.loadMarkets();
|
|
@@ -1150,7 +1150,7 @@ class bitopro extends bitopro$1 {
|
|
|
1150
1150
|
* @description fetches information on an order made by the user
|
|
1151
1151
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_an_order_data.md
|
|
1152
1152
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1153
|
-
* @param {object} [params] extra parameters specific to the
|
|
1153
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1154
1154
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1155
1155
|
*/
|
|
1156
1156
|
if (symbol === undefined) {
|
|
@@ -1197,7 +1197,7 @@ class bitopro extends bitopro$1 {
|
|
|
1197
1197
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1198
1198
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1199
1199
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1200
|
-
* @param {object} [params] extra parameters specific to the
|
|
1200
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1201
1201
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1202
1202
|
*/
|
|
1203
1203
|
if (symbol === undefined) {
|
|
@@ -1266,7 +1266,7 @@ class bitopro extends bitopro$1 {
|
|
|
1266
1266
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1267
1267
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1268
1268
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1269
|
-
* @param {object} [params] extra parameters specific to the
|
|
1269
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1270
1270
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1271
1271
|
*/
|
|
1272
1272
|
const request = {
|
|
@@ -1283,7 +1283,7 @@ class bitopro extends bitopro$1 {
|
|
|
1283
1283
|
* @param {string} symbol unified market symbol
|
|
1284
1284
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1285
1285
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1286
|
-
* @param {object} [params] extra parameters specific to the
|
|
1286
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1287
1287
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1288
1288
|
*/
|
|
1289
1289
|
if (symbol === undefined) {
|
|
@@ -1422,7 +1422,7 @@ class bitopro extends bitopro$1 {
|
|
|
1422
1422
|
* @param {string} code unified currency code
|
|
1423
1423
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1424
1424
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1425
|
-
* @param {object} [params] extra parameters specific to the
|
|
1425
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1426
1426
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1427
1427
|
*/
|
|
1428
1428
|
if (code === undefined) {
|
|
@@ -1474,7 +1474,7 @@ class bitopro extends bitopro$1 {
|
|
|
1474
1474
|
* @param {string} code unified currency code
|
|
1475
1475
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1476
1476
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1477
|
-
* @param {object} [params] extra parameters specific to the
|
|
1477
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1478
1478
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1479
1479
|
*/
|
|
1480
1480
|
if (code === undefined) {
|
|
@@ -1524,7 +1524,7 @@ class bitopro extends bitopro$1 {
|
|
|
1524
1524
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_an_withdraw_invoice_data.md
|
|
1525
1525
|
* @param {string} id withdrawal id
|
|
1526
1526
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
1527
|
-
* @param {object} [params] extra parameters specific to the
|
|
1527
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1528
1528
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1529
1529
|
*/
|
|
1530
1530
|
if (code === undefined) {
|
|
@@ -1566,7 +1566,7 @@ class bitopro extends bitopro$1 {
|
|
|
1566
1566
|
* @param {float} amount the amount to withdraw
|
|
1567
1567
|
* @param {string} address the address to withdraw to
|
|
1568
1568
|
* @param {string} tag
|
|
1569
|
-
* @param {object} [params] extra parameters specific to the
|
|
1569
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1570
1570
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1571
1571
|
*/
|
|
1572
1572
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1639,7 +1639,7 @@ class bitopro extends bitopro$1 {
|
|
|
1639
1639
|
* @description fetch deposit and withdraw fees
|
|
1640
1640
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_currency_info.md
|
|
1641
1641
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1642
|
-
* @param {object} [params] extra parameters specific to the
|
|
1642
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1643
1643
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1644
1644
|
*/
|
|
1645
1645
|
await this.loadMarkets();
|