ccxt 4.1.96 → 4.1.98

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 (187) hide show
  1. package/README.md +3 -3
  2. package/build.sh +1 -1
  3. package/dist/ccxt.browser.js +1275 -1208
  4. package/dist/ccxt.browser.min.js +3 -3
  5. package/dist/cjs/ccxt.js +1 -1
  6. package/dist/cjs/src/ace.js +1 -1
  7. package/dist/cjs/src/ascendex.js +1 -1
  8. package/dist/cjs/src/base/Exchange.js +6 -5
  9. package/dist/cjs/src/base/errors.js +8 -1
  10. package/dist/cjs/src/bigone.js +2 -2
  11. package/dist/cjs/src/binance.js +29 -32
  12. package/dist/cjs/src/bingx.js +76 -3
  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 +2 -2
  16. package/dist/cjs/src/bitget.js +13 -13
  17. package/dist/cjs/src/bitmart.js +1 -1
  18. package/dist/cjs/src/bitmex.js +2 -2
  19. package/dist/cjs/src/bitopro.js +1 -1
  20. package/dist/cjs/src/bitpanda.js +1 -1
  21. package/dist/cjs/src/bitvavo.js +1 -1
  22. package/dist/cjs/src/blockchaincom.js +1 -1
  23. package/dist/cjs/src/btcalpha.js +2 -2
  24. package/dist/cjs/src/btcbox.js +1 -1
  25. package/dist/cjs/src/btcmarkets.js +2 -2
  26. package/dist/cjs/src/btcturk.js +1 -1
  27. package/dist/cjs/src/bybit.js +2 -2
  28. package/dist/cjs/src/cex.js +1 -1
  29. package/dist/cjs/src/coinbasepro.js +2 -2
  30. package/dist/cjs/src/coinex.js +1 -1
  31. package/dist/cjs/src/coinlist.js +1 -1
  32. package/dist/cjs/src/deribit.js +1 -1
  33. package/dist/cjs/src/digifinex.js +1 -1
  34. package/dist/cjs/src/gate.js +1 -1
  35. package/dist/cjs/src/hitbtc.js +1 -1
  36. package/dist/cjs/src/hollaex.js +2 -2
  37. package/dist/cjs/src/htx.js +1 -1
  38. package/dist/cjs/src/huobijp.js +2 -2
  39. package/dist/cjs/src/idex.js +1 -1
  40. package/dist/cjs/src/independentreserve.js +1 -1
  41. package/dist/cjs/src/kraken.js +1 -1
  42. package/dist/cjs/src/kucoin.js +4 -4
  43. package/dist/cjs/src/kucoinfutures.js +1 -1
  44. package/dist/cjs/src/kuna.js +1 -1
  45. package/dist/cjs/src/latoken.js +1 -1
  46. package/dist/cjs/src/luno.js +2 -2
  47. package/dist/cjs/src/lykke.js +1 -1
  48. package/dist/cjs/src/mexc.js +2 -2
  49. package/dist/cjs/src/ndax.js +1 -1
  50. package/dist/cjs/src/novadax.js +2 -2
  51. package/dist/cjs/src/oceanex.js +1 -1
  52. package/dist/cjs/src/okcoin.js +1 -1
  53. package/dist/cjs/src/okx.js +1 -1
  54. package/dist/cjs/src/phemex.js +3 -3
  55. package/dist/cjs/src/poloniexfutures.js +1 -1
  56. package/dist/cjs/src/pro/alpaca.js +1 -1
  57. package/dist/cjs/src/pro/ascendex.js +1 -1
  58. package/dist/cjs/src/pro/binance.js +2 -2
  59. package/dist/cjs/src/pro/bingx.js +12 -6
  60. package/dist/cjs/src/pro/bitfinex.js +1 -1
  61. package/dist/cjs/src/pro/bitfinex2.js +1 -1
  62. package/dist/cjs/src/pro/bitmart.js +1 -1
  63. package/dist/cjs/src/pro/bitmex.js +1 -1
  64. package/dist/cjs/src/pro/bitpanda.js +1 -1
  65. package/dist/cjs/src/pro/blockchaincom.js +1 -1
  66. package/dist/cjs/src/pro/bybit.js +2 -2
  67. package/dist/cjs/src/pro/coinbase.js +1 -1
  68. package/dist/cjs/src/pro/coinbasepro.js +1 -1
  69. package/dist/cjs/src/pro/deribit.js +1 -1
  70. package/dist/cjs/src/pro/gate.js +1 -1
  71. package/dist/cjs/src/pro/gemini.js +1 -1
  72. package/dist/cjs/src/pro/hollaex.js +1 -1
  73. package/dist/cjs/src/pro/htx.js +1 -1
  74. package/dist/cjs/src/pro/idex.js +1 -1
  75. package/dist/cjs/src/pro/kraken.js +1 -1
  76. package/dist/cjs/src/pro/krakenfutures.js +1 -1
  77. package/dist/cjs/src/pro/kucoinfutures.js +1 -1
  78. package/dist/cjs/src/pro/mexc.js +1 -1
  79. package/dist/cjs/src/pro/okcoin.js +1 -1
  80. package/dist/cjs/src/pro/okx.js +1 -1
  81. package/dist/cjs/src/pro/phemex.js +1 -1
  82. package/dist/cjs/src/pro/poloniexfutures.js +1 -1
  83. package/dist/cjs/src/probit.js +1 -1
  84. package/dist/cjs/src/timex.js +1 -1
  85. package/dist/cjs/src/tokocrypto.js +1 -1
  86. package/dist/cjs/src/upbit.js +1 -1
  87. package/dist/cjs/src/wavesexchange.js +1 -1
  88. package/dist/cjs/src/whitebit.js +1 -1
  89. package/dist/cjs/src/woo.js +1 -1
  90. package/dist/cjs/src/zaif.js +1 -1
  91. package/js/ccxt.d.ts +1 -1
  92. package/js/ccxt.js +1 -1
  93. package/js/src/abstract/bingx.d.ts +2 -0
  94. package/js/src/ace.js +1 -1
  95. package/js/src/ascendex.js +1 -1
  96. package/js/src/base/Exchange.d.ts +1 -1
  97. package/js/src/base/Exchange.js +7 -6
  98. package/js/src/base/errorHierarchy.d.ts +1 -0
  99. package/js/src/base/errorHierarchy.js +1 -0
  100. package/js/src/base/errors.d.ts +5 -1
  101. package/js/src/base/errors.js +8 -2
  102. package/js/src/bigone.js +2 -2
  103. package/js/src/binance.js +29 -32
  104. package/js/src/bingx.d.ts +2 -0
  105. package/js/src/bingx.js +76 -3
  106. package/js/src/bitfinex.js +1 -1
  107. package/js/src/bitfinex2.js +1 -1
  108. package/js/src/bitflyer.js +2 -2
  109. package/js/src/bitget.js +13 -13
  110. package/js/src/bitmart.js +1 -1
  111. package/js/src/bitmex.js +2 -2
  112. package/js/src/bitopro.js +1 -1
  113. package/js/src/bitpanda.js +1 -1
  114. package/js/src/bitso.d.ts +1 -1
  115. package/js/src/bitvavo.js +1 -1
  116. package/js/src/blockchaincom.js +1 -1
  117. package/js/src/btcalpha.js +2 -2
  118. package/js/src/btcbox.js +1 -1
  119. package/js/src/btcmarkets.js +2 -2
  120. package/js/src/btcturk.js +1 -1
  121. package/js/src/bybit.js +2 -2
  122. package/js/src/cex.js +1 -1
  123. package/js/src/coinbasepro.js +2 -2
  124. package/js/src/coinex.js +1 -1
  125. package/js/src/coinlist.js +1 -1
  126. package/js/src/deribit.js +1 -1
  127. package/js/src/digifinex.js +1 -1
  128. package/js/src/gate.js +1 -1
  129. package/js/src/hitbtc.js +1 -1
  130. package/js/src/hollaex.js +2 -2
  131. package/js/src/htx.js +1 -1
  132. package/js/src/huobijp.js +2 -2
  133. package/js/src/idex.js +1 -1
  134. package/js/src/independentreserve.js +1 -1
  135. package/js/src/kraken.js +1 -1
  136. package/js/src/kucoin.js +4 -4
  137. package/js/src/kucoinfutures.js +1 -1
  138. package/js/src/kuna.js +1 -1
  139. package/js/src/latoken.js +1 -1
  140. package/js/src/luno.js +2 -2
  141. package/js/src/lykke.js +1 -1
  142. package/js/src/mexc.js +2 -2
  143. package/js/src/ndax.js +1 -1
  144. package/js/src/novadax.js +2 -2
  145. package/js/src/oceanex.js +1 -1
  146. package/js/src/okcoin.js +1 -1
  147. package/js/src/okx.js +1 -1
  148. package/js/src/phemex.js +3 -3
  149. package/js/src/poloniexfutures.js +1 -1
  150. package/js/src/pro/alpaca.js +1 -1
  151. package/js/src/pro/ascendex.js +1 -1
  152. package/js/src/pro/binance.js +2 -2
  153. package/js/src/pro/bingx.js +12 -6
  154. package/js/src/pro/bitfinex.js +1 -1
  155. package/js/src/pro/bitfinex2.js +1 -1
  156. package/js/src/pro/bitmart.js +1 -1
  157. package/js/src/pro/bitmex.js +1 -1
  158. package/js/src/pro/bitpanda.js +1 -1
  159. package/js/src/pro/blockchaincom.js +1 -1
  160. package/js/src/pro/bybit.js +2 -2
  161. package/js/src/pro/coinbase.js +1 -1
  162. package/js/src/pro/coinbasepro.js +1 -1
  163. package/js/src/pro/deribit.js +1 -1
  164. package/js/src/pro/gate.js +1 -1
  165. package/js/src/pro/gemini.js +1 -1
  166. package/js/src/pro/hollaex.js +1 -1
  167. package/js/src/pro/htx.js +1 -1
  168. package/js/src/pro/idex.js +1 -1
  169. package/js/src/pro/kraken.js +1 -1
  170. package/js/src/pro/krakenfutures.js +1 -1
  171. package/js/src/pro/kucoinfutures.js +1 -1
  172. package/js/src/pro/mexc.js +1 -1
  173. package/js/src/pro/okcoin.js +1 -1
  174. package/js/src/pro/okx.js +1 -1
  175. package/js/src/pro/phemex.js +1 -1
  176. package/js/src/pro/poloniexfutures.js +1 -1
  177. package/js/src/probit.js +1 -1
  178. package/js/src/timex.js +1 -1
  179. package/js/src/tokocrypto.js +1 -1
  180. package/js/src/upbit.js +1 -1
  181. package/js/src/wavesexchange.js +1 -1
  182. package/js/src/whitebit.js +1 -1
  183. package/js/src/woo.js +1 -1
  184. package/js/src/zaif.js +1 -1
  185. package/package.json +13 -13
  186. package/skip-tests.json +120 -71
  187. package/run-tests-ws.js +0 -290
package/js/src/gate.js CHANGED
@@ -4647,7 +4647,7 @@ export default class gate extends Exchange {
4647
4647
  * @see https://www.gate.io/docs/developers/apiv4/en/#list-options-orders
4648
4648
  * @param {string} symbol unified market symbol of the market orders were made in
4649
4649
  * @param {int} [since] the earliest time in ms to fetch orders for
4650
- * @param {int} [limit] the maximum number of orde structures to retrieve
4650
+ * @param {int} [limit] the maximum number of order structures to retrieve
4651
4651
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4652
4652
  * @param {bool} [params.stop] true for fetching stop orders
4653
4653
  * @param {string} [params.type] spot, swap or future, if not provided this.options['defaultType'] is used
package/js/src/hitbtc.js CHANGED
@@ -1815,7 +1815,7 @@ export default class hitbtc extends Exchange {
1815
1815
  * @see https://api.hitbtc.com/#margin-orders-history
1816
1816
  * @param {string} symbol unified market symbol of the market orders were made in
1817
1817
  * @param {int} [since] the earliest time in ms to fetch orders for
1818
- * @param {int} [limit] the maximum number of orde structures to retrieve
1818
+ * @param {int} [limit] the maximum number of order structures to retrieve
1819
1819
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1820
1820
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
1821
1821
  * @param {bool} [params.margin] true for fetching margin orders
package/js/src/hollaex.js CHANGED
@@ -925,7 +925,7 @@ export default class hollaex extends Exchange {
925
925
  * @description fetches information on multiple closed orders made by the user
926
926
  * @param {string} symbol unified market symbol of the market orders were made in
927
927
  * @param {int} [since] the earliest time in ms to fetch orders for
928
- * @param {int} [limit] the maximum number of orde structures to retrieve
928
+ * @param {int} [limit] the maximum number of order structures to retrieve
929
929
  * @param {object} [params] extra parameters specific to the exchange API endpoint
930
930
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
931
931
  */
@@ -983,7 +983,7 @@ export default class hollaex extends Exchange {
983
983
  * @description fetches information on multiple orders made by the user
984
984
  * @param {string} symbol unified market symbol of the market orders were made in
985
985
  * @param {int} [since] the earliest time in ms to fetch orders for
986
- * @param {int} [limit] the maximum number of orde structures to retrieve
986
+ * @param {int} [limit] the maximum number of order structures to retrieve
987
987
  * @param {object} [params] extra parameters specific to the exchange API endpoint
988
988
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
989
989
  */
package/js/src/htx.js CHANGED
@@ -4129,7 +4129,7 @@ export default class htx extends Exchange {
4129
4129
  * @description fetches information on multiple closed orders made by the user
4130
4130
  * @param {string} symbol unified market symbol of the market orders were made in
4131
4131
  * @param {int} [since] the earliest time in ms to fetch orders for
4132
- * @param {int} [limit] the maximum number of orde structures to retrieve
4132
+ * @param {int} [limit] the maximum number of order structures to retrieve
4133
4133
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4134
4134
  * @param {int} [params.until] the latest time in ms to fetch entries for
4135
4135
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
package/js/src/huobijp.js CHANGED
@@ -1179,7 +1179,7 @@ export default class huobijp extends Exchange {
1179
1179
  * @description fetches information on multiple orders made by the user
1180
1180
  * @param {string} symbol unified market symbol of the market orders were made in
1181
1181
  * @param {int} [since] the earliest time in ms to fetch orders for
1182
- * @param {int} [limit] the maximum number of orde structures to retrieve
1182
+ * @param {int} [limit] the maximum number of order structures to retrieve
1183
1183
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1184
1184
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1185
1185
  */
@@ -1212,7 +1212,7 @@ export default class huobijp extends Exchange {
1212
1212
  * @description fetches information on multiple closed orders made by the user
1213
1213
  * @param {string} symbol unified market symbol of the market orders were made in
1214
1214
  * @param {int} [since] the earliest time in ms to fetch orders for
1215
- * @param {int} [limit] the maximum number of orde structures to retrieve
1215
+ * @param {int} [limit] the maximum number of order structures to retrieve
1216
1216
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1217
1217
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1218
1218
  */
package/js/src/idex.js CHANGED
@@ -930,7 +930,7 @@ export default class idex extends Exchange {
930
930
  * @description fetches information on multiple closed orders made by the user
931
931
  * @param {string} symbol unified market symbol of the market orders were made in
932
932
  * @param {int} [since] the earliest time in ms to fetch orders for
933
- * @param {int} [limit] the maximum number of orde structures to retrieve
933
+ * @param {int} [limit] the maximum number of order structures to retrieve
934
934
  * @param {object} [params] extra parameters specific to the exchange API endpoint
935
935
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
936
936
  */
@@ -515,7 +515,7 @@ export default class independentreserve extends Exchange {
515
515
  * @description fetches information on multiple closed orders made by the user
516
516
  * @param {string} symbol unified market symbol of the market orders were made in
517
517
  * @param {int} [since] the earliest time in ms to fetch orders for
518
- * @param {int} [limit] the maximum number of orde structures to retrieve
518
+ * @param {int} [limit] the maximum number of order structures to retrieve
519
519
  * @param {object} [params] extra parameters specific to the exchange API endpoint
520
520
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
521
521
  */
package/js/src/kraken.js CHANGED
@@ -2083,7 +2083,7 @@ export default class kraken extends Exchange {
2083
2083
  * @see https://docs.kraken.com/rest/#tag/Account-Data/operation/getClosedOrders
2084
2084
  * @param {string} symbol unified market symbol of the market orders were made in
2085
2085
  * @param {int} [since] the earliest time in ms to fetch orders for
2086
- * @param {int} [limit] the maximum number of orde structures to retrieve
2086
+ * @param {int} [limit] the maximum number of order structures to retrieve
2087
2087
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2088
2088
  * @param {int} [params.until] timestamp in ms of the latest entry
2089
2089
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/kucoin.js CHANGED
@@ -41,15 +41,15 @@ export default class kucoin extends Exchange {
41
41
  'closeAllPositions': false,
42
42
  'closePosition': false,
43
43
  'createDepositAddress': true,
44
+ 'createMarketBuyOrderWithCost': true,
45
+ 'createMarketOrderWithCost': true,
46
+ 'createMarketSellOrderWithCost': true,
44
47
  'createOrder': true,
45
48
  'createOrders': true,
46
49
  'createPostOnlyOrder': true,
47
50
  'createStopLimitOrder': true,
48
51
  'createStopMarketOrder': true,
49
52
  'createStopOrder': true,
50
- 'createMarketBuyOrderWithCost': true,
51
- 'createMarketOrderWithCost': true,
52
- 'createMarketSellOrderWithCost': true,
53
53
  'editOrder': true,
54
54
  'fetchAccounts': true,
55
55
  'fetchBalance': true,
@@ -2436,7 +2436,7 @@ export default class kucoin extends Exchange {
2436
2436
  * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2437
2437
  * @param {string} symbol unified market symbol of the market orders were made in
2438
2438
  * @param {int} [since] the earliest time in ms to fetch orders for
2439
- * @param {int} [limit] the maximum number of orde structures to retrieve
2439
+ * @param {int} [limit] the maximum number of order structures to retrieve
2440
2440
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2441
2441
  * @param {int} [params.till] end time in ms
2442
2442
  * @param {string} [params.side] buy or sell
@@ -1569,7 +1569,7 @@ export default class kucoinfutures extends kucoin {
1569
1569
  * @see https://docs.kucoin.com/futures/#get-order-list
1570
1570
  * @param {string} symbol unified market symbol of the market orders were made in
1571
1571
  * @param {int} [since] the earliest time in ms to fetch orders for
1572
- * @param {int} [limit] the maximum number of orde structures to retrieve
1572
+ * @param {int} [limit] the maximum number of order structures to retrieve
1573
1573
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1574
1574
  * @param {int} [params.till] end time in ms
1575
1575
  * @param {string} [params.side] buy or sell
package/js/src/kuna.js CHANGED
@@ -1268,7 +1268,7 @@ export default class kuna extends Exchange {
1268
1268
  * @see https://docs.kuna.io/docs/get-private-orders-history
1269
1269
  * @param {string} symbol unified market symbol of the market orders were made in
1270
1270
  * @param {int} [since] the earliest time in ms to fetch orders for
1271
- * @param {int} [limit] the maximum number of orde structures to retrieve
1271
+ * @param {int} [limit] the maximum number of order structures to retrieve
1272
1272
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1273
1273
  * @param {int} [params.until] the latest time in ms to fetch orders for
1274
1274
  *
package/js/src/latoken.js CHANGED
@@ -1141,7 +1141,7 @@ export default class latoken extends Exchange {
1141
1141
  * @see https://api.latoken.com/doc/v2/#tag/StopOrder/operation/getMyStopOrdersByPair // stop
1142
1142
  * @param {string} symbol unified market symbol of the market orders were made in
1143
1143
  * @param {int} [since] the earliest time in ms to fetch orders for
1144
- * @param {int} [limit] the maximum number of orde structures to retrieve
1144
+ * @param {int} [limit] the maximum number of order structures to retrieve
1145
1145
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1146
1146
  * @param {boolean} [params.trigger] true if fetching trigger orders
1147
1147
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/luno.js CHANGED
@@ -474,7 +474,7 @@ export default class luno extends Exchange {
474
474
  * @description fetches information on multiple orders made by the user
475
475
  * @param {string} symbol unified market symbol of the market orders were made in
476
476
  * @param {int} [since] the earliest time in ms to fetch orders for
477
- * @param {int} [limit] the maximum number of orde structures to retrieve
477
+ * @param {int} [limit] the maximum number of order structures to retrieve
478
478
  * @param {object} [params] extra parameters specific to the exchange API endpoint
479
479
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
480
480
  */
@@ -500,7 +500,7 @@ export default class luno extends Exchange {
500
500
  * @description fetches information on multiple closed orders made by the user
501
501
  * @param {string} symbol unified market symbol of the market orders were made in
502
502
  * @param {int} [since] the earliest time in ms to fetch orders for
503
- * @param {int} [limit] the maximum number of orde structures to retrieve
503
+ * @param {int} [limit] the maximum number of order structures to retrieve
504
504
  * @param {object} [params] extra parameters specific to the exchange API endpoint
505
505
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
506
506
  */
package/js/src/lykke.js CHANGED
@@ -975,7 +975,7 @@ export default class lykke extends Exchange {
975
975
  * @description fetches information on multiple closed orders made by the user
976
976
  * @param {string} symbol unified market symbol of the market orders were made in
977
977
  * @param {int} [since] the earliest time in ms to fetch orders for
978
- * @param {int} [limit] the maximum number of orde structures to retrieve
978
+ * @param {int} [limit] the maximum number of order structures to retrieve
979
979
  * @param {object} [params] extra parameters specific to the exchange API endpoint
980
980
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
981
981
  */
package/js/src/mexc.js CHANGED
@@ -2514,7 +2514,7 @@ export default class mexc extends Exchange {
2514
2514
  * @description fetches information on multiple orders made by the user
2515
2515
  * @param {string} symbol unified market symbol of the market orders were made in
2516
2516
  * @param {int} [since] the earliest time in ms to fetch orders for
2517
- * @param {int} [limit] the maximum number of orde structures to retrieve
2517
+ * @param {int} [limit] the maximum number of order structures to retrieve
2518
2518
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2519
2519
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2520
2520
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -2837,7 +2837,7 @@ export default class mexc extends Exchange {
2837
2837
  * @description fetches information on multiple closed orders made by the user
2838
2838
  * @param {string} symbol unified market symbol of the market orders were made in
2839
2839
  * @param {int} [since] the earliest time in ms to fetch orders for
2840
- * @param {int} [limit] the maximum number of orde structures to retrieve
2840
+ * @param {int} [limit] the maximum number of order structures to retrieve
2841
2841
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2842
2842
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2843
2843
  */
package/js/src/ndax.js CHANGED
@@ -1684,7 +1684,7 @@ export default class ndax extends Exchange {
1684
1684
  * @description fetches information on multiple orders made by the user
1685
1685
  * @param {string} symbol unified market symbol of the market orders were made in
1686
1686
  * @param {int} [since] the earliest time in ms to fetch orders for
1687
- * @param {int} [limit] the maximum number of orde structures to retrieve
1687
+ * @param {int} [limit] the maximum number of order structures to retrieve
1688
1688
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1689
1689
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1690
1690
  */
package/js/src/novadax.js CHANGED
@@ -906,7 +906,7 @@ export default class novadax extends Exchange {
906
906
  * @see https://doc.novadax.com/en-US/#get-order-history
907
907
  * @param {string} symbol unified market symbol of the market orders were made in
908
908
  * @param {int} [since] the earliest time in ms to fetch orders for
909
- * @param {int} [limit] the maximum number of orde structures to retrieve
909
+ * @param {int} [limit] the maximum number of order structures to retrieve
910
910
  * @param {object} [params] extra parameters specific to the exchange API endpoint
911
911
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
912
912
  */
@@ -983,7 +983,7 @@ export default class novadax extends Exchange {
983
983
  * @see https://doc.novadax.com/en-US/#get-order-history
984
984
  * @param {string} symbol unified market symbol of the market orders were made in
985
985
  * @param {int} [since] the earliest time in ms to fetch orders for
986
- * @param {int} [limit] the maximum number of orde structures to retrieve
986
+ * @param {int} [limit] the maximum number of order structures to retrieve
987
987
  * @param {object} [params] extra parameters specific to the exchange API endpoint
988
988
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
989
989
  */
package/js/src/oceanex.js CHANGED
@@ -706,7 +706,7 @@ export default class oceanex extends Exchange {
706
706
  * @see https://api.oceanex.pro/doc/v1/#order-status-get
707
707
  * @param {string} symbol unified market symbol of the market orders were made in
708
708
  * @param {int} [since] the earliest time in ms to fetch orders for
709
- * @param {int} [limit] the maximum number of orde structures to retrieve
709
+ * @param {int} [limit] the maximum number of order structures to retrieve
710
710
  * @param {object} [params] extra parameters specific to the exchange API endpoint
711
711
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
712
712
  */
package/js/src/okcoin.js CHANGED
@@ -2061,7 +2061,7 @@ export default class okcoin extends Exchange {
2061
2061
  * @description fetches information on multiple closed orders made by the user
2062
2062
  * @param {string} symbol unified market symbol of the market orders were made in
2063
2063
  * @param {int} [since] the earliest time in ms to fetch orders for
2064
- * @param {int} [limit] the maximum number of orde structures to retrieve
2064
+ * @param {int} [limit] the maximum number of order structures to retrieve
2065
2065
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2066
2066
  * @param {bool} [params.stop] True if fetching trigger or conditional orders
2067
2067
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
package/js/src/okx.js CHANGED
@@ -3906,7 +3906,7 @@ export default class okx extends Exchange {
3906
3906
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-algo-trading-get-algo-order-history
3907
3907
  * @param {string} symbol unified market symbol of the market orders were made in
3908
3908
  * @param {int} [since] the earliest time in ms to fetch orders for
3909
- * @param {int} [limit] the maximum number of orde structures to retrieve
3909
+ * @param {int} [limit] the maximum number of order structures to retrieve
3910
3910
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3911
3911
  * @param {bool} [params.stop] True if fetching trigger or conditional orders
3912
3912
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
package/js/src/phemex.js CHANGED
@@ -4291,7 +4291,7 @@ export default class phemex extends Exchange {
4291
4291
  * @name phemex#setLeverage
4292
4292
  * @description set the level of leverage for a market
4293
4293
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
4294
- * @param {float} leverage the rate of leverage
4294
+ * @param {float} leverage the rate of leverage, 100 > leverage > -100 excluding numbers between -1 to 1
4295
4295
  * @param {string} symbol unified market symbol
4296
4296
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4297
4297
  * @param {bool} [params.hedged] set to true if hedged position mode is enabled (by default long and short leverage are set to the same value)
@@ -4304,8 +4304,8 @@ export default class phemex extends Exchange {
4304
4304
  if (symbol === undefined) {
4305
4305
  throw new ArgumentsRequired(this.id + ' setLeverage() requires a symbol argument');
4306
4306
  }
4307
- if ((leverage < 1) || (leverage > 100)) {
4308
- throw new BadRequest(this.id + ' setLeverage() leverage should be between 1 and 100');
4307
+ if ((leverage < -100) || (leverage > 100)) {
4308
+ throw new BadRequest(this.id + ' setLeverage() leverage should be between -100 and 100');
4309
4309
  }
4310
4310
  await this.loadMarkets();
4311
4311
  const isHedged = this.safeValue(params, 'hedged', false);
@@ -1369,7 +1369,7 @@ export default class poloniexfutures extends Exchange {
1369
1369
  * @see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1370
1370
  * @param {string} symbol unified market symbol of the market orders were made in
1371
1371
  * @param {int} [since] the earliest time in ms to fetch orders for
1372
- * @param {int} [limit] the maximum number of orde structures to retrieve
1372
+ * @param {int} [limit] the maximum number of order structures to retrieve
1373
1373
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1374
1374
  * @param {int} [params.till] end time in ms
1375
1375
  * @param {string} [params.side] buy or sell
@@ -348,7 +348,7 @@ export default class alpaca extends alpacaRest {
348
348
  * @description watches information on multiple orders made by the user
349
349
  * @param {string} symbol unified market symbol of the market orders were made in
350
350
  * @param {int} [since] the earliest time in ms to fetch orders for
351
- * @param {int} [limit] the maximum number of orde structures to retrieve
351
+ * @param {int} [limit] the maximum number of order structures to retrieve
352
352
  * @param {object} [params] extra parameters specific to the exchange API endpoint
353
353
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
354
354
  */
@@ -478,7 +478,7 @@ export default class ascendex extends ascendexRest {
478
478
  * @description watches information on multiple orders made by the user
479
479
  * @param {string} symbol unified market symbol of the market orders were made in
480
480
  * @param {int} [since] the earliest time in ms to fetch orders for
481
- * @param {int} [limit] the maximum number of orde structures to retrieve
481
+ * @param {int} [limit] the maximum number of order structures to retrieve
482
482
  * @param {object} [params] extra parameters specific to the exchange API endpoint
483
483
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
484
484
  */
@@ -1930,7 +1930,7 @@ export default class binance extends binanceRest {
1930
1930
  * @description watches information on multiple orders made by the user
1931
1931
  * @param {string} symbol unified market symbol of the market orders were made in
1932
1932
  * @param {int} [since] the earliest time in ms to fetch orders for
1933
- * @param {int} [limit] the maximum number of orde structures to retrieve
1933
+ * @param {int} [limit] the maximum number of order structures to retrieve
1934
1934
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1935
1935
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1936
1936
  */
@@ -2486,7 +2486,7 @@ export default class binance extends binanceRest {
2486
2486
  * @description watches information on multiple trades made by the user
2487
2487
  * @param {string} symbol unified market symbol of the market orders were made in
2488
2488
  * @param {int} [since] the earliest time in ms to fetch orders for
2489
- * @param {int} [limit] the maximum number of orde structures to retrieve
2489
+ * @param {int} [limit] the maximum number of order structures to retrieve
2490
2490
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2491
2491
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
2492
2492
  */
@@ -83,7 +83,7 @@ export default class bingx extends bingxRest {
83
83
  * @see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
84
84
  * @param {string} symbol unified market symbol of the market orders were made in
85
85
  * @param {int} [since] the earliest time in ms to fetch orders for
86
- * @param {int} [limit] the maximum number of orde structures to retrieve
86
+ * @param {int} [limit] the maximum number of order structures to retrieve
87
87
  * @param {object} [params] extra parameters specific to the exchange API endpoint
88
88
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
89
89
  */
@@ -172,7 +172,8 @@ export default class bingx extends bingxRest {
172
172
  const data = this.safeValue(message, 'data', []);
173
173
  const messageHash = this.safeString(message, 'dataType');
174
174
  const marketId = messageHash.split('@')[0];
175
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
175
+ const isSwap = client.url.indexOf('swap') >= 0;
176
+ const marketType = isSwap ? 'swap' : 'spot';
176
177
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
177
178
  const symbol = market['symbol'];
178
179
  let trades = undefined;
@@ -287,7 +288,8 @@ export default class bingx extends bingxRest {
287
288
  const data = this.safeValue(message, 'data', []);
288
289
  const messageHash = this.safeString(message, 'dataType');
289
290
  const marketId = messageHash.split('@')[0];
290
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
291
+ const isSwap = client.url.indexOf('swap') >= 0;
292
+ const marketType = isSwap ? 'swap' : 'spot';
291
293
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
292
294
  const symbol = market['symbol'];
293
295
  let orderbook = this.safeValue(this.orderbooks, symbol);
@@ -311,8 +313,11 @@ export default class bingx extends bingxRest {
311
313
  // "t": 1696687440000
312
314
  // }
313
315
  //
316
+ // for spot, opening-time (t) is used instead of closing-time (T), to be compatible with fetchOHLCV
317
+ // for swap, (T) is the opening time
318
+ const timestamp = (market['spot']) ? 't' : 'T';
314
319
  return [
315
- this.safeInteger(ohlcv, 't'),
320
+ this.safeInteger(ohlcv, timestamp),
316
321
  this.safeNumber(ohlcv, 'o'),
317
322
  this.safeNumber(ohlcv, 'h'),
318
323
  this.safeNumber(ohlcv, 'l'),
@@ -376,7 +381,8 @@ export default class bingx extends bingxRest {
376
381
  const messageHash = this.safeString(message, 'dataType');
377
382
  const timeframeId = messageHash.split('_')[1];
378
383
  const marketId = messageHash.split('@')[0];
379
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
384
+ const isSwap = client.url.indexOf('swap') >= 0;
385
+ const marketType = isSwap ? 'swap' : 'spot';
380
386
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
381
387
  const symbol = market['symbol'];
382
388
  this.ohlcvs[symbol] = this.safeValue(this.ohlcvs, symbol, {});
@@ -440,7 +446,7 @@ export default class bingx extends bingxRest {
440
446
  * @description watches information on multiple orders made by the user
441
447
  * @param {string} symbol unified market symbol of the market orders were made in
442
448
  * @param {int} [since] the earliest time in ms to fetch orders for
443
- * @param {int} [limit] the maximum number of orde structures to retrieve
449
+ * @param {int} [limit] the maximum number of order structures to retrieve
444
450
  * @param {object} [params] extra parameters specific to the exchange API endpoint
445
451
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
446
452
  */
@@ -460,7 +460,7 @@ export default class bitfinex extends bitfinexRest {
460
460
  * @description watches information on multiple orders made by the user
461
461
  * @param {string} symbol unified market symbol of the market orders were made in
462
462
  * @param {int} [since] the earliest time in ms to fetch orders for
463
- * @param {int} [limit] the maximum number of orde structures to retrieve
463
+ * @param {int} [limit] the maximum number of order structures to retrieve
464
464
  * @param {object} [params] extra parameters specific to the exchange API endpoint
465
465
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
466
466
  */
@@ -885,7 +885,7 @@ export default class bitfinex2 extends bitfinex2Rest {
885
885
  * @description watches information on multiple orders made by the user
886
886
  * @param {string} symbol unified market symbol of the market orders were made in
887
887
  * @param {int} [since] the earliest time in ms to fetch orders for
888
- * @param {int} [limit] the maximum number of orde structures to retrieve
888
+ * @param {int} [limit] the maximum number of order structures to retrieve
889
889
  * @param {object} [params] extra parameters specific to the exchange API endpoint
890
890
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
891
891
  */
@@ -438,7 +438,7 @@ export default class bitmart extends bitmartRest {
438
438
  const symbolKeys = Object.keys(symbols);
439
439
  for (let i = 0; i < symbolKeys.length; i++) {
440
440
  const symbol = symbolKeys[i];
441
- const symbolSpecificMessageHash = messageHash + ':' + symbol;
441
+ const symbolSpecificMessageHash = messageHash + '::' + symbol;
442
442
  client.resolve(newOrders, symbolSpecificMessageHash);
443
443
  }
444
444
  client.resolve(newOrders, messageHash);
@@ -805,7 +805,7 @@ export default class bitmex extends bitmexRest {
805
805
  * @description watches information on multiple orders made by the user
806
806
  * @param {string} symbol unified market symbol of the market orders were made in
807
807
  * @param {int} [since] the earliest time in ms to fetch orders for
808
- * @param {int} [limit] the maximum number of orde structures to retrieve
808
+ * @param {int} [limit] the maximum number of order structures to retrieve
809
809
  * @param {object} [params] extra parameters specific to the exchange API endpoint
810
810
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
811
811
  */
@@ -426,7 +426,7 @@ export default class bitpanda extends bitpandaRest {
426
426
  * @description watches information on multiple orders made by the user
427
427
  * @param {string} symbol unified market symbol of the market orders were made in
428
428
  * @param {int} [since] the earliest time in ms to fetch orders for
429
- * @param {int} [limit] the maximum number of orde structures to retrieve
429
+ * @param {int} [limit] the maximum number of order structures to retrieve
430
430
  * @param {object} [params] extra parameters specific to the exchange API endpoint
431
431
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
432
432
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -414,7 +414,7 @@ export default class blockchaincom extends blockchaincomRest {
414
414
  * @see https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
415
415
  * @param {string} symbol unified market symbol of the market orders were made in
416
416
  * @param {int} [since] the earliest time in ms to fetch orders for
417
- * @param {int} [limit] the maximum number of orde structures to retrieve
417
+ * @param {int} [limit] the maximum number of order structures to retrieve
418
418
  * @param {object} [params] extra parameters specific to the exchange API endpoint
419
419
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
420
420
  */
@@ -788,7 +788,7 @@ export default class bybit extends bybitRest {
788
788
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/execution
789
789
  * @param {string} symbol unified market symbol of the market orders were made in
790
790
  * @param {int} [since] the earliest time in ms to fetch orders for
791
- * @param {int} [limit] the maximum number of orde structures to retrieve
791
+ * @param {int} [limit] the maximum number of order structures to retrieve
792
792
  * @param {object} [params] extra parameters specific to the exchange API endpoint
793
793
  * @param {boolean} [params.unifiedMargin] use unified margin account
794
794
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
@@ -1053,7 +1053,7 @@ export default class bybit extends bybitRest {
1053
1053
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/order
1054
1054
  * @param {string} symbol unified market symbol of the market orders were made in
1055
1055
  * @param {int} [since] the earliest time in ms to fetch orders for
1056
- * @param {int} [limit] the maximum number of orde structures to retrieve
1056
+ * @param {int} [limit] the maximum number of order structures to retrieve
1057
1057
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1058
1058
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
1059
1059
  */
@@ -270,7 +270,7 @@ export default class coinbase extends coinbaseRest {
270
270
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#user-channel
271
271
  * @param {string} [symbol] unified market symbol of the market orders were made in
272
272
  * @param {int} [since] the earliest time in ms to fetch orders for
273
- * @param {int} [limit] the maximum number of orde structures to retrieve
273
+ * @param {int} [limit] the maximum number of order structures to retrieve
274
274
  * @param {object} [params] extra parameters specific to the exchange API endpoint
275
275
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
276
276
  */
@@ -271,7 +271,7 @@ export default class coinbasepro extends coinbaseproRest {
271
271
  * @description watches information on multiple orders made by the user
272
272
  * @param {string} symbol unified market symbol of the market orders were made in
273
273
  * @param {int} [since] the earliest time in ms to fetch orders for
274
- * @param {int} [limit] the maximum number of orde structures to retrieve
274
+ * @param {int} [limit] the maximum number of order structures to retrieve
275
275
  * @param {object} [params] extra parameters specific to the exchange API endpoint
276
276
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
277
277
  */
@@ -514,7 +514,7 @@ export default class deribit extends deribitRest {
514
514
  * @description watches information on multiple orders made by the user
515
515
  * @param {string} symbol unified market symbol of the market orders were made in
516
516
  * @param {int} [since] the earliest time in ms to fetch orders for
517
- * @param {int} [limit] the maximum number of orde structures to retrieve
517
+ * @param {int} [limit] the maximum number of order structures to retrieve
518
518
  * @param {object} [params] extra parameters specific to the exchange API endpoint
519
519
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
520
520
  */
@@ -894,7 +894,7 @@ export default class gate extends gateRest {
894
894
  * @description watches information on multiple orders made by the user
895
895
  * @param {string} symbol unified market symbol of the market orders were made in
896
896
  * @param {int} [since] the earliest time in ms to fetch orders for
897
- * @param {int} [limit] the maximum number of orde structures to retrieve
897
+ * @param {int} [limit] the maximum number of order structures to retrieve
898
898
  * @param {object} [params] extra parameters specific to the exchange API endpoint
899
899
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
900
900
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
@@ -380,7 +380,7 @@ export default class gemini extends geminiRest {
380
380
  * @see https://docs.gemini.com/websocket-api/#order-events
381
381
  * @param {string} symbol unified market symbol of the market orders were made in
382
382
  * @param {int} [since] the earliest time in ms to fetch orders for
383
- * @param {int} [limit] the maximum number of orde structures to retrieve
383
+ * @param {int} [limit] the maximum number of order structures to retrieve
384
384
  * @param {object} [params] extra parameters specific to the exchange API endpoint
385
385
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
386
386
  */
@@ -254,7 +254,7 @@ export default class hollaex extends hollaexRest {
254
254
  * @description watches information on multiple orders made by the user
255
255
  * @param {string} symbol unified market symbol of the market orders were made in
256
256
  * @param {int} [since] the earliest time in ms to fetch orders for
257
- * @param {int} [limit] the maximum number of orde structures to retrieve
257
+ * @param {int} [limit] the maximum number of order structures to retrieve
258
258
  * @param {object} [params] extra parameters specific to the exchange API endpoint
259
259
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
260
260
  */
package/js/src/pro/htx.js CHANGED
@@ -770,7 +770,7 @@ export default class htx extends htxRest {
770
770
  * @description watches information on multiple orders made by the user
771
771
  * @param {string} symbol unified market symbol of the market orders were made in
772
772
  * @param {int} [since] the earliest time in ms to fetch orders for
773
- * @param {int} [limit] the maximum number of orde structures to retrieve
773
+ * @param {int} [limit] the maximum number of order structures to retrieve
774
774
  * @param {object} [params] extra parameters specific to the exchange API endpoint
775
775
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
776
776
  */
@@ -512,7 +512,7 @@ export default class idex extends idexRest {
512
512
  * @description watches information on multiple orders made by the user
513
513
  * @param {string} symbol unified market symbol of the market orders were made in
514
514
  * @param {int} [since] the earliest time in ms to fetch orders for
515
- * @param {int} [limit] the maximum number of orde structures to retrieve
515
+ * @param {int} [limit] the maximum number of order structures to retrieve
516
516
  * @param {object} [params] extra parameters specific to the exchange API endpoint
517
517
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
518
518
  */
@@ -993,7 +993,7 @@ export default class kraken extends krakenRest {
993
993
  * @param {string} symbol unified market symbol of the market orders were made in
994
994
  * @param {int} [since] the earliest time in ms to fetch orders for
995
995
  * @param {int} [limit] the maximum number of orde structures to retrieve
996
- * @param {object} [params] extra parameters specific to the exchange API endpoint
996
+ * @param {object} [params] maximum number of orderic to the exchange API endpoint
997
997
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
998
998
  */
999
999
  return await this.watchPrivate('openOrders', symbol, since, limit, params);
@@ -378,7 +378,7 @@ export default class krakenfutures extends krakenfuturesRest {
378
378
  * @see https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
379
379
  * @param {string} symbol unified market symbol of the market orders were made in
380
380
  * @param {int} [since] the earliest time in ms to fetch orders for
381
- * @param {int} [limit] the maximum number of orde structures to retrieve
381
+ * @param {int} [limit] the maximum number of order structures to retrieve
382
382
  * @param {object} [params] extra parameters specific to the exchange API endpoint
383
383
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
384
384
  */
@@ -675,7 +675,7 @@ export default class kucoinfutures extends kucoinfuturesRest {
675
675
  * @see https://docs.kucoin.com/futures/#trade-orders-according-to-the-market
676
676
  * @param {string} symbol unified market symbol of the market orders were made in
677
677
  * @param {int} [since] the earliest time in ms to fetch orders for
678
- * @param {int} [limit] the maximum number of orde structures to retrieve
678
+ * @param {int} [limit] the maximum number of order structures to retrieve
679
679
  * @param {object} [params] extra parameters specific to the exchange API endpoint
680
680
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
681
681
  */