ccxt 4.3.53 → 4.3.55
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.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +1 -1
- package/dist/cjs/src/alpaca.js +1 -1
- package/dist/cjs/src/ascendex.js +6 -4
- package/dist/cjs/src/bigone.js +1 -1
- package/dist/cjs/src/binance.js +6 -6
- package/dist/cjs/src/bingx.js +4 -4
- package/dist/cjs/src/bit2c.js +1 -1
- package/dist/cjs/src/bitbank.js +1 -1
- package/dist/cjs/src/bitbns.js +1 -1
- package/dist/cjs/src/bitfinex.js +1 -1
- package/dist/cjs/src/bitfinex2.js +1 -1
- package/dist/cjs/src/bitflyer.js +1 -1
- package/dist/cjs/src/bitget.js +2 -2
- package/dist/cjs/src/bithumb.js +1 -1
- package/dist/cjs/src/bitmart.js +3 -3
- package/dist/cjs/src/bitmex.js +1 -1
- package/dist/cjs/src/bitopro.js +1 -1
- package/dist/cjs/src/bitrue.js +1 -1
- package/dist/cjs/src/bitso.js +1 -1
- package/dist/cjs/src/bitstamp.js +1 -1
- package/dist/cjs/src/bitteam.js +1 -1
- package/dist/cjs/src/bitvavo.js +2 -2
- package/dist/cjs/src/bl3p.js +1 -1
- package/dist/cjs/src/blockchaincom.js +28 -28
- package/dist/cjs/src/blofin.js +1 -1
- package/dist/cjs/src/btcalpha.js +4 -12
- package/dist/cjs/src/btcbox.js +1 -1
- package/dist/cjs/src/btcmarkets.js +1 -1
- package/dist/cjs/src/btcturk.js +1 -1
- package/dist/cjs/src/bybit.js +2 -2
- package/dist/cjs/src/cex.js +2 -2
- package/dist/cjs/src/coinbase.js +33 -33
- package/dist/cjs/src/coinbaseexchange.js +1 -1
- package/dist/cjs/src/coinbaseinternational.js +1 -1
- package/dist/cjs/src/coincheck.js +1 -1
- package/dist/cjs/src/coinex.js +2 -2
- package/dist/cjs/src/coinlist.js +2 -2
- package/dist/cjs/src/coinmate.js +1 -1
- package/dist/cjs/src/coinmetro.js +1 -1
- package/dist/cjs/src/coinone.js +1 -1
- package/dist/cjs/src/coinsph.js +1 -1
- package/dist/cjs/src/coinspot.js +1 -1
- package/dist/cjs/src/cryptocom.js +1 -1
- package/dist/cjs/src/currencycom.js +1 -1
- package/dist/cjs/src/delta.js +2 -2
- package/dist/cjs/src/deribit.js +4 -4
- package/dist/cjs/src/digifinex.js +2 -2
- package/dist/cjs/src/exmo.js +2 -2
- package/dist/cjs/src/gate.js +2 -2
- package/dist/cjs/src/gemini.js +1 -1
- package/dist/cjs/src/hitbtc.js +1 -1
- package/dist/cjs/src/hollaex.js +1 -1
- package/dist/cjs/src/htx.js +3 -3
- package/dist/cjs/src/huobijp.js +1 -1
- package/dist/cjs/src/hyperliquid.js +2 -2
- package/dist/cjs/src/idex.js +1 -1
- package/dist/cjs/src/independentreserve.js +1 -1
- package/dist/cjs/src/indodax.js +1 -1
- package/dist/cjs/src/kraken.js +2 -2
- package/dist/cjs/src/kucoin.js +136 -47
- package/dist/cjs/src/kucoinfutures.js +1 -1
- package/dist/cjs/src/kuna.js +1 -1
- package/dist/cjs/src/latoken.js +1 -1
- package/dist/cjs/src/lbank.js +1 -1
- package/dist/cjs/src/luno.js +1 -1
- package/dist/cjs/src/lykke.js +1 -1
- package/dist/cjs/src/mercado.js +1 -1
- package/dist/cjs/src/mexc.js +1 -1
- package/dist/cjs/src/ndax.js +1 -1
- package/dist/cjs/src/novadax.js +1 -1
- package/dist/cjs/src/oceanex.js +1 -1
- package/dist/cjs/src/okcoin.js +1 -1
- package/dist/cjs/src/okx.js +3 -3
- package/dist/cjs/src/onetrading.js +1 -1
- package/dist/cjs/src/oxfun.js +2 -2
- package/dist/cjs/src/p2b.js +1 -1
- package/dist/cjs/src/paymium.js +1 -1
- package/dist/cjs/src/phemex.js +30 -3
- package/dist/cjs/src/poloniex.js +6 -4
- package/dist/cjs/src/poloniexfutures.js +1 -1
- package/dist/cjs/src/pro/binance.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +2 -2
- package/dist/cjs/src/pro/bybit.js +22 -14
- package/dist/cjs/src/pro/cex.js +3 -3
- package/dist/cjs/src/pro/coinbase.js +23 -1
- package/dist/cjs/src/pro/cryptocom.js +1 -1
- package/dist/cjs/src/pro/gate.js +2 -2
- package/dist/cjs/src/pro/hitbtc.js +1 -1
- package/dist/cjs/src/pro/kraken.js +2 -2
- package/dist/cjs/src/pro/kucoin.js +66 -28
- package/dist/cjs/src/pro/okx.js +2 -2
- package/dist/cjs/src/pro/oxfun.js +2 -2
- package/dist/cjs/src/pro/poloniex.js +1 -1
- package/dist/cjs/src/pro/vertex.js +2 -2
- package/dist/cjs/src/probit.js +1 -1
- package/dist/cjs/src/timex.js +1 -1
- package/dist/cjs/src/tokocrypto.js +1 -1
- package/dist/cjs/src/tradeogre.js +1 -1
- package/dist/cjs/src/upbit.js +1 -1
- package/dist/cjs/src/vertex.js +2 -2
- package/dist/cjs/src/wavesexchange.js +1 -1
- package/dist/cjs/src/wazirx.js +1 -1
- package/dist/cjs/src/whitebit.js +2 -2
- package/dist/cjs/src/woo.js +34 -26
- package/dist/cjs/src/woofipro.js +3 -3
- package/dist/cjs/src/yobit.js +1 -1
- package/dist/cjs/src/zaif.js +1 -1
- package/dist/cjs/src/zonda.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/kucoin.d.ts +3 -0
- package/js/src/abstract/kucoinfutures.d.ts +3 -0
- package/js/src/ace.js +1 -1
- package/js/src/alpaca.js +1 -1
- package/js/src/ascendex.d.ts +1 -1
- package/js/src/ascendex.js +6 -4
- package/js/src/base/types.d.ts +4 -0
- package/js/src/bigone.js +1 -1
- package/js/src/binance.js +6 -6
- package/js/src/bingx.js +4 -4
- package/js/src/bit2c.js +1 -1
- package/js/src/bitbank.js +1 -1
- package/js/src/bitbns.js +1 -1
- package/js/src/bitfinex.js +1 -1
- package/js/src/bitfinex2.js +1 -1
- package/js/src/bitflyer.js +1 -1
- package/js/src/bitget.js +2 -2
- package/js/src/bithumb.js +1 -1
- package/js/src/bitmart.js +3 -3
- package/js/src/bitmex.js +1 -1
- package/js/src/bitopro.js +1 -1
- package/js/src/bitrue.js +1 -1
- package/js/src/bitso.js +1 -1
- package/js/src/bitstamp.js +1 -1
- package/js/src/bitteam.js +1 -1
- package/js/src/bitvavo.js +2 -2
- package/js/src/bl3p.js +1 -1
- package/js/src/blockchaincom.js +28 -28
- package/js/src/blofin.js +1 -1
- package/js/src/btcalpha.js +5 -13
- package/js/src/btcbox.js +1 -1
- package/js/src/btcmarkets.js +1 -1
- package/js/src/btcturk.js +1 -1
- package/js/src/bybit.js +2 -2
- package/js/src/cex.js +2 -2
- package/js/src/coinbase.js +33 -33
- package/js/src/coinbaseexchange.js +1 -1
- package/js/src/coinbaseinternational.js +1 -1
- package/js/src/coincheck.js +1 -1
- package/js/src/coinex.js +2 -2
- package/js/src/coinlist.js +2 -2
- package/js/src/coinmate.js +1 -1
- package/js/src/coinmetro.js +1 -1
- package/js/src/coinone.js +1 -1
- package/js/src/coinsph.js +1 -1
- package/js/src/coinspot.js +1 -1
- package/js/src/cryptocom.js +1 -1
- package/js/src/currencycom.js +1 -1
- package/js/src/delta.js +2 -2
- package/js/src/deribit.js +4 -4
- package/js/src/digifinex.js +2 -2
- package/js/src/exmo.js +2 -2
- package/js/src/gate.js +2 -2
- package/js/src/gemini.js +1 -1
- package/js/src/hitbtc.js +1 -1
- package/js/src/hollaex.js +1 -1
- package/js/src/htx.js +3 -3
- package/js/src/huobijp.js +1 -1
- package/js/src/hyperliquid.js +2 -2
- package/js/src/idex.js +1 -1
- package/js/src/independentreserve.js +1 -1
- package/js/src/indodax.js +1 -1
- package/js/src/kraken.js +2 -2
- package/js/src/kucoin.d.ts +1 -0
- package/js/src/kucoin.js +136 -47
- package/js/src/kucoinfutures.js +1 -1
- package/js/src/kuna.js +1 -1
- package/js/src/latoken.js +1 -1
- package/js/src/lbank.js +1 -1
- package/js/src/luno.js +1 -1
- package/js/src/lykke.js +1 -1
- package/js/src/mercado.js +1 -1
- package/js/src/mexc.js +1 -1
- package/js/src/ndax.js +1 -1
- package/js/src/novadax.js +1 -1
- package/js/src/oceanex.js +1 -1
- package/js/src/okcoin.js +1 -1
- package/js/src/okx.js +3 -3
- package/js/src/onetrading.js +1 -1
- package/js/src/oxfun.js +2 -2
- package/js/src/p2b.js +1 -1
- package/js/src/paymium.js +1 -1
- package/js/src/phemex.d.ts +1 -1
- package/js/src/phemex.js +30 -3
- package/js/src/poloniex.js +6 -4
- package/js/src/poloniexfutures.js +1 -1
- package/js/src/pro/binance.js +3 -3
- package/js/src/pro/bitvavo.js +2 -2
- package/js/src/pro/bybit.d.ts +1 -1
- package/js/src/pro/bybit.js +22 -14
- package/js/src/pro/cex.js +3 -3
- package/js/src/pro/coinbase.d.ts +1 -0
- package/js/src/pro/coinbase.js +23 -1
- package/js/src/pro/cryptocom.js +1 -1
- package/js/src/pro/gate.js +2 -2
- package/js/src/pro/hitbtc.js +1 -1
- package/js/src/pro/kraken.js +2 -2
- package/js/src/pro/kucoin.js +66 -28
- package/js/src/pro/okx.js +2 -2
- package/js/src/pro/oxfun.js +2 -2
- package/js/src/pro/poloniex.js +1 -1
- package/js/src/pro/vertex.js +2 -2
- package/js/src/probit.js +1 -1
- package/js/src/timex.js +1 -1
- package/js/src/tokocrypto.js +1 -1
- package/js/src/tradeogre.js +1 -1
- package/js/src/upbit.js +1 -1
- package/js/src/vertex.js +2 -2
- package/js/src/wavesexchange.js +1 -1
- package/js/src/wazirx.js +1 -1
- package/js/src/whitebit.js +2 -2
- package/js/src/woo.d.ts +1 -0
- package/js/src/woo.js +34 -26
- package/js/src/woofipro.js +3 -3
- package/js/src/yobit.js +1 -1
- package/js/src/zaif.js +1 -1
- package/js/src/zonda.js +1 -1
- package/package.json +54 -52
package/dist/cjs/ccxt.js
CHANGED
|
@@ -190,7 +190,7 @@ var woofipro$1 = require('./src/pro/woofipro.js');
|
|
|
190
190
|
|
|
191
191
|
//-----------------------------------------------------------------------------
|
|
192
192
|
// this is updated by vss.js when building
|
|
193
|
-
const version = '4.3.
|
|
193
|
+
const version = '4.3.55';
|
|
194
194
|
Exchange["default"].ccxtVersion = version;
|
|
195
195
|
const exchanges = {
|
|
196
196
|
'ace': ace,
|
package/dist/cjs/src/ace.js
CHANGED
|
@@ -598,7 +598,7 @@ class ace extends ace$1 {
|
|
|
598
598
|
* @param {string} type 'market' or 'limit'
|
|
599
599
|
* @param {string} side 'buy' or 'sell'
|
|
600
600
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
601
|
-
* @param {float} [price] the price at which the order is to be
|
|
601
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
602
602
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
603
603
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
604
604
|
*/
|
package/dist/cjs/src/alpaca.js
CHANGED
|
@@ -691,7 +691,7 @@ class alpaca extends alpaca$1 {
|
|
|
691
691
|
* @param {string} type 'market', 'limit' or 'stop_limit'
|
|
692
692
|
* @param {string} side 'buy' or 'sell'
|
|
693
693
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
694
|
-
* @param {float} [price] the price at which the order is to be
|
|
694
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
695
695
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
696
696
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
697
697
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/dist/cjs/src/ascendex.js
CHANGED
|
@@ -1500,7 +1500,7 @@ class ascendex extends ascendex$1 {
|
|
|
1500
1500
|
* @param {string} type 'market' or 'limit'
|
|
1501
1501
|
* @param {string} side 'buy' or 'sell'
|
|
1502
1502
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
1503
|
-
* @param {float} [price] the price at which the order is to be
|
|
1503
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1504
1504
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1505
1505
|
* @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
|
|
1506
1506
|
* @param {bool} [params.postOnly] true or false
|
|
@@ -1589,7 +1589,7 @@ class ascendex extends ascendex$1 {
|
|
|
1589
1589
|
* @param {string} type "limit" or "market"
|
|
1590
1590
|
* @param {string} side "buy" or "sell"
|
|
1591
1591
|
* @param {float} amount the amount of currency to trade
|
|
1592
|
-
* @param {float} [price]
|
|
1592
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1593
1593
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1594
1594
|
* @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
|
|
1595
1595
|
* @param {bool} [params.postOnly] true or false
|
|
@@ -2305,7 +2305,7 @@ class ascendex extends ascendex$1 {
|
|
|
2305
2305
|
* @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#cancel-all-open-orders
|
|
2306
2306
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
2307
2307
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2308
|
-
* @returns {object[]} a list
|
|
2308
|
+
* @returns {object[]} a list with a single [order structure]{@link https://docs.ccxt.com/#/?id=order-structure} with the response assigned to the info property
|
|
2309
2309
|
*/
|
|
2310
2310
|
await this.loadMarkets();
|
|
2311
2311
|
await this.loadAccounts();
|
|
@@ -2371,7 +2371,9 @@ class ascendex extends ascendex$1 {
|
|
|
2371
2371
|
// }
|
|
2372
2372
|
// }
|
|
2373
2373
|
//
|
|
2374
|
-
return
|
|
2374
|
+
return this.safeOrder({
|
|
2375
|
+
'info': response,
|
|
2376
|
+
});
|
|
2375
2377
|
}
|
|
2376
2378
|
parseDepositAddress(depositAddress, currency = undefined) {
|
|
2377
2379
|
//
|
package/dist/cjs/src/bigone.js
CHANGED
|
@@ -1460,7 +1460,7 @@ class bigone extends bigone$1 {
|
|
|
1460
1460
|
* @param {string} type 'market' or 'limit'
|
|
1461
1461
|
* @param {string} side 'buy' or 'sell'
|
|
1462
1462
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1463
|
-
* @param {float} [price] the price at which the order is to be
|
|
1463
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1464
1464
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1465
1465
|
* @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
1466
1466
|
* @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately
|
package/dist/cjs/src/binance.js
CHANGED
|
@@ -4746,7 +4746,7 @@ class binance extends binance$1 {
|
|
|
4746
4746
|
* @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
|
|
4747
4747
|
* @param {string} side 'buy' or 'sell'
|
|
4748
4748
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
4749
|
-
* @param {float} [price] the price at which the order is to be
|
|
4749
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4750
4750
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
|
|
4751
4751
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4752
4752
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -4811,7 +4811,7 @@ class binance extends binance$1 {
|
|
|
4811
4811
|
* @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
|
|
4812
4812
|
* @param {string} side 'buy' or 'sell'
|
|
4813
4813
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
4814
|
-
* @param {float} [price] the price at which the order is to be
|
|
4814
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4815
4815
|
* @param {object} params extra parameters specific to the exchange API endpoint
|
|
4816
4816
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
|
|
4817
4817
|
* @returns {object} request to be sent to the exchange
|
|
@@ -4970,7 +4970,7 @@ class binance extends binance$1 {
|
|
|
4970
4970
|
* @param {string} type 'market' or 'limit'
|
|
4971
4971
|
* @param {string} side 'buy' or 'sell'
|
|
4972
4972
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
4973
|
-
* @param {float} [price] the price at which the order is to be
|
|
4973
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4974
4974
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4975
4975
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
4976
4976
|
*/
|
|
@@ -5026,7 +5026,7 @@ class binance extends binance$1 {
|
|
|
5026
5026
|
* @param {string} type 'market' or 'limit'
|
|
5027
5027
|
* @param {string} side 'buy' or 'sell'
|
|
5028
5028
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
5029
|
-
* @param {float} [price] the price at which the order is to be
|
|
5029
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
5030
5030
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
5031
5031
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
5032
5032
|
*/
|
|
@@ -5724,7 +5724,7 @@ class binance extends binance$1 {
|
|
|
5724
5724
|
* @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
|
|
5725
5725
|
* @param {string} side 'buy' or 'sell'
|
|
5726
5726
|
* @param {float} amount how much of you want to trade in units of the base currency
|
|
5727
|
-
* @param {float} [price] the price that the order is to be
|
|
5727
|
+
* @param {float} [price] the price that the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
5728
5728
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
5729
5729
|
* @param {string} [params.reduceOnly] for swap and future reduceOnly is a string 'true' or 'false' that cant be sent with close position set to true or in hedge mode. For spot margin and option reduceOnly is a boolean.
|
|
5730
5730
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
|
|
@@ -5827,7 +5827,7 @@ class binance extends binance$1 {
|
|
|
5827
5827
|
* @param {string} type 'market' or 'limit'
|
|
5828
5828
|
* @param {string} side 'buy' or 'sell'
|
|
5829
5829
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
5830
|
-
* @param {float} [price] the price that the order is to be
|
|
5830
|
+
* @param {float} [price] the price that the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
5831
5831
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
5832
5832
|
* @returns {object} request to be sent to the exchange
|
|
5833
5833
|
*/
|
package/dist/cjs/src/bingx.js
CHANGED
|
@@ -701,7 +701,7 @@ class bingx extends bingx$1 {
|
|
|
701
701
|
'limits': {
|
|
702
702
|
'leverage': {
|
|
703
703
|
'min': undefined,
|
|
704
|
-
'max':
|
|
704
|
+
'max': undefined,
|
|
705
705
|
},
|
|
706
706
|
'amount': {
|
|
707
707
|
'min': this.safeNumber2(market, 'minQty', 'tradeMinQuantity'),
|
|
@@ -1843,7 +1843,7 @@ class bingx extends bingx$1 {
|
|
|
1843
1843
|
* @param {string} type 'market' or 'limit'
|
|
1844
1844
|
* @param {string} side 'buy' or 'sell'
|
|
1845
1845
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
1846
|
-
* @param {float} [price] the price at which the order is to be
|
|
1846
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1847
1847
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1848
1848
|
* @returns {object} request to be sent to the exchange
|
|
1849
1849
|
*/
|
|
@@ -2043,7 +2043,7 @@ class bingx extends bingx$1 {
|
|
|
2043
2043
|
* @param {string} type 'market' or 'limit'
|
|
2044
2044
|
* @param {string} side 'buy' or 'sell'
|
|
2045
2045
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
2046
|
-
* @param {float} [price] the price at which the order is to be
|
|
2046
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
2047
2047
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2048
2048
|
* @param {string} [params.clientOrderId] a unique id for the order
|
|
2049
2049
|
* @param {bool} [params.postOnly] true to place a post only order
|
|
@@ -4384,7 +4384,7 @@ class bingx extends bingx$1 {
|
|
|
4384
4384
|
* @param {string} type 'market' or 'limit'
|
|
4385
4385
|
* @param {string} side 'buy' or 'sell'
|
|
4386
4386
|
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
4387
|
-
* @param {float} [price] the price at which the order is to be
|
|
4387
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4388
4388
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4389
4389
|
* @param {string} [params.stopPrice] Trigger price used for TAKE_STOP_LIMIT, TAKE_STOP_MARKET, TRIGGER_LIMIT, TRIGGER_MARKET order types.
|
|
4390
4390
|
* @param {object} [params.takeProfit] *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered
|
package/dist/cjs/src/bit2c.js
CHANGED
|
@@ -426,7 +426,7 @@ class bit2c extends bit2c$1 {
|
|
|
426
426
|
* @param {string} type 'market' or 'limit'
|
|
427
427
|
* @param {string} side 'buy' or 'sell'
|
|
428
428
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
429
|
-
* @param {float} [price] the price at which the order is to be
|
|
429
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
430
430
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
431
431
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
432
432
|
*/
|
package/dist/cjs/src/bitbank.js
CHANGED
|
@@ -648,7 +648,7 @@ class bitbank extends bitbank$1 {
|
|
|
648
648
|
* @param {string} type 'market' or 'limit'
|
|
649
649
|
* @param {string} side 'buy' or 'sell'
|
|
650
650
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
651
|
-
* @param {float} [price] the price at which the order is to be
|
|
651
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
652
652
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
653
653
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
654
654
|
*/
|
package/dist/cjs/src/bitbns.js
CHANGED
|
@@ -587,7 +587,7 @@ class bitbns extends bitbns$1 {
|
|
|
587
587
|
* @param {string} type 'market' or 'limit'
|
|
588
588
|
* @param {string} side 'buy' or 'sell'
|
|
589
589
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
590
|
-
* @param {float} [price] the price at which the order is to be
|
|
590
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
591
591
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
592
592
|
* @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
593
593
|
*
|
package/dist/cjs/src/bitfinex.js
CHANGED
|
@@ -1082,7 +1082,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
1082
1082
|
* @param {string} type 'market' or 'limit'
|
|
1083
1083
|
* @param {string} side 'buy' or 'sell'
|
|
1084
1084
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1085
|
-
* @param {float} [price] the price at which the order is to be
|
|
1085
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1086
1086
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1087
1087
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1088
1088
|
*/
|
|
@@ -3656,7 +3656,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
3656
3656
|
* @param {string} type 'market' or 'limit'
|
|
3657
3657
|
* @param {string} side 'buy' or 'sell'
|
|
3658
3658
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
3659
|
-
* @param {float} [price] the price
|
|
3659
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
3660
3660
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3661
3661
|
* @param {float} [params.stopPrice] the price that triggers a trigger order
|
|
3662
3662
|
* @param {boolean} [params.postOnly] set to true if you want to make a post only order
|
package/dist/cjs/src/bitflyer.js
CHANGED
|
@@ -554,7 +554,7 @@ class bitflyer extends bitflyer$1 {
|
|
|
554
554
|
* @param {string} type 'market' or 'limit'
|
|
555
555
|
* @param {string} side 'buy' or 'sell'
|
|
556
556
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
557
|
-
* @param {float} [price] the price at which the order is to be
|
|
557
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
558
558
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
559
559
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
560
560
|
*/
|
package/dist/cjs/src/bitget.js
CHANGED
|
@@ -4129,7 +4129,7 @@ class bitget extends bitget$1 {
|
|
|
4129
4129
|
* @param {string} type 'market' or 'limit'
|
|
4130
4130
|
* @param {string} side 'buy' or 'sell'
|
|
4131
4131
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
4132
|
-
* @param {float} [price] the price at which the order is to be
|
|
4132
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4133
4133
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4134
4134
|
* @param {float} [params.cost] *spot only* how much you want to trade in units of the quote currency, for market buy orders only
|
|
4135
4135
|
* @param {float} [params.triggerPrice] *swap only* The price at which a trigger order is triggered at
|
|
@@ -4564,7 +4564,7 @@ class bitget extends bitget$1 {
|
|
|
4564
4564
|
* @param {string} type 'market' or 'limit'
|
|
4565
4565
|
* @param {string} side 'buy' or 'sell'
|
|
4566
4566
|
* @param {float} amount how much you want to trade in units of the base currency
|
|
4567
|
-
* @param {float} [price] the price at which the order is to be
|
|
4567
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
4568
4568
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4569
4569
|
* @param {float} [params.triggerPrice] the price that a trigger order is triggered at
|
|
4570
4570
|
* @param {float} [params.stopLossPrice] *swap only* The price at which a stop loss order is triggered at
|
package/dist/cjs/src/bithumb.js
CHANGED
|
@@ -698,7 +698,7 @@ class bithumb extends bithumb$1 {
|
|
|
698
698
|
* @param {string} type 'market' or 'limit'
|
|
699
699
|
* @param {string} side 'buy' or 'sell'
|
|
700
700
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
701
|
-
* @param {float} [price] the price at which the order is to be
|
|
701
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
702
702
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
703
703
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
704
704
|
*/
|
package/dist/cjs/src/bitmart.js
CHANGED
|
@@ -2419,7 +2419,7 @@ class bitmart extends bitmart$1 {
|
|
|
2419
2419
|
* @param {string} type 'market', 'limit' or 'trailing' for swap markets only
|
|
2420
2420
|
* @param {string} side 'buy' or 'sell'
|
|
2421
2421
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2422
|
-
* @param {float} [price] the price at which the order is to be
|
|
2422
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
2423
2423
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2424
2424
|
* @param {string} [params.marginMode] 'cross' or 'isolated'
|
|
2425
2425
|
* @param {string} [params.leverage] *swap only* leverage level
|
|
@@ -2564,7 +2564,7 @@ class bitmart extends bitmart$1 {
|
|
|
2564
2564
|
* @param {string} type 'market', 'limit' or 'trailing'
|
|
2565
2565
|
* @param {string} side 'buy' or 'sell'
|
|
2566
2566
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2567
|
-
* @param {float} [price] the price at which the order is to be
|
|
2567
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
2568
2568
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2569
2569
|
* @param {int} [params.leverage] leverage level
|
|
2570
2570
|
* @param {boolean} [params.reduceOnly] *swap only* reduce only
|
|
@@ -2680,7 +2680,7 @@ class bitmart extends bitmart$1 {
|
|
|
2680
2680
|
* @param {string} type 'market' or 'limit'
|
|
2681
2681
|
* @param {string} side 'buy' or 'sell'
|
|
2682
2682
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2683
|
-
* @param {float} [price] the price at which the order is to be
|
|
2683
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
2684
2684
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2685
2685
|
* @param {string} [params.marginMode] 'cross' or 'isolated'
|
|
2686
2686
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/dist/cjs/src/bitmex.js
CHANGED
|
@@ -1862,7 +1862,7 @@ class bitmex extends bitmex$1 {
|
|
|
1862
1862
|
* @param {string} type 'market' or 'limit'
|
|
1863
1863
|
* @param {string} side 'buy' or 'sell'
|
|
1864
1864
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1865
|
-
* @param {float} [price] the price at which the order is to be
|
|
1865
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1866
1866
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1867
1867
|
* @param {object} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
1868
1868
|
* @param {object} [params.triggerDirection] the direction whenever the trigger happens with relation to price - 'above' or 'below'
|
package/dist/cjs/src/bitopro.js
CHANGED
|
@@ -1001,7 +1001,7 @@ class bitopro extends bitopro$1 {
|
|
|
1001
1001
|
* @param {string} type 'market' or 'limit'
|
|
1002
1002
|
* @param {string} side 'buy' or 'sell'
|
|
1003
1003
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1004
|
-
* @param {float} [price] the price at which the order is to be
|
|
1004
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1005
1005
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1006
1006
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1007
1007
|
*/
|
package/dist/cjs/src/bitrue.js
CHANGED
|
@@ -1907,7 +1907,7 @@ class bitrue extends bitrue$1 {
|
|
|
1907
1907
|
* @param {string} type 'market' or 'limit'
|
|
1908
1908
|
* @param {string} side 'buy' or 'sell'
|
|
1909
1909
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1910
|
-
* @param {float} [price] the price at which the order is to be
|
|
1910
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1911
1911
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1912
1912
|
* @param {float} [params.triggerPrice] *spot only* the price at which a trigger order is triggered at
|
|
1913
1913
|
* @param {string} [params.clientOrderId] a unique id for the order, automatically generated if not sent
|
package/dist/cjs/src/bitso.js
CHANGED
|
@@ -965,7 +965,7 @@ class bitso extends bitso$1 {
|
|
|
965
965
|
* @param {string} type 'market' or 'limit'
|
|
966
966
|
* @param {string} side 'buy' or 'sell'
|
|
967
967
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
968
|
-
* @param {float} [price] the price at which the order is to be
|
|
968
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
969
969
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
970
970
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
971
971
|
*/
|
package/dist/cjs/src/bitstamp.js
CHANGED
|
@@ -1398,7 +1398,7 @@ class bitstamp extends bitstamp$1 {
|
|
|
1398
1398
|
* @param {string} type 'market' or 'limit'
|
|
1399
1399
|
* @param {string} side 'buy' or 'sell'
|
|
1400
1400
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1401
|
-
* @param {float} [price] the price at which the order is to be
|
|
1401
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1402
1402
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1403
1403
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1404
1404
|
*/
|
package/dist/cjs/src/bitteam.js
CHANGED
|
@@ -981,7 +981,7 @@ class bitteam extends bitteam$1 {
|
|
|
981
981
|
* @param {string} type 'market' or 'limit'
|
|
982
982
|
* @param {string} side 'buy' or 'sell'
|
|
983
983
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
984
|
-
* @param {float} [price] the price at which the order is to be
|
|
984
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
985
985
|
* @param {object} [params] extra parameters specific to the bitteam api endpoint
|
|
986
986
|
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
987
987
|
*/
|
package/dist/cjs/src/bitvavo.js
CHANGED
|
@@ -1126,7 +1126,7 @@ class bitvavo extends bitvavo$1 {
|
|
|
1126
1126
|
* @param {string} type 'market' or 'limit'
|
|
1127
1127
|
* @param {string} side 'buy' or 'sell'
|
|
1128
1128
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1129
|
-
* @param {float} price the price at which the order is to be
|
|
1129
|
+
* @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1130
1130
|
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
1131
1131
|
* @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
|
|
1132
1132
|
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
@@ -1227,7 +1227,7 @@ class bitvavo extends bitvavo$1 {
|
|
|
1227
1227
|
* @param {string} type 'market' or 'limit'
|
|
1228
1228
|
* @param {string} side 'buy' or 'sell'
|
|
1229
1229
|
* @param {float} [amount] how much of currency you want to trade in units of base currency
|
|
1230
|
-
* @param {float} [price] the price at which the order is to be
|
|
1230
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1231
1231
|
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
1232
1232
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1233
1233
|
*/
|
package/dist/cjs/src/bl3p.js
CHANGED
|
@@ -387,7 +387,7 @@ class bl3p extends bl3p$1 {
|
|
|
387
387
|
* @param {string} type 'market' or 'limit'
|
|
388
388
|
* @param {string} side 'buy' or 'sell'
|
|
389
389
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
390
|
-
* @param {float} [price] the price at which the order is to be
|
|
390
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
391
391
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
392
392
|
*
|
|
393
393
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -134,9 +134,9 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
134
134
|
'percentage': true,
|
|
135
135
|
'tiers': {
|
|
136
136
|
'taker': [
|
|
137
|
-
[this.parseNumber('0'), this.parseNumber('0.
|
|
138
|
-
[this.parseNumber('10000'), this.parseNumber('0.
|
|
139
|
-
[this.parseNumber('50000'), this.parseNumber('0.
|
|
137
|
+
[this.parseNumber('0'), this.parseNumber('0.0045')],
|
|
138
|
+
[this.parseNumber('10000'), this.parseNumber('0.0035')],
|
|
139
|
+
[this.parseNumber('50000'), this.parseNumber('0.0018')],
|
|
140
140
|
[this.parseNumber('100000'), this.parseNumber('0.0018')],
|
|
141
141
|
[this.parseNumber('500000'), this.parseNumber('0.0018')],
|
|
142
142
|
[this.parseNumber('1000000'), this.parseNumber('0.0018')],
|
|
@@ -148,11 +148,11 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
148
148
|
[this.parseNumber('1000000000'), this.parseNumber('0.0006')],
|
|
149
149
|
],
|
|
150
150
|
'maker': [
|
|
151
|
-
[this.parseNumber('0'), this.parseNumber('0.
|
|
152
|
-
[this.parseNumber('10000'), this.parseNumber('0.
|
|
153
|
-
[this.parseNumber('50000'), this.parseNumber('0.
|
|
151
|
+
[this.parseNumber('0'), this.parseNumber('0.004')],
|
|
152
|
+
[this.parseNumber('10000'), this.parseNumber('0.0017')],
|
|
153
|
+
[this.parseNumber('50000'), this.parseNumber('0.0015')],
|
|
154
154
|
[this.parseNumber('100000'), this.parseNumber('0.0008')],
|
|
155
|
-
[this.parseNumber('500000'), this.parseNumber('0.
|
|
155
|
+
[this.parseNumber('500000'), this.parseNumber('0.0007')],
|
|
156
156
|
[this.parseNumber('1000000'), this.parseNumber('0.0006')],
|
|
157
157
|
[this.parseNumber('2500000'), this.parseNumber('0.0005')],
|
|
158
158
|
[this.parseNumber('5000000'), this.parseNumber('0.0004')],
|
|
@@ -226,7 +226,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
226
226
|
* @method
|
|
227
227
|
* @name blockchaincom#fetchMarkets
|
|
228
228
|
* @description retrieves data on all markets for blockchaincom
|
|
229
|
-
* @see https://api.blockchain.com/v3
|
|
229
|
+
* @see https://api.blockchain.com/v3/#getsymbols
|
|
230
230
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
231
231
|
* @returns {object[]} an array of objects representing market data
|
|
232
232
|
*/
|
|
@@ -357,7 +357,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
357
357
|
* @method
|
|
358
358
|
* @name blockchaincom#fetchOrderBook
|
|
359
359
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
360
|
-
* @see https://api.blockchain.com/v3
|
|
360
|
+
* @see https://api.blockchain.com/v3/#getl3orderbook
|
|
361
361
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
362
362
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
363
363
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -370,7 +370,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
370
370
|
* @method
|
|
371
371
|
* @name blockchaincom#fetchL3OrderBook
|
|
372
372
|
* @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
373
|
-
* @see https://api.blockchain.com/v3
|
|
373
|
+
* @see https://api.blockchain.com/v3/#getl3orderbook
|
|
374
374
|
* @param {string} symbol unified market symbol
|
|
375
375
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
376
376
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -441,7 +441,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
441
441
|
* @method
|
|
442
442
|
* @name blockchaincom#fetchTicker
|
|
443
443
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
444
|
-
* @see https://api.blockchain.com/v3
|
|
444
|
+
* @see https://api.blockchain.com/v3/#gettickerbysymbol
|
|
445
445
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
446
446
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
447
447
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -459,7 +459,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
459
459
|
* @method
|
|
460
460
|
* @name blockchaincom#fetchTickers
|
|
461
461
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
462
|
-
* @see https://api.blockchain.com/v3
|
|
462
|
+
* @see https://api.blockchain.com/v3/#gettickers
|
|
463
463
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
464
464
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
465
465
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -540,12 +540,12 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
540
540
|
* @method
|
|
541
541
|
* @name blockchaincom#createOrder
|
|
542
542
|
* @description create a trade order
|
|
543
|
-
* @see https://api.blockchain.com/v3
|
|
543
|
+
* @see https://api.blockchain.com/v3/#createorder
|
|
544
544
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
545
545
|
* @param {string} type 'market' or 'limit'
|
|
546
546
|
* @param {string} side 'buy' or 'sell'
|
|
547
547
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
548
|
-
* @param {float} [price] the price at which the order is to be
|
|
548
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
549
549
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
550
550
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
551
551
|
*/
|
|
@@ -603,7 +603,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
603
603
|
* @method
|
|
604
604
|
* @name blockchaincom#cancelOrder
|
|
605
605
|
* @description cancels an open order
|
|
606
|
-
* @see https://api.blockchain.com/v3
|
|
606
|
+
* @see https://api.blockchain.com/v3/#deleteorder
|
|
607
607
|
* @param {string} id order id
|
|
608
608
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
609
609
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -653,7 +653,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
653
653
|
* @method
|
|
654
654
|
* @name blockchaincom#fetchTradingFees
|
|
655
655
|
* @description fetch the trading fees for multiple markets
|
|
656
|
-
* @see https://api.blockchain.com/v3
|
|
656
|
+
* @see https://api.blockchain.com/v3/#getfees
|
|
657
657
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
658
658
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
659
659
|
*/
|
|
@@ -685,7 +685,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
685
685
|
* @method
|
|
686
686
|
* @name blockchaincom#fetchCanceledOrders
|
|
687
687
|
* @description fetches information on multiple canceled orders made by the user
|
|
688
|
-
* @see https://api.blockchain.com/v3
|
|
688
|
+
* @see https://api.blockchain.com/v3/#getorders
|
|
689
689
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
690
690
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
691
691
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
@@ -700,7 +700,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
700
700
|
* @method
|
|
701
701
|
* @name blockchaincom#fetchClosedOrders
|
|
702
702
|
* @description fetches information on multiple closed orders made by the user
|
|
703
|
-
* @see https://api.blockchain.com/v3
|
|
703
|
+
* @see https://api.blockchain.com/v3/#getorders
|
|
704
704
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
705
705
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
706
706
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -715,7 +715,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
715
715
|
* @method
|
|
716
716
|
* @name blockchaincom#fetchOpenOrders
|
|
717
717
|
* @description fetch all unfilled currently open orders
|
|
718
|
-
* @see https://api.blockchain.com/v3
|
|
718
|
+
* @see https://api.blockchain.com/v3/#getorders
|
|
719
719
|
* @param {string} symbol unified market symbol
|
|
720
720
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
721
721
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -792,7 +792,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
792
792
|
* @method
|
|
793
793
|
* @name blockchaincom#fetchMyTrades
|
|
794
794
|
* @description fetch all trades made by the user
|
|
795
|
-
* @see https://api.blockchain.com/v3
|
|
795
|
+
* @see https://api.blockchain.com/v3/#getfills
|
|
796
796
|
* @param {string} symbol unified market symbol
|
|
797
797
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
798
798
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -817,7 +817,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
817
817
|
* @method
|
|
818
818
|
* @name blockchaincom#fetchDepositAddress
|
|
819
819
|
* @description fetch the deposit address for a currency associated with this account
|
|
820
|
-
* @see https://api.blockchain.com/v3
|
|
820
|
+
* @see https://api.blockchain.com/v3/#getdepositaddress
|
|
821
821
|
* @param {string} code unified currency code
|
|
822
822
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
823
823
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -931,7 +931,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
931
931
|
* @method
|
|
932
932
|
* @name blockchaincom#withdraw
|
|
933
933
|
* @description make a withdrawal
|
|
934
|
-
* @see https://api.blockchain.com/v3
|
|
934
|
+
* @see https://api.blockchain.com/v3/#createwithdrawal
|
|
935
935
|
* @param {string} code unified currency code
|
|
936
936
|
* @param {float} amount the amount to withdraw
|
|
937
937
|
* @param {string} address the address to withdraw to
|
|
@@ -966,7 +966,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
966
966
|
* @method
|
|
967
967
|
* @name blockchaincom#fetchWithdrawals
|
|
968
968
|
* @description fetch all withdrawals made from an account
|
|
969
|
-
* @see https://api.blockchain.com/v3
|
|
969
|
+
* @see https://api.blockchain.com/v3/#getwithdrawals
|
|
970
970
|
* @param {string} code unified currency code
|
|
971
971
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
972
972
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -993,7 +993,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
993
993
|
* @method
|
|
994
994
|
* @name blockchaincom#fetchWithdrawal
|
|
995
995
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
996
|
-
* @see https://api.blockchain.com/v3
|
|
996
|
+
* @see https://api.blockchain.com/v3/#getwithdrawalbyid
|
|
997
997
|
* @param {string} id withdrawal id
|
|
998
998
|
* @param {string} code not used by blockchaincom.fetchWithdrawal
|
|
999
999
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1011,7 +1011,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
1011
1011
|
* @method
|
|
1012
1012
|
* @name blockchaincom#fetchDeposits
|
|
1013
1013
|
* @description fetch all deposits made to an account
|
|
1014
|
-
* @see https://api.blockchain.com/v3
|
|
1014
|
+
* @see https://api.blockchain.com/v3/#getdeposits
|
|
1015
1015
|
* @param {string} code unified currency code
|
|
1016
1016
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1017
1017
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -1038,7 +1038,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
1038
1038
|
* @method
|
|
1039
1039
|
* @name blockchaincom#fetchDeposit
|
|
1040
1040
|
* @description fetch information on a deposit
|
|
1041
|
-
* @see https://api.blockchain.com/v3
|
|
1041
|
+
* @see https://api.blockchain.com/v3/#getdepositbyid
|
|
1042
1042
|
* @param {string} id deposit id
|
|
1043
1043
|
* @param {string} code not used by blockchaincom fetchDeposit ()
|
|
1044
1044
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1057,7 +1057,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
1057
1057
|
* @method
|
|
1058
1058
|
* @name blockchaincom#fetchBalance
|
|
1059
1059
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1060
|
-
* @see https://api.blockchain.com/v3
|
|
1060
|
+
* @see https://api.blockchain.com/v3/#getaccounts
|
|
1061
1061
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1062
1062
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1063
1063
|
*/
|
|
@@ -1104,7 +1104,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
1104
1104
|
* @method
|
|
1105
1105
|
* @name blockchaincom#fetchOrder
|
|
1106
1106
|
* @description fetches information on an order made by the user
|
|
1107
|
-
* @see https://api.blockchain.com/v3
|
|
1107
|
+
* @see https://api.blockchain.com/v3/#getorderbyid
|
|
1108
1108
|
* @param {string} symbol not used by blockchaincom fetchOrder
|
|
1109
1109
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1110
1110
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/dist/cjs/src/blofin.js
CHANGED
|
@@ -1163,7 +1163,7 @@ class blofin extends blofin$1 {
|
|
|
1163
1163
|
* @param {string} type 'market' or 'limit' or 'post_only' or 'ioc' or 'fok'
|
|
1164
1164
|
* @param {string} side 'buy' or 'sell'
|
|
1165
1165
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1166
|
-
* @param {float} [price] the price at which the order is to be
|
|
1166
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1167
1167
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1168
1168
|
* @param {bool} [params.reduceOnly] a mark to reduce the position size for margin, swap and future orders
|
|
1169
1169
|
* @param {bool} [params.postOnly] true to place a post only order
|