ccxt 4.1.63 → 4.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/ccxt.browser.js +2769 -2653
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +13 -13
- package/dist/cjs/src/alpaca.js +10 -10
- package/dist/cjs/src/ascendex.js +33 -33
- package/dist/cjs/src/base/Exchange.js +6 -6
- package/dist/cjs/src/bigone.js +23 -23
- package/dist/cjs/src/binance.js +68 -68
- package/dist/cjs/src/binanceus.js +33 -3
- package/dist/cjs/src/bingx.js +33 -33
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +14 -14
- package/dist/cjs/src/bitbns.js +15 -15
- package/dist/cjs/src/bitfinex.js +24 -24
- package/dist/cjs/src/bitfinex2.js +30 -30
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +12 -12
- package/dist/cjs/src/bitget.js +50 -50
- package/dist/cjs/src/bithumb.js +13 -13
- package/dist/cjs/src/bitmart.js +74 -59
- package/dist/cjs/src/bitmex.js +29 -28
- package/dist/cjs/src/bitopro.js +23 -23
- package/dist/cjs/src/bitpanda.js +25 -25
- package/dist/cjs/src/bitrue.js +26 -26
- package/dist/cjs/src/bitso.js +22 -22
- package/dist/cjs/src/bitstamp.js +24 -24
- package/dist/cjs/src/bittrex.js +31 -31
- package/dist/cjs/src/bitvavo.js +23 -23
- package/dist/cjs/src/bl3p.js +7 -7
- package/dist/cjs/src/blockchaincom.js +23 -23
- package/dist/cjs/src/btcalpha.js +17 -17
- package/dist/cjs/src/btcbox.js +9 -9
- package/dist/cjs/src/btcmarkets.js +19 -19
- package/dist/cjs/src/btcturk.js +13 -13
- package/dist/cjs/src/bybit.js +71 -67
- package/dist/cjs/src/cex.js +17 -17
- package/dist/cjs/src/coinbase.js +28 -28
- package/dist/cjs/src/coinbasepro.js +27 -27
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +42 -42
- package/dist/cjs/src/coinlist.js +29 -29
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +13 -13
- package/dist/cjs/src/coinsph.js +25 -25
- package/dist/cjs/src/coinspot.js +9 -9
- package/dist/cjs/src/cryptocom.js +33 -32
- package/dist/cjs/src/currencycom.js +24 -24
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +35 -35
- package/dist/cjs/src/digifinex.js +43 -43
- package/dist/cjs/src/exmo.js +30 -30
- package/dist/cjs/src/gate.js +39 -39
- package/dist/cjs/src/gemini.js +18 -18
- package/dist/cjs/src/hitbtc.js +40 -40
- package/dist/cjs/src/hollaex.js +26 -26
- package/dist/cjs/src/htx.js +48 -48
- package/dist/cjs/src/huobijp.js +24 -24
- package/dist/cjs/src/idex.js +23 -23
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +16 -16
- package/dist/cjs/src/kraken.js +48 -30
- package/dist/cjs/src/krakenfutures.js +16 -16
- package/dist/cjs/src/kucoin.js +39 -39
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +25 -25
- package/dist/cjs/src/latoken.js +20 -20
- package/dist/cjs/src/lbank.js +24 -24
- package/dist/cjs/src/luno.js +27 -28
- package/dist/cjs/src/lykke.js +18 -18
- package/dist/cjs/src/mercado.js +13 -13
- package/dist/cjs/src/mexc.js +47 -45
- package/dist/cjs/src/ndax.js +23 -23
- package/dist/cjs/src/novadax.js +23 -23
- package/dist/cjs/src/oceanex.js +19 -19
- package/dist/cjs/src/okcoin.js +25 -25
- package/dist/cjs/src/okx.js +53 -53
- package/dist/cjs/src/p2b.js +14 -14
- package/dist/cjs/src/paymium.js +10 -10
- package/dist/cjs/src/phemex.js +162 -123
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/poloniexfutures.js +21 -21
- package/dist/cjs/src/pro/alpaca.js +6 -6
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/binance.js +21 -21
- package/dist/cjs/src/pro/bingx.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +7 -7
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bitmart.js +5 -5
- package/dist/cjs/src/pro/bitmex.js +8 -8
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +7 -7
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrex.js +7 -7
- package/dist/cjs/src/pro/bitvavo.js +6 -6
- package/dist/cjs/src/pro/blockchaincom.js +6 -6
- package/dist/cjs/src/pro/bybit.js +12 -12
- package/dist/cjs/src/pro/cex.js +9 -9
- package/dist/cjs/src/pro/coinbase.js +6 -6
- package/dist/cjs/src/pro/coinbasepro.js +10 -10
- package/dist/cjs/src/pro/coinex.js +7 -7
- package/dist/cjs/src/pro/cryptocom.js +13 -13
- package/dist/cjs/src/pro/currencycom.js +5 -5
- package/dist/cjs/src/pro/deribit.js +7 -7
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +10 -10
- package/dist/cjs/src/pro/gemini.js +4 -4
- package/dist/cjs/src/pro/hitbtc.js +11 -11
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +8 -8
- package/dist/cjs/src/pro/huobijp.js +4 -4
- package/dist/cjs/src/pro/idex.js +5 -5
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +11 -11
- package/dist/cjs/src/pro/krakenfutures.js +12 -9
- package/dist/cjs/src/pro/kucoin.js +10 -10
- package/dist/cjs/src/pro/kucoinfutures.js +8 -8
- package/dist/cjs/src/pro/luno.js +4 -4
- package/dist/cjs/src/pro/mexc.js +7 -7
- package/dist/cjs/src/pro/ndax.js +4 -4
- package/dist/cjs/src/pro/okcoin.js +6 -6
- package/dist/cjs/src/pro/okx.js +16 -16
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +7 -7
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +3 -3
- package/dist/cjs/src/pro/wazirx.js +7 -7
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/probit.js +24 -24
- package/dist/cjs/src/tidex.js +15 -15
- package/dist/cjs/src/timex.js +19 -19
- package/dist/cjs/src/tokocrypto.js +22 -24
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +22 -16
- package/dist/cjs/src/whitebit.js +29 -29
- package/dist/cjs/src/woo.js +26 -26
- package/dist/cjs/src/yobit.js +17 -17
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +16 -16
- package/doc/manual.rst +1 -1
- package/doc/readme.rst +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/ace.js +13 -13
- package/js/src/alpaca.js +10 -10
- package/js/src/ascendex.js +33 -33
- package/js/src/base/Exchange.js +6 -6
- package/js/src/bigone.js +23 -23
- package/js/src/binance.js +68 -68
- package/js/src/binanceus.js +33 -3
- package/js/src/bingx.js +33 -33
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.js +14 -14
- package/js/src/bitbns.js +15 -15
- package/js/src/bitfinex.js +24 -24
- package/js/src/bitfinex2.js +30 -30
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +12 -12
- package/js/src/bitget.js +50 -50
- package/js/src/bithumb.js +13 -13
- package/js/src/bitmart.js +74 -59
- package/js/src/bitmex.js +29 -28
- package/js/src/bitopro.js +23 -23
- package/js/src/bitpanda.js +25 -25
- package/js/src/bitrue.js +26 -26
- package/js/src/bitso.js +22 -22
- package/js/src/bitstamp.js +24 -24
- package/js/src/bittrex.js +31 -31
- package/js/src/bitvavo.js +23 -23
- package/js/src/bl3p.js +7 -7
- package/js/src/blockchaincom.js +23 -23
- package/js/src/btcalpha.js +17 -17
- package/js/src/btcbox.js +9 -9
- package/js/src/btcmarkets.js +19 -19
- package/js/src/btcturk.js +13 -13
- package/js/src/bybit.js +71 -67
- package/js/src/cex.js +17 -17
- package/js/src/coinbase.js +28 -28
- package/js/src/coinbasepro.js +27 -27
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.js +42 -42
- package/js/src/coinlist.js +29 -29
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +13 -13
- package/js/src/coinsph.js +25 -25
- package/js/src/coinspot.js +9 -9
- package/js/src/cryptocom.js +33 -32
- package/js/src/currencycom.js +24 -24
- package/js/src/delta.js +29 -29
- package/js/src/deribit.js +35 -35
- package/js/src/digifinex.js +43 -43
- package/js/src/exmo.js +30 -30
- package/js/src/gate.js +39 -39
- package/js/src/gemini.js +18 -18
- package/js/src/hitbtc.js +40 -40
- package/js/src/hollaex.js +26 -26
- package/js/src/htx.js +48 -48
- package/js/src/huobijp.js +24 -24
- package/js/src/idex.js +23 -23
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +16 -16
- package/js/src/kraken.js +48 -30
- package/js/src/krakenfutures.js +16 -16
- package/js/src/kucoin.js +39 -39
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +25 -25
- package/js/src/latoken.js +20 -20
- package/js/src/lbank.js +24 -24
- package/js/src/luno.js +27 -28
- package/js/src/lykke.js +18 -18
- package/js/src/mercado.js +13 -13
- package/js/src/mexc.js +47 -45
- package/js/src/ndax.js +23 -23
- package/js/src/novadax.js +23 -23
- package/js/src/oceanex.js +19 -19
- package/js/src/okcoin.js +25 -25
- package/js/src/okx.js +53 -53
- package/js/src/p2b.js +14 -14
- package/js/src/paymium.js +10 -10
- package/js/src/phemex.js +162 -123
- package/js/src/poloniex.js +27 -27
- package/js/src/poloniexfutures.js +21 -21
- package/js/src/pro/alpaca.js +6 -6
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/binance.js +21 -21
- package/js/src/pro/bingx.js +6 -6
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +7 -7
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bitmart.js +5 -5
- package/js/src/pro/bitmex.js +8 -8
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +7 -7
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +7 -7
- package/js/src/pro/bitvavo.js +6 -6
- package/js/src/pro/blockchaincom.js +6 -6
- package/js/src/pro/bybit.js +12 -12
- package/js/src/pro/cex.js +9 -9
- package/js/src/pro/coinbase.js +6 -6
- package/js/src/pro/coinbasepro.js +10 -10
- package/js/src/pro/coinex.js +7 -7
- package/js/src/pro/cryptocom.js +13 -13
- package/js/src/pro/currencycom.js +5 -5
- package/js/src/pro/deribit.js +7 -7
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +10 -10
- package/js/src/pro/gemini.js +4 -4
- package/js/src/pro/hitbtc.js +11 -11
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.js +8 -8
- package/js/src/pro/huobijp.js +4 -4
- package/js/src/pro/idex.js +5 -5
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +11 -11
- package/js/src/pro/krakenfutures.js +12 -9
- package/js/src/pro/kucoin.js +10 -10
- package/js/src/pro/kucoinfutures.js +8 -8
- package/js/src/pro/luno.js +4 -4
- package/js/src/pro/mexc.js +7 -7
- package/js/src/pro/ndax.js +4 -4
- package/js/src/pro/okcoin.js +6 -6
- package/js/src/pro/okx.js +16 -16
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.js +7 -7
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +3 -3
- package/js/src/pro/wazirx.js +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.js +1 -1
- package/js/src/probit.js +24 -24
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +22 -24
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +22 -16
- package/js/src/whitebit.js +29 -29
- package/js/src/woo.js +26 -26
- package/js/src/yobit.js +17 -17
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +16 -16
- package/package.json +1 -1
package/dist/cjs/src/kuna.js
CHANGED
|
@@ -403,7 +403,7 @@ class kuna extends kuna$1 {
|
|
|
403
403
|
* @name kuna#fetchTime
|
|
404
404
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
405
405
|
* @see https://docs.kuna.io/docs/get-time-on-the-server
|
|
406
|
-
* @param {object} [params] extra parameters specific to the
|
|
406
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
407
407
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
408
408
|
*/
|
|
409
409
|
const response = await this.v4PublicGetPublicTimestamp(params);
|
|
@@ -424,7 +424,7 @@ class kuna extends kuna$1 {
|
|
|
424
424
|
* @name kuna#fetchCurrencies
|
|
425
425
|
* @description fetches all available currencies on an exchange
|
|
426
426
|
* @see https://docs.kuna.io/docs/get-information-about-available-currencies
|
|
427
|
-
* @param {object} [params] extra parameters specific to the
|
|
427
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
428
428
|
* @returns {object} an associative dictionary of currencies
|
|
429
429
|
*/
|
|
430
430
|
const response = await this.v4PublicGetPublicCurrencies(params);
|
|
@@ -519,7 +519,7 @@ class kuna extends kuna$1 {
|
|
|
519
519
|
* @name kuna#fetchMarkets
|
|
520
520
|
* @description retrieves data on all markets for kuna
|
|
521
521
|
* @see https://docs.kuna.io/docs/get-all-traded-markets
|
|
522
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
522
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
523
523
|
* @returns {object[]} an array of objects representing market data
|
|
524
524
|
*/
|
|
525
525
|
const response = await this.v4PublicGetMarketsPublicGetAll(params);
|
|
@@ -614,7 +614,7 @@ class kuna extends kuna$1 {
|
|
|
614
614
|
* @see https://docs.kuna.io/docs/get-public-orders-book
|
|
615
615
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
616
616
|
* @param {int} [limit] 5, 10, 20, 50, 100, 500, or 1000 (default)
|
|
617
|
-
* @param {object} [params] extra parameters specific to the
|
|
617
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
618
618
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
619
619
|
*/
|
|
620
620
|
await this.loadMarkets();
|
|
@@ -697,10 +697,10 @@ class kuna extends kuna$1 {
|
|
|
697
697
|
/**
|
|
698
698
|
* @method
|
|
699
699
|
* @name kuna#fetchTickers
|
|
700
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
700
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market. The average is not returned in the response, but the median can be accessed via response['info']['price']
|
|
701
701
|
* @see https://docs.kuna.io/docs/get-market-info-by-tickers
|
|
702
702
|
* @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
703
|
-
* @param {object} [params] extra parameters specific to the
|
|
703
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
704
704
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
705
705
|
*/
|
|
706
706
|
await this.loadMarkets();
|
|
@@ -743,7 +743,7 @@ class kuna extends kuna$1 {
|
|
|
743
743
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
744
744
|
* @see https://docs.kuna.io/docs/get-market-info-by-tickers
|
|
745
745
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
746
|
-
* @param {object} [params] extra parameters specific to the
|
|
746
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
747
747
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
748
748
|
*/
|
|
749
749
|
await this.loadMarkets();
|
|
@@ -784,7 +784,7 @@ class kuna extends kuna$1 {
|
|
|
784
784
|
* @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
785
785
|
* @param {string} symbol unified market symbol
|
|
786
786
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
787
|
-
* @param {object} [params] extra parameters specific to the
|
|
787
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
788
788
|
* @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
|
|
789
789
|
*/
|
|
790
790
|
return await this.fetchOrderBook(symbol, limit, params);
|
|
@@ -798,7 +798,7 @@ class kuna extends kuna$1 {
|
|
|
798
798
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
799
799
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
800
800
|
* @param {int} [limit] between 1 and 100, 25 by default
|
|
801
|
-
* @param {object} [params] extra parameters specific to the
|
|
801
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
802
802
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
803
803
|
*/
|
|
804
804
|
await this.loadMarkets();
|
|
@@ -912,7 +912,7 @@ class kuna extends kuna$1 {
|
|
|
912
912
|
* @method
|
|
913
913
|
* @name kuna#fetchBalance
|
|
914
914
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
915
|
-
* @param {object} [params] extra parameters specific to the
|
|
915
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
916
916
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
917
917
|
*/
|
|
918
918
|
await this.loadMarkets();
|
|
@@ -940,7 +940,7 @@ class kuna extends kuna$1 {
|
|
|
940
940
|
* @param {string} side 'buy' or 'sell'
|
|
941
941
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
942
942
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
943
|
-
* @param {object} [params] extra parameters specific to the
|
|
943
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
944
944
|
* @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
945
945
|
*
|
|
946
946
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -997,7 +997,7 @@ class kuna extends kuna$1 {
|
|
|
997
997
|
* @description cancels an open order
|
|
998
998
|
* @param {string} id order id
|
|
999
999
|
* @param {string} symbol unified market symbol
|
|
1000
|
-
* @param {object} [params] extra parameters specific to the
|
|
1000
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1001
1001
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1002
1002
|
*/
|
|
1003
1003
|
await this.loadMarkets();
|
|
@@ -1028,7 +1028,7 @@ class kuna extends kuna$1 {
|
|
|
1028
1028
|
* @description cancels an open order
|
|
1029
1029
|
* @param {string} ids order ids
|
|
1030
1030
|
* @param {string} symbol not used by kuna cancelOrder
|
|
1031
|
-
* @param {object} [params] extra parameters specific to the
|
|
1031
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1032
1032
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1033
1033
|
*/
|
|
1034
1034
|
await this.loadMarkets();
|
|
@@ -1147,7 +1147,7 @@ class kuna extends kuna$1 {
|
|
|
1147
1147
|
* @description fetches information on an order made by the user
|
|
1148
1148
|
* @see https://docs.kuna.io/docs/get-order-details-by-id
|
|
1149
1149
|
* @param {string} symbol not used by kuna fetchOrder
|
|
1150
|
-
* @param {object} [params] extra parameters specific to the
|
|
1150
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1151
1151
|
*
|
|
1152
1152
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1153
1153
|
* @param {boolean} [params.withTrades] default == true, specify if the response should include trades associated with the order
|
|
@@ -1205,7 +1205,7 @@ class kuna extends kuna$1 {
|
|
|
1205
1205
|
* @param {string} symbol unified market symbol
|
|
1206
1206
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1207
1207
|
* @param {int} [limit] 1-100, the maximum number of open orders structures to retrieve
|
|
1208
|
-
* @param {object} [params] extra parameters specific to the
|
|
1208
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1209
1209
|
* @param {int} [params.until] the latest timestamp (ms) to fetch orders for
|
|
1210
1210
|
*
|
|
1211
1211
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1264,7 +1264,7 @@ class kuna extends kuna$1 {
|
|
|
1264
1264
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1265
1265
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1266
1266
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1267
|
-
* @param {object} [params] extra parameters specific to the
|
|
1267
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1268
1268
|
* @param {int} [params.until] the latest time in ms to fetch orders for
|
|
1269
1269
|
*
|
|
1270
1270
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1283,7 +1283,7 @@ class kuna extends kuna$1 {
|
|
|
1283
1283
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1284
1284
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1285
1285
|
* @param {int} [limit] 1-100, the maximum number of open orders 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
|
* @param {int} [params.until] the latest timestamp (ms) to fetch orders for
|
|
1288
1288
|
*
|
|
1289
1289
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1348,7 +1348,7 @@ class kuna extends kuna$1 {
|
|
|
1348
1348
|
* @param {string} symbol unified market symbol
|
|
1349
1349
|
* @param {int} [since] not used by kuna fetchMyTrades
|
|
1350
1350
|
* @param {int} [limit] not used by kuna fetchMyTrades
|
|
1351
|
-
* @param {object} [params] extra parameters specific to the
|
|
1351
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1352
1352
|
*
|
|
1353
1353
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1354
1354
|
* @param {string} [params.orderId] UUID of an order, to receive trades for this order only
|
|
@@ -1395,7 +1395,7 @@ class kuna extends kuna$1 {
|
|
|
1395
1395
|
* @param {float} amount the amount to withdraw
|
|
1396
1396
|
* @param {string} address the address to withdraw to
|
|
1397
1397
|
* @param {string} tag
|
|
1398
|
-
* @param {object} [params] extra parameters specific to the
|
|
1398
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1399
1399
|
* @param {string} [params.chain] the chain to withdraw to
|
|
1400
1400
|
*
|
|
1401
1401
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1447,7 +1447,7 @@ class kuna extends kuna$1 {
|
|
|
1447
1447
|
* @param {string} code unified currency code
|
|
1448
1448
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1449
1449
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1450
|
-
* @param {object} [params] extra parameters specific to the
|
|
1450
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1451
1451
|
* @param {int} [params.until] the latest time in ms to fetch deposits for
|
|
1452
1452
|
*
|
|
1453
1453
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1514,7 +1514,7 @@ class kuna extends kuna$1 {
|
|
|
1514
1514
|
* @see https://docs.kuna.io/docs/get-withdraw-details-by-id
|
|
1515
1515
|
* @param {string} id withdrawal id
|
|
1516
1516
|
* @param {string} code not used by kuna.fetchWithdrawal
|
|
1517
|
-
* @param {object} [params] extra parameters specific to the
|
|
1517
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1518
1518
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1519
1519
|
*/
|
|
1520
1520
|
await this.loadMarkets();
|
|
@@ -1553,7 +1553,7 @@ class kuna extends kuna$1 {
|
|
|
1553
1553
|
* @description create a currency deposit address
|
|
1554
1554
|
* @see https://docs.kuna.io/docs/generate-a-constant-crypto-address-for-deposit
|
|
1555
1555
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1556
|
-
* @param {object} [params] extra parameters specific to the
|
|
1556
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1557
1557
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1558
1558
|
*/
|
|
1559
1559
|
await this.loadMarkets();
|
|
@@ -1581,7 +1581,7 @@ class kuna extends kuna$1 {
|
|
|
1581
1581
|
* @description fetch the deposit address for a currency associated with this account
|
|
1582
1582
|
* @see https://docs.kuna.io/docs/find-crypto-address-for-deposit
|
|
1583
1583
|
* @param {string} code unified currency code
|
|
1584
|
-
* @param {object} [params] extra parameters specific to the
|
|
1584
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1585
1585
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1586
1586
|
*/
|
|
1587
1587
|
await this.loadMarkets();
|
|
@@ -1641,7 +1641,7 @@ class kuna extends kuna$1 {
|
|
|
1641
1641
|
* @param {string} code unified currency code
|
|
1642
1642
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1643
1643
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1644
|
-
* @param {object} [params] extra parameters specific to the
|
|
1644
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1645
1645
|
* @param {int} [params.until] the latest time in ms to fetch deposits for
|
|
1646
1646
|
*
|
|
1647
1647
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1708,7 +1708,7 @@ class kuna extends kuna$1 {
|
|
|
1708
1708
|
* @see https://docs.kuna.io/docs/get-deposit-details-by-id
|
|
1709
1709
|
* @param {string} id deposit id
|
|
1710
1710
|
* @param {string} code filter by currency code
|
|
1711
|
-
* @param {object} [params] extra parameters specific to the
|
|
1711
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1712
1712
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1713
1713
|
*/
|
|
1714
1714
|
await this.loadMarkets();
|
package/dist/cjs/src/latoken.js
CHANGED
|
@@ -227,7 +227,7 @@ class latoken extends latoken$1 {
|
|
|
227
227
|
* @method
|
|
228
228
|
* @name latoken#fetchTime
|
|
229
229
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
230
|
-
* @param {object} [params] extra parameters specific to the
|
|
230
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
231
231
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
232
232
|
*/
|
|
233
233
|
const response = await this.publicGetTime(params);
|
|
@@ -243,7 +243,7 @@ class latoken extends latoken$1 {
|
|
|
243
243
|
* @method
|
|
244
244
|
* @name latoken#fetchMarkets
|
|
245
245
|
* @description retrieves data on all markets for latoken
|
|
246
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
246
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
247
247
|
* @returns {object[]} an array of objects representing market data
|
|
248
248
|
*/
|
|
249
249
|
const currencies = await this.fetchCurrenciesFromCache(params);
|
|
@@ -393,7 +393,7 @@ class latoken extends latoken$1 {
|
|
|
393
393
|
* @method
|
|
394
394
|
* @name latoken#fetchCurrencies
|
|
395
395
|
* @description fetches all available currencies on an exchange
|
|
396
|
-
* @param {object} [params] extra parameters specific to the
|
|
396
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
397
397
|
* @returns {object} an associative dictionary of currencies
|
|
398
398
|
*/
|
|
399
399
|
const response = await this.fetchCurrenciesFromCache(params);
|
|
@@ -479,7 +479,7 @@ class latoken extends latoken$1 {
|
|
|
479
479
|
* @method
|
|
480
480
|
* @name latoken#fetchBalance
|
|
481
481
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
482
|
-
* @param {object} [params] extra parameters specific to the
|
|
482
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
483
483
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
484
484
|
*/
|
|
485
485
|
await this.loadMarkets();
|
|
@@ -547,7 +547,7 @@ class latoken extends latoken$1 {
|
|
|
547
547
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
548
548
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
549
549
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
550
|
-
* @param {object} [params] extra parameters specific to the
|
|
550
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
551
551
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
552
552
|
*/
|
|
553
553
|
await this.loadMarkets();
|
|
@@ -631,7 +631,7 @@ class latoken extends latoken$1 {
|
|
|
631
631
|
* @name latoken#fetchTicker
|
|
632
632
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
633
633
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
634
|
-
* @param {object} [params] extra parameters specific to the
|
|
634
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
635
635
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
636
636
|
*/
|
|
637
637
|
await this.loadMarkets();
|
|
@@ -667,9 +667,9 @@ class latoken extends latoken$1 {
|
|
|
667
667
|
/**
|
|
668
668
|
* @method
|
|
669
669
|
* @name latoken#fetchTickers
|
|
670
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
670
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
671
671
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
672
|
-
* @param {object} [params] extra parameters specific to the
|
|
672
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
673
673
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
674
674
|
*/
|
|
675
675
|
await this.loadMarkets();
|
|
@@ -793,7 +793,7 @@ class latoken extends latoken$1 {
|
|
|
793
793
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
794
794
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
795
795
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
796
|
-
* @param {object} [params] extra parameters specific to the
|
|
796
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
797
797
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
798
798
|
*/
|
|
799
799
|
await this.loadMarkets();
|
|
@@ -823,7 +823,7 @@ class latoken extends latoken$1 {
|
|
|
823
823
|
* @name latoken#fetchTradingFee
|
|
824
824
|
* @description fetch the trading fees for a market
|
|
825
825
|
* @param {string} symbol unified market symbol
|
|
826
|
-
* @param {object} [params] extra parameters specific to the
|
|
826
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
827
827
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
828
828
|
*/
|
|
829
829
|
let method = this.safeString(params, 'method');
|
|
@@ -888,7 +888,7 @@ class latoken extends latoken$1 {
|
|
|
888
888
|
* @param {string} symbol unified market symbol
|
|
889
889
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
890
890
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
891
|
-
* @param {object} [params] extra parameters specific to the
|
|
891
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
892
892
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
893
893
|
*/
|
|
894
894
|
await this.loadMarkets();
|
|
@@ -1070,7 +1070,7 @@ class latoken extends latoken$1 {
|
|
|
1070
1070
|
* @param {string} symbol unified market symbol
|
|
1071
1071
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1072
1072
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1073
|
-
* @param {object} [params] extra parameters specific to the
|
|
1073
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1074
1074
|
* @param {boolean} [params.trigger] true if fetching trigger orders
|
|
1075
1075
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1076
1076
|
*/
|
|
@@ -1129,7 +1129,7 @@ class latoken extends latoken$1 {
|
|
|
1129
1129
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1130
1130
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1131
1131
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1132
|
-
* @param {object} [params] extra parameters specific to the
|
|
1132
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1133
1133
|
* @param {boolean} [params.trigger] true if fetching trigger orders
|
|
1134
1134
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1135
1135
|
*/
|
|
@@ -1198,7 +1198,7 @@ class latoken extends latoken$1 {
|
|
|
1198
1198
|
* @see https://api.latoken.com/doc/v2/#tag/Order/operation/getOrderById
|
|
1199
1199
|
* @see https://api.latoken.com/doc/v2/#tag/StopOrder/operation/getStopOrderById
|
|
1200
1200
|
* @param {string} [symbol] not used by latoken fetchOrder
|
|
1201
|
-
* @param {object} [params] extra parameters specific to the
|
|
1201
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1202
1202
|
* @param {boolean} [params.trigger] true if fetching a trigger order
|
|
1203
1203
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1204
1204
|
*/
|
|
@@ -1249,7 +1249,7 @@ class latoken extends latoken$1 {
|
|
|
1249
1249
|
* @param {string} side 'buy' or 'sell'
|
|
1250
1250
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1251
1251
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1252
|
-
* @param {object} [params] extra parameters specific to the
|
|
1252
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1253
1253
|
* @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
1254
1254
|
*
|
|
1255
1255
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -1308,7 +1308,7 @@ class latoken extends latoken$1 {
|
|
|
1308
1308
|
* @see https://api.latoken.com/doc/v2/#tag/StopOrder/operation/cancelStopOrder // stop
|
|
1309
1309
|
* @param {string} id order id
|
|
1310
1310
|
* @param {string} symbol not used by latoken cancelOrder ()
|
|
1311
|
-
* @param {object} [params] extra parameters specific to the
|
|
1311
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1312
1312
|
* @param {boolean} [params.trigger] true if cancelling a trigger order
|
|
1313
1313
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1314
1314
|
*/
|
|
@@ -1344,7 +1344,7 @@ class latoken extends latoken$1 {
|
|
|
1344
1344
|
* @see https://api.latoken.com/doc/v2/#tag/Order/operation/cancelAllOrders
|
|
1345
1345
|
* @see https://api.latoken.com/doc/v2/#tag/Order/operation/cancelAllOrdersByPair
|
|
1346
1346
|
* @param {string} symbol unified market symbol of the market to cancel orders in
|
|
1347
|
-
* @param {object} [params] extra parameters specific to the
|
|
1347
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1348
1348
|
* @param {boolean} [params.trigger] true if cancelling trigger orders
|
|
1349
1349
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1350
1350
|
*/
|
|
@@ -1393,7 +1393,7 @@ class latoken extends latoken$1 {
|
|
|
1393
1393
|
* @param {string} code unified currency code for the currency of the transactions, default is undefined
|
|
1394
1394
|
* @param {int} [since] timestamp in ms of the earliest transaction, default is undefined
|
|
1395
1395
|
* @param {int} [limit] max number of transactions to return, default is undefined
|
|
1396
|
-
* @param {object} [params] extra parameters specific to the
|
|
1396
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1397
1397
|
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1398
1398
|
*/
|
|
1399
1399
|
await this.loadMarkets();
|
|
@@ -1521,7 +1521,7 @@ class latoken extends latoken$1 {
|
|
|
1521
1521
|
* @param {string} code unified currency code of the currency transferred
|
|
1522
1522
|
* @param {int} [since] the earliest time in ms to fetch transfers for
|
|
1523
1523
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
1524
|
-
* @param {object} [params] extra parameters specific to the
|
|
1524
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1525
1525
|
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
|
|
1526
1526
|
*/
|
|
1527
1527
|
await this.loadMarkets();
|
|
@@ -1570,7 +1570,7 @@ class latoken extends latoken$1 {
|
|
|
1570
1570
|
* @param {float} amount amount to transfer
|
|
1571
1571
|
* @param {string} fromAccount account to transfer from
|
|
1572
1572
|
* @param {string} toAccount account to transfer to
|
|
1573
|
-
* @param {object} [params] extra parameters specific to the
|
|
1573
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1574
1574
|
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
|
|
1575
1575
|
*/
|
|
1576
1576
|
await this.loadMarkets();
|
package/dist/cjs/src/lbank.js
CHANGED
|
@@ -297,7 +297,7 @@ class lbank extends lbank$1 {
|
|
|
297
297
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
298
298
|
* @see https://www.lbank.info/en-US/docs/index.html#get-timestamp
|
|
299
299
|
* @see https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
|
|
300
|
-
* @param {object} [params] extra parameters specific to the
|
|
300
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
301
301
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
302
302
|
*/
|
|
303
303
|
let type = undefined;
|
|
@@ -338,7 +338,7 @@ class lbank extends lbank$1 {
|
|
|
338
338
|
* @description retrieves data on all markets for lbank2
|
|
339
339
|
* @see https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
|
340
340
|
* @see https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
|
|
341
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
341
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
342
342
|
* @returns {object[]} an array of objects representing market data
|
|
343
343
|
*/
|
|
344
344
|
const marketsPromises = [
|
|
@@ -592,7 +592,7 @@ class lbank extends lbank$1 {
|
|
|
592
592
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
593
593
|
* @see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
|
594
594
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
595
|
-
* @param {object} [params] extra parameters specific to the
|
|
595
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
596
596
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
597
597
|
*/
|
|
598
598
|
await this.loadMarkets();
|
|
@@ -634,11 +634,11 @@ class lbank extends lbank$1 {
|
|
|
634
634
|
/**
|
|
635
635
|
* @method
|
|
636
636
|
* @name lbank2#fetchTickers
|
|
637
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
637
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
638
638
|
* @see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
|
639
639
|
* @see https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
|
|
640
640
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
641
|
-
* @param {object} [params] extra parameters specific to the
|
|
641
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
642
642
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
643
643
|
*/
|
|
644
644
|
await this.loadMarkets();
|
|
@@ -719,7 +719,7 @@ class lbank extends lbank$1 {
|
|
|
719
719
|
* @see https://www.lbank.com/en-US/docs/contract.html#get-handicap
|
|
720
720
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
721
721
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
722
|
-
* @param {object} [params] extra parameters specific to the
|
|
722
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
723
723
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
724
724
|
*/
|
|
725
725
|
await this.loadMarkets();
|
|
@@ -909,7 +909,7 @@ class lbank extends lbank$1 {
|
|
|
909
909
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
910
910
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
911
911
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
912
|
-
* @param {object} [params] extra parameters specific to the
|
|
912
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
913
913
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
914
914
|
*/
|
|
915
915
|
await this.loadMarkets();
|
|
@@ -982,7 +982,7 @@ class lbank extends lbank$1 {
|
|
|
982
982
|
* @param {string} timeframe the length of time each candle represents
|
|
983
983
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
984
984
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
985
|
-
* @param {object} [params] extra parameters specific to the
|
|
985
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
986
986
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
987
987
|
*/
|
|
988
988
|
// endpoint doesnt work
|
|
@@ -1165,7 +1165,7 @@ class lbank extends lbank$1 {
|
|
|
1165
1165
|
* @see https://www.lbank.info/en-US/docs/index.html#asset-information
|
|
1166
1166
|
* @see https://www.lbank.info/en-US/docs/index.html#account-information
|
|
1167
1167
|
* @see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
|
1168
|
-
* @param {object} [params] extra parameters specific to the
|
|
1168
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1169
1169
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1170
1170
|
*/
|
|
1171
1171
|
await this.loadMarkets();
|
|
@@ -1231,7 +1231,7 @@ class lbank extends lbank$1 {
|
|
|
1231
1231
|
* @description fetch the trading fees for a market
|
|
1232
1232
|
* @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
|
1233
1233
|
* @param {string} symbol unified market symbol
|
|
1234
|
-
* @param {object} [params] extra parameters specific to the
|
|
1234
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1235
1235
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1236
1236
|
*/
|
|
1237
1237
|
const market = this.market(symbol);
|
|
@@ -1244,7 +1244,7 @@ class lbank extends lbank$1 {
|
|
|
1244
1244
|
* @name lbank2#fetchTradingFees
|
|
1245
1245
|
* @description fetch the trading fees for multiple markets
|
|
1246
1246
|
* @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
|
1247
|
-
* @param {object} [params] extra parameters specific to the
|
|
1247
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1248
1248
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1249
1249
|
*/
|
|
1250
1250
|
await this.loadMarkets();
|
|
@@ -1271,7 +1271,7 @@ class lbank extends lbank$1 {
|
|
|
1271
1271
|
* @param {string} side 'buy' or 'sell'
|
|
1272
1272
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1273
1273
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1274
|
-
* @param {object} [params] extra parameters specific to the
|
|
1274
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1275
1275
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1276
1276
|
*/
|
|
1277
1277
|
await this.loadMarkets();
|
|
@@ -1499,7 +1499,7 @@ class lbank extends lbank$1 {
|
|
|
1499
1499
|
* @see https://www.lbank.info/en-US/docs/index.html#query-order
|
|
1500
1500
|
* @see https://www.lbank.info/en-US/docs/index.html#query-order-new
|
|
1501
1501
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1502
|
-
* @param {object} [params] extra parameters specific to the
|
|
1502
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1503
1503
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1504
1504
|
*/
|
|
1505
1505
|
await this.loadMarkets();
|
|
@@ -1604,7 +1604,7 @@ class lbank extends lbank$1 {
|
|
|
1604
1604
|
* @param {string} symbol unified market symbol
|
|
1605
1605
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1606
1606
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
1607
|
-
* @param {object} [params] extra parameters specific to the
|
|
1607
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1608
1608
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
1609
1609
|
*/
|
|
1610
1610
|
if (symbol === undefined) {
|
|
@@ -1663,7 +1663,7 @@ class lbank extends lbank$1 {
|
|
|
1663
1663
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1664
1664
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1665
1665
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1666
|
-
* @param {object} [params] extra parameters specific to the
|
|
1666
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1667
1667
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1668
1668
|
*/
|
|
1669
1669
|
// default query is for canceled and completely filled orders
|
|
@@ -1723,7 +1723,7 @@ class lbank extends lbank$1 {
|
|
|
1723
1723
|
* @param {string} symbol unified market symbol
|
|
1724
1724
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1725
1725
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1726
|
-
* @param {object} [params] extra parameters specific to the
|
|
1726
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1727
1727
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1728
1728
|
*/
|
|
1729
1729
|
if (symbol === undefined) {
|
|
@@ -1779,7 +1779,7 @@ class lbank extends lbank$1 {
|
|
|
1779
1779
|
* @see https://www.lbank.info/en-US/docs/index.html#cancel-order-new
|
|
1780
1780
|
* @param {string} id order id
|
|
1781
1781
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1782
|
-
* @param {object} [params] extra parameters specific to the
|
|
1782
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1783
1783
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1784
1784
|
*/
|
|
1785
1785
|
if (symbol === undefined) {
|
|
@@ -1820,7 +1820,7 @@ class lbank extends lbank$1 {
|
|
|
1820
1820
|
* @description cancel all open orders in a market
|
|
1821
1821
|
* @see https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
|
|
1822
1822
|
* @param {string} symbol unified market symbol of the market to cancel orders in
|
|
1823
|
-
* @param {object} [params] extra parameters specific to the
|
|
1823
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1824
1824
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1825
1825
|
*/
|
|
1826
1826
|
if (symbol === undefined) {
|
|
@@ -1868,7 +1868,7 @@ class lbank extends lbank$1 {
|
|
|
1868
1868
|
* @see https://www.lbank.info/en-US/docs/index.html#get-deposit-address
|
|
1869
1869
|
* @see https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
|
|
1870
1870
|
* @param {string} code unified currency code
|
|
1871
|
-
* @param {object} [params] extra parameters specific to the
|
|
1871
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1872
1872
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1873
1873
|
*/
|
|
1874
1874
|
await this.loadMarkets();
|
|
@@ -1969,7 +1969,7 @@ class lbank extends lbank$1 {
|
|
|
1969
1969
|
* @param {float} amount the amount to withdraw
|
|
1970
1970
|
* @param {string} address the address to withdraw to
|
|
1971
1971
|
* @param {string} tag
|
|
1972
|
-
* @param {object} [params] extra parameters specific to the
|
|
1972
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1973
1973
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1974
1974
|
*/
|
|
1975
1975
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2134,7 +2134,7 @@ class lbank extends lbank$1 {
|
|
|
2134
2134
|
* @param {string} code unified currency code
|
|
2135
2135
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
2136
2136
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
2137
|
-
* @param {object} [params] extra parameters specific to the
|
|
2137
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2138
2138
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2139
2139
|
*/
|
|
2140
2140
|
await this.loadMarkets();
|
|
@@ -2187,7 +2187,7 @@ class lbank extends lbank$1 {
|
|
|
2187
2187
|
* @param {string} code unified currency code
|
|
2188
2188
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
2189
2189
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2190
|
-
* @param {object} [params] extra parameters specific to the
|
|
2190
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2191
2191
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
2192
2192
|
*/
|
|
2193
2193
|
await this.loadMarkets();
|
|
@@ -2242,7 +2242,7 @@ class lbank extends lbank$1 {
|
|
|
2242
2242
|
* @deprecated
|
|
2243
2243
|
* @description please use fetchDepositWithdrawFees instead
|
|
2244
2244
|
* @param {string[]|undefined} codes not used by lbank2 fetchTransactionFees ()
|
|
2245
|
-
* @param {object} [params] extra parameters specific to the
|
|
2245
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2246
2246
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
2247
2247
|
*/
|
|
2248
2248
|
// private only returns information for currencies with non-zero balance
|
|
@@ -2389,7 +2389,7 @@ class lbank extends lbank$1 {
|
|
|
2389
2389
|
* @see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
|
2390
2390
|
* @see https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
|
|
2391
2391
|
* @param {string[]|undefined} codes array of unified currency codes
|
|
2392
|
-
* @param {object} [params] extra parameters specific to the
|
|
2392
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2393
2393
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
2394
2394
|
*/
|
|
2395
2395
|
await this.loadMarkets();
|