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.
Files changed (231) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.min.js +3 -3
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/ace.js +1 -1
  5. package/dist/cjs/src/alpaca.js +1 -1
  6. package/dist/cjs/src/ascendex.js +6 -4
  7. package/dist/cjs/src/bigone.js +1 -1
  8. package/dist/cjs/src/binance.js +6 -6
  9. package/dist/cjs/src/bingx.js +4 -4
  10. package/dist/cjs/src/bit2c.js +1 -1
  11. package/dist/cjs/src/bitbank.js +1 -1
  12. package/dist/cjs/src/bitbns.js +1 -1
  13. package/dist/cjs/src/bitfinex.js +1 -1
  14. package/dist/cjs/src/bitfinex2.js +1 -1
  15. package/dist/cjs/src/bitflyer.js +1 -1
  16. package/dist/cjs/src/bitget.js +2 -2
  17. package/dist/cjs/src/bithumb.js +1 -1
  18. package/dist/cjs/src/bitmart.js +3 -3
  19. package/dist/cjs/src/bitmex.js +1 -1
  20. package/dist/cjs/src/bitopro.js +1 -1
  21. package/dist/cjs/src/bitrue.js +1 -1
  22. package/dist/cjs/src/bitso.js +1 -1
  23. package/dist/cjs/src/bitstamp.js +1 -1
  24. package/dist/cjs/src/bitteam.js +1 -1
  25. package/dist/cjs/src/bitvavo.js +2 -2
  26. package/dist/cjs/src/bl3p.js +1 -1
  27. package/dist/cjs/src/blockchaincom.js +28 -28
  28. package/dist/cjs/src/blofin.js +1 -1
  29. package/dist/cjs/src/btcalpha.js +4 -12
  30. package/dist/cjs/src/btcbox.js +1 -1
  31. package/dist/cjs/src/btcmarkets.js +1 -1
  32. package/dist/cjs/src/btcturk.js +1 -1
  33. package/dist/cjs/src/bybit.js +2 -2
  34. package/dist/cjs/src/cex.js +2 -2
  35. package/dist/cjs/src/coinbase.js +33 -33
  36. package/dist/cjs/src/coinbaseexchange.js +1 -1
  37. package/dist/cjs/src/coinbaseinternational.js +1 -1
  38. package/dist/cjs/src/coincheck.js +1 -1
  39. package/dist/cjs/src/coinex.js +2 -2
  40. package/dist/cjs/src/coinlist.js +2 -2
  41. package/dist/cjs/src/coinmate.js +1 -1
  42. package/dist/cjs/src/coinmetro.js +1 -1
  43. package/dist/cjs/src/coinone.js +1 -1
  44. package/dist/cjs/src/coinsph.js +1 -1
  45. package/dist/cjs/src/coinspot.js +1 -1
  46. package/dist/cjs/src/cryptocom.js +1 -1
  47. package/dist/cjs/src/currencycom.js +1 -1
  48. package/dist/cjs/src/delta.js +2 -2
  49. package/dist/cjs/src/deribit.js +4 -4
  50. package/dist/cjs/src/digifinex.js +2 -2
  51. package/dist/cjs/src/exmo.js +2 -2
  52. package/dist/cjs/src/gate.js +2 -2
  53. package/dist/cjs/src/gemini.js +1 -1
  54. package/dist/cjs/src/hitbtc.js +1 -1
  55. package/dist/cjs/src/hollaex.js +1 -1
  56. package/dist/cjs/src/htx.js +3 -3
  57. package/dist/cjs/src/huobijp.js +1 -1
  58. package/dist/cjs/src/hyperliquid.js +2 -2
  59. package/dist/cjs/src/idex.js +1 -1
  60. package/dist/cjs/src/independentreserve.js +1 -1
  61. package/dist/cjs/src/indodax.js +1 -1
  62. package/dist/cjs/src/kraken.js +2 -2
  63. package/dist/cjs/src/kucoin.js +136 -47
  64. package/dist/cjs/src/kucoinfutures.js +1 -1
  65. package/dist/cjs/src/kuna.js +1 -1
  66. package/dist/cjs/src/latoken.js +1 -1
  67. package/dist/cjs/src/lbank.js +1 -1
  68. package/dist/cjs/src/luno.js +1 -1
  69. package/dist/cjs/src/lykke.js +1 -1
  70. package/dist/cjs/src/mercado.js +1 -1
  71. package/dist/cjs/src/mexc.js +1 -1
  72. package/dist/cjs/src/ndax.js +1 -1
  73. package/dist/cjs/src/novadax.js +1 -1
  74. package/dist/cjs/src/oceanex.js +1 -1
  75. package/dist/cjs/src/okcoin.js +1 -1
  76. package/dist/cjs/src/okx.js +3 -3
  77. package/dist/cjs/src/onetrading.js +1 -1
  78. package/dist/cjs/src/oxfun.js +2 -2
  79. package/dist/cjs/src/p2b.js +1 -1
  80. package/dist/cjs/src/paymium.js +1 -1
  81. package/dist/cjs/src/phemex.js +30 -3
  82. package/dist/cjs/src/poloniex.js +6 -4
  83. package/dist/cjs/src/poloniexfutures.js +1 -1
  84. package/dist/cjs/src/pro/binance.js +3 -3
  85. package/dist/cjs/src/pro/bitvavo.js +2 -2
  86. package/dist/cjs/src/pro/bybit.js +22 -14
  87. package/dist/cjs/src/pro/cex.js +3 -3
  88. package/dist/cjs/src/pro/coinbase.js +23 -1
  89. package/dist/cjs/src/pro/cryptocom.js +1 -1
  90. package/dist/cjs/src/pro/gate.js +2 -2
  91. package/dist/cjs/src/pro/hitbtc.js +1 -1
  92. package/dist/cjs/src/pro/kraken.js +2 -2
  93. package/dist/cjs/src/pro/kucoin.js +66 -28
  94. package/dist/cjs/src/pro/okx.js +2 -2
  95. package/dist/cjs/src/pro/oxfun.js +2 -2
  96. package/dist/cjs/src/pro/poloniex.js +1 -1
  97. package/dist/cjs/src/pro/vertex.js +2 -2
  98. package/dist/cjs/src/probit.js +1 -1
  99. package/dist/cjs/src/timex.js +1 -1
  100. package/dist/cjs/src/tokocrypto.js +1 -1
  101. package/dist/cjs/src/tradeogre.js +1 -1
  102. package/dist/cjs/src/upbit.js +1 -1
  103. package/dist/cjs/src/vertex.js +2 -2
  104. package/dist/cjs/src/wavesexchange.js +1 -1
  105. package/dist/cjs/src/wazirx.js +1 -1
  106. package/dist/cjs/src/whitebit.js +2 -2
  107. package/dist/cjs/src/woo.js +34 -26
  108. package/dist/cjs/src/woofipro.js +3 -3
  109. package/dist/cjs/src/yobit.js +1 -1
  110. package/dist/cjs/src/zaif.js +1 -1
  111. package/dist/cjs/src/zonda.js +1 -1
  112. package/js/ccxt.d.ts +1 -1
  113. package/js/ccxt.js +1 -1
  114. package/js/src/abstract/kucoin.d.ts +3 -0
  115. package/js/src/abstract/kucoinfutures.d.ts +3 -0
  116. package/js/src/ace.js +1 -1
  117. package/js/src/alpaca.js +1 -1
  118. package/js/src/ascendex.d.ts +1 -1
  119. package/js/src/ascendex.js +6 -4
  120. package/js/src/base/types.d.ts +4 -0
  121. package/js/src/bigone.js +1 -1
  122. package/js/src/binance.js +6 -6
  123. package/js/src/bingx.js +4 -4
  124. package/js/src/bit2c.js +1 -1
  125. package/js/src/bitbank.js +1 -1
  126. package/js/src/bitbns.js +1 -1
  127. package/js/src/bitfinex.js +1 -1
  128. package/js/src/bitfinex2.js +1 -1
  129. package/js/src/bitflyer.js +1 -1
  130. package/js/src/bitget.js +2 -2
  131. package/js/src/bithumb.js +1 -1
  132. package/js/src/bitmart.js +3 -3
  133. package/js/src/bitmex.js +1 -1
  134. package/js/src/bitopro.js +1 -1
  135. package/js/src/bitrue.js +1 -1
  136. package/js/src/bitso.js +1 -1
  137. package/js/src/bitstamp.js +1 -1
  138. package/js/src/bitteam.js +1 -1
  139. package/js/src/bitvavo.js +2 -2
  140. package/js/src/bl3p.js +1 -1
  141. package/js/src/blockchaincom.js +28 -28
  142. package/js/src/blofin.js +1 -1
  143. package/js/src/btcalpha.js +5 -13
  144. package/js/src/btcbox.js +1 -1
  145. package/js/src/btcmarkets.js +1 -1
  146. package/js/src/btcturk.js +1 -1
  147. package/js/src/bybit.js +2 -2
  148. package/js/src/cex.js +2 -2
  149. package/js/src/coinbase.js +33 -33
  150. package/js/src/coinbaseexchange.js +1 -1
  151. package/js/src/coinbaseinternational.js +1 -1
  152. package/js/src/coincheck.js +1 -1
  153. package/js/src/coinex.js +2 -2
  154. package/js/src/coinlist.js +2 -2
  155. package/js/src/coinmate.js +1 -1
  156. package/js/src/coinmetro.js +1 -1
  157. package/js/src/coinone.js +1 -1
  158. package/js/src/coinsph.js +1 -1
  159. package/js/src/coinspot.js +1 -1
  160. package/js/src/cryptocom.js +1 -1
  161. package/js/src/currencycom.js +1 -1
  162. package/js/src/delta.js +2 -2
  163. package/js/src/deribit.js +4 -4
  164. package/js/src/digifinex.js +2 -2
  165. package/js/src/exmo.js +2 -2
  166. package/js/src/gate.js +2 -2
  167. package/js/src/gemini.js +1 -1
  168. package/js/src/hitbtc.js +1 -1
  169. package/js/src/hollaex.js +1 -1
  170. package/js/src/htx.js +3 -3
  171. package/js/src/huobijp.js +1 -1
  172. package/js/src/hyperliquid.js +2 -2
  173. package/js/src/idex.js +1 -1
  174. package/js/src/independentreserve.js +1 -1
  175. package/js/src/indodax.js +1 -1
  176. package/js/src/kraken.js +2 -2
  177. package/js/src/kucoin.d.ts +1 -0
  178. package/js/src/kucoin.js +136 -47
  179. package/js/src/kucoinfutures.js +1 -1
  180. package/js/src/kuna.js +1 -1
  181. package/js/src/latoken.js +1 -1
  182. package/js/src/lbank.js +1 -1
  183. package/js/src/luno.js +1 -1
  184. package/js/src/lykke.js +1 -1
  185. package/js/src/mercado.js +1 -1
  186. package/js/src/mexc.js +1 -1
  187. package/js/src/ndax.js +1 -1
  188. package/js/src/novadax.js +1 -1
  189. package/js/src/oceanex.js +1 -1
  190. package/js/src/okcoin.js +1 -1
  191. package/js/src/okx.js +3 -3
  192. package/js/src/onetrading.js +1 -1
  193. package/js/src/oxfun.js +2 -2
  194. package/js/src/p2b.js +1 -1
  195. package/js/src/paymium.js +1 -1
  196. package/js/src/phemex.d.ts +1 -1
  197. package/js/src/phemex.js +30 -3
  198. package/js/src/poloniex.js +6 -4
  199. package/js/src/poloniexfutures.js +1 -1
  200. package/js/src/pro/binance.js +3 -3
  201. package/js/src/pro/bitvavo.js +2 -2
  202. package/js/src/pro/bybit.d.ts +1 -1
  203. package/js/src/pro/bybit.js +22 -14
  204. package/js/src/pro/cex.js +3 -3
  205. package/js/src/pro/coinbase.d.ts +1 -0
  206. package/js/src/pro/coinbase.js +23 -1
  207. package/js/src/pro/cryptocom.js +1 -1
  208. package/js/src/pro/gate.js +2 -2
  209. package/js/src/pro/hitbtc.js +1 -1
  210. package/js/src/pro/kraken.js +2 -2
  211. package/js/src/pro/kucoin.js +66 -28
  212. package/js/src/pro/okx.js +2 -2
  213. package/js/src/pro/oxfun.js +2 -2
  214. package/js/src/pro/poloniex.js +1 -1
  215. package/js/src/pro/vertex.js +2 -2
  216. package/js/src/probit.js +1 -1
  217. package/js/src/timex.js +1 -1
  218. package/js/src/tokocrypto.js +1 -1
  219. package/js/src/tradeogre.js +1 -1
  220. package/js/src/upbit.js +1 -1
  221. package/js/src/vertex.js +2 -2
  222. package/js/src/wavesexchange.js +1 -1
  223. package/js/src/wazirx.js +1 -1
  224. package/js/src/whitebit.js +2 -2
  225. package/js/src/woo.d.ts +1 -0
  226. package/js/src/woo.js +34 -26
  227. package/js/src/woofipro.js +3 -3
  228. package/js/src/yobit.js +1 -1
  229. package/js/src/zaif.js +1 -1
  230. package/js/src/zonda.js +1 -1
  231. package/package.json +54 -52
@@ -48,6 +48,7 @@ interface kucoin {
48
48
  privateGetMarketOrderbookLevel3(params?: {}): Promise<implicitReturnType>;
49
49
  privateGetHfOrdersActive(params?: {}): Promise<implicitReturnType>;
50
50
  privateGetHfOrdersActiveSymbols(params?: {}): Promise<implicitReturnType>;
51
+ privateGetHfMarginOrderActiveSymbols(params?: {}): Promise<implicitReturnType>;
51
52
  privateGetHfOrdersDone(params?: {}): Promise<implicitReturnType>;
52
53
  privateGetHfOrdersOrderId(params?: {}): Promise<implicitReturnType>;
53
54
  privateGetHfOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
@@ -75,6 +76,7 @@ interface kucoin {
75
76
  privateGetMarginCurrencies(params?: {}): Promise<implicitReturnType>;
76
77
  privateGetRiskLimitStrategy(params?: {}): Promise<implicitReturnType>;
77
78
  privateGetIsolatedSymbols(params?: {}): Promise<implicitReturnType>;
79
+ privateGetMarginSymbols(params?: {}): Promise<implicitReturnType>;
78
80
  privateGetIsolatedAccountSymbol(params?: {}): Promise<implicitReturnType>;
79
81
  privateGetMarginBorrow(params?: {}): Promise<implicitReturnType>;
80
82
  privateGetMarginRepay(params?: {}): Promise<implicitReturnType>;
@@ -116,6 +118,7 @@ interface kucoin {
116
118
  privatePostRedeem(params?: {}): Promise<implicitReturnType>;
117
119
  privatePostLendPurchaseUpdate(params?: {}): Promise<implicitReturnType>;
118
120
  privatePostBulletPrivate(params?: {}): Promise<implicitReturnType>;
121
+ privatePostPositionUpdateUserLeverage(params?: {}): Promise<implicitReturnType>;
119
122
  privateDeleteSubApiKey(params?: {}): Promise<implicitReturnType>;
120
123
  privateDeleteWithdrawalsWithdrawalId(params?: {}): Promise<implicitReturnType>;
121
124
  privateDeleteHfOrdersOrderId(params?: {}): Promise<implicitReturnType>;
package/js/src/ace.js CHANGED
@@ -601,7 +601,7 @@ export default class ace extends Exchange {
601
601
  * @param {string} type 'market' or 'limit'
602
602
  * @param {string} side 'buy' or 'sell'
603
603
  * @param {float} amount how much of currency you want to trade in units of base currency
604
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
604
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
605
605
  * @param {object} [params] extra parameters specific to the exchange API endpoint
606
606
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
607
607
  */
package/js/src/alpaca.js CHANGED
@@ -694,7 +694,7 @@ export default class alpaca extends Exchange {
694
694
  * @param {string} type 'market', 'limit' or 'stop_limit'
695
695
  * @param {string} side 'buy' or 'sell'
696
696
  * @param {float} amount how much of currency you want to trade in units of base currency
697
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
697
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
698
698
  * @param {object} [params] extra parameters specific to the exchange API endpoint
699
699
  * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
700
700
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -33,7 +33,7 @@ export default class ascendex extends Exchange {
33
33
  fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
34
34
  fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
35
35
  cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
36
- cancelAllOrders(symbol?: Str, params?: {}): Promise<any>;
36
+ cancelAllOrders(symbol?: Str, params?: {}): Promise<Order>;
37
37
  parseDepositAddress(depositAddress: any, currency?: Currency): {
38
38
  currency: string;
39
39
  address: string;
@@ -1503,7 +1503,7 @@ export default class ascendex extends Exchange {
1503
1503
  * @param {string} type 'market' or 'limit'
1504
1504
  * @param {string} side 'buy' or 'sell'
1505
1505
  * @param {float} amount how much you want to trade in units of the base currency
1506
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1506
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1507
1507
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1508
1508
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
1509
1509
  * @param {bool} [params.postOnly] true or false
@@ -1592,7 +1592,7 @@ export default class ascendex extends Exchange {
1592
1592
  * @param {string} type "limit" or "market"
1593
1593
  * @param {string} side "buy" or "sell"
1594
1594
  * @param {float} amount the amount of currency to trade
1595
- * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
1595
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1596
1596
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1597
1597
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
1598
1598
  * @param {bool} [params.postOnly] true or false
@@ -2308,7 +2308,7 @@ export default class ascendex extends Exchange {
2308
2308
  * @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#cancel-all-open-orders
2309
2309
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2310
2310
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2311
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2311
+ * @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
2312
2312
  */
2313
2313
  await this.loadMarkets();
2314
2314
  await this.loadAccounts();
@@ -2374,7 +2374,9 @@ export default class ascendex extends Exchange {
2374
2374
  // }
2375
2375
  // }
2376
2376
  //
2377
- return response;
2377
+ return this.safeOrder({
2378
+ 'info': response,
2379
+ });
2378
2380
  }
2379
2381
  parseDepositAddress(depositAddress, currency = undefined) {
2380
2382
  //
@@ -74,6 +74,10 @@ export interface MarketInterface {
74
74
  price: Num;
75
75
  cost?: Num;
76
76
  };
77
+ marginMode?: {
78
+ isolated: boolean;
79
+ cross: boolean;
80
+ };
77
81
  limits: {
78
82
  amount?: MinMax;
79
83
  cost?: MinMax;
package/js/src/bigone.js CHANGED
@@ -1463,7 +1463,7 @@ export default class bigone extends Exchange {
1463
1463
  * @param {string} type 'market' or 'limit'
1464
1464
  * @param {string} side 'buy' or 'sell'
1465
1465
  * @param {float} amount how much of currency you want to trade in units of base currency
1466
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1466
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1467
1467
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1468
1468
  * @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
1469
1469
  * @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately
package/js/src/binance.js CHANGED
@@ -4749,7 +4749,7 @@ export default class binance extends Exchange {
4749
4749
  * @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
4750
4750
  * @param {string} side 'buy' or 'sell'
4751
4751
  * @param {float} amount how much of currency you want to trade in units of base currency
4752
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4752
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4753
4753
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4754
4754
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4755
4755
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -4814,7 +4814,7 @@ export default class binance extends Exchange {
4814
4814
  * @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
4815
4815
  * @param {string} side 'buy' or 'sell'
4816
4816
  * @param {float} amount how much of currency you want to trade in units of base currency
4817
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4817
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4818
4818
  * @param {object} params extra parameters specific to the exchange API endpoint
4819
4819
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4820
4820
  * @returns {object} request to be sent to the exchange
@@ -4973,7 +4973,7 @@ export default class binance extends Exchange {
4973
4973
  * @param {string} type 'market' or 'limit'
4974
4974
  * @param {string} side 'buy' or 'sell'
4975
4975
  * @param {float} amount how much of currency you want to trade in units of base currency
4976
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4976
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4977
4977
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4978
4978
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4979
4979
  */
@@ -5029,7 +5029,7 @@ export default class binance extends Exchange {
5029
5029
  * @param {string} type 'market' or 'limit'
5030
5030
  * @param {string} side 'buy' or 'sell'
5031
5031
  * @param {float} amount how much of currency you want to trade in units of base currency
5032
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
5032
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
5033
5033
  * @param {object} [params] extra parameters specific to the exchange API endpoint
5034
5034
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5035
5035
  */
@@ -5727,7 +5727,7 @@ export default class binance extends Exchange {
5727
5727
  * @param {string} type 'market' or 'limit' or 'STOP_LOSS' or 'STOP_LOSS_LIMIT' or 'TAKE_PROFIT' or 'TAKE_PROFIT_LIMIT' or 'STOP'
5728
5728
  * @param {string} side 'buy' or 'sell'
5729
5729
  * @param {float} amount how much of you want to trade in units of the base currency
5730
- * @param {float} [price] the price that the order is to be fullfilled, in units of the quote currency, ignored in market orders
5730
+ * @param {float} [price] the price that the order is to be fulfilled, in units of the quote currency, ignored in market orders
5731
5731
  * @param {object} [params] extra parameters specific to the exchange API endpoint
5732
5732
  * @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.
5733
5733
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
@@ -5830,7 +5830,7 @@ export default class binance extends Exchange {
5830
5830
  * @param {string} type 'market' or 'limit'
5831
5831
  * @param {string} side 'buy' or 'sell'
5832
5832
  * @param {float} amount how much you want to trade in units of the base currency
5833
- * @param {float} [price] the price that the order is to be fullfilled, in units of the quote currency, ignored in market orders
5833
+ * @param {float} [price] the price that the order is to be fulfilled, in units of the quote currency, ignored in market orders
5834
5834
  * @param {object} [params] extra parameters specific to the exchange API endpoint
5835
5835
  * @returns {object} request to be sent to the exchange
5836
5836
  */
package/js/src/bingx.js CHANGED
@@ -704,7 +704,7 @@ export default class bingx extends Exchange {
704
704
  'limits': {
705
705
  'leverage': {
706
706
  'min': undefined,
707
- 'max': this.safeInteger(market, 'maxLongLeverage'),
707
+ 'max': undefined,
708
708
  },
709
709
  'amount': {
710
710
  'min': this.safeNumber2(market, 'minQty', 'tradeMinQuantity'),
@@ -1846,7 +1846,7 @@ export default class bingx extends Exchange {
1846
1846
  * @param {string} type 'market' or 'limit'
1847
1847
  * @param {string} side 'buy' or 'sell'
1848
1848
  * @param {float} amount how much you want to trade in units of the base currency
1849
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1849
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1850
1850
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1851
1851
  * @returns {object} request to be sent to the exchange
1852
1852
  */
@@ -2046,7 +2046,7 @@ export default class bingx extends Exchange {
2046
2046
  * @param {string} type 'market' or 'limit'
2047
2047
  * @param {string} side 'buy' or 'sell'
2048
2048
  * @param {float} amount how much you want to trade in units of the base currency
2049
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2049
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2050
2050
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2051
2051
  * @param {string} [params.clientOrderId] a unique id for the order
2052
2052
  * @param {bool} [params.postOnly] true to place a post only order
@@ -4387,7 +4387,7 @@ export default class bingx extends Exchange {
4387
4387
  * @param {string} type 'market' or 'limit'
4388
4388
  * @param {string} side 'buy' or 'sell'
4389
4389
  * @param {float} amount how much of the currency you want to trade in units of the base currency
4390
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4390
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4391
4391
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4392
4392
  * @param {string} [params.stopPrice] Trigger price used for TAKE_STOP_LIMIT, TAKE_STOP_MARKET, TRIGGER_LIMIT, TRIGGER_MARKET order types.
4393
4393
  * @param {object} [params.takeProfit] *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered
package/js/src/bit2c.js CHANGED
@@ -429,7 +429,7 @@ export default class bit2c extends Exchange {
429
429
  * @param {string} type 'market' or 'limit'
430
430
  * @param {string} side 'buy' or 'sell'
431
431
  * @param {float} amount how much of currency you want to trade in units of base currency
432
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
432
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
433
433
  * @param {object} [params] extra parameters specific to the exchange API endpoint
434
434
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
435
435
  */
package/js/src/bitbank.js CHANGED
@@ -651,7 +651,7 @@ export default class bitbank extends Exchange {
651
651
  * @param {string} type 'market' or 'limit'
652
652
  * @param {string} side 'buy' or 'sell'
653
653
  * @param {float} amount how much of currency you want to trade in units of base currency
654
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
654
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
655
655
  * @param {object} [params] extra parameters specific to the exchange API endpoint
656
656
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
657
657
  */
package/js/src/bitbns.js CHANGED
@@ -590,7 +590,7 @@ export default class bitbns extends Exchange {
590
590
  * @param {string} type 'market' or 'limit'
591
591
  * @param {string} side 'buy' or 'sell'
592
592
  * @param {float} amount how much of currency you want to trade in units of base currency
593
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
593
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
594
594
  * @param {object} [params] extra parameters specific to the exchange API endpoint
595
595
  * @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
596
596
  *
@@ -1085,7 +1085,7 @@ export default class bitfinex extends Exchange {
1085
1085
  * @param {string} type 'market' or 'limit'
1086
1086
  * @param {string} side 'buy' or 'sell'
1087
1087
  * @param {float} amount how much of currency you want to trade in units of base currency
1088
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1088
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1089
1089
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1090
1090
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1091
1091
  */
@@ -3659,7 +3659,7 @@ export default class bitfinex2 extends Exchange {
3659
3659
  * @param {string} type 'market' or 'limit'
3660
3660
  * @param {string} side 'buy' or 'sell'
3661
3661
  * @param {float} amount how much you want to trade in units of the base currency
3662
- * @param {float} [price] the price that the order is to be fullfilled, in units of the quote currency, ignored in market orders
3662
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3663
3663
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3664
3664
  * @param {float} [params.stopPrice] the price that triggers a trigger order
3665
3665
  * @param {boolean} [params.postOnly] set to true if you want to make a post only order
@@ -557,7 +557,7 @@ export default class bitflyer extends Exchange {
557
557
  * @param {string} type 'market' or 'limit'
558
558
  * @param {string} side 'buy' or 'sell'
559
559
  * @param {float} amount how much of currency you want to trade in units of base currency
560
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
560
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
561
561
  * @param {object} [params] extra parameters specific to the exchange API endpoint
562
562
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
563
563
  */
package/js/src/bitget.js CHANGED
@@ -4132,7 +4132,7 @@ export default class bitget extends Exchange {
4132
4132
  * @param {string} type 'market' or 'limit'
4133
4133
  * @param {string} side 'buy' or 'sell'
4134
4134
  * @param {float} amount how much you want to trade in units of the base currency
4135
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4135
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4136
4136
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4137
4137
  * @param {float} [params.cost] *spot only* how much you want to trade in units of the quote currency, for market buy orders only
4138
4138
  * @param {float} [params.triggerPrice] *swap only* The price at which a trigger order is triggered at
@@ -4567,7 +4567,7 @@ export default class bitget extends Exchange {
4567
4567
  * @param {string} type 'market' or 'limit'
4568
4568
  * @param {string} side 'buy' or 'sell'
4569
4569
  * @param {float} amount how much you want to trade in units of the base currency
4570
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4570
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4571
4571
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4572
4572
  * @param {float} [params.triggerPrice] the price that a trigger order is triggered at
4573
4573
  * @param {float} [params.stopLossPrice] *swap only* The price at which a stop loss order is triggered at
package/js/src/bithumb.js CHANGED
@@ -701,7 +701,7 @@ export default class bithumb extends Exchange {
701
701
  * @param {string} type 'market' or 'limit'
702
702
  * @param {string} side 'buy' or 'sell'
703
703
  * @param {float} amount how much of currency you want to trade in units of base currency
704
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
704
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
705
705
  * @param {object} [params] extra parameters specific to the exchange API endpoint
706
706
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
707
707
  */
package/js/src/bitmart.js CHANGED
@@ -2422,7 +2422,7 @@ export default class bitmart extends Exchange {
2422
2422
  * @param {string} type 'market', 'limit' or 'trailing' for swap markets only
2423
2423
  * @param {string} side 'buy' or 'sell'
2424
2424
  * @param {float} amount how much of currency you want to trade in units of base currency
2425
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2425
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2426
2426
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2427
2427
  * @param {string} [params.marginMode] 'cross' or 'isolated'
2428
2428
  * @param {string} [params.leverage] *swap only* leverage level
@@ -2567,7 +2567,7 @@ export default class bitmart extends Exchange {
2567
2567
  * @param {string} type 'market', 'limit' or 'trailing'
2568
2568
  * @param {string} side 'buy' or 'sell'
2569
2569
  * @param {float} amount how much of currency you want to trade in units of base currency
2570
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2570
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2571
2571
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2572
2572
  * @param {int} [params.leverage] leverage level
2573
2573
  * @param {boolean} [params.reduceOnly] *swap only* reduce only
@@ -2683,7 +2683,7 @@ export default class bitmart extends Exchange {
2683
2683
  * @param {string} type 'market' or 'limit'
2684
2684
  * @param {string} side 'buy' or 'sell'
2685
2685
  * @param {float} amount how much of currency you want to trade in units of base currency
2686
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2686
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2687
2687
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2688
2688
  * @param {string} [params.marginMode] 'cross' or 'isolated'
2689
2689
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/bitmex.js CHANGED
@@ -1865,7 +1865,7 @@ export default class bitmex extends Exchange {
1865
1865
  * @param {string} type 'market' or 'limit'
1866
1866
  * @param {string} side 'buy' or 'sell'
1867
1867
  * @param {float} amount how much of currency you want to trade in units of base currency
1868
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1868
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1869
1869
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1870
1870
  * @param {object} [params.triggerPrice] the price at which a trigger order is triggered at
1871
1871
  * @param {object} [params.triggerDirection] the direction whenever the trigger happens with relation to price - 'above' or 'below'
package/js/src/bitopro.js CHANGED
@@ -1004,7 +1004,7 @@ export default class bitopro extends Exchange {
1004
1004
  * @param {string} type 'market' or 'limit'
1005
1005
  * @param {string} side 'buy' or 'sell'
1006
1006
  * @param {float} amount how much of currency you want to trade in units of base currency
1007
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1007
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1008
1008
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1009
1009
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1010
1010
  */
package/js/src/bitrue.js CHANGED
@@ -1910,7 +1910,7 @@ export default class bitrue extends Exchange {
1910
1910
  * @param {string} type 'market' or 'limit'
1911
1911
  * @param {string} side 'buy' or 'sell'
1912
1912
  * @param {float} amount how much of currency you want to trade in units of base currency
1913
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1913
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1914
1914
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1915
1915
  * @param {float} [params.triggerPrice] *spot only* the price at which a trigger order is triggered at
1916
1916
  * @param {string} [params.clientOrderId] a unique id for the order, automatically generated if not sent
package/js/src/bitso.js CHANGED
@@ -968,7 +968,7 @@ export default class bitso extends Exchange {
968
968
  * @param {string} type 'market' or 'limit'
969
969
  * @param {string} side 'buy' or 'sell'
970
970
  * @param {float} amount how much of currency you want to trade in units of base currency
971
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
971
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
972
972
  * @param {object} [params] extra parameters specific to the exchange API endpoint
973
973
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
974
974
  */
@@ -1401,7 +1401,7 @@ export default class bitstamp extends Exchange {
1401
1401
  * @param {string} type 'market' or 'limit'
1402
1402
  * @param {string} side 'buy' or 'sell'
1403
1403
  * @param {float} amount how much of currency you want to trade in units of base currency
1404
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1404
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1405
1405
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1406
1406
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1407
1407
  */
package/js/src/bitteam.js CHANGED
@@ -984,7 +984,7 @@ export default class bitteam extends Exchange {
984
984
  * @param {string} type 'market' or 'limit'
985
985
  * @param {string} side 'buy' or 'sell'
986
986
  * @param {float} amount how much of currency you want to trade in units of base currency
987
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
987
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
988
988
  * @param {object} [params] extra parameters specific to the bitteam api endpoint
989
989
  * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
990
990
  */
package/js/src/bitvavo.js CHANGED
@@ -1129,7 +1129,7 @@ export default class bitvavo extends Exchange {
1129
1129
  * @param {string} type 'market' or 'limit'
1130
1130
  * @param {string} side 'buy' or 'sell'
1131
1131
  * @param {float} amount how much of currency you want to trade in units of base currency
1132
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1132
+ * @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1133
1133
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1134
1134
  * @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
1135
1135
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
@@ -1230,7 +1230,7 @@ export default class bitvavo extends Exchange {
1230
1230
  * @param {string} type 'market' or 'limit'
1231
1231
  * @param {string} side 'buy' or 'sell'
1232
1232
  * @param {float} [amount] how much of currency you want to trade in units of base currency
1233
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1233
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1234
1234
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1235
1235
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1236
1236
  */
package/js/src/bl3p.js CHANGED
@@ -390,7 +390,7 @@ export default class bl3p extends Exchange {
390
390
  * @param {string} type 'market' or 'limit'
391
391
  * @param {string} side 'buy' or 'sell'
392
392
  * @param {float} amount how much of currency you want to trade in units of base currency
393
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
393
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
394
394
  * @param {object} [params] extra parameters specific to the exchange API endpoint
395
395
  *
396
396
  * EXCHANGE SPECIFIC PARAMETERS