ccxt 4.1.64 → 4.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +2558 -2534
  3. package/dist/ccxt.browser.min.js +2 -2
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +1 -0
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +28 -28
  64. package/dist/cjs/src/krakenfutures.js +9 -9
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +17 -17
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +32 -32
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +8 -8
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +21 -21
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +15 -15
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/mexc.d.ts +2 -0
  149. package/js/src/ace.js +13 -13
  150. package/js/src/alpaca.js +10 -10
  151. package/js/src/ascendex.js +33 -33
  152. package/js/src/base/Exchange.js +6 -6
  153. package/js/src/bigone.js +23 -23
  154. package/js/src/binance.js +68 -68
  155. package/js/src/binanceus.js +1 -0
  156. package/js/src/bingx.js +33 -33
  157. package/js/src/bit2c.js +11 -11
  158. package/js/src/bitbank.js +14 -14
  159. package/js/src/bitbns.js +15 -15
  160. package/js/src/bitfinex.js +24 -24
  161. package/js/src/bitfinex2.js +30 -30
  162. package/js/src/bitflyer.js +17 -17
  163. package/js/src/bitforex.js +12 -12
  164. package/js/src/bitget.js +50 -50
  165. package/js/src/bithumb.js +13 -13
  166. package/js/src/bitmart.js +74 -59
  167. package/js/src/bitmex.js +29 -28
  168. package/js/src/bitopro.js +23 -23
  169. package/js/src/bitpanda.js +25 -25
  170. package/js/src/bitrue.js +26 -26
  171. package/js/src/bitso.js +22 -22
  172. package/js/src/bitstamp.js +24 -24
  173. package/js/src/bittrex.js +31 -31
  174. package/js/src/bitvavo.js +23 -23
  175. package/js/src/bl3p.js +7 -7
  176. package/js/src/blockchaincom.js +23 -23
  177. package/js/src/btcalpha.js +17 -17
  178. package/js/src/btcbox.js +9 -9
  179. package/js/src/btcmarkets.js +19 -19
  180. package/js/src/btcturk.js +13 -13
  181. package/js/src/bybit.js +71 -67
  182. package/js/src/cex.js +17 -17
  183. package/js/src/coinbase.js +28 -28
  184. package/js/src/coinbasepro.js +27 -27
  185. package/js/src/coincheck.js +11 -11
  186. package/js/src/coinex.js +42 -42
  187. package/js/src/coinlist.js +29 -29
  188. package/js/src/coinmate.js +14 -14
  189. package/js/src/coinone.js +13 -13
  190. package/js/src/coinsph.js +25 -25
  191. package/js/src/coinspot.js +9 -9
  192. package/js/src/cryptocom.js +33 -32
  193. package/js/src/currencycom.js +24 -24
  194. package/js/src/delta.js +29 -29
  195. package/js/src/deribit.js +35 -35
  196. package/js/src/digifinex.js +43 -43
  197. package/js/src/exmo.js +30 -30
  198. package/js/src/gate.js +39 -39
  199. package/js/src/gemini.js +18 -18
  200. package/js/src/hitbtc.js +40 -40
  201. package/js/src/hollaex.js +26 -26
  202. package/js/src/htx.js +48 -48
  203. package/js/src/huobijp.js +24 -24
  204. package/js/src/idex.js +23 -23
  205. package/js/src/independentreserve.js +12 -12
  206. package/js/src/indodax.js +16 -16
  207. package/js/src/kraken.js +28 -28
  208. package/js/src/krakenfutures.js +9 -9
  209. package/js/src/kucoin.js +39 -39
  210. package/js/src/kucoinfutures.js +24 -24
  211. package/js/src/kuna.js +25 -25
  212. package/js/src/latoken.js +20 -20
  213. package/js/src/lbank.js +24 -24
  214. package/js/src/luno.js +17 -17
  215. package/js/src/lykke.js +18 -18
  216. package/js/src/mercado.js +13 -13
  217. package/js/src/mexc.js +47 -45
  218. package/js/src/ndax.js +23 -23
  219. package/js/src/novadax.js +23 -23
  220. package/js/src/oceanex.js +19 -19
  221. package/js/src/okcoin.js +25 -25
  222. package/js/src/okx.js +53 -53
  223. package/js/src/p2b.js +14 -14
  224. package/js/src/paymium.js +10 -10
  225. package/js/src/phemex.js +32 -32
  226. package/js/src/poloniex.js +27 -27
  227. package/js/src/poloniexfutures.js +21 -21
  228. package/js/src/pro/alpaca.js +6 -6
  229. package/js/src/pro/ascendex.js +5 -5
  230. package/js/src/pro/binance.js +21 -21
  231. package/js/src/pro/bingx.js +6 -6
  232. package/js/src/pro/bitfinex.js +4 -4
  233. package/js/src/pro/bitfinex2.js +7 -7
  234. package/js/src/pro/bitget.js +12 -12
  235. package/js/src/pro/bitmart.js +5 -5
  236. package/js/src/pro/bitmex.js +8 -8
  237. package/js/src/pro/bitopro.js +4 -4
  238. package/js/src/pro/bitpanda.js +7 -7
  239. package/js/src/pro/bitrue.js +2 -2
  240. package/js/src/pro/bitstamp.js +3 -3
  241. package/js/src/pro/bittrex.js +7 -7
  242. package/js/src/pro/bitvavo.js +6 -6
  243. package/js/src/pro/blockchaincom.js +6 -6
  244. package/js/src/pro/bybit.js +12 -12
  245. package/js/src/pro/cex.js +9 -9
  246. package/js/src/pro/coinbase.js +6 -6
  247. package/js/src/pro/coinbasepro.js +10 -10
  248. package/js/src/pro/coinex.js +7 -7
  249. package/js/src/pro/cryptocom.js +13 -13
  250. package/js/src/pro/currencycom.js +5 -5
  251. package/js/src/pro/deribit.js +7 -7
  252. package/js/src/pro/exmo.js +5 -5
  253. package/js/src/pro/gate.js +10 -10
  254. package/js/src/pro/gemini.js +4 -4
  255. package/js/src/pro/hitbtc.js +11 -11
  256. package/js/src/pro/hollaex.js +5 -5
  257. package/js/src/pro/htx.js +8 -8
  258. package/js/src/pro/huobijp.js +4 -4
  259. package/js/src/pro/idex.js +5 -5
  260. package/js/src/pro/independentreserve.js +2 -2
  261. package/js/src/pro/kraken.js +11 -11
  262. package/js/src/pro/krakenfutures.js +8 -8
  263. package/js/src/pro/kucoin.js +10 -10
  264. package/js/src/pro/kucoinfutures.js +8 -8
  265. package/js/src/pro/luno.js +4 -4
  266. package/js/src/pro/mexc.js +7 -7
  267. package/js/src/pro/ndax.js +4 -4
  268. package/js/src/pro/okcoin.js +6 -6
  269. package/js/src/pro/okx.js +16 -16
  270. package/js/src/pro/phemex.js +7 -7
  271. package/js/src/pro/poloniex.js +7 -7
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +3 -3
  275. package/js/src/pro/wazirx.js +7 -7
  276. package/js/src/pro/whitebit.js +7 -7
  277. package/js/src/pro/woo.js +1 -1
  278. package/js/src/probit.js +24 -24
  279. package/js/src/tidex.js +15 -15
  280. package/js/src/timex.js +19 -19
  281. package/js/src/tokocrypto.js +21 -21
  282. package/js/src/upbit.js +22 -22
  283. package/js/src/wavesexchange.js +19 -19
  284. package/js/src/wazirx.js +15 -15
  285. package/js/src/whitebit.js +29 -29
  286. package/js/src/woo.js +26 -26
  287. package/js/src/yobit.js +17 -17
  288. package/js/src/zaif.js +10 -10
  289. package/js/src/zonda.js +16 -16
  290. package/package.json +1 -1
@@ -832,7 +832,7 @@ class kucoin extends kucoin$1 {
832
832
  * @name kucoin#fetchTime
833
833
  * @description fetches the current integer timestamp in milliseconds from the exchange server
834
834
  * @see https://docs.kucoin.com/#server-time
835
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
835
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
836
836
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
837
837
  */
838
838
  const response = await this.publicGetTimestamp(params);
@@ -851,7 +851,7 @@ class kucoin extends kucoin$1 {
851
851
  * @name kucoin#fetchStatus
852
852
  * @description the latest known information on the availability of the exchange API
853
853
  * @see https://docs.kucoin.com/#service-status
854
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
854
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
855
855
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
856
856
  */
857
857
  const response = await this.publicGetStatus(params);
@@ -881,7 +881,7 @@ class kucoin extends kucoin$1 {
881
881
  * @description retrieves data on all markets for kucoin
882
882
  * @see https://docs.kucoin.com/#get-symbols-list-deprecated
883
883
  * @see https://docs.kucoin.com/#get-all-tickers
884
- * @param {object} [params] extra parameters specific to the exchange api endpoint
884
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
885
885
  * @returns {object[]} an array of objects representing market data
886
886
  */
887
887
  const response = await this.publicGetSymbols(params);
@@ -1021,7 +1021,7 @@ class kucoin extends kucoin$1 {
1021
1021
  * @name kucoin#fetchCurrencies
1022
1022
  * @description fetches all available currencies on an exchange
1023
1023
  * @see https://docs.kucoin.com/#get-currencies
1024
- * @param {object} params extra parameters specific to the kucoin api endpoint
1024
+ * @param {object} params extra parameters specific to the exchange API endpoint
1025
1025
  * @returns {object} an associative dictionary of currencies
1026
1026
  */
1027
1027
  const promises = [];
@@ -1182,7 +1182,7 @@ class kucoin extends kucoin$1 {
1182
1182
  * @name kucoin#fetchAccounts
1183
1183
  * @description fetch all the accounts associated with a profile
1184
1184
  * @see https://docs.kucoin.com/#list-accounts
1185
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1185
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1186
1186
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1187
1187
  */
1188
1188
  const response = await this.privateGetAccounts(params);
@@ -1234,7 +1234,7 @@ class kucoin extends kucoin$1 {
1234
1234
  * @description *DEPRECATED* please use fetchDepositWithdrawFee instead
1235
1235
  * @see https://docs.kucoin.com/#get-withdrawal-quotas
1236
1236
  * @param {string} code unified currency code
1237
- * @param {object} params extra parameters specific to the kucoin api endpoint
1237
+ * @param {object} params extra parameters specific to the exchange API endpoint
1238
1238
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1239
1239
  */
1240
1240
  await this.loadMarkets();
@@ -1264,7 +1264,7 @@ class kucoin extends kucoin$1 {
1264
1264
  * @description fetch the fee for deposits and withdrawals
1265
1265
  * @see https://docs.kucoin.com/#get-withdrawal-quotas
1266
1266
  * @param {string} code unified currency code
1267
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1267
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1268
1268
  * @param {string} [params.network] The chain of currency. This only apply for multi-chain currency, and there is no need for single chain currency; you can query the chain through the response of the GET /api/v2/currencies/{currency} interface
1269
1269
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1270
1270
  */
@@ -1459,10 +1459,10 @@ class kucoin extends kucoin$1 {
1459
1459
  /**
1460
1460
  * @method
1461
1461
  * @name kucoin#fetchTickers
1462
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1462
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1463
1463
  * @see https://docs.kucoin.com/#get-all-tickers
1464
1464
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1465
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1465
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1466
1466
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1467
1467
  */
1468
1468
  await this.loadMarkets();
@@ -1517,7 +1517,7 @@ class kucoin extends kucoin$1 {
1517
1517
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1518
1518
  * @see https://docs.kucoin.com/#get-24hr-stats
1519
1519
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1520
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1520
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1521
1521
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1522
1522
  */
1523
1523
  await this.loadMarkets();
@@ -1582,7 +1582,7 @@ class kucoin extends kucoin$1 {
1582
1582
  * @param {string} timeframe the length of time each candle represents
1583
1583
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1584
1584
  * @param {int} [limit] the maximum amount of candles to fetch
1585
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1585
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1586
1586
  * @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)
1587
1587
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1588
1588
  */
@@ -1637,7 +1637,7 @@ class kucoin extends kucoin$1 {
1637
1637
  * @see https://docs.kucoin.com/#create-deposit-address
1638
1638
  * @description create a currency deposit address
1639
1639
  * @param {string} code unified currency code of the currency for the deposit address
1640
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1640
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1641
1641
  * @param {string} [params.network] the blockchain network name
1642
1642
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1643
1643
  */
@@ -1665,7 +1665,7 @@ class kucoin extends kucoin$1 {
1665
1665
  * @description fetch the deposit address for a currency associated with this account
1666
1666
  * @see https://docs.kucoin.com/#get-deposit-addresses-v2
1667
1667
  * @param {string} code unified currency code
1668
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1668
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1669
1669
  * @param {string} [params.network] the blockchain network name
1670
1670
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1671
1671
  */
@@ -1723,7 +1723,7 @@ class kucoin extends kucoin$1 {
1723
1723
  * @see https://docs.kucoin.com/#get-deposit-addresses-v2
1724
1724
  * @description fetch the deposit address for a currency associated with this account
1725
1725
  * @param {string} code unified currency code
1726
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1726
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1727
1727
  * @returns {object} an array of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
1728
1728
  */
1729
1729
  await this.loadMarkets();
@@ -1765,7 +1765,7 @@ class kucoin extends kucoin$1 {
1765
1765
  * @see https://www.kucoin.com/docs/rest/spot-trading/market-data/get-full-order-book-aggregated-
1766
1766
  * @param {string} symbol unified symbol of the market to fetch the order book for
1767
1767
  * @param {int} [limit] the maximum amount of order book entries to return
1768
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
1768
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1769
1769
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1770
1770
  */
1771
1771
  await this.loadMarkets();
@@ -1856,7 +1856,7 @@ class kucoin extends kucoin$1 {
1856
1856
  * @param {string} side 'buy' or 'sell'
1857
1857
  * @param {float} amount the amount of currency to trade
1858
1858
  * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
1859
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
1859
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1860
1860
  * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
1861
1861
  * @param {string} [params.marginMode] 'cross', // cross (cross mode) and isolated (isolated mode), set to cross by default, the isolated mode will be released soon, stay tuned
1862
1862
  * @param {string} [params.timeInForce] GTC, GTT, IOC, or FOK, default is GTC, limit orders only
@@ -1936,7 +1936,7 @@ class kucoin extends kucoin$1 {
1936
1936
  * @see https://www.kucoin.com/docs/rest/spot-trading/orders/place-multiple-orders
1937
1937
  * @see https://www.kucoin.com/docs/rest/spot-trading/spot-hf-trade-pro-account/place-multiple-hf-orders
1938
1938
  * @param {array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
1939
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
1939
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1940
1940
  * @param {bool} [params.hf] false, // true for hf orders
1941
1941
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1942
1942
  */
@@ -2096,7 +2096,7 @@ class kucoin extends kucoin$1 {
2096
2096
  * @param {string} side not used
2097
2097
  * @param {float} amount how much of the currency you want to trade in units of the base currency
2098
2098
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2099
- * @param {object} [params] extra parameters specific to the gate api endpoint
2099
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2100
2100
  * @param {string} [params.clientOrderId] client order id, defaults to id if not passed
2101
2101
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2102
2102
  */
@@ -2143,7 +2143,7 @@ class kucoin extends kucoin$1 {
2143
2143
  * @see https://docs.kucoin.com/spot-hf/#cancel-order-by-clientoid
2144
2144
  * @param {string} id order id
2145
2145
  * @param {string} symbol unified symbol of the market the order was made in
2146
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2146
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2147
2147
  * @param {bool} [params.stop] True if cancelling a stop order
2148
2148
  * @param {bool} [params.hf] false, // true for hf order
2149
2149
  * @returns Response from the exchange
@@ -2197,7 +2197,7 @@ class kucoin extends kucoin$1 {
2197
2197
  * @see https://docs.kucoin.com/spot#cancel-orders
2198
2198
  * @see https://docs.kucoin.com/spot-hf/#cancel-all-hf-orders-by-symbol
2199
2199
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2200
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2200
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2201
2201
  * @param {bool} [params.stop] *invalid for isolated margin* true if cancelling all stop orders
2202
2202
  * @param {string} [params.marginMode] 'cross' or 'isolated'
2203
2203
  * @param {string} [params.orderIds] *stop orders only* Comma seperated order IDs
@@ -2365,7 +2365,7 @@ class kucoin extends kucoin$1 {
2365
2365
  * @param {string} symbol unified market symbol of the market orders were made in
2366
2366
  * @param {int} [since] the earliest time in ms to fetch orders for
2367
2367
  * @param {int} [limit] the maximum number of orde structures to retrieve
2368
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2368
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2369
2369
  * @param {int} [params.till] end time in ms
2370
2370
  * @param {string} [params.side] buy or sell
2371
2371
  * @param {string} [params.type] limit, market, limit_stop or market_stop
@@ -2395,7 +2395,7 @@ class kucoin extends kucoin$1 {
2395
2395
  * @param {string} symbol unified market symbol
2396
2396
  * @param {int} [since] the earliest time in ms to fetch open orders for
2397
2397
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2398
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2398
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2399
2399
  * @param {int} [params.till] end time in ms
2400
2400
  * @param {bool} [params.stop] true if fetching stop orders
2401
2401
  * @param {string} [params.side] buy or sell
@@ -2685,7 +2685,7 @@ class kucoin extends kucoin$1 {
2685
2685
  * @param {string} symbol unified market symbol
2686
2686
  * @param {int} [since] the earliest time in ms to fetch trades for
2687
2687
  * @param {int} [limit] the maximum number of trades to retrieve
2688
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2688
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2689
2689
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2690
2690
  */
2691
2691
  const request = {
@@ -2703,7 +2703,7 @@ class kucoin extends kucoin$1 {
2703
2703
  * @param {string} symbol unified market symbol
2704
2704
  * @param {int} [since] the earliest time in ms to fetch trades for
2705
2705
  * @param {int} [limit] the maximum number of trades structures to retrieve
2706
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2706
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2707
2707
  * @param {int} [params.until] the latest time in ms to fetch entries for
2708
2708
  * @param {bool} [params.hf] false, // true for hf order
2709
2709
  * @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)
@@ -2812,7 +2812,7 @@ class kucoin extends kucoin$1 {
2812
2812
  * @param {string} symbol unified symbol of the market to fetch trades for
2813
2813
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2814
2814
  * @param {int} [limit] the maximum amount of trades to fetch
2815
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2815
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2816
2816
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
2817
2817
  */
2818
2818
  await this.loadMarkets();
@@ -2983,7 +2983,7 @@ class kucoin extends kucoin$1 {
2983
2983
  * @description fetch the trading fees for a market
2984
2984
  * @see https://docs.kucoin.com/#actual-fee-rate-of-the-trading-pair
2985
2985
  * @param {string} symbol unified market symbol
2986
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
2986
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2987
2987
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
2988
2988
  */
2989
2989
  await this.loadMarkets();
@@ -3026,7 +3026,7 @@ class kucoin extends kucoin$1 {
3026
3026
  * @param {float} amount the amount to withdraw
3027
3027
  * @param {string} address the address to withdraw to
3028
3028
  * @param {string} tag
3029
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3029
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3030
3030
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
3031
3031
  */
3032
3032
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -3201,7 +3201,7 @@ class kucoin extends kucoin$1 {
3201
3201
  * @param {string} code unified currency code
3202
3202
  * @param {int} [since] the earliest time in ms to fetch deposits for
3203
3203
  * @param {int} [limit] the maximum number of deposits structures to retrieve
3204
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3204
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3205
3205
  * @param {int} [params.until] the latest time in ms to fetch entries for
3206
3206
  * @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)
3207
3207
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
@@ -3285,7 +3285,7 @@ class kucoin extends kucoin$1 {
3285
3285
  * @param {string} code unified currency code
3286
3286
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
3287
3287
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
3288
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3288
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3289
3289
  * @param {int} [params.until] the latest time in ms to fetch entries for
3290
3290
  * @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)
3291
3291
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
@@ -3377,9 +3377,9 @@ class kucoin extends kucoin$1 {
3377
3377
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
3378
3378
  * @see https://docs.kucoin.com/#list-accounts
3379
3379
  * @see https://docs.kucoin.com/#query-isolated-margin-account-info
3380
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3380
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3381
3381
  * @param {object} [params.marginMode] 'cross' or 'isolated', margin type for fetching margin balance
3382
- * @param {object} [params.type] extra parameters specific to the kucoin api endpoint
3382
+ * @param {object} [params.type] extra parameters specific to the exchange API endpoint
3383
3383
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
3384
3384
  */
3385
3385
  await this.loadMarkets();
@@ -3528,7 +3528,7 @@ class kucoin extends kucoin$1 {
3528
3528
  * @param {float} amount amount to transfer
3529
3529
  * @param {string} fromAccount account to transfer from
3530
3530
  * @param {string} toAccount account to transfer to
3531
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3531
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3532
3532
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
3533
3533
  */
3534
3534
  await this.loadMarkets();
@@ -3810,7 +3810,7 @@ class kucoin extends kucoin$1 {
3810
3810
  * @param {string} code unified currency code, default is undefined
3811
3811
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
3812
3812
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3813
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3813
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3814
3814
  * @param {int} [params.until] the latest time in ms to fetch entries for
3815
3815
  * @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)
3816
3816
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
@@ -3942,7 +3942,7 @@ class kucoin extends kucoin$1 {
3942
3942
  * @param {string} symbol unified market symbol, required for isolated margin
3943
3943
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
3944
3944
  * @param {int} [limit] the maximum number of structures to retrieve
3945
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
3945
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3946
3946
  * @param {string} [params.marginMode] 'cross' or 'isolated' default is 'cross'
3947
3947
  * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
3948
3948
  */
@@ -4116,7 +4116,7 @@ class kucoin extends kucoin$1 {
4116
4116
  * @see https://docs.kucoin.com/#1-margin-borrowing
4117
4117
  * @param {string} code unified currency code of the currency to borrow
4118
4118
  * @param {float} amount the amount to borrow
4119
- * @param {object} [params] extra parameters specific to the kucoin api endpoints
4119
+ * @param {object} [params] extra parameters specific to the exchange API endpoints
4120
4120
  * @param {string} [params.timeInForce] either IOC or FOK
4121
4121
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4122
4122
  */
@@ -4152,7 +4152,7 @@ class kucoin extends kucoin$1 {
4152
4152
  * @param {string} symbol unified market symbol, required for isolated margin
4153
4153
  * @param {string} code unified currency code of the currency to borrow
4154
4154
  * @param {float} amount the amount to borrow
4155
- * @param {object} [params] extra parameters specific to the kucoin api endpoints
4155
+ * @param {object} [params] extra parameters specific to the exchange API endpoints
4156
4156
  * @param {string} [params.timeInForce] either IOC or FOK
4157
4157
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4158
4158
  */
@@ -4190,7 +4190,7 @@ class kucoin extends kucoin$1 {
4190
4190
  * @see https://docs.kucoin.com/#2-repayment
4191
4191
  * @param {string} code unified currency code of the currency to repay
4192
4192
  * @param {float} amount the amount to repay
4193
- * @param {object} [params] extra parameters specific to the kucoin api endpoints
4193
+ * @param {object} [params] extra parameters specific to the exchange API endpoints
4194
4194
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4195
4195
  */
4196
4196
  await this.loadMarkets();
@@ -4224,7 +4224,7 @@ class kucoin extends kucoin$1 {
4224
4224
  * @param {string} symbol unified market symbol
4225
4225
  * @param {string} code unified currency code of the currency to repay
4226
4226
  * @param {float} amount the amount to repay
4227
- * @param {object} [params] extra parameters specific to the kucoin api endpoints
4227
+ * @param {object} [params] extra parameters specific to the exchange API endpoints
4228
4228
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4229
4229
  */
4230
4230
  await this.loadMarkets();
@@ -4278,7 +4278,7 @@ class kucoin extends kucoin$1 {
4278
4278
  * @description fetch deposit and withdraw fees - *IMPORTANT* use fetchDepositWithdrawFee to get more in-depth info
4279
4279
  * @see https://docs.kucoin.com/#get-currencies
4280
4280
  * @param {string[]|undefined} codes list of unified currency codes
4281
- * @param {object} [params] extra parameters specific to the kucoin api endpoint
4281
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4282
4282
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
4283
4283
  */
4284
4284
  await this.loadMarkets();
@@ -321,7 +321,7 @@ class kucoinfutures extends kucoinfutures$1 {
321
321
  * @name kucoinfutures#fetchStatus
322
322
  * @description the latest known information on the availability of the exchange API
323
323
  * @see https://www.kucoin.com/docs/rest/futures-trading/market-data/get-service-status
324
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
324
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
325
325
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
326
326
  */
327
327
  const response = await this.futuresPublicGetStatus(params);
@@ -515,7 +515,7 @@ class kucoinfutures extends kucoinfutures$1 {
515
515
  * @name kucoinfutures#fetchTime
516
516
  * @description fetches the current integer timestamp in milliseconds from the exchange server
517
517
  * @see https://www.kucoin.com/docs/rest/futures-trading/market-data/get-server-time
518
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
518
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
519
519
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
520
520
  */
521
521
  const response = await this.futuresPublicGetTimestamp(params);
@@ -537,7 +537,7 @@ class kucoinfutures extends kucoinfutures$1 {
537
537
  * @param {string} timeframe the length of time each candle represents
538
538
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
539
539
  * @param {int} [limit] the maximum amount of candles to fetch
540
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
540
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
541
541
  * @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)
542
542
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
543
543
  */
@@ -615,7 +615,7 @@ class kucoinfutures extends kucoinfutures$1 {
615
615
  * @description fetch the deposit address for a currency associated with this account
616
616
  * @see https://www.kucoin.com/docs/rest/funding/deposit/get-deposit-address
617
617
  * @param {string} code unified currency code
618
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
618
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
619
619
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
620
620
  */
621
621
  await this.loadMarkets();
@@ -656,7 +656,7 @@ class kucoinfutures extends kucoinfutures$1 {
656
656
  * @see https://www.kucoin.com/docs/rest/futures-trading/market-data/get-part-order-book-level-2
657
657
  * @param {string} symbol unified symbol of the market to fetch the order book for
658
658
  * @param {int} [limit] the maximum amount of order book entries to return
659
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
659
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
660
660
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
661
661
  */
662
662
  await this.loadMarkets();
@@ -714,7 +714,7 @@ class kucoinfutures extends kucoinfutures$1 {
714
714
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
715
715
  * @see https://www.kucoin.com/docs/rest/futures-trading/market-data/get-ticker
716
716
  * @param {string} symbol unified symbol of the market to fetch the ticker for
717
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
717
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
718
718
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
719
719
  */
720
720
  await this.loadMarkets();
@@ -798,7 +798,7 @@ class kucoinfutures extends kucoinfutures$1 {
798
798
  * @param {string} symbol unified market symbol
799
799
  * @param {int} [since] the earliest time in ms to fetch funding history for
800
800
  * @param {int} [limit] the maximum number of funding history structures to retrieve
801
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
801
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
802
802
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
803
803
  */
804
804
  if (symbol === undefined) {
@@ -868,7 +868,7 @@ class kucoinfutures extends kucoinfutures$1 {
868
868
  * @see https://docs.kucoin.com/futures/#get-position-details
869
869
  * @description fetch data on an open position
870
870
  * @param {string} symbol unified market symbol of the market the position is held in
871
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
871
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
872
872
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
873
873
  */
874
874
  await this.loadMarkets();
@@ -931,7 +931,7 @@ class kucoinfutures extends kucoinfutures$1 {
931
931
  * @description fetch all open positions
932
932
  * @see https://docs.kucoin.com/futures/#get-position-list
933
933
  * @param {string[]|undefined} symbols list of unified market symbols
934
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
934
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
935
935
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
936
936
  */
937
937
  await this.loadMarkets();
@@ -1092,7 +1092,7 @@ class kucoinfutures extends kucoinfutures$1 {
1092
1092
  * @param {string} side 'buy' or 'sell'
1093
1093
  * @param {float} amount the amount of currency to trade
1094
1094
  * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
1095
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
1095
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1096
1096
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
1097
1097
  * @param {float} [params.stopLossPrice] price to trigger stop-loss orders
1098
1098
  * @param {float} [params.takeProfitPrice] price to trigger take-profit orders
@@ -1234,7 +1234,7 @@ class kucoinfutures extends kucoinfutures$1 {
1234
1234
  * @see https://www.kucoin.com/docs/rest/futures-trading/orders/cancel-futures-order-by-orderid
1235
1235
  * @param {string} id order id
1236
1236
  * @param {string} symbol unified symbol of the market the order was made in
1237
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1237
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1238
1238
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1239
1239
  */
1240
1240
  await this.loadMarkets();
@@ -1262,7 +1262,7 @@ class kucoinfutures extends kucoinfutures$1 {
1262
1262
  * @see https://www.kucoin.com/docs/rest/futures-trading/orders/cancel-multiple-futures-limit-orders
1263
1263
  * @see https://www.kucoin.com/docs/rest/futures-trading/orders/cancel-multiple-futures-stop-orders
1264
1264
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1265
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1265
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1266
1266
  * @param {object} [params.stop] When true, all the trigger orders will be cancelled
1267
1267
  * @returns Response from the exchange
1268
1268
  */
@@ -1300,7 +1300,7 @@ class kucoinfutures extends kucoinfutures$1 {
1300
1300
  * @see https://www.kucoin.com/docs/rest/futures-trading/positions/add-margin-manually
1301
1301
  * @param {string} symbol unified market symbol
1302
1302
  * @param {float} amount amount of margin to add
1303
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1303
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1304
1304
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
1305
1305
  */
1306
1306
  await this.loadMarkets();
@@ -1552,7 +1552,7 @@ class kucoinfutures extends kucoinfutures$1 {
1552
1552
  * @param {string} symbol unified market symbol of the market orders were made in
1553
1553
  * @param {int} [since] the earliest time in ms to fetch orders for
1554
1554
  * @param {int} [limit] the maximum number of orde structures to retrieve
1555
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1555
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1556
1556
  * @param {int} [params.till] end time in ms
1557
1557
  * @param {string} [params.side] buy or sell
1558
1558
  * @param {string} [params.type] limit, or market
@@ -1574,7 +1574,7 @@ class kucoinfutures extends kucoinfutures$1 {
1574
1574
  * @description fetches information on an order made by the user
1575
1575
  * @see https://docs.kucoin.com/futures/#get-details-of-a-single-order
1576
1576
  * @param {string} symbol unified symbol of the market the order was made in
1577
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1577
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1578
1578
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1579
1579
  */
1580
1580
  await this.loadMarkets();
@@ -1759,7 +1759,7 @@ class kucoinfutures extends kucoinfutures$1 {
1759
1759
  * @description fetch the current funding rate
1760
1760
  * @see https://www.kucoin.com/docs/rest/futures-trading/market-data/get-current-funding-rate
1761
1761
  * @param {string} symbol unified market symbol
1762
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1762
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1763
1763
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
1764
1764
  */
1765
1765
  await this.loadMarkets();
@@ -1824,7 +1824,7 @@ class kucoinfutures extends kucoinfutures$1 {
1824
1824
  * @name kucoinfutures#fetchBalance
1825
1825
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1826
1826
  * @see https://www.kucoin.com/docs/rest/funding/funding-overview/get-account-detail-futures
1827
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1827
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1828
1828
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1829
1829
  */
1830
1830
  await this.loadMarkets();
@@ -1864,7 +1864,7 @@ class kucoinfutures extends kucoinfutures$1 {
1864
1864
  * @param {float} amount amount to transfer
1865
1865
  * @param {string} fromAccount account to transfer from
1866
1866
  * @param {string} toAccount account to transfer to
1867
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1867
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1868
1868
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1869
1869
  */
1870
1870
  if ((toAccount !== 'main' && toAccount !== 'funding') || (fromAccount !== 'futures' && fromAccount !== 'future' && fromAccount !== 'contract')) {
@@ -1930,7 +1930,7 @@ class kucoinfutures extends kucoinfutures$1 {
1930
1930
  * @param {string} symbol unified market symbol
1931
1931
  * @param {int} [since] the earliest time in ms to fetch trades for
1932
1932
  * @param {int} [limit] the maximum number of trades structures to retrieve
1933
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
1933
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1934
1934
  * @param {int} [params.until] End time in ms
1935
1935
  * @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)
1936
1936
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -2005,7 +2005,7 @@ class kucoinfutures extends kucoinfutures$1 {
2005
2005
  * @param {string} symbol unified symbol of the market to fetch trades for
2006
2006
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2007
2007
  * @param {int} [limit] the maximum amount of trades to fetch
2008
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
2008
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2009
2009
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
2010
2010
  */
2011
2011
  await this.loadMarkets();
@@ -2177,7 +2177,7 @@ class kucoinfutures extends kucoinfutures$1 {
2177
2177
  * @param {string} code unified currency code
2178
2178
  * @param {int} [since] the earliest time in ms to fetch deposits for
2179
2179
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2180
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
2180
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2181
2181
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2182
2182
  */
2183
2183
  await this.loadMarkets();
@@ -2232,7 +2232,7 @@ class kucoinfutures extends kucoinfutures$1 {
2232
2232
  * @param {string} code unified currency code
2233
2233
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2234
2234
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2235
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
2235
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2236
2236
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2237
2237
  */
2238
2238
  await this.loadMarkets();
@@ -2286,7 +2286,7 @@ class kucoinfutures extends kucoinfutures$1 {
2286
2286
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes for a single market
2287
2287
  * @see https://www.kucoin.com/docs/rest/futures-trading/risk-limit/get-futures-risk-limit-level
2288
2288
  * @param {string} symbol unified market symbol
2289
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
2289
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2290
2290
  * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}
2291
2291
  */
2292
2292
  await this.loadMarkets();
@@ -2359,7 +2359,7 @@ class kucoinfutures extends kucoinfutures$1 {
2359
2359
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
2360
2360
  * @param {int} [since] not used by kucuoinfutures
2361
2361
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
2362
- * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
2362
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2363
2363
  * @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)
2364
2364
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
2365
2365
  */