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
package/js/src/mexc.js CHANGED
@@ -176,6 +176,7 @@ export default class mexc extends Exchange {
176
176
  'capital/deposit/address': 1,
177
177
  'capital/transfer': 1,
178
178
  'capital/transfer/tranId': 1,
179
+ 'capital/transfer/internal': 1,
179
180
  'capital/sub-account/universalTransfer': 1,
180
181
  'capital/convert': 1,
181
182
  'capital/convert/list': 1,
@@ -213,6 +214,7 @@ export default class mexc extends Exchange {
213
214
  'batchOrders': 10,
214
215
  'capital/withdraw/apply': 1,
215
216
  'capital/transfer': 1,
217
+ 'capital/transfer/internal': 1,
216
218
  'capital/deposit/address': 1,
217
219
  'capital/sub-account/universalTransfer': 1,
218
220
  'capital/convert': 1,
@@ -820,7 +822,7 @@ export default class mexc extends Exchange {
820
822
  * @method
821
823
  * @name mexc3#fetchStatus
822
824
  * @description the latest known information on the availability of the exchange API
823
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
825
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
824
826
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
825
827
  */
826
828
  const [marketType, query] = this.handleMarketTypeAndParams('fetchStatus', undefined, params);
@@ -857,7 +859,7 @@ export default class mexc extends Exchange {
857
859
  * @method
858
860
  * @name mexc3#fetchTime
859
861
  * @description fetches the current integer timestamp in milliseconds from the exchange server
860
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
862
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
861
863
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
862
864
  */
863
865
  const [marketType, query] = this.handleMarketTypeAndParams('fetchTime', undefined, params);
@@ -884,7 +886,7 @@ export default class mexc extends Exchange {
884
886
  * @name mexc3#fetchCurrencies
885
887
  * @description fetches all available currencies on an exchange
886
888
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
887
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
889
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
888
890
  * @returns {object} an associative dictionary of currencies
889
891
  */
890
892
  // this endpoint requires authentication
@@ -1048,7 +1050,7 @@ export default class mexc extends Exchange {
1048
1050
  * @method
1049
1051
  * @name mexc3#fetchMarkets
1050
1052
  * @description retrieves data on all markets for mexc3
1051
- * @param {object} [params] extra parameters specific to the exchange api endpoint
1053
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1052
1054
  * @returns {object[]} an array of objects representing market data
1053
1055
  */
1054
1056
  const spotMarket = await this.fetchSpotMarkets(params);
@@ -1293,7 +1295,7 @@ export default class mexc extends Exchange {
1293
1295
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1294
1296
  * @param {string} symbol unified symbol of the market to fetch the order book for
1295
1297
  * @param {int} [limit] the maximum amount of order book entries to return
1296
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1298
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1297
1299
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1298
1300
  */
1299
1301
  await this.loadMarkets();
@@ -1370,7 +1372,7 @@ export default class mexc extends Exchange {
1370
1372
  * @param {string} symbol unified symbol of the market to fetch trades for
1371
1373
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1372
1374
  * @param {int} [limit] the maximum amount of trades to fetch
1373
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1375
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1374
1376
  * @param {int} [params.until] *spot only* *since must be defined* the latest time in ms to fetch entries for
1375
1377
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1376
1378
  */
@@ -1634,7 +1636,7 @@ export default class mexc extends Exchange {
1634
1636
  * @param {string} timeframe the length of time each candle represents
1635
1637
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1636
1638
  * @param {int} [limit] the maximum amount of candles to fetch
1637
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1639
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1638
1640
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
1639
1641
  * @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)
1640
1642
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
@@ -1742,9 +1744,9 @@ export default class mexc extends Exchange {
1742
1744
  /**
1743
1745
  * @method
1744
1746
  * @name mexc3#fetchTickers
1745
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1747
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1746
1748
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1747
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1749
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1748
1750
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1749
1751
  */
1750
1752
  await this.loadMarkets();
@@ -1832,7 +1834,7 @@ export default class mexc extends Exchange {
1832
1834
  * @name mexc3#fetchTicker
1833
1835
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1834
1836
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1835
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1837
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1836
1838
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1837
1839
  */
1838
1840
  await this.loadMarkets();
@@ -2022,7 +2024,7 @@ export default class mexc extends Exchange {
2022
2024
  * @name mexc3#fetchBidsAsks
2023
2025
  * @description fetches the bid and ask price and volume for multiple markets
2024
2026
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
2025
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2027
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2026
2028
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
2027
2029
  */
2028
2030
  await this.loadMarkets();
@@ -2068,7 +2070,7 @@ export default class mexc extends Exchange {
2068
2070
  * @param {string} side 'buy' or 'sell'
2069
2071
  * @param {float} amount how much of currency you want to trade in units of base currency
2070
2072
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2071
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2073
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2072
2074
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2073
2075
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2074
2076
  */
@@ -2337,7 +2339,7 @@ export default class mexc extends Exchange {
2337
2339
  * @name mexc3#fetchOrder
2338
2340
  * @description fetches information on an order made by the user
2339
2341
  * @param {string} symbol unified symbol of the market the order was made in
2340
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2342
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2341
2343
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2342
2344
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2343
2345
  */
@@ -2460,7 +2462,7 @@ export default class mexc extends Exchange {
2460
2462
  * @param {string} symbol unified market symbol of the market orders were made in
2461
2463
  * @param {int} [since] the earliest time in ms to fetch orders for
2462
2464
  * @param {int} [limit] the maximum number of orde structures to retrieve
2463
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2465
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2464
2466
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2465
2467
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2466
2468
  */
@@ -2690,7 +2692,7 @@ export default class mexc extends Exchange {
2690
2692
  * @param {string} symbol unified market symbol
2691
2693
  * @param {int} [since] the earliest time in ms to fetch open orders for
2692
2694
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2693
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2695
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2694
2696
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2695
2697
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2696
2698
  */
@@ -2779,7 +2781,7 @@ export default class mexc extends Exchange {
2779
2781
  * @param {string} symbol unified market symbol of the market orders were made in
2780
2782
  * @param {int} [since] the earliest time in ms to fetch orders for
2781
2783
  * @param {int} [limit] the maximum number of orde structures to retrieve
2782
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2784
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2783
2785
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2784
2786
  */
2785
2787
  return await this.fetchOrdersByState(3, symbol, since, limit, params);
@@ -2792,7 +2794,7 @@ export default class mexc extends Exchange {
2792
2794
  * @param {string} symbol unified market symbol of the market orders were made in
2793
2795
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
2794
2796
  * @param {int} [limit] max number of orders to return, default is undefined
2795
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2797
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2796
2798
  * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2797
2799
  */
2798
2800
  return await this.fetchOrdersByState(4, symbol, since, limit, params);
@@ -2820,7 +2822,7 @@ export default class mexc extends Exchange {
2820
2822
  * @description cancels an open order
2821
2823
  * @param {string} id order id
2822
2824
  * @param {string} symbol unified symbol of the market the order was made in
2823
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2825
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2824
2826
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2825
2827
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2826
2828
  */
@@ -2927,7 +2929,7 @@ export default class mexc extends Exchange {
2927
2929
  * @description cancel multiple orders
2928
2930
  * @param {string[]} ids order ids
2929
2931
  * @param {string} symbol unified market symbol, default is undefined
2930
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2932
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2931
2933
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2932
2934
  */
2933
2935
  await this.loadMarkets();
@@ -2961,7 +2963,7 @@ export default class mexc extends Exchange {
2961
2963
  * @name mexc3#cancelAllOrders
2962
2964
  * @description cancel all open orders
2963
2965
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2964
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2966
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2965
2967
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2966
2968
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2967
2969
  */
@@ -3355,7 +3357,7 @@ export default class mexc extends Exchange {
3355
3357
  * @method
3356
3358
  * @name mexc3#fetchAccounts
3357
3359
  * @description fetch all the accounts associated with a profile
3358
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3360
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3359
3361
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
3360
3362
  */
3361
3363
  // TODO: is the below endpoints suitable for fetchAccounts?
@@ -3382,7 +3384,7 @@ export default class mexc extends Exchange {
3382
3384
  * @method
3383
3385
  * @name mexc3#fetchTradingFees
3384
3386
  * @description fetch the trading fees for multiple markets
3385
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3387
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3386
3388
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
3387
3389
  */
3388
3390
  await this.loadMarkets();
@@ -3536,7 +3538,7 @@ export default class mexc extends Exchange {
3536
3538
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#account-information
3537
3539
  * @see https://mexcdevelop.github.io/apidocs/contract_v1_en/#get-all-informations-of-user-39-s-asset
3538
3540
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
3539
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3541
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3540
3542
  * @param {string} [params.symbols] // required for margin, market id's separated by commas
3541
3543
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
3542
3544
  */
@@ -3665,7 +3667,7 @@ export default class mexc extends Exchange {
3665
3667
  * @param {string} symbol unified market symbol
3666
3668
  * @param {int} [since] the earliest time in ms to fetch trades for
3667
3669
  * @param {int} [limit] the maximum number of trades structures to retrieve
3668
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3670
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3669
3671
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3670
3672
  */
3671
3673
  if (symbol === undefined) {
@@ -3756,7 +3758,7 @@ export default class mexc extends Exchange {
3756
3758
  * @param {string} symbol unified market symbol
3757
3759
  * @param {int} [since] the earliest time in ms to fetch trades for
3758
3760
  * @param {int} [limit] the maximum number of trades to retrieve
3759
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3761
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3760
3762
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3761
3763
  */
3762
3764
  await this.loadMarkets();
@@ -3852,7 +3854,7 @@ export default class mexc extends Exchange {
3852
3854
  * @description remove margin from a position
3853
3855
  * @param {string} symbol unified market symbol
3854
3856
  * @param {float} amount the amount of margin to remove
3855
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3857
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3856
3858
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
3857
3859
  */
3858
3860
  return await this.modifyMarginHelper(symbol, amount, 'SUB', params);
@@ -3864,7 +3866,7 @@ export default class mexc extends Exchange {
3864
3866
  * @description add margin
3865
3867
  * @param {string} symbol unified market symbol
3866
3868
  * @param {float} amount amount of margin to add
3867
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3869
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3868
3870
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3869
3871
  */
3870
3872
  return await this.modifyMarginHelper(symbol, amount, 'ADD', params);
@@ -3876,7 +3878,7 @@ export default class mexc extends Exchange {
3876
3878
  * @description set the level of leverage for a market
3877
3879
  * @param {float} leverage the rate of leverage
3878
3880
  * @param {string} symbol unified market symbol
3879
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3881
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3880
3882
  * @returns {object} response from the exchange
3881
3883
  */
3882
3884
  await this.loadMarkets();
@@ -3910,7 +3912,7 @@ export default class mexc extends Exchange {
3910
3912
  * @param {string} symbol unified market symbol
3911
3913
  * @param {int} [since] the earliest time in ms to fetch funding history for
3912
3914
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3913
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3915
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3914
3916
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3915
3917
  */
3916
3918
  await this.loadMarkets();
@@ -4023,7 +4025,7 @@ export default class mexc extends Exchange {
4023
4025
  * @name mexc3#fetchFundingRate
4024
4026
  * @description fetch the current funding rate
4025
4027
  * @param {string} symbol unified market symbol
4026
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4028
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4027
4029
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
4028
4030
  */
4029
4031
  await this.loadMarkets();
@@ -4058,7 +4060,7 @@ export default class mexc extends Exchange {
4058
4060
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
4059
4061
  * @param {int} [since] not used by mexc, but filtered internally by ccxt
4060
4062
  * @param {int} [limit] mexc limit is page_size default 20, maximum is 100
4061
- * @param {object} [params] extra parameters specific to the mexc api endpoint
4063
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4062
4064
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
4063
4065
  */
4064
4066
  if (symbol === undefined) {
@@ -4124,7 +4126,7 @@ export default class mexc extends Exchange {
4124
4126
  * @name mexc3#fetchLeverageTiers
4125
4127
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
4126
4128
  * @param {string[]|undefined} symbols list of unified market symbols
4127
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4129
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4128
4130
  * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
4129
4131
  */
4130
4132
  await this.loadMarkets();
@@ -4238,7 +4240,7 @@ export default class mexc extends Exchange {
4238
4240
  * @description fetch a dictionary of addresses for a currency, indexed by network
4239
4241
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4240
4242
  * @param {string} code unified currency code of the currency for the deposit address
4241
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4243
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4242
4244
  * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
4243
4245
  */
4244
4246
  await this.loadMarkets();
@@ -4278,7 +4280,7 @@ export default class mexc extends Exchange {
4278
4280
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#generate-deposit-address-supporting-network
4279
4281
  * @description create a currency deposit address
4280
4282
  * @param {string} code unified currency code of the currency for the deposit address
4281
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4283
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4282
4284
  * @param {string} [params.network] the blockchain network name
4283
4285
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4284
4286
  */
@@ -4318,7 +4320,7 @@ export default class mexc extends Exchange {
4318
4320
  * @description fetch the deposit address for a currency associated with this account
4319
4321
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4320
4322
  * @param {string} code unified currency code
4321
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4323
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4322
4324
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4323
4325
  */
4324
4326
  const rawNetwork = this.safeStringUpper(params, 'network');
@@ -4348,7 +4350,7 @@ export default class mexc extends Exchange {
4348
4350
  * @param {string} code unified currency code
4349
4351
  * @param {int} [since] the earliest time in ms to fetch deposits for
4350
4352
  * @param {int} [limit] the maximum number of deposits structures to retrieve
4351
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4353
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4352
4354
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4353
4355
  */
4354
4356
  await this.loadMarkets();
@@ -4408,7 +4410,7 @@ export default class mexc extends Exchange {
4408
4410
  * @param {string} code unified currency code
4409
4411
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
4410
4412
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
4411
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4413
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4412
4414
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4413
4415
  */
4414
4416
  await this.loadMarkets();
@@ -4582,7 +4584,7 @@ export default class mexc extends Exchange {
4582
4584
  * @name mexc3#fetchPosition
4583
4585
  * @description fetch data on a single open contract trade position
4584
4586
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4585
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4587
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4586
4588
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4587
4589
  */
4588
4590
  await this.loadMarkets();
@@ -4599,7 +4601,7 @@ export default class mexc extends Exchange {
4599
4601
  * @name mexc3#fetchPositions
4600
4602
  * @description fetch all open positions
4601
4603
  * @param {string[]|undefined} symbols list of unified market symbols
4602
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4604
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4603
4605
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4604
4606
  */
4605
4607
  await this.loadMarkets();
@@ -4741,7 +4743,7 @@ export default class mexc extends Exchange {
4741
4743
  * @param {string} code unified currency code of the currency transferred
4742
4744
  * @param {int} [since] the earliest time in ms to fetch transfers for
4743
4745
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4744
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4746
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4745
4747
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4746
4748
  */
4747
4749
  const [marketType, query] = this.handleMarketTypeAndParams('fetchTransfers', undefined, params);
@@ -4830,7 +4832,7 @@ export default class mexc extends Exchange {
4830
4832
  * @param {float} amount amount to transfer
4831
4833
  * @param {string} fromAccount account to transfer from
4832
4834
  * @param {string} toAccount account to transfer to
4833
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4835
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4834
4836
  * @param {string} [params.symbol] market symbol required for margin account transfers eg:BTCUSDT
4835
4837
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4836
4838
  */
@@ -4963,7 +4965,7 @@ export default class mexc extends Exchange {
4963
4965
  * @param {float} amount the amount to withdraw
4964
4966
  * @param {string} address the address to withdraw to
4965
4967
  * @param {string} tag
4966
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4968
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4967
4969
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4968
4970
  */
4969
4971
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -5028,7 +5030,7 @@ export default class mexc extends Exchange {
5028
5030
  * @description fetch deposit and withdrawal fees
5029
5031
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
5030
5032
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
5031
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
5033
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5032
5034
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
5033
5035
  */
5034
5036
  await this.loadMarkets();
@@ -5126,7 +5128,7 @@ export default class mexc extends Exchange {
5126
5128
  * @description fetch deposit and withdrawal fees
5127
5129
  * @see https://mexcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
5128
5130
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
5129
- * @param {object} [params] extra parameters specific to the mexc3 api endpoint
5131
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5130
5132
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
5131
5133
  */
5132
5134
  await this.loadMarkets();
@@ -5213,7 +5215,7 @@ export default class mexc extends Exchange {
5213
5215
  * @ignore
5214
5216
  * @method
5215
5217
  * @description marginMode specified by params["marginMode"], this.options["marginMode"], this.options["defaultMarginMode"], params["margin"] = true or this.options["defaultType"] = 'margin'
5216
- * @param {object} [params] extra parameters specific to the exchange api endpoint
5218
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5217
5219
  * @param {bool} [params.margin] true for trading spot-margin
5218
5220
  * @returns {array} the marginMode in lowercase
5219
5221
  */
package/js/src/ndax.js CHANGED
@@ -281,7 +281,7 @@ export default class ndax extends Exchange {
281
281
  * @method
282
282
  * @name ndax#signIn
283
283
  * @description sign in, must be called prior to using other authenticated methods
284
- * @param {object} [params] extra parameters specific to the ndax api endpoint
284
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
285
285
  * @returns response from exchange
286
286
  */
287
287
  this.checkRequiredCredentials();
@@ -334,7 +334,7 @@ export default class ndax extends Exchange {
334
334
  * @method
335
335
  * @name ndax#fetchCurrencies
336
336
  * @description fetches all available currencies on an exchange
337
- * @param {object} [params] extra parameters specific to the ndax api endpoint
337
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
338
338
  * @returns {object} an associative dictionary of currencies
339
339
  */
340
340
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -403,7 +403,7 @@ export default class ndax extends Exchange {
403
403
  * @method
404
404
  * @name ndax#fetchMarkets
405
405
  * @description retrieves data on all markets for ndax
406
- * @param {object} [params] extra parameters specific to the exchange api endpoint
406
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
407
407
  * @returns {object[]} an array of objects representing market data
408
408
  */
409
409
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -564,7 +564,7 @@ export default class ndax extends Exchange {
564
564
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
565
565
  * @param {string} symbol unified symbol of the market to fetch the order book for
566
566
  * @param {int} [limit] the maximum amount of order book entries to return
567
- * @param {object} [params] extra parameters specific to the ndax api endpoint
567
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
568
568
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
569
569
  */
570
570
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -673,7 +673,7 @@ export default class ndax extends Exchange {
673
673
  * @name ndax#fetchTicker
674
674
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
675
675
  * @param {string} symbol unified symbol of the market to fetch the ticker for
676
- * @param {object} [params] extra parameters specific to the ndax api endpoint
676
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
677
677
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
678
678
  */
679
679
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -748,7 +748,7 @@ export default class ndax extends Exchange {
748
748
  * @param {string} timeframe the length of time each candle represents
749
749
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
750
750
  * @param {int} [limit] the maximum amount of candles to fetch
751
- * @param {object} [params] extra parameters specific to the ndax api endpoint
751
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
752
752
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
753
753
  */
754
754
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -962,7 +962,7 @@ export default class ndax extends Exchange {
962
962
  * @param {string} symbol unified symbol of the market to fetch trades for
963
963
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
964
964
  * @param {int} [limit] the maximum amount of trades to fetch
965
- * @param {object} [params] extra parameters specific to the ndax api endpoint
965
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
966
966
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
967
967
  */
968
968
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -990,7 +990,7 @@ export default class ndax extends Exchange {
990
990
  * @method
991
991
  * @name ndax#fetchAccounts
992
992
  * @description fetch all the accounts associated with a profile
993
- * @param {object} [params] extra parameters specific to the ndax api endpoint
993
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
994
994
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
995
995
  */
996
996
  if (!this.login) {
@@ -1043,7 +1043,7 @@ export default class ndax extends Exchange {
1043
1043
  * @method
1044
1044
  * @name ndax#fetchBalance
1045
1045
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1046
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1046
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1047
1047
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1048
1048
  */
1049
1049
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1173,7 +1173,7 @@ export default class ndax extends Exchange {
1173
1173
  * @param {string} code unified currency code, default is undefined
1174
1174
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1175
1175
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1176
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1176
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1177
1177
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1178
1178
  */
1179
1179
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1329,7 +1329,7 @@ export default class ndax extends Exchange {
1329
1329
  * @param {string} side 'buy' or 'sell'
1330
1330
  * @param {float} amount how much of currency you want to trade in units of base currency
1331
1331
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1332
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1332
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1333
1333
  * @param {float} [params.triggerPrice] the price at which a trigger order would be triggered
1334
1334
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1335
1335
  */
@@ -1445,7 +1445,7 @@ export default class ndax extends Exchange {
1445
1445
  * @param {string} symbol unified market symbol
1446
1446
  * @param {int} [since] the earliest time in ms to fetch trades for
1447
1447
  * @param {int} [limit] the maximum number of trades structures to retrieve
1448
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1448
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1449
1449
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1450
1450
  */
1451
1451
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1530,7 +1530,7 @@ export default class ndax extends Exchange {
1530
1530
  * @name ndax#cancelAllOrders
1531
1531
  * @description cancel all open orders
1532
1532
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1533
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1533
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1534
1534
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1535
1535
  */
1536
1536
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1565,7 +1565,7 @@ export default class ndax extends Exchange {
1565
1565
  * @description cancels an open order
1566
1566
  * @param {string} id order id
1567
1567
  * @param {string} symbol unified symbol of the market the order was made in
1568
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1568
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1569
1569
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1570
1570
  */
1571
1571
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1605,7 +1605,7 @@ export default class ndax extends Exchange {
1605
1605
  * @param {string} symbol unified market symbol
1606
1606
  * @param {int} [since] the earliest time in ms to fetch open orders for
1607
1607
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1608
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1608
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1609
1609
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1610
1610
  */
1611
1611
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1683,7 +1683,7 @@ export default class ndax extends Exchange {
1683
1683
  * @param {string} symbol unified market symbol of the market orders were made in
1684
1684
  * @param {int} [since] the earliest time in ms to fetch orders for
1685
1685
  * @param {int} [limit] the maximum number of orde structures to retrieve
1686
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1686
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1687
1687
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1688
1688
  */
1689
1689
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1775,7 +1775,7 @@ export default class ndax extends Exchange {
1775
1775
  * @name ndax#fetchOrder
1776
1776
  * @description fetches information on an order made by the user
1777
1777
  * @param {string} symbol unified symbol of the market the order was made in
1778
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1778
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1779
1779
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1780
1780
  */
1781
1781
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1853,7 +1853,7 @@ export default class ndax extends Exchange {
1853
1853
  * @param {string} symbol unified market symbol
1854
1854
  * @param {int} [since] the earliest time in ms to fetch trades for
1855
1855
  * @param {int} [limit] the maximum number of trades to retrieve
1856
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1856
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1857
1857
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1858
1858
  */
1859
1859
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -1932,7 +1932,7 @@ export default class ndax extends Exchange {
1932
1932
  * @name ndax#fetchDepositAddress
1933
1933
  * @description fetch the deposit address for a currency associated with this account
1934
1934
  * @param {string} code unified currency code
1935
- * @param {object} [params] extra parameters specific to the ndax api endpoint
1935
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1936
1936
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1937
1937
  */
1938
1938
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -2004,7 +2004,7 @@ export default class ndax extends Exchange {
2004
2004
  * @name ndax#createDepositAddress
2005
2005
  * @description create a currency deposit address
2006
2006
  * @param {string} code unified currency code of the currency for the deposit address
2007
- * @param {object} [params] extra parameters specific to the ndax api endpoint
2007
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2008
2008
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2009
2009
  */
2010
2010
  const request = {
@@ -2021,7 +2021,7 @@ export default class ndax extends Exchange {
2021
2021
  * @param {string} code unified currency code
2022
2022
  * @param {int} [since] not used by ndax fetchDeposits
2023
2023
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2024
- * @param {object} [params] extra parameters specific to the ndax api endpoint
2024
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2025
2025
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2026
2026
  */
2027
2027
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -2080,7 +2080,7 @@ export default class ndax extends Exchange {
2080
2080
  * @param {string} code unified currency code
2081
2081
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2082
2082
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2083
- * @param {object} [params] extra parameters specific to the ndax api endpoint
2083
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2084
2084
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2085
2085
  */
2086
2086
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -2280,7 +2280,7 @@ export default class ndax extends Exchange {
2280
2280
  * @param {float} amount the amount to withdraw
2281
2281
  * @param {string} address the address to withdraw to
2282
2282
  * @param {string} tag
2283
- * @param {object} [params] extra parameters specific to the ndax api endpoint
2283
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2284
2284
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2285
2285
  */
2286
2286
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);