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
@@ -1022,7 +1022,7 @@ class btcmarkets extends btcmarkets$1 {
1022
1022
  * @description fetches information on multiple orders made by the user
1023
1023
  * @param {string} symbol unified market symbol of the market orders were made in
1024
1024
  * @param {int} [since] the earliest time in ms to fetch orders for
1025
- * @param {int} [limit] the maximum number of orde structures to retrieve
1025
+ * @param {int} [limit] the maximum number of order structures to retrieve
1026
1026
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1027
1027
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1028
1028
  */
@@ -1065,7 +1065,7 @@ class btcmarkets extends btcmarkets$1 {
1065
1065
  * @description fetches information on multiple closed orders made by the user
1066
1066
  * @param {string} symbol unified market symbol of the market orders were made in
1067
1067
  * @param {int} [since] the earliest time in ms to fetch orders for
1068
- * @param {int} [limit] the maximum number of orde structures to retrieve
1068
+ * @param {int} [limit] the maximum number of order structures to retrieve
1069
1069
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1070
1070
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1071
1071
  */
@@ -728,7 +728,7 @@ class btcturk extends btcturk$1 {
728
728
  * @description fetches information on multiple orders made by the user
729
729
  * @param {string} symbol unified market symbol of the market orders were made in
730
730
  * @param {int} [since] the earliest time in ms to fetch orders for
731
- * @param {int} [limit] the maximum number of orde structures to retrieve
731
+ * @param {int} [limit] the maximum number of order structures to retrieve
732
732
  * @param {object} [params] extra parameters specific to the exchange API endpoint
733
733
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
734
734
  */
@@ -4433,7 +4433,7 @@ class bybit extends bybit$1 {
4433
4433
  * @see https://bybit-exchange.github.io/docs/v5/order/order-list
4434
4434
  * @param {string} symbol unified market symbol of the market orders were made in
4435
4435
  * @param {int} [since] the earliest time in ms to fetch orders for
4436
- * @param {int} [limit] the maximum number of orde structures to retrieve
4436
+ * @param {int} [limit] the maximum number of order structures to retrieve
4437
4437
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4438
4438
  * @param {boolean} [params.stop] true if stop order
4439
4439
  * @param {string} [params.type] market type, ['swap', 'option', 'spot']
@@ -4549,7 +4549,7 @@ class bybit extends bybit$1 {
4549
4549
  * @see https://bybit-exchange.github.io/docs/v5/order/order-list
4550
4550
  * @param {string} symbol unified market symbol of the market orders were made in
4551
4551
  * @param {int} [since] the earliest time in ms to fetch orders for
4552
- * @param {int} [limit] the maximum number of orde structures to retrieve
4552
+ * @param {int} [limit] the maximum number of order structures to retrieve
4553
4553
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4554
4554
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
4555
4555
  */
@@ -1329,7 +1329,7 @@ class cex extends cex$1 {
1329
1329
  * @description fetches information on multiple orders made by the user
1330
1330
  * @param {string} symbol unified market symbol of the market orders were made in
1331
1331
  * @param {int} [since] the earliest time in ms to fetch orders for
1332
- * @param {int} [limit] the maximum number of orde structures to retrieve
1332
+ * @param {int} [limit] the maximum number of order structures to retrieve
1333
1333
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1334
1334
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1335
1335
  */
@@ -1133,7 +1133,7 @@ class coinbasepro extends coinbasepro$1 {
1133
1133
  * @description fetches information on multiple orders made by the user
1134
1134
  * @param {string} symbol unified market symbol of the market orders were made in
1135
1135
  * @param {int} [since] the earliest time in ms to fetch orders for
1136
- * @param {int} [limit] the maximum number of orde structures to retrieve
1136
+ * @param {int} [limit] the maximum number of order structures to retrieve
1137
1137
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1138
1138
  * @param {int} [params.until] the latest time in ms to fetch open orders for
1139
1139
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1191,7 +1191,7 @@ class coinbasepro extends coinbasepro$1 {
1191
1191
  * @description fetches information on multiple closed orders made by the user
1192
1192
  * @param {string} symbol unified market symbol of the market orders were made in
1193
1193
  * @param {int} [since] the earliest time in ms to fetch orders for
1194
- * @param {int} [limit] the maximum number of orde structures to retrieve
1194
+ * @param {int} [limit] the maximum number of order structures to retrieve
1195
1195
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1196
1196
  * @param {int} [params.until] the latest time in ms to fetch open orders for
1197
1197
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -3190,7 +3190,7 @@ class coinex extends coinex$1 {
3190
3190
  * @see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot003_trade012_finished_order
3191
3191
  * @param {string} symbol unified market symbol of the market orders were made in
3192
3192
  * @param {int} [since] the earliest time in ms to fetch orders for
3193
- * @param {int} [limit] the maximum number of orde structures to retrieve
3193
+ * @param {int} [limit] the maximum number of order structures to retrieve
3194
3194
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3195
3195
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3196
3196
  */
@@ -1217,7 +1217,7 @@ class coinlist extends coinlist$1 {
1217
1217
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
1218
1218
  * @param {string} symbol unified market symbol of the market orders were made in
1219
1219
  * @param {int} [since] the earliest time in ms to fetch orders for
1220
- * @param {int} [limit] the maximum number of orde structures to retrieve (default 200, max 500)
1220
+ * @param {int} [limit] the maximum number of order structures to retrieve (default 200, max 500)
1221
1221
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1222
1222
  * @param {int} [params.until] the latest time in ms to fetch entries for
1223
1223
  * @param {string|string[]} [params.status] the status of the order - 'accepted', 'done', 'canceled', 'rejected', 'pending' (default [ 'accepted', 'done', 'canceled', 'rejected', 'pending' ])
@@ -1987,7 +1987,7 @@ class deribit extends deribit$1 {
1987
1987
  * @description fetches information on multiple closed orders made by the user
1988
1988
  * @param {string} symbol unified market symbol of the market orders were made in
1989
1989
  * @param {int} [since] the earliest time in ms to fetch orders for
1990
- * @param {int} [limit] the maximum number of orde structures to retrieve
1990
+ * @param {int} [limit] the maximum number of order structures to retrieve
1991
1991
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1992
1992
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1993
1993
  */
@@ -2240,7 +2240,7 @@ class digifinex extends digifinex$1 {
2240
2240
  * @see https://docs.digifinex.com/en-ww/swap/v2/rest.html#historyorder
2241
2241
  * @param {string} symbol unified market symbol of the market orders were made in
2242
2242
  * @param {int} [since] the earliest time in ms to fetch orders for
2243
- * @param {int} [limit] the maximum number of orde structures to retrieve
2243
+ * @param {int} [limit] the maximum number of order structures to retrieve
2244
2244
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2245
2245
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2246
2246
  */
@@ -4644,7 +4644,7 @@ class gate extends gate$1 {
4644
4644
  * @see https://www.gate.io/docs/developers/apiv4/en/#list-options-orders
4645
4645
  * @param {string} symbol unified market symbol of the market orders were made in
4646
4646
  * @param {int} [since] the earliest time in ms to fetch orders for
4647
- * @param {int} [limit] the maximum number of orde structures to retrieve
4647
+ * @param {int} [limit] the maximum number of order structures to retrieve
4648
4648
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4649
4649
  * @param {bool} [params.stop] true for fetching stop orders
4650
4650
  * @param {string} [params.type] spot, swap or future, if not provided this.options['defaultType'] is used
@@ -1812,7 +1812,7 @@ class hitbtc extends hitbtc$1 {
1812
1812
  * @see https://api.hitbtc.com/#margin-orders-history
1813
1813
  * @param {string} symbol unified market symbol of the market orders were made in
1814
1814
  * @param {int} [since] the earliest time in ms to fetch orders for
1815
- * @param {int} [limit] the maximum number of orde structures to retrieve
1815
+ * @param {int} [limit] the maximum number of order structures to retrieve
1816
1816
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1817
1817
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
1818
1818
  * @param {bool} [params.margin] true for fetching margin orders
@@ -922,7 +922,7 @@ class hollaex extends hollaex$1 {
922
922
  * @description fetches information on multiple closed orders made by the user
923
923
  * @param {string} symbol unified market symbol of the market orders were made in
924
924
  * @param {int} [since] the earliest time in ms to fetch orders for
925
- * @param {int} [limit] the maximum number of orde structures to retrieve
925
+ * @param {int} [limit] the maximum number of order structures to retrieve
926
926
  * @param {object} [params] extra parameters specific to the exchange API endpoint
927
927
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
928
928
  */
@@ -980,7 +980,7 @@ class hollaex extends hollaex$1 {
980
980
  * @description fetches information on multiple orders made by the user
981
981
  * @param {string} symbol unified market symbol of the market orders were made in
982
982
  * @param {int} [since] the earliest time in ms to fetch orders for
983
- * @param {int} [limit] the maximum number of orde structures to retrieve
983
+ * @param {int} [limit] the maximum number of order structures to retrieve
984
984
  * @param {object} [params] extra parameters specific to the exchange API endpoint
985
985
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
986
986
  */
@@ -4126,7 +4126,7 @@ class htx extends htx$1 {
4126
4126
  * @description fetches information on multiple closed orders made by the user
4127
4127
  * @param {string} symbol unified market symbol of the market orders were made in
4128
4128
  * @param {int} [since] the earliest time in ms to fetch orders for
4129
- * @param {int} [limit] the maximum number of orde structures to retrieve
4129
+ * @param {int} [limit] the maximum number of order structures to retrieve
4130
4130
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4131
4131
  * @param {int} [params.until] the latest time in ms to fetch entries for
4132
4132
  * @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)
@@ -1176,7 +1176,7 @@ class huobijp extends huobijp$1 {
1176
1176
  * @description fetches information on multiple orders made by the user
1177
1177
  * @param {string} symbol unified market symbol of the market orders were made in
1178
1178
  * @param {int} [since] the earliest time in ms to fetch orders for
1179
- * @param {int} [limit] the maximum number of orde structures to retrieve
1179
+ * @param {int} [limit] the maximum number of order structures to retrieve
1180
1180
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1181
1181
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1182
1182
  */
@@ -1209,7 +1209,7 @@ class huobijp extends huobijp$1 {
1209
1209
  * @description fetches information on multiple closed orders made by the user
1210
1210
  * @param {string} symbol unified market symbol of the market orders were made in
1211
1211
  * @param {int} [since] the earliest time in ms to fetch orders for
1212
- * @param {int} [limit] the maximum number of orde structures to retrieve
1212
+ * @param {int} [limit] the maximum number of order structures to retrieve
1213
1213
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1214
1214
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1215
1215
  */
@@ -927,7 +927,7 @@ class idex extends idex$1 {
927
927
  * @description fetches information on multiple closed orders made by the user
928
928
  * @param {string} symbol unified market symbol of the market orders were made in
929
929
  * @param {int} [since] the earliest time in ms to fetch orders for
930
- * @param {int} [limit] the maximum number of orde structures to retrieve
930
+ * @param {int} [limit] the maximum number of order structures to retrieve
931
931
  * @param {object} [params] extra parameters specific to the exchange API endpoint
932
932
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
933
933
  */
@@ -512,7 +512,7 @@ class independentreserve extends independentreserve$1 {
512
512
  * @description fetches information on multiple closed 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 {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
518
518
  */
@@ -2080,7 +2080,7 @@ class kraken extends kraken$1 {
2080
2080
  * @see https://docs.kraken.com/rest/#tag/Account-Data/operation/getClosedOrders
2081
2081
  * @param {string} symbol unified market symbol of the market orders were made in
2082
2082
  * @param {int} [since] the earliest time in ms to fetch orders for
2083
- * @param {int} [limit] the maximum number of orde structures to retrieve
2083
+ * @param {int} [limit] the maximum number of order structures to retrieve
2084
2084
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2085
2085
  * @param {int} [params.until] timestamp in ms of the latest entry
2086
2086
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -38,15 +38,15 @@ class kucoin extends kucoin$1 {
38
38
  'closeAllPositions': false,
39
39
  'closePosition': false,
40
40
  'createDepositAddress': true,
41
+ 'createMarketBuyOrderWithCost': true,
42
+ 'createMarketOrderWithCost': true,
43
+ 'createMarketSellOrderWithCost': true,
41
44
  'createOrder': true,
42
45
  'createOrders': true,
43
46
  'createPostOnlyOrder': true,
44
47
  'createStopLimitOrder': true,
45
48
  'createStopMarketOrder': true,
46
49
  'createStopOrder': true,
47
- 'createMarketBuyOrderWithCost': true,
48
- 'createMarketOrderWithCost': true,
49
- 'createMarketSellOrderWithCost': true,
50
50
  'editOrder': true,
51
51
  'fetchAccounts': true,
52
52
  'fetchBalance': true,
@@ -2433,7 +2433,7 @@ class kucoin extends kucoin$1 {
2433
2433
  * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2434
2434
  * @param {string} symbol unified market symbol of the market orders were made in
2435
2435
  * @param {int} [since] the earliest time in ms to fetch orders for
2436
- * @param {int} [limit] the maximum number of orde structures to retrieve
2436
+ * @param {int} [limit] the maximum number of order structures to retrieve
2437
2437
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2438
2438
  * @param {int} [params.till] end time in ms
2439
2439
  * @param {string} [params.side] buy or sell
@@ -1566,7 +1566,7 @@ class kucoinfutures extends kucoinfutures$1 {
1566
1566
  * @see https://docs.kucoin.com/futures/#get-order-list
1567
1567
  * @param {string} symbol unified market symbol of the market orders were made in
1568
1568
  * @param {int} [since] the earliest time in ms to fetch orders for
1569
- * @param {int} [limit] the maximum number of orde structures to retrieve
1569
+ * @param {int} [limit] the maximum number of order structures to retrieve
1570
1570
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1571
1571
  * @param {int} [params.till] end time in ms
1572
1572
  * @param {string} [params.side] buy or sell
@@ -1265,7 +1265,7 @@ class kuna extends kuna$1 {
1265
1265
  * @see https://docs.kuna.io/docs/get-private-orders-history
1266
1266
  * @param {string} symbol unified market symbol of the market orders were made in
1267
1267
  * @param {int} [since] the earliest time in ms to fetch orders for
1268
- * @param {int} [limit] the maximum number of orde structures to retrieve
1268
+ * @param {int} [limit] the maximum number of order structures to retrieve
1269
1269
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1270
1270
  * @param {int} [params.until] the latest time in ms to fetch orders for
1271
1271
  *
@@ -1138,7 +1138,7 @@ class latoken extends latoken$1 {
1138
1138
  * @see https://api.latoken.com/doc/v2/#tag/StopOrder/operation/getMyStopOrdersByPair // stop
1139
1139
  * @param {string} symbol unified market symbol of the market orders were made in
1140
1140
  * @param {int} [since] the earliest time in ms to fetch orders for
1141
- * @param {int} [limit] the maximum number of orde structures to retrieve
1141
+ * @param {int} [limit] the maximum number of order structures to retrieve
1142
1142
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1143
1143
  * @param {boolean} [params.trigger] true if fetching trigger orders
1144
1144
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -471,7 +471,7 @@ class luno extends luno$1 {
471
471
  * @description fetches information on multiple orders made by the user
472
472
  * @param {string} symbol unified market symbol of the market orders were made in
473
473
  * @param {int} [since] the earliest time in ms to fetch orders for
474
- * @param {int} [limit] the maximum number of orde structures to retrieve
474
+ * @param {int} [limit] the maximum number of order structures to retrieve
475
475
  * @param {object} [params] extra parameters specific to the exchange API endpoint
476
476
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
477
477
  */
@@ -497,7 +497,7 @@ class luno extends luno$1 {
497
497
  * @description fetches information on multiple closed orders made by the user
498
498
  * @param {string} symbol unified market symbol of the market orders were made in
499
499
  * @param {int} [since] the earliest time in ms to fetch orders for
500
- * @param {int} [limit] the maximum number of orde structures to retrieve
500
+ * @param {int} [limit] the maximum number of order structures to retrieve
501
501
  * @param {object} [params] extra parameters specific to the exchange API endpoint
502
502
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
503
503
  */
@@ -972,7 +972,7 @@ class lykke extends lykke$1 {
972
972
  * @description fetches information on multiple closed orders made by the user
973
973
  * @param {string} symbol unified market symbol of the market orders were made in
974
974
  * @param {int} [since] the earliest time in ms to fetch orders for
975
- * @param {int} [limit] the maximum number of orde structures to retrieve
975
+ * @param {int} [limit] the maximum number of order structures to retrieve
976
976
  * @param {object} [params] extra parameters specific to the exchange API endpoint
977
977
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
978
978
  */
@@ -2511,7 +2511,7 @@ class mexc extends mexc$1 {
2511
2511
  * @description fetches information on multiple orders made by the user
2512
2512
  * @param {string} symbol unified market symbol of the market orders were made in
2513
2513
  * @param {int} [since] the earliest time in ms to fetch orders for
2514
- * @param {int} [limit] the maximum number of orde structures to retrieve
2514
+ * @param {int} [limit] the maximum number of order structures to retrieve
2515
2515
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2516
2516
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2517
2517
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -2834,7 +2834,7 @@ class mexc extends mexc$1 {
2834
2834
  * @description fetches information on multiple closed orders made by the user
2835
2835
  * @param {string} symbol unified market symbol of the market orders were made in
2836
2836
  * @param {int} [since] the earliest time in ms to fetch orders for
2837
- * @param {int} [limit] the maximum number of orde structures to retrieve
2837
+ * @param {int} [limit] the maximum number of order structures to retrieve
2838
2838
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2839
2839
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2840
2840
  */
@@ -1681,7 +1681,7 @@ class ndax extends ndax$1 {
1681
1681
  * @description fetches information on multiple orders made by the user
1682
1682
  * @param {string} symbol unified market symbol of the market orders were made in
1683
1683
  * @param {int} [since] the earliest time in ms to fetch orders for
1684
- * @param {int} [limit] the maximum number of orde structures to retrieve
1684
+ * @param {int} [limit] the maximum number of order structures to retrieve
1685
1685
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1686
1686
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1687
1687
  */
@@ -903,7 +903,7 @@ class novadax extends novadax$1 {
903
903
  * @see https://doc.novadax.com/en-US/#get-order-history
904
904
  * @param {string} symbol unified market symbol of the market orders were made in
905
905
  * @param {int} [since] the earliest time in ms to fetch orders for
906
- * @param {int} [limit] the maximum number of orde structures to retrieve
906
+ * @param {int} [limit] the maximum number of order structures to retrieve
907
907
  * @param {object} [params] extra parameters specific to the exchange API endpoint
908
908
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
909
909
  */
@@ -980,7 +980,7 @@ class novadax extends novadax$1 {
980
980
  * @see https://doc.novadax.com/en-US/#get-order-history
981
981
  * @param {string} symbol unified market symbol of the market orders were made in
982
982
  * @param {int} [since] the earliest time in ms to fetch orders for
983
- * @param {int} [limit] the maximum number of orde structures to retrieve
983
+ * @param {int} [limit] the maximum number of order structures to retrieve
984
984
  * @param {object} [params] extra parameters specific to the exchange API endpoint
985
985
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
986
986
  */
@@ -703,7 +703,7 @@ class oceanex extends oceanex$1 {
703
703
  * @see https://api.oceanex.pro/doc/v1/#order-status-get
704
704
  * @param {string} symbol unified market symbol of the market orders were made in
705
705
  * @param {int} [since] the earliest time in ms to fetch orders for
706
- * @param {int} [limit] the maximum number of orde structures to retrieve
706
+ * @param {int} [limit] the maximum number of order structures to retrieve
707
707
  * @param {object} [params] extra parameters specific to the exchange API endpoint
708
708
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
709
709
  */
@@ -2058,7 +2058,7 @@ class okcoin extends okcoin$1 {
2058
2058
  * @description fetches information on multiple closed orders made by the user
2059
2059
  * @param {string} symbol unified market symbol of the market orders were made in
2060
2060
  * @param {int} [since] the earliest time in ms to fetch orders for
2061
- * @param {int} [limit] the maximum number of orde structures to retrieve
2061
+ * @param {int} [limit] the maximum number of order structures to retrieve
2062
2062
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2063
2063
  * @param {bool} [params.stop] True if fetching trigger or conditional orders
2064
2064
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
@@ -3903,7 +3903,7 @@ class okx extends okx$1 {
3903
3903
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-algo-trading-get-algo-order-history
3904
3904
  * @param {string} symbol unified market symbol of the market orders were made in
3905
3905
  * @param {int} [since] the earliest time in ms to fetch orders for
3906
- * @param {int} [limit] the maximum number of orde structures to retrieve
3906
+ * @param {int} [limit] the maximum number of order structures to retrieve
3907
3907
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3908
3908
  * @param {bool} [params.stop] True if fetching trigger or conditional orders
3909
3909
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
@@ -4288,7 +4288,7 @@ class phemex extends phemex$1 {
4288
4288
  * @name phemex#setLeverage
4289
4289
  * @description set the level of leverage for a market
4290
4290
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
4291
- * @param {float} leverage the rate of leverage
4291
+ * @param {float} leverage the rate of leverage, 100 > leverage > -100 excluding numbers between -1 to 1
4292
4292
  * @param {string} symbol unified market symbol
4293
4293
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4294
4294
  * @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)
@@ -4301,8 +4301,8 @@ class phemex extends phemex$1 {
4301
4301
  if (symbol === undefined) {
4302
4302
  throw new errors.ArgumentsRequired(this.id + ' setLeverage() requires a symbol argument');
4303
4303
  }
4304
- if ((leverage < 1) || (leverage > 100)) {
4305
- throw new errors.BadRequest(this.id + ' setLeverage() leverage should be between 1 and 100');
4304
+ if ((leverage < -100) || (leverage > 100)) {
4305
+ throw new errors.BadRequest(this.id + ' setLeverage() leverage should be between -100 and 100');
4306
4306
  }
4307
4307
  await this.loadMarkets();
4308
4308
  const isHedged = this.safeValue(params, 'hedged', false);
@@ -1366,7 +1366,7 @@ class poloniexfutures extends poloniexfutures$1 {
1366
1366
  * @see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1367
1367
  * @param {string} symbol unified market symbol of the market orders were made in
1368
1368
  * @param {int} [since] the earliest time in ms to fetch orders for
1369
- * @param {int} [limit] the maximum number of orde structures to retrieve
1369
+ * @param {int} [limit] the maximum number of order structures to retrieve
1370
1370
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1371
1371
  * @param {int} [params.till] end time in ms
1372
1372
  * @param {string} [params.side] buy or sell
@@ -345,7 +345,7 @@ class alpaca extends alpaca$1 {
345
345
  * @description watches information on multiple orders made by the user
346
346
  * @param {string} symbol unified market symbol of the market orders were made in
347
347
  * @param {int} [since] the earliest time in ms to fetch orders for
348
- * @param {int} [limit] the maximum number of orde structures to retrieve
348
+ * @param {int} [limit] the maximum number of order structures to retrieve
349
349
  * @param {object} [params] extra parameters specific to the exchange API endpoint
350
350
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
351
351
  */
@@ -475,7 +475,7 @@ class ascendex extends ascendex$1 {
475
475
  * @description watches information on multiple orders made by the user
476
476
  * @param {string} symbol unified market symbol of the market orders were made in
477
477
  * @param {int} [since] the earliest time in ms to fetch orders for
478
- * @param {int} [limit] the maximum number of orde structures to retrieve
478
+ * @param {int} [limit] the maximum number of order structures to retrieve
479
479
  * @param {object} [params] extra parameters specific to the exchange API endpoint
480
480
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
481
481
  */
@@ -1927,7 +1927,7 @@ class binance extends binance$1 {
1927
1927
  * @description watches information on multiple orders made by the user
1928
1928
  * @param {string} symbol unified market symbol of the market orders were made in
1929
1929
  * @param {int} [since] the earliest time in ms to fetch orders for
1930
- * @param {int} [limit] the maximum number of orde structures to retrieve
1930
+ * @param {int} [limit] the maximum number of order structures to retrieve
1931
1931
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1932
1932
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1933
1933
  */
@@ -2483,7 +2483,7 @@ class binance extends binance$1 {
2483
2483
  * @description watches information on multiple trades made by the user
2484
2484
  * @param {string} symbol unified market symbol of the market orders were made in
2485
2485
  * @param {int} [since] the earliest time in ms to fetch orders for
2486
- * @param {int} [limit] the maximum number of orde structures to retrieve
2486
+ * @param {int} [limit] the maximum number of order structures to retrieve
2487
2487
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2488
2488
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
2489
2489
  */
@@ -80,7 +80,7 @@ class bingx extends bingx$1 {
80
80
  * @see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
81
81
  * @param {string} symbol unified market symbol of the market orders were made in
82
82
  * @param {int} [since] the earliest time in ms to fetch orders for
83
- * @param {int} [limit] the maximum number of orde structures to retrieve
83
+ * @param {int} [limit] the maximum number of order structures to retrieve
84
84
  * @param {object} [params] extra parameters specific to the exchange API endpoint
85
85
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
86
86
  */
@@ -169,7 +169,8 @@ class bingx extends bingx$1 {
169
169
  const data = this.safeValue(message, 'data', []);
170
170
  const messageHash = this.safeString(message, 'dataType');
171
171
  const marketId = messageHash.split('@')[0];
172
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
172
+ const isSwap = client.url.indexOf('swap') >= 0;
173
+ const marketType = isSwap ? 'swap' : 'spot';
173
174
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
174
175
  const symbol = market['symbol'];
175
176
  let trades = undefined;
@@ -284,7 +285,8 @@ class bingx extends bingx$1 {
284
285
  const data = this.safeValue(message, 'data', []);
285
286
  const messageHash = this.safeString(message, 'dataType');
286
287
  const marketId = messageHash.split('@')[0];
287
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
288
+ const isSwap = client.url.indexOf('swap') >= 0;
289
+ const marketType = isSwap ? 'swap' : 'spot';
288
290
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
289
291
  const symbol = market['symbol'];
290
292
  let orderbook = this.safeValue(this.orderbooks, symbol);
@@ -308,8 +310,11 @@ class bingx extends bingx$1 {
308
310
  // "t": 1696687440000
309
311
  // }
310
312
  //
313
+ // for spot, opening-time (t) is used instead of closing-time (T), to be compatible with fetchOHLCV
314
+ // for swap, (T) is the opening time
315
+ const timestamp = (market['spot']) ? 't' : 'T';
311
316
  return [
312
- this.safeInteger(ohlcv, 't'),
317
+ this.safeInteger(ohlcv, timestamp),
313
318
  this.safeNumber(ohlcv, 'o'),
314
319
  this.safeNumber(ohlcv, 'h'),
315
320
  this.safeNumber(ohlcv, 'l'),
@@ -373,7 +378,8 @@ class bingx extends bingx$1 {
373
378
  const messageHash = this.safeString(message, 'dataType');
374
379
  const timeframeId = messageHash.split('_')[1];
375
380
  const marketId = messageHash.split('@')[0];
376
- const marketType = client.url.indexOf('swap') >= 0 ? 'swap' : 'spot';
381
+ const isSwap = client.url.indexOf('swap') >= 0;
382
+ const marketType = isSwap ? 'swap' : 'spot';
377
383
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
378
384
  const symbol = market['symbol'];
379
385
  this.ohlcvs[symbol] = this.safeValue(this.ohlcvs, symbol, {});
@@ -437,7 +443,7 @@ class bingx extends bingx$1 {
437
443
  * @description watches information on multiple orders made by the user
438
444
  * @param {string} symbol unified market symbol of the market orders were made in
439
445
  * @param {int} [since] the earliest time in ms to fetch orders for
440
- * @param {int} [limit] the maximum number of orde structures to retrieve
446
+ * @param {int} [limit] the maximum number of order structures to retrieve
441
447
  * @param {object} [params] extra parameters specific to the exchange API endpoint
442
448
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
443
449
  */
@@ -457,7 +457,7 @@ class bitfinex extends bitfinex$1 {
457
457
  * @description watches information on multiple orders made by the user
458
458
  * @param {string} symbol unified market symbol of the market orders were made in
459
459
  * @param {int} [since] the earliest time in ms to fetch orders for
460
- * @param {int} [limit] the maximum number of orde structures to retrieve
460
+ * @param {int} [limit] the maximum number of order structures to retrieve
461
461
  * @param {object} [params] extra parameters specific to the exchange API endpoint
462
462
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
463
463
  */
@@ -882,7 +882,7 @@ class bitfinex2 extends bitfinex2$1 {
882
882
  * @description watches information on multiple orders made by the user
883
883
  * @param {string} symbol unified market symbol of the market orders were made in
884
884
  * @param {int} [since] the earliest time in ms to fetch orders for
885
- * @param {int} [limit] the maximum number of orde structures to retrieve
885
+ * @param {int} [limit] the maximum number of order structures to retrieve
886
886
  * @param {object} [params] extra parameters specific to the exchange API endpoint
887
887
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
888
888
  */
@@ -435,7 +435,7 @@ class bitmart extends bitmart$1 {
435
435
  const symbolKeys = Object.keys(symbols);
436
436
  for (let i = 0; i < symbolKeys.length; i++) {
437
437
  const symbol = symbolKeys[i];
438
- const symbolSpecificMessageHash = messageHash + ':' + symbol;
438
+ const symbolSpecificMessageHash = messageHash + '::' + symbol;
439
439
  client.resolve(newOrders, symbolSpecificMessageHash);
440
440
  }
441
441
  client.resolve(newOrders, messageHash);
@@ -802,7 +802,7 @@ class bitmex extends bitmex$1 {
802
802
  * @description watches information on multiple orders made by the user
803
803
  * @param {string} symbol unified market symbol of the market orders were made in
804
804
  * @param {int} [since] the earliest time in ms to fetch orders for
805
- * @param {int} [limit] the maximum number of orde structures to retrieve
805
+ * @param {int} [limit] the maximum number of order structures to retrieve
806
806
  * @param {object} [params] extra parameters specific to the exchange API endpoint
807
807
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
808
808
  */
@@ -423,7 +423,7 @@ class bitpanda extends bitpanda$1 {
423
423
  * @description watches information on multiple orders made by the user
424
424
  * @param {string} symbol unified market symbol of the market orders were made in
425
425
  * @param {int} [since] the earliest time in ms to fetch orders for
426
- * @param {int} [limit] the maximum number of orde structures to retrieve
426
+ * @param {int} [limit] the maximum number of order structures to retrieve
427
427
  * @param {object} [params] extra parameters specific to the exchange API endpoint
428
428
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
429
429
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -411,7 +411,7 @@ class blockchaincom extends blockchaincom$1 {
411
411
  * @see https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
412
412
  * @param {string} symbol unified market symbol of the market orders were made in
413
413
  * @param {int} [since] the earliest time in ms to fetch orders for
414
- * @param {int} [limit] the maximum number of orde structures to retrieve
414
+ * @param {int} [limit] the maximum number of order structures to retrieve
415
415
  * @param {object} [params] extra parameters specific to the exchange API endpoint
416
416
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
417
417
  */