ccxt 4.1.63 → 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 (293) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  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 +33 -3
  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 +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  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 +27 -28
  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 +162 -123
  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 +12 -9
  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 +22 -24
  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 +22 -16
  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/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
@@ -191,7 +191,7 @@ class idex extends idex$1 {
191
191
  * @method
192
192
  * @name idex#fetchMarkets
193
193
  * @description retrieves data on all markets for idex
194
- * @param {object} [params] extra parameters specific to the exchange api endpoint
194
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
195
195
  * @returns {object[]} an array of objects representing market data
196
196
  */
197
197
  const response = await this.publicGetMarkets(params);
@@ -322,7 +322,7 @@ class idex extends idex$1 {
322
322
  * @name idex#fetchTicker
323
323
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
324
324
  * @param {string} symbol unified symbol of the market to fetch the ticker for
325
- * @param {object} [params] extra parameters specific to the idex api endpoint
325
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
326
326
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
327
327
  */
328
328
  await this.loadMarkets();
@@ -356,9 +356,9 @@ class idex extends idex$1 {
356
356
  /**
357
357
  * @method
358
358
  * @name idex#fetchTickers
359
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
359
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
360
360
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
361
- * @param {object} [params] extra parameters specific to the idex api endpoint
361
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
362
362
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
363
363
  */
364
364
  await this.loadMarkets();
@@ -437,7 +437,7 @@ class idex extends idex$1 {
437
437
  * @param {string} timeframe the length of time each candle represents
438
438
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
439
439
  * @param {int} [limit] the maximum amount of candles to fetch
440
- * @param {object} [params] extra parameters specific to the idex api endpoint
440
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
441
441
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
442
442
  */
443
443
  await this.loadMarkets();
@@ -498,7 +498,7 @@ class idex extends idex$1 {
498
498
  * @param {string} symbol unified symbol of the market to fetch trades for
499
499
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
500
500
  * @param {int} [limit] the maximum amount of trades to fetch
501
- * @param {object} [params] extra parameters specific to the idex api endpoint
501
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
502
502
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
503
503
  */
504
504
  await this.loadMarkets();
@@ -608,7 +608,7 @@ class idex extends idex$1 {
608
608
  * @method
609
609
  * @name idex#fetchTradingFees
610
610
  * @description fetch the trading fees for multiple markets
611
- * @param {object} [params] extra parameters specific to the idex api endpoint
611
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
612
612
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
613
613
  */
614
614
  this.checkRequiredCredentials();
@@ -655,7 +655,7 @@ class idex extends idex$1 {
655
655
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
656
656
  * @param {string} symbol unified symbol of the market to fetch the order book for
657
657
  * @param {int} [limit] the maximum amount of order book entries to return
658
- * @param {object} [params] extra parameters specific to the idex api endpoint
658
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
659
659
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
660
660
  */
661
661
  await this.loadMarkets();
@@ -716,7 +716,7 @@ class idex extends idex$1 {
716
716
  * @method
717
717
  * @name idex#fetchCurrencies
718
718
  * @description fetches all available currencies on an exchange
719
- * @param {object} [params] extra parameters specific to the idex api endpoint
719
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
720
720
  * @returns {object} an associative dictionary of currencies
721
721
  */
722
722
  const response = await this.publicGetAssets(params);
@@ -781,7 +781,7 @@ class idex extends idex$1 {
781
781
  * @method
782
782
  * @name idex#fetchBalance
783
783
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
784
- * @param {object} [params] extra parameters specific to the idex api endpoint
784
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
785
785
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
786
786
  */
787
787
  this.checkRequiredCredentials();
@@ -828,7 +828,7 @@ class idex extends idex$1 {
828
828
  * @param {string} symbol unified market symbol
829
829
  * @param {int} [since] the earliest time in ms to fetch trades for
830
830
  * @param {int} [limit] the maximum number of trades structures to retrieve
831
- * @param {object} [params] extra parameters specific to the idex api endpoint
831
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
832
832
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
833
833
  */
834
834
  this.checkRequiredCredentials();
@@ -894,7 +894,7 @@ class idex extends idex$1 {
894
894
  * @name idex#fetchOrder
895
895
  * @description fetches information on an order made by the user
896
896
  * @param {string} symbol unified symbol of the market the order was made in
897
- * @param {object} [params] extra parameters specific to the idex api endpoint
897
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
898
898
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
899
899
  */
900
900
  const request = {
@@ -910,7 +910,7 @@ class idex extends idex$1 {
910
910
  * @param {string} symbol unified market symbol
911
911
  * @param {int} [since] the earliest time in ms to fetch open orders for
912
912
  * @param {int} [limit] the maximum number of open orders structures to retrieve
913
- * @param {object} [params] extra parameters specific to the idex api endpoint
913
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
914
914
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
915
915
  */
916
916
  const request = {
@@ -926,7 +926,7 @@ class idex extends idex$1 {
926
926
  * @param {string} symbol unified market symbol of the market orders were made in
927
927
  * @param {int} [since] the earliest time in ms to fetch orders for
928
928
  * @param {int} [limit] the maximum number of orde structures to retrieve
929
- * @param {object} [params] extra parameters specific to the idex api endpoint
929
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
930
930
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
931
931
  */
932
932
  const request = {
@@ -1139,7 +1139,7 @@ class idex extends idex$1 {
1139
1139
  * @param {string} side 'buy' or 'sell'
1140
1140
  * @param {float} amount how much of currency you want to trade in units of base currency
1141
1141
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1142
- * @param {object} [params] extra parameters specific to the idex api endpoint
1142
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1143
1143
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1144
1144
  */
1145
1145
  this.checkRequiredCredentials();
@@ -1336,7 +1336,7 @@ class idex extends idex$1 {
1336
1336
  * @param {float} amount the amount to withdraw
1337
1337
  * @param {string} address the address to withdraw to
1338
1338
  * @param {string} tag
1339
- * @param {object} [params] extra parameters specific to the idex api endpoint
1339
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1340
1340
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1341
1341
  */
1342
1342
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1386,7 +1386,7 @@ class idex extends idex$1 {
1386
1386
  * @name idex#cancelAllOrders
1387
1387
  * @description cancel all open orders
1388
1388
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1389
- * @param {object} [params] extra parameters specific to the idex api endpoint
1389
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1390
1390
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1391
1391
  */
1392
1392
  this.checkRequiredCredentials();
@@ -1426,7 +1426,7 @@ class idex extends idex$1 {
1426
1426
  * @description cancels an open order
1427
1427
  * @param {string} id order id
1428
1428
  * @param {string} symbol unified symbol of the market the order was made in
1429
- * @param {object} [params] extra parameters specific to the idex api endpoint
1429
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1430
1430
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1431
1431
  */
1432
1432
  this.checkRequiredCredentials();
@@ -1477,7 +1477,7 @@ class idex extends idex$1 {
1477
1477
  * @description fetch information on a deposit
1478
1478
  * @param {string} id deposit id
1479
1479
  * @param {string} code not used by idex fetchDeposit ()
1480
- * @param {object} [params] extra parameters specific to the idex api endpoint
1480
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1481
1481
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1482
1482
  */
1483
1483
  await this.loadMarkets();
@@ -1498,7 +1498,7 @@ class idex extends idex$1 {
1498
1498
  * @param {string} code unified currency code
1499
1499
  * @param {int} [since] the earliest time in ms to fetch deposits for
1500
1500
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1501
- * @param {object} [params] extra parameters specific to the idex api endpoint
1501
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1502
1502
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1503
1503
  */
1504
1504
  params = this.extend({
@@ -1511,7 +1511,7 @@ class idex extends idex$1 {
1511
1511
  * @method
1512
1512
  * @name idex#fetchTime
1513
1513
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1514
- * @param {object} [params] extra parameters specific to the idex api endpoint
1514
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1515
1515
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1516
1516
  */
1517
1517
  const response = await this.publicGetTime(params);
@@ -1527,7 +1527,7 @@ class idex extends idex$1 {
1527
1527
  * @description fetch data on a currency withdrawal via the withdrawal id
1528
1528
  * @param {string} id withdrawal id
1529
1529
  * @param {string} code not used by idex.fetchWithdrawal
1530
- * @param {object} [params] extra parameters specific to the idex api endpoint
1530
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1531
1531
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1532
1532
  */
1533
1533
  await this.loadMarkets();
@@ -1548,7 +1548,7 @@ class idex extends idex$1 {
1548
1548
  * @param {string} code unified currency code
1549
1549
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1550
1550
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1551
- * @param {object} [params] extra parameters specific to the idex api endpoint
1551
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1552
1552
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1553
1553
  */
1554
1554
  params = this.extend({
@@ -141,7 +141,7 @@ class independentreserve extends independentreserve$1 {
141
141
  * @method
142
142
  * @name independentreserve#fetchMarkets
143
143
  * @description retrieves data on all markets for independentreserve
144
- * @param {object} [params] extra parameters specific to the exchange api endpoint
144
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
145
145
  * @returns {object[]} an array of objects representing market data
146
146
  */
147
147
  const baseCurrencies = await this.publicGetGetValidPrimaryCurrencyCodes(params);
@@ -237,7 +237,7 @@ class independentreserve extends independentreserve$1 {
237
237
  * @method
238
238
  * @name independentreserve#fetchBalance
239
239
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
240
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
240
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
241
241
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
242
242
  */
243
243
  await this.loadMarkets();
@@ -251,7 +251,7 @@ class independentreserve extends independentreserve$1 {
251
251
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
252
252
  * @param {string} symbol unified symbol of the market to fetch the order book for
253
253
  * @param {int} [limit] the maximum amount of order book entries to return
254
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
254
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
255
255
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
256
256
  */
257
257
  await this.loadMarkets();
@@ -317,7 +317,7 @@ class independentreserve extends independentreserve$1 {
317
317
  * @name independentreserve#fetchTicker
318
318
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
319
319
  * @param {string} symbol unified symbol of the market to fetch the ticker for
320
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
320
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
321
321
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
322
322
  */
323
323
  await this.loadMarkets();
@@ -462,7 +462,7 @@ class independentreserve extends independentreserve$1 {
462
462
  * @name independentreserve#fetchOrder
463
463
  * @description fetches information on an order made by the user
464
464
  * @param {string} symbol unified symbol of the market the order was made in
465
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
465
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
466
466
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
467
467
  */
468
468
  await this.loadMarkets();
@@ -483,7 +483,7 @@ class independentreserve extends independentreserve$1 {
483
483
  * @param {string} symbol unified market symbol
484
484
  * @param {int} [since] the earliest time in ms to fetch open orders for
485
485
  * @param {int} [limit] the maximum number of open orders structures to retrieve
486
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
486
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
487
487
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
488
488
  */
489
489
  await this.loadMarkets();
@@ -511,7 +511,7 @@ class independentreserve extends independentreserve$1 {
511
511
  * @param {string} symbol unified market symbol of the market orders were made in
512
512
  * @param {int} [since] the earliest time in ms to fetch orders for
513
513
  * @param {int} [limit] the maximum number of orde structures to retrieve
514
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
514
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
515
515
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
516
516
  */
517
517
  await this.loadMarkets();
@@ -539,7 +539,7 @@ class independentreserve extends independentreserve$1 {
539
539
  * @param {string} symbol unified market symbol
540
540
  * @param {int} [since] the earliest time in ms to fetch trades for
541
541
  * @param {int} [limit] the maximum number of trades structures to retrieve
542
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
542
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
543
543
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
544
544
  */
545
545
  await this.loadMarkets();
@@ -607,7 +607,7 @@ class independentreserve extends independentreserve$1 {
607
607
  * @param {string} symbol unified symbol of the market to fetch trades for
608
608
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
609
609
  * @param {int} [limit] the maximum amount of trades to fetch
610
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
610
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
611
611
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
612
612
  */
613
613
  await this.loadMarkets();
@@ -625,7 +625,7 @@ class independentreserve extends independentreserve$1 {
625
625
  * @method
626
626
  * @name independentreserve#fetchTradingFees
627
627
  * @description fetch the trading fees for multiple markets
628
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
628
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
629
629
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
630
630
  */
631
631
  await this.loadMarkets();
@@ -676,7 +676,7 @@ class independentreserve extends independentreserve$1 {
676
676
  * @param {string} side 'buy' or 'sell'
677
677
  * @param {float} amount how much of currency you want to trade in units of base currency
678
678
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
679
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
679
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
680
680
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
681
681
  */
682
682
  await this.loadMarkets();
@@ -707,7 +707,7 @@ class independentreserve extends independentreserve$1 {
707
707
  * @description cancels an open order
708
708
  * @param {string} id order id
709
709
  * @param {string} symbol unified symbol of the market the order was made in
710
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
710
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
711
711
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
712
712
  */
713
713
  await this.loadMarkets();
@@ -175,7 +175,7 @@ class indodax extends indodax$1 {
175
175
  * @method
176
176
  * @name indodax#fetchTime
177
177
  * @description fetches the current integer timestamp in milliseconds from the exchange server
178
- * @param {object} [params] extra parameters specific to the indodax api endpoint
178
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
179
179
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
180
180
  */
181
181
  const response = await this.publicGetServerTime(params);
@@ -192,7 +192,7 @@ class indodax extends indodax$1 {
192
192
  * @method
193
193
  * @name indodax#fetchMarkets
194
194
  * @description retrieves data on all markets for indodax
195
- * @param {object} [params] extra parameters specific to the exchange api endpoint
195
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
196
196
  * @returns {object[]} an array of objects representing market data
197
197
  */
198
198
  const response = await this.publicGetPairs(params);
@@ -312,7 +312,7 @@ class indodax extends indodax$1 {
312
312
  * @method
313
313
  * @name indodax#fetchBalance
314
314
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
315
- * @param {object} [params] extra parameters specific to the indodax api endpoint
315
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
316
316
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
317
317
  */
318
318
  await this.loadMarkets();
@@ -356,7 +356,7 @@ class indodax extends indodax$1 {
356
356
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
357
357
  * @param {string} symbol unified symbol of the market to fetch the order book for
358
358
  * @param {int} [limit] the maximum amount of order book entries to return
359
- * @param {object} [params] extra parameters specific to the indodax api endpoint
359
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
360
360
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
361
361
  */
362
362
  await this.loadMarkets();
@@ -414,7 +414,7 @@ class indodax extends indodax$1 {
414
414
  * @name indodax#fetchTicker
415
415
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
416
416
  * @param {string} symbol unified symbol of the market to fetch the ticker for
417
- * @param {object} [params] extra parameters specific to the indodax api endpoint
417
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
418
418
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
419
419
  */
420
420
  await this.loadMarkets();
@@ -444,10 +444,10 @@ class indodax extends indodax$1 {
444
444
  /**
445
445
  * @method
446
446
  * @name indodax#fetchTickers
447
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
447
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
448
448
  * @see https://github.com/btcid/indodax-official-api-docs/blob/master/Public-RestAPI.md#ticker-all
449
449
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
450
- * @param {object} [params] extra parameters specific to the indodax api endpoint
450
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
451
451
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
452
452
  */
453
453
  await this.loadMarkets();
@@ -497,7 +497,7 @@ class indodax extends indodax$1 {
497
497
  * @param {string} symbol unified symbol of the market to fetch trades for
498
498
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
499
499
  * @param {int} [limit] the maximum amount of trades to fetch
500
- * @param {object} [params] extra parameters specific to the indodax api endpoint
500
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
501
501
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
502
502
  */
503
503
  await this.loadMarkets();
@@ -600,7 +600,7 @@ class indodax extends indodax$1 {
600
600
  * @name indodax#fetchOrder
601
601
  * @description fetches information on an order made by the user
602
602
  * @param {string} symbol unified symbol of the market the order was made in
603
- * @param {object} [params] extra parameters specific to the indodax api endpoint
603
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
604
604
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
605
605
  */
606
606
  if (symbol === undefined) {
@@ -626,7 +626,7 @@ class indodax extends indodax$1 {
626
626
  * @param {string} symbol unified market symbol
627
627
  * @param {int} [since] the earliest time in ms to fetch open orders for
628
628
  * @param {int} [limit] the maximum number of open orders structures to retrieve
629
- * @param {object} [params] extra parameters specific to the indodax api endpoint
629
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
630
630
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
631
631
  */
632
632
  await this.loadMarkets();
@@ -666,7 +666,7 @@ class indodax extends indodax$1 {
666
666
  * @param {string} symbol unified market symbol of the market orders were made in
667
667
  * @param {int} [since] the earliest time in ms to fetch orders for
668
668
  * @param {int} [limit] the maximum number of order structures to retrieve
669
- * @param {object} [params] extra parameters specific to the indodax api endpoint
669
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
670
670
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
671
671
  */
672
672
  if (symbol === undefined) {
@@ -692,7 +692,7 @@ class indodax extends indodax$1 {
692
692
  * @param {string} side 'buy' or 'sell'
693
693
  * @param {float} amount how much of currency you want to trade in units of base currency
694
694
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
695
- * @param {object} [params] extra parameters specific to the indodax api endpoint
695
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
696
696
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
697
697
  */
698
698
  if (type !== 'limit') {
@@ -728,7 +728,7 @@ class indodax extends indodax$1 {
728
728
  * @description cancels an open order
729
729
  * @param {string} id order id
730
730
  * @param {string} symbol unified symbol of the market the order was made in
731
- * @param {object} [params] extra parameters specific to the indodax api endpoint
731
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
732
732
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
733
733
  */
734
734
  if (symbol === undefined) {
@@ -753,7 +753,7 @@ class indodax extends indodax$1 {
753
753
  * @name indodax#fetchTransactionFee
754
754
  * @description fetch the fee for a transaction
755
755
  * @param {string} code unified currency code
756
- * @param {object} [params] extra parameters specific to the indodax api endpoint
756
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
757
757
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
758
758
  */
759
759
  await this.loadMarkets();
@@ -788,7 +788,7 @@ class indodax extends indodax$1 {
788
788
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
789
789
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
790
790
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
791
- * @param {object} [params] extra parameters specific to the indodax api endpoint
791
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
792
792
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
793
793
  */
794
794
  await this.loadMarkets();
@@ -890,7 +890,7 @@ class indodax extends indodax$1 {
890
890
  * @param {float} amount the amount to withdraw
891
891
  * @param {string} address the address to withdraw to
892
892
  * @param {string} tag
893
- * @param {object} [params] extra parameters specific to the indodax api endpoint
893
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
894
894
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
895
895
  */
896
896
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);