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
package/js/src/idex.js CHANGED
@@ -194,7 +194,7 @@ export default class idex extends Exchange {
194
194
  * @method
195
195
  * @name idex#fetchMarkets
196
196
  * @description retrieves data on all markets for idex
197
- * @param {object} [params] extra parameters specific to the exchange api endpoint
197
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
198
198
  * @returns {object[]} an array of objects representing market data
199
199
  */
200
200
  const response = await this.publicGetMarkets(params);
@@ -325,7 +325,7 @@ export default class idex extends Exchange {
325
325
  * @name idex#fetchTicker
326
326
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
327
327
  * @param {string} symbol unified symbol of the market to fetch the ticker for
328
- * @param {object} [params] extra parameters specific to the idex api endpoint
328
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
329
329
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
330
330
  */
331
331
  await this.loadMarkets();
@@ -359,9 +359,9 @@ export default class idex extends Exchange {
359
359
  /**
360
360
  * @method
361
361
  * @name idex#fetchTickers
362
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
362
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
363
363
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
364
- * @param {object} [params] extra parameters specific to the idex api endpoint
364
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
365
365
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
366
366
  */
367
367
  await this.loadMarkets();
@@ -440,7 +440,7 @@ export default class idex extends Exchange {
440
440
  * @param {string} timeframe the length of time each candle represents
441
441
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
442
442
  * @param {int} [limit] the maximum amount of candles to fetch
443
- * @param {object} [params] extra parameters specific to the idex api endpoint
443
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
444
444
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
445
445
  */
446
446
  await this.loadMarkets();
@@ -501,7 +501,7 @@ export default class idex extends Exchange {
501
501
  * @param {string} symbol unified symbol of the market to fetch trades for
502
502
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
503
503
  * @param {int} [limit] the maximum amount of trades to fetch
504
- * @param {object} [params] extra parameters specific to the idex api endpoint
504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
505
505
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
506
506
  */
507
507
  await this.loadMarkets();
@@ -611,7 +611,7 @@ export default class idex extends Exchange {
611
611
  * @method
612
612
  * @name idex#fetchTradingFees
613
613
  * @description fetch the trading fees for multiple markets
614
- * @param {object} [params] extra parameters specific to the idex api endpoint
614
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
615
615
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
616
616
  */
617
617
  this.checkRequiredCredentials();
@@ -658,7 +658,7 @@ export default class idex extends Exchange {
658
658
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
659
659
  * @param {string} symbol unified symbol of the market to fetch the order book for
660
660
  * @param {int} [limit] the maximum amount of order book entries to return
661
- * @param {object} [params] extra parameters specific to the idex api endpoint
661
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
662
662
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
663
663
  */
664
664
  await this.loadMarkets();
@@ -719,7 +719,7 @@ export default class idex extends Exchange {
719
719
  * @method
720
720
  * @name idex#fetchCurrencies
721
721
  * @description fetches all available currencies on an exchange
722
- * @param {object} [params] extra parameters specific to the idex api endpoint
722
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
723
723
  * @returns {object} an associative dictionary of currencies
724
724
  */
725
725
  const response = await this.publicGetAssets(params);
@@ -784,7 +784,7 @@ export default class idex extends Exchange {
784
784
  * @method
785
785
  * @name idex#fetchBalance
786
786
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
787
- * @param {object} [params] extra parameters specific to the idex api endpoint
787
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
788
788
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
789
789
  */
790
790
  this.checkRequiredCredentials();
@@ -831,7 +831,7 @@ export default class idex extends Exchange {
831
831
  * @param {string} symbol unified market symbol
832
832
  * @param {int} [since] the earliest time in ms to fetch trades for
833
833
  * @param {int} [limit] the maximum number of trades structures to retrieve
834
- * @param {object} [params] extra parameters specific to the idex api endpoint
834
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
835
835
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
836
836
  */
837
837
  this.checkRequiredCredentials();
@@ -897,7 +897,7 @@ export default class idex extends Exchange {
897
897
  * @name idex#fetchOrder
898
898
  * @description fetches information on an order made by the user
899
899
  * @param {string} symbol unified symbol of the market the order was made in
900
- * @param {object} [params] extra parameters specific to the idex api endpoint
900
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
901
901
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
902
902
  */
903
903
  const request = {
@@ -913,7 +913,7 @@ export default class idex extends Exchange {
913
913
  * @param {string} symbol unified market symbol
914
914
  * @param {int} [since] the earliest time in ms to fetch open orders for
915
915
  * @param {int} [limit] the maximum number of open orders structures to retrieve
916
- * @param {object} [params] extra parameters specific to the idex api endpoint
916
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
917
917
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
918
918
  */
919
919
  const request = {
@@ -929,7 +929,7 @@ export default class idex extends Exchange {
929
929
  * @param {string} symbol unified market symbol of the market orders were made in
930
930
  * @param {int} [since] the earliest time in ms to fetch orders for
931
931
  * @param {int} [limit] the maximum number of orde structures to retrieve
932
- * @param {object} [params] extra parameters specific to the idex api endpoint
932
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
933
933
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
934
934
  */
935
935
  const request = {
@@ -1142,7 +1142,7 @@ export default class idex extends Exchange {
1142
1142
  * @param {string} side 'buy' or 'sell'
1143
1143
  * @param {float} amount how much of currency you want to trade in units of base currency
1144
1144
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1145
- * @param {object} [params] extra parameters specific to the idex api endpoint
1145
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1146
1146
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1147
1147
  */
1148
1148
  this.checkRequiredCredentials();
@@ -1339,7 +1339,7 @@ export default class idex extends Exchange {
1339
1339
  * @param {float} amount the amount to withdraw
1340
1340
  * @param {string} address the address to withdraw to
1341
1341
  * @param {string} tag
1342
- * @param {object} [params] extra parameters specific to the idex api endpoint
1342
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1343
1343
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1344
1344
  */
1345
1345
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1389,7 +1389,7 @@ export default class idex extends Exchange {
1389
1389
  * @name idex#cancelAllOrders
1390
1390
  * @description cancel all open orders
1391
1391
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1392
- * @param {object} [params] extra parameters specific to the idex api endpoint
1392
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1393
1393
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1394
1394
  */
1395
1395
  this.checkRequiredCredentials();
@@ -1429,7 +1429,7 @@ export default class idex extends Exchange {
1429
1429
  * @description cancels an open order
1430
1430
  * @param {string} id order id
1431
1431
  * @param {string} symbol unified symbol of the market the order was made in
1432
- * @param {object} [params] extra parameters specific to the idex api endpoint
1432
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1433
1433
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1434
1434
  */
1435
1435
  this.checkRequiredCredentials();
@@ -1480,7 +1480,7 @@ export default class idex extends Exchange {
1480
1480
  * @description fetch information on a deposit
1481
1481
  * @param {string} id deposit id
1482
1482
  * @param {string} code not used by idex fetchDeposit ()
1483
- * @param {object} [params] extra parameters specific to the idex api endpoint
1483
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1484
1484
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1485
1485
  */
1486
1486
  await this.loadMarkets();
@@ -1501,7 +1501,7 @@ export default class idex extends Exchange {
1501
1501
  * @param {string} code unified currency code
1502
1502
  * @param {int} [since] the earliest time in ms to fetch deposits for
1503
1503
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1504
- * @param {object} [params] extra parameters specific to the idex api endpoint
1504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1505
1505
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1506
1506
  */
1507
1507
  params = this.extend({
@@ -1514,7 +1514,7 @@ export default class idex extends Exchange {
1514
1514
  * @method
1515
1515
  * @name idex#fetchTime
1516
1516
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1517
- * @param {object} [params] extra parameters specific to the idex api endpoint
1517
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1518
1518
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1519
1519
  */
1520
1520
  const response = await this.publicGetTime(params);
@@ -1530,7 +1530,7 @@ export default class idex extends Exchange {
1530
1530
  * @description fetch data on a currency withdrawal via the withdrawal id
1531
1531
  * @param {string} id withdrawal id
1532
1532
  * @param {string} code not used by idex.fetchWithdrawal
1533
- * @param {object} [params] extra parameters specific to the idex api endpoint
1533
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1534
1534
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1535
1535
  */
1536
1536
  await this.loadMarkets();
@@ -1551,7 +1551,7 @@ export default class idex extends Exchange {
1551
1551
  * @param {string} code unified currency code
1552
1552
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1553
1553
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1554
- * @param {object} [params] extra parameters specific to the idex api endpoint
1554
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1555
1555
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1556
1556
  */
1557
1557
  params = this.extend({
@@ -144,7 +144,7 @@ export default class independentreserve extends Exchange {
144
144
  * @method
145
145
  * @name independentreserve#fetchMarkets
146
146
  * @description retrieves data on all markets for independentreserve
147
- * @param {object} [params] extra parameters specific to the exchange api endpoint
147
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
148
148
  * @returns {object[]} an array of objects representing market data
149
149
  */
150
150
  const baseCurrencies = await this.publicGetGetValidPrimaryCurrencyCodes(params);
@@ -240,7 +240,7 @@ export default class independentreserve extends Exchange {
240
240
  * @method
241
241
  * @name independentreserve#fetchBalance
242
242
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
243
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
243
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
244
244
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
245
245
  */
246
246
  await this.loadMarkets();
@@ -254,7 +254,7 @@ export default class independentreserve extends Exchange {
254
254
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
255
255
  * @param {string} symbol unified symbol of the market to fetch the order book for
256
256
  * @param {int} [limit] the maximum amount of order book entries to return
257
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
257
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
258
258
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
259
259
  */
260
260
  await this.loadMarkets();
@@ -320,7 +320,7 @@ export default class independentreserve extends Exchange {
320
320
  * @name independentreserve#fetchTicker
321
321
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
322
322
  * @param {string} symbol unified symbol of the market to fetch the ticker for
323
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
323
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
324
324
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
325
325
  */
326
326
  await this.loadMarkets();
@@ -465,7 +465,7 @@ export default class independentreserve extends Exchange {
465
465
  * @name independentreserve#fetchOrder
466
466
  * @description fetches information on an order made by the user
467
467
  * @param {string} symbol unified symbol of the market the order was made in
468
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
468
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
469
469
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
470
470
  */
471
471
  await this.loadMarkets();
@@ -486,7 +486,7 @@ export default class independentreserve extends Exchange {
486
486
  * @param {string} symbol unified market symbol
487
487
  * @param {int} [since] the earliest time in ms to fetch open orders for
488
488
  * @param {int} [limit] the maximum number of open orders structures to retrieve
489
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
489
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
490
490
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
491
491
  */
492
492
  await this.loadMarkets();
@@ -514,7 +514,7 @@ export default class independentreserve extends Exchange {
514
514
  * @param {string} symbol unified market symbol of the market orders were made in
515
515
  * @param {int} [since] the earliest time in ms to fetch orders for
516
516
  * @param {int} [limit] the maximum number of orde structures to retrieve
517
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
517
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
518
518
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
519
519
  */
520
520
  await this.loadMarkets();
@@ -542,7 +542,7 @@ export default class independentreserve extends Exchange {
542
542
  * @param {string} symbol unified market symbol
543
543
  * @param {int} [since] the earliest time in ms to fetch trades for
544
544
  * @param {int} [limit] the maximum number of trades structures to retrieve
545
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
545
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
546
546
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
547
547
  */
548
548
  await this.loadMarkets();
@@ -610,7 +610,7 @@ export default class independentreserve extends Exchange {
610
610
  * @param {string} symbol unified symbol of the market to fetch trades for
611
611
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
612
612
  * @param {int} [limit] the maximum amount of trades to fetch
613
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
613
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
614
614
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
615
615
  */
616
616
  await this.loadMarkets();
@@ -628,7 +628,7 @@ export default class independentreserve extends Exchange {
628
628
  * @method
629
629
  * @name independentreserve#fetchTradingFees
630
630
  * @description fetch the trading fees for multiple markets
631
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
631
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
632
632
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
633
633
  */
634
634
  await this.loadMarkets();
@@ -679,7 +679,7 @@ export default class independentreserve extends Exchange {
679
679
  * @param {string} side 'buy' or 'sell'
680
680
  * @param {float} amount how much of currency you want to trade in units of base currency
681
681
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
682
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
682
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
683
683
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
684
684
  */
685
685
  await this.loadMarkets();
@@ -710,7 +710,7 @@ export default class independentreserve extends Exchange {
710
710
  * @description cancels an open order
711
711
  * @param {string} id order id
712
712
  * @param {string} symbol unified symbol of the market the order was made in
713
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
713
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
714
714
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
715
715
  */
716
716
  await this.loadMarkets();
package/js/src/indodax.js CHANGED
@@ -178,7 +178,7 @@ export default class indodax extends Exchange {
178
178
  * @method
179
179
  * @name indodax#fetchTime
180
180
  * @description fetches the current integer timestamp in milliseconds from the exchange server
181
- * @param {object} [params] extra parameters specific to the indodax api endpoint
181
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
182
182
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
183
183
  */
184
184
  const response = await this.publicGetServerTime(params);
@@ -195,7 +195,7 @@ export default class indodax extends Exchange {
195
195
  * @method
196
196
  * @name indodax#fetchMarkets
197
197
  * @description retrieves data on all markets for indodax
198
- * @param {object} [params] extra parameters specific to the exchange api endpoint
198
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
199
199
  * @returns {object[]} an array of objects representing market data
200
200
  */
201
201
  const response = await this.publicGetPairs(params);
@@ -315,7 +315,7 @@ export default class indodax extends Exchange {
315
315
  * @method
316
316
  * @name indodax#fetchBalance
317
317
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
318
- * @param {object} [params] extra parameters specific to the indodax api endpoint
318
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
319
319
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
320
320
  */
321
321
  await this.loadMarkets();
@@ -359,7 +359,7 @@ export default class indodax extends Exchange {
359
359
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
360
360
  * @param {string} symbol unified symbol of the market to fetch the order book for
361
361
  * @param {int} [limit] the maximum amount of order book entries to return
362
- * @param {object} [params] extra parameters specific to the indodax api endpoint
362
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
363
363
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
364
364
  */
365
365
  await this.loadMarkets();
@@ -417,7 +417,7 @@ export default class indodax extends Exchange {
417
417
  * @name indodax#fetchTicker
418
418
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
419
419
  * @param {string} symbol unified symbol of the market to fetch the ticker for
420
- * @param {object} [params] extra parameters specific to the indodax api endpoint
420
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
421
421
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
422
422
  */
423
423
  await this.loadMarkets();
@@ -447,10 +447,10 @@ export default class indodax extends Exchange {
447
447
  /**
448
448
  * @method
449
449
  * @name indodax#fetchTickers
450
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
450
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
451
451
  * @see https://github.com/btcid/indodax-official-api-docs/blob/master/Public-RestAPI.md#ticker-all
452
452
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
453
- * @param {object} [params] extra parameters specific to the indodax api endpoint
453
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
454
454
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
455
455
  */
456
456
  await this.loadMarkets();
@@ -500,7 +500,7 @@ export default class indodax extends Exchange {
500
500
  * @param {string} symbol unified symbol of the market to fetch trades for
501
501
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
502
502
  * @param {int} [limit] the maximum amount of trades to fetch
503
- * @param {object} [params] extra parameters specific to the indodax api endpoint
503
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
504
504
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
505
505
  */
506
506
  await this.loadMarkets();
@@ -603,7 +603,7 @@ export default class indodax extends Exchange {
603
603
  * @name indodax#fetchOrder
604
604
  * @description fetches information on an order made by the user
605
605
  * @param {string} symbol unified symbol of the market the order was made in
606
- * @param {object} [params] extra parameters specific to the indodax api endpoint
606
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
607
607
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
608
608
  */
609
609
  if (symbol === undefined) {
@@ -629,7 +629,7 @@ export default class indodax extends Exchange {
629
629
  * @param {string} symbol unified market symbol
630
630
  * @param {int} [since] the earliest time in ms to fetch open orders for
631
631
  * @param {int} [limit] the maximum number of open orders structures to retrieve
632
- * @param {object} [params] extra parameters specific to the indodax api endpoint
632
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
633
633
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
634
634
  */
635
635
  await this.loadMarkets();
@@ -669,7 +669,7 @@ export default class indodax extends Exchange {
669
669
  * @param {string} symbol unified market symbol of the market orders were made in
670
670
  * @param {int} [since] the earliest time in ms to fetch orders for
671
671
  * @param {int} [limit] the maximum number of order structures to retrieve
672
- * @param {object} [params] extra parameters specific to the indodax api endpoint
672
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
673
673
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
674
674
  */
675
675
  if (symbol === undefined) {
@@ -695,7 +695,7 @@ export default class indodax extends Exchange {
695
695
  * @param {string} side 'buy' or 'sell'
696
696
  * @param {float} amount how much of currency you want to trade in units of base currency
697
697
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
698
- * @param {object} [params] extra parameters specific to the indodax api endpoint
698
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
699
699
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
700
700
  */
701
701
  if (type !== 'limit') {
@@ -731,7 +731,7 @@ export default class indodax extends Exchange {
731
731
  * @description cancels an open order
732
732
  * @param {string} id order id
733
733
  * @param {string} symbol unified symbol of the market the order was made in
734
- * @param {object} [params] extra parameters specific to the indodax api endpoint
734
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
735
735
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
736
736
  */
737
737
  if (symbol === undefined) {
@@ -756,7 +756,7 @@ export default class indodax extends Exchange {
756
756
  * @name indodax#fetchTransactionFee
757
757
  * @description fetch the fee for a transaction
758
758
  * @param {string} code unified currency code
759
- * @param {object} [params] extra parameters specific to the indodax api endpoint
759
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
760
760
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
761
761
  */
762
762
  await this.loadMarkets();
@@ -791,7 +791,7 @@ export default class indodax extends Exchange {
791
791
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
792
792
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
793
793
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
794
- * @param {object} [params] extra parameters specific to the indodax api endpoint
794
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
795
795
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
796
796
  */
797
797
  await this.loadMarkets();
@@ -893,7 +893,7 @@ export default class indodax extends Exchange {
893
893
  * @param {float} amount the amount to withdraw
894
894
  * @param {string} address the address to withdraw to
895
895
  * @param {string} tag
896
- * @param {object} [params] extra parameters specific to the indodax api endpoint
896
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
897
897
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
898
898
  */
899
899
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);