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/coinmate.js
CHANGED
|
@@ -210,7 +210,7 @@ class coinmate extends coinmate$1 {
|
|
|
210
210
|
* @method
|
|
211
211
|
* @name coinmate#fetchMarkets
|
|
212
212
|
* @description retrieves data on all markets for coinmate
|
|
213
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
213
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
214
214
|
* @returns {object[]} an array of objects representing market data
|
|
215
215
|
*/
|
|
216
216
|
const response = await this.publicGetTradingPairs(params);
|
|
@@ -316,7 +316,7 @@ class coinmate extends coinmate$1 {
|
|
|
316
316
|
* @method
|
|
317
317
|
* @name coinmate#fetchBalance
|
|
318
318
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
319
|
-
* @param {object} [params] extra parameters specific to the
|
|
319
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
320
320
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
321
321
|
*/
|
|
322
322
|
await this.loadMarkets();
|
|
@@ -330,7 +330,7 @@ class coinmate extends coinmate$1 {
|
|
|
330
330
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
331
331
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
332
332
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
333
|
-
* @param {object} [params] extra parameters specific to the
|
|
333
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
334
334
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
335
335
|
*/
|
|
336
336
|
await this.loadMarkets();
|
|
@@ -350,7 +350,7 @@ class coinmate extends coinmate$1 {
|
|
|
350
350
|
* @name coinmate#fetchTicker
|
|
351
351
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
352
352
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
353
|
-
* @param {object} [params] extra parameters specific to the
|
|
353
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
354
354
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
355
355
|
*/
|
|
356
356
|
await this.loadMarkets();
|
|
@@ -393,7 +393,7 @@ class coinmate extends coinmate$1 {
|
|
|
393
393
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
394
394
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
395
395
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
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} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
398
398
|
*/
|
|
399
399
|
await this.loadMarkets();
|
|
@@ -506,7 +506,7 @@ class coinmate extends coinmate$1 {
|
|
|
506
506
|
* @param {float} amount the amount to withdraw
|
|
507
507
|
* @param {string} address the address to withdraw to
|
|
508
508
|
* @param {string} tag
|
|
509
|
-
* @param {object} [params] extra parameters specific to the
|
|
509
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
510
510
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
511
511
|
*/
|
|
512
512
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -558,7 +558,7 @@ class coinmate extends coinmate$1 {
|
|
|
558
558
|
* @param {string} symbol unified market symbol
|
|
559
559
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
560
560
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
561
|
-
* @param {object} [params] extra parameters specific to the
|
|
561
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
562
562
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
563
563
|
*/
|
|
564
564
|
await this.loadMarkets();
|
|
@@ -650,7 +650,7 @@ class coinmate extends coinmate$1 {
|
|
|
650
650
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
651
651
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
652
652
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
653
|
-
* @param {object} [params] extra parameters specific to the
|
|
653
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
654
654
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
655
655
|
*/
|
|
656
656
|
await this.loadMarkets();
|
|
@@ -685,7 +685,7 @@ class coinmate extends coinmate$1 {
|
|
|
685
685
|
* @name coinmate#fetchTradingFee
|
|
686
686
|
* @description fetch the trading fees for a market
|
|
687
687
|
* @param {string} symbol unified market symbol
|
|
688
|
-
* @param {object} [params] extra parameters specific to the
|
|
688
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
689
689
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
690
690
|
*/
|
|
691
691
|
await this.loadMarkets();
|
|
@@ -723,7 +723,7 @@ class coinmate extends coinmate$1 {
|
|
|
723
723
|
* @param {string} symbol unified market symbol
|
|
724
724
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
725
725
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
726
|
-
* @param {object} [params] extra parameters specific to the
|
|
726
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
727
727
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
728
728
|
*/
|
|
729
729
|
const response = await this.privatePostOpenOrders(this.extend({}, params));
|
|
@@ -738,7 +738,7 @@ class coinmate extends coinmate$1 {
|
|
|
738
738
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
739
739
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
740
740
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
741
|
-
* @param {object} [params] extra parameters specific to the
|
|
741
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
742
742
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
743
743
|
*/
|
|
744
744
|
if (symbol === undefined) {
|
|
@@ -863,7 +863,7 @@ class coinmate extends coinmate$1 {
|
|
|
863
863
|
* @param {string} side 'buy' or 'sell'
|
|
864
864
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
865
865
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
866
|
-
* @param {object} [params] extra parameters specific to the
|
|
866
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
867
867
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
868
868
|
*/
|
|
869
869
|
await this.loadMarkets();
|
|
@@ -899,7 +899,7 @@ class coinmate extends coinmate$1 {
|
|
|
899
899
|
* @name coinmate#fetchOrder
|
|
900
900
|
* @description fetches information on an order made by the user
|
|
901
901
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
902
|
-
* @param {object} [params] extra parameters specific to the
|
|
902
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
903
903
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
904
904
|
*/
|
|
905
905
|
await this.loadMarkets();
|
|
@@ -921,7 +921,7 @@ class coinmate extends coinmate$1 {
|
|
|
921
921
|
* @description cancels an open order
|
|
922
922
|
* @param {string} id order id
|
|
923
923
|
* @param {string} symbol not used by coinmate cancelOrder ()
|
|
924
|
-
* @param {object} [params] extra parameters specific to the
|
|
924
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
925
925
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
926
926
|
*/
|
|
927
927
|
// {"error":false,"errorMessage":null,"data":{"success":true,"remainingAmount":0.01}}
|
package/dist/cjs/src/coinone.js
CHANGED
|
@@ -143,7 +143,7 @@ class coinone extends coinone$1 {
|
|
|
143
143
|
* @method
|
|
144
144
|
* @name coinone#fetchMarkets
|
|
145
145
|
* @description retrieves data on all markets for coinone
|
|
146
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
146
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
147
147
|
* @returns {object[]} an array of objects representing market data
|
|
148
148
|
*/
|
|
149
149
|
const request = {
|
|
@@ -260,7 +260,7 @@ class coinone extends coinone$1 {
|
|
|
260
260
|
* @method
|
|
261
261
|
* @name coinone#fetchBalance
|
|
262
262
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
263
|
-
* @param {object} [params] extra parameters specific to the
|
|
263
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
264
264
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
265
265
|
*/
|
|
266
266
|
await this.loadMarkets();
|
|
@@ -274,7 +274,7 @@ class coinone extends coinone$1 {
|
|
|
274
274
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
275
275
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
276
276
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
277
|
-
* @param {object} [params] extra parameters specific to the
|
|
277
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
278
278
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
279
279
|
*/
|
|
280
280
|
await this.loadMarkets();
|
|
@@ -291,9 +291,9 @@ class coinone extends coinone$1 {
|
|
|
291
291
|
/**
|
|
292
292
|
* @method
|
|
293
293
|
* @name coinone#fetchTickers
|
|
294
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
294
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
295
295
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
296
|
-
* @param {object} [params] extra parameters specific to the
|
|
296
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
297
297
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
298
298
|
*/
|
|
299
299
|
await this.loadMarkets();
|
|
@@ -322,7 +322,7 @@ class coinone extends coinone$1 {
|
|
|
322
322
|
* @name coinone#fetchTicker
|
|
323
323
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
324
324
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
325
|
-
* @param {object} [params] extra parameters specific to the
|
|
325
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
326
326
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
327
327
|
*/
|
|
328
328
|
await this.loadMarkets();
|
|
@@ -461,7 +461,7 @@ class coinone extends coinone$1 {
|
|
|
461
461
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
462
462
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
463
463
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
464
|
-
* @param {object} [params] extra parameters specific to the
|
|
464
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
465
465
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
466
466
|
*/
|
|
467
467
|
await this.loadMarkets();
|
|
@@ -502,7 +502,7 @@ class coinone extends coinone$1 {
|
|
|
502
502
|
* @param {string} side 'buy' or 'sell'
|
|
503
503
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
504
504
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
505
|
-
* @param {object} [params] extra parameters specific to the
|
|
505
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
506
506
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
507
507
|
*/
|
|
508
508
|
if (type !== 'limit') {
|
|
@@ -532,7 +532,7 @@ class coinone extends coinone$1 {
|
|
|
532
532
|
* @name coinone#fetchOrder
|
|
533
533
|
* @description fetches information on an order made by the user
|
|
534
534
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
535
|
-
* @param {object} [params] extra parameters specific to the
|
|
535
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
536
536
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
537
537
|
*/
|
|
538
538
|
if (symbol === undefined) {
|
|
@@ -702,7 +702,7 @@ class coinone extends coinone$1 {
|
|
|
702
702
|
* @param {string} symbol unified market symbol
|
|
703
703
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
704
704
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
705
|
-
* @param {object} [params] extra parameters specific to the
|
|
705
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
706
706
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
707
707
|
*/
|
|
708
708
|
// The returned amount might not be same as the ordered amount. If an order is partially filled, the returned amount means the remaining amount.
|
|
@@ -744,7 +744,7 @@ class coinone extends coinone$1 {
|
|
|
744
744
|
* @param {string} symbol unified market symbol
|
|
745
745
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
746
746
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
747
|
-
* @param {object} [params] extra parameters specific to the
|
|
747
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
748
748
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
749
749
|
*/
|
|
750
750
|
if (symbol === undefined) {
|
|
@@ -786,7 +786,7 @@ class coinone extends coinone$1 {
|
|
|
786
786
|
* @description cancels an open order
|
|
787
787
|
* @param {string} id order id
|
|
788
788
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
789
|
-
* @param {object} [params] extra parameters specific to the
|
|
789
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
790
790
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
791
791
|
*/
|
|
792
792
|
if (symbol === undefined) {
|
|
@@ -823,7 +823,7 @@ class coinone extends coinone$1 {
|
|
|
823
823
|
* @name coinone#fetchDepositAddresses
|
|
824
824
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
825
825
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
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 list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
828
828
|
*/
|
|
829
829
|
await this.loadMarkets();
|
package/dist/cjs/src/coinsph.js
CHANGED
|
@@ -438,7 +438,7 @@ class coinsph extends coinsph$1 {
|
|
|
438
438
|
* @method
|
|
439
439
|
* @name coinsph#fetchStatus
|
|
440
440
|
* @description the latest known information on the availability of the exchange API
|
|
441
|
-
* @param {object} [params] extra parameters specific to the
|
|
441
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
442
442
|
* @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
|
|
443
443
|
*/
|
|
444
444
|
const response = await this.publicGetOpenapiV1Ping(params);
|
|
@@ -455,7 +455,7 @@ class coinsph extends coinsph$1 {
|
|
|
455
455
|
* @method
|
|
456
456
|
* @name coinsph#fetchTime
|
|
457
457
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
458
|
-
* @param {object} [params] extra parameters specific to the
|
|
458
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
459
459
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
460
460
|
*/
|
|
461
461
|
const response = await this.publicGetOpenapiV1Time(params);
|
|
@@ -469,7 +469,7 @@ class coinsph extends coinsph$1 {
|
|
|
469
469
|
* @method
|
|
470
470
|
* @name coinsph#fetchMarkets
|
|
471
471
|
* @description retrieves data on all markets for coinsph
|
|
472
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
472
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
473
473
|
* @returns {object[]} an array of objects representing market data
|
|
474
474
|
*/
|
|
475
475
|
const response = await this.publicGetOpenapiV1ExchangeInfo(params);
|
|
@@ -604,9 +604,9 @@ class coinsph extends coinsph$1 {
|
|
|
604
604
|
/**
|
|
605
605
|
* @method
|
|
606
606
|
* @name coinsph#fetchTickers
|
|
607
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
607
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
608
608
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
609
|
-
* @param {object} [params] extra parameters specific to the
|
|
609
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
610
610
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
611
611
|
*/
|
|
612
612
|
await this.loadMarkets();
|
|
@@ -632,7 +632,7 @@ class coinsph extends coinsph$1 {
|
|
|
632
632
|
* @name coinsph#fetchTicker
|
|
633
633
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
634
634
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
635
|
-
* @param {object} [params] extra parameters specific to the
|
|
635
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
636
636
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
637
637
|
*/
|
|
638
638
|
await this.loadMarkets();
|
|
@@ -731,7 +731,7 @@ class coinsph extends coinsph$1 {
|
|
|
731
731
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
732
732
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
733
733
|
* @param {int} [limit] the maximum amount of order book entries to return (default 100, max 200)
|
|
734
|
-
* @param {object} [params] extra parameters specific to the
|
|
734
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
735
735
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
736
736
|
*/
|
|
737
737
|
await this.loadMarkets();
|
|
@@ -769,7 +769,7 @@ class coinsph extends coinsph$1 {
|
|
|
769
769
|
* @param {string} timeframe the length of time each candle represents
|
|
770
770
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
771
771
|
* @param {int} [limit] the maximum amount of candles to fetch (default 500, max 1000)
|
|
772
|
-
* @param {object} [params] extra parameters specific to the
|
|
772
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
773
773
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
774
774
|
*/
|
|
775
775
|
await this.loadMarkets();
|
|
@@ -834,7 +834,7 @@ class coinsph extends coinsph$1 {
|
|
|
834
834
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
835
835
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
836
836
|
* @param {int} [limit] the maximum amount of trades to fetch (default 500, max 1000)
|
|
837
|
-
* @param {object} [params] extra parameters specific to the
|
|
837
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
838
838
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
839
839
|
*/
|
|
840
840
|
await this.loadMarkets();
|
|
@@ -875,7 +875,7 @@ class coinsph extends coinsph$1 {
|
|
|
875
875
|
* @param {string} symbol unified market symbol
|
|
876
876
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
877
877
|
* @param {int} [limit] the maximum number of trades structures to retrieve (default 500, max 1000)
|
|
878
|
-
* @param {object} [params] extra parameters specific to the
|
|
878
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
879
879
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
880
880
|
*/
|
|
881
881
|
if (symbol === undefined) {
|
|
@@ -906,7 +906,7 @@ class coinsph extends coinsph$1 {
|
|
|
906
906
|
* @param {string} symbol unified market symbol
|
|
907
907
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
908
908
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
909
|
-
* @param {object} [params] extra parameters specific to the
|
|
909
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
910
910
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
911
911
|
*/
|
|
912
912
|
if (symbol === undefined) {
|
|
@@ -1008,7 +1008,7 @@ class coinsph extends coinsph$1 {
|
|
|
1008
1008
|
* @method
|
|
1009
1009
|
* @name coinsph#fetchBalance
|
|
1010
1010
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1011
|
-
* @param {object} [params] extra parameters specific to the
|
|
1011
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1012
1012
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1013
1013
|
*/
|
|
1014
1014
|
await this.loadMarkets();
|
|
@@ -1065,7 +1065,7 @@ class coinsph extends coinsph$1 {
|
|
|
1065
1065
|
* @param {string} side 'buy' or 'sell'
|
|
1066
1066
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1067
1067
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1068
|
-
* @param {object} [params] extra parameters specific to the
|
|
1068
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1069
1069
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1070
1070
|
*/
|
|
1071
1071
|
// todo: add test order low priority
|
|
@@ -1167,7 +1167,7 @@ class coinsph extends coinsph$1 {
|
|
|
1167
1167
|
* @description fetches information on an order made by the user
|
|
1168
1168
|
* @param {int|string} id order id
|
|
1169
1169
|
* @param {string} symbol not used by coinsph fetchOrder ()
|
|
1170
|
-
* @param {object} [params] extra parameters specific to the
|
|
1170
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1171
1171
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1172
1172
|
*/
|
|
1173
1173
|
await this.loadMarkets();
|
|
@@ -1191,7 +1191,7 @@ class coinsph extends coinsph$1 {
|
|
|
1191
1191
|
* @param {string} symbol unified market symbol
|
|
1192
1192
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1193
1193
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1194
|
-
* @param {object} [params] extra parameters specific to the
|
|
1194
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1195
1195
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1196
1196
|
*/
|
|
1197
1197
|
await this.loadMarkets();
|
|
@@ -1212,7 +1212,7 @@ class coinsph extends coinsph$1 {
|
|
|
1212
1212
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1213
1213
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1214
1214
|
* @param {int} [limit] the maximum number of order structures to retrieve (default 500, max 1000)
|
|
1215
|
-
* @param {object} [params] extra parameters specific to the
|
|
1215
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1216
1216
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1217
1217
|
*/
|
|
1218
1218
|
if (symbol === undefined) {
|
|
@@ -1241,7 +1241,7 @@ class coinsph extends coinsph$1 {
|
|
|
1241
1241
|
* @description cancels an open order
|
|
1242
1242
|
* @param {string} id order id
|
|
1243
1243
|
* @param {string} symbol not used by coinsph cancelOrder ()
|
|
1244
|
-
* @param {object} [params] extra parameters specific to the
|
|
1244
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1245
1245
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1246
1246
|
*/
|
|
1247
1247
|
await this.loadMarkets();
|
|
@@ -1263,7 +1263,7 @@ class coinsph extends coinsph$1 {
|
|
|
1263
1263
|
* @name coinsph#cancelAllOrders
|
|
1264
1264
|
* @description cancel open orders of market
|
|
1265
1265
|
* @param {string} symbol unified market symbol
|
|
1266
|
-
* @param {object} [params] extra parameters specific to the
|
|
1266
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1267
1267
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1268
1268
|
*/
|
|
1269
1269
|
if (symbol === undefined) {
|
|
@@ -1445,7 +1445,7 @@ class coinsph extends coinsph$1 {
|
|
|
1445
1445
|
* @name coinsph#fetchTradingFee
|
|
1446
1446
|
* @description fetch the trading fees for a market
|
|
1447
1447
|
* @param {string} symbol unified market symbol
|
|
1448
|
-
* @param {object} [params] extra parameters specific to the
|
|
1448
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1449
1449
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1450
1450
|
*/
|
|
1451
1451
|
await this.loadMarkets();
|
|
@@ -1471,7 +1471,7 @@ class coinsph extends coinsph$1 {
|
|
|
1471
1471
|
* @method
|
|
1472
1472
|
* @name coinsph#fetchTradingFees
|
|
1473
1473
|
* @description fetch the trading fees for multiple markets
|
|
1474
|
-
* @param {object} [params] extra parameters specific to the
|
|
1474
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1475
1475
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1476
1476
|
*/
|
|
1477
1477
|
await this.loadMarkets();
|
|
@@ -1526,7 +1526,7 @@ class coinsph extends coinsph$1 {
|
|
|
1526
1526
|
* @param {float} amount the amount to withdraw
|
|
1527
1527
|
* @param {string} address not used by coinsph withdraw ()
|
|
1528
1528
|
* @param {string} tag
|
|
1529
|
-
* @param {object} [params] extra parameters specific to the
|
|
1529
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1530
1530
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1531
1531
|
*/
|
|
1532
1532
|
const options = this.safeValue(this.options, 'withdraw');
|
|
@@ -1563,7 +1563,7 @@ class coinsph extends coinsph$1 {
|
|
|
1563
1563
|
* @param {float} amount the amount to deposit
|
|
1564
1564
|
* @param {string} address not used by coinsph deposit ()
|
|
1565
1565
|
* @param {string} tag
|
|
1566
|
-
* @param {object} [params] extra parameters specific to the
|
|
1566
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1567
1567
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1568
1568
|
*/
|
|
1569
1569
|
const options = this.safeValue(this.options, 'deposit');
|
|
@@ -1592,7 +1592,7 @@ class coinsph extends coinsph$1 {
|
|
|
1592
1592
|
* @param {string} code unified currency code
|
|
1593
1593
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1594
1594
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1595
|
-
* @param {object} [params] extra parameters specific to the
|
|
1595
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1596
1596
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1597
1597
|
*/
|
|
1598
1598
|
// todo: returns an empty array - find out why
|
|
@@ -1649,7 +1649,7 @@ class coinsph extends coinsph$1 {
|
|
|
1649
1649
|
* @param {string} code unified currency code
|
|
1650
1650
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1651
1651
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1652
|
-
* @param {object} [params] extra parameters specific to the
|
|
1652
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1653
1653
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1654
1654
|
*/
|
|
1655
1655
|
// todo: returns an empty array - find out why
|
|
@@ -1811,7 +1811,7 @@ class coinsph extends coinsph$1 {
|
|
|
1811
1811
|
* @description fetch the deposit address for a currency associated with this account
|
|
1812
1812
|
* @see https://coins-docs.github.io/rest-api/#deposit-address-user_data
|
|
1813
1813
|
* @param {string} code unified currency code
|
|
1814
|
-
* @param {object} [params] extra parameters specific to the
|
|
1814
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1815
1815
|
* @param {string} [params.network] network for fetch deposit address
|
|
1816
1816
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
1817
1817
|
*/
|
package/dist/cjs/src/coinspot.js
CHANGED
|
@@ -173,7 +173,7 @@ class coinspot extends coinspot$1 {
|
|
|
173
173
|
* @method
|
|
174
174
|
* @name coinspot#fetchBalance
|
|
175
175
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
176
|
-
* @param {object} [params] extra parameters specific to the
|
|
176
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
177
177
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
178
178
|
*/
|
|
179
179
|
await this.loadMarkets();
|
|
@@ -204,7 +204,7 @@ class coinspot extends coinspot$1 {
|
|
|
204
204
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
205
205
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
206
206
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
207
|
-
* @param {object} [params] extra parameters specific to the
|
|
207
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
208
208
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
209
209
|
*/
|
|
210
210
|
await this.loadMarkets();
|
|
@@ -256,7 +256,7 @@ class coinspot extends coinspot$1 {
|
|
|
256
256
|
* @name coinspot#fetchTicker
|
|
257
257
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
258
258
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
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} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
261
261
|
*/
|
|
262
262
|
await this.loadMarkets();
|
|
@@ -284,10 +284,10 @@ class coinspot extends coinspot$1 {
|
|
|
284
284
|
/**
|
|
285
285
|
* @method
|
|
286
286
|
* @name coinspot#fetchTickers
|
|
287
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
287
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
288
288
|
* @see https://www.coinspot.com.au/api#latestprices
|
|
289
289
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
290
|
-
* @param {object} [params] extra parameters specific to the
|
|
290
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
291
291
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
292
292
|
*/
|
|
293
293
|
await this.loadMarkets();
|
|
@@ -331,7 +331,7 @@ class coinspot extends coinspot$1 {
|
|
|
331
331
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
332
332
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
333
333
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
334
|
-
* @param {object} [params] extra parameters specific to the
|
|
334
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
335
335
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
336
336
|
*/
|
|
337
337
|
await this.loadMarkets();
|
|
@@ -359,7 +359,7 @@ class coinspot extends coinspot$1 {
|
|
|
359
359
|
* @param {string} symbol unified market symbol
|
|
360
360
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
361
361
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
362
|
-
* @param {object} [params] extra parameters specific to the
|
|
362
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
363
363
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
364
364
|
*/
|
|
365
365
|
await this.loadMarkets();
|
|
@@ -490,7 +490,7 @@ class coinspot extends coinspot$1 {
|
|
|
490
490
|
* @param {string} side 'buy' or 'sell'
|
|
491
491
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
492
492
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
493
|
-
* @param {object} [params] extra parameters specific to the
|
|
493
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
494
494
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
495
495
|
*/
|
|
496
496
|
await this.loadMarkets();
|
|
@@ -513,7 +513,7 @@ class coinspot extends coinspot$1 {
|
|
|
513
513
|
* @description cancels an open order
|
|
514
514
|
* @param {string} id order id
|
|
515
515
|
* @param {string} symbol not used by coinspot cancelOrder ()
|
|
516
|
-
* @param {object} [params] extra parameters specific to the
|
|
516
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
517
517
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
518
518
|
*/
|
|
519
519
|
const side = this.safeString(params, 'side');
|