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
@@ -410,7 +410,7 @@ class poloniex extends poloniex$1 {
410
410
  * @param {string} timeframe the length of time each candle represents
411
411
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
412
412
  * @param {int} [limit] the maximum amount of candles to fetch
413
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
413
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
414
414
  * @param {int} [params.until] timestamp in ms
415
415
  * @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)
416
416
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
@@ -471,7 +471,7 @@ class poloniex extends poloniex$1 {
471
471
  * @name poloniex#fetchMarkets
472
472
  * @description retrieves data on all markets for poloniex
473
473
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-symbol-information
474
- * @param {object} [params] extra parameters specific to the exchange api endpoint
474
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
475
475
  * @returns {object[]} an array of objects representing market data
476
476
  */
477
477
  const markets = await this.publicGetMarkets(params);
@@ -562,7 +562,7 @@ class poloniex extends poloniex$1 {
562
562
  * @name poloniex#fetchTime
563
563
  * @description fetches the current integer timestamp in milliseconds from the exchange server
564
564
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-system-timestamp
565
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
565
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
566
566
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
567
567
  */
568
568
  const response = await this.publicGetTimestamp(params);
@@ -627,10 +627,10 @@ class poloniex extends poloniex$1 {
627
627
  /**
628
628
  * @method
629
629
  * @name poloniex#fetchTickers
630
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
630
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
631
631
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
632
632
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
633
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
633
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
634
634
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
635
635
  */
636
636
  await this.loadMarkets();
@@ -668,7 +668,7 @@ class poloniex extends poloniex$1 {
668
668
  * @name poloniex#fetchCurrencies
669
669
  * @description fetches all available currencies on an exchange
670
670
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
671
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
671
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
672
672
  * @returns {object} an associative dictionary of currencies
673
673
  */
674
674
  const response = await this.publicGetCurrencies(this.extend(params, { 'includeMultiChainCurrencies': true }));
@@ -802,7 +802,7 @@ class poloniex extends poloniex$1 {
802
802
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
803
803
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
804
804
  * @param {string} symbol unified symbol of the market to fetch the ticker for
805
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
805
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
806
806
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
807
807
  */
808
808
  await this.loadMarkets();
@@ -935,7 +935,7 @@ class poloniex extends poloniex$1 {
935
935
  * @param {string} symbol unified symbol of the market to fetch trades for
936
936
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
937
937
  * @param {int} [limit] the maximum amount of trades to fetch
938
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
938
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
939
939
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
940
940
  */
941
941
  await this.loadMarkets();
@@ -971,7 +971,7 @@ class poloniex extends poloniex$1 {
971
971
  * @param {string} symbol unified market symbol
972
972
  * @param {int} [since] the earliest time in ms to fetch trades for
973
973
  * @param {int} [limit] the maximum number of trades structures to retrieve
974
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
974
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
975
975
  * @param {int} [params.until] the latest time in ms to fetch entries for
976
976
  * @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)
977
977
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -1183,7 +1183,7 @@ class poloniex extends poloniex$1 {
1183
1183
  * @param {string} symbol unified market symbol
1184
1184
  * @param {int} [since] the earliest time in ms to fetch open orders for
1185
1185
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1186
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1186
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1187
1187
  * @param {boolean} [params.stop] set true to fetch trigger orders instead of regular orders
1188
1188
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1189
1189
  */
@@ -1244,7 +1244,7 @@ class poloniex extends poloniex$1 {
1244
1244
  * @param {string} side 'buy' or 'sell'
1245
1245
  * @param {float} amount how much of currency you want to trade in units of base currency
1246
1246
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1247
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1247
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1248
1248
  * @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
1249
1249
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1250
1250
  */
@@ -1328,7 +1328,7 @@ class poloniex extends poloniex$1 {
1328
1328
  * @param {string} side 'buy' or 'sell'
1329
1329
  * @param {float} [amount] how much of the currency you want to trade in units of the base currency
1330
1330
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1331
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1331
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1332
1332
  * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
1333
1333
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1334
1334
  */
@@ -1370,7 +1370,7 @@ class poloniex extends poloniex$1 {
1370
1370
  // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-order-by-id // trigger orders
1371
1371
  // @param {string} id order id
1372
1372
  // @param {string} symbol unified symbol of the market the order was made in
1373
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1373
+ // @param {object} [params] extra parameters specific to the exchange API endpoint
1374
1374
  // @param {boolean} [params.trigger] true if canceling a trigger order
1375
1375
  // @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1376
1376
  //
@@ -1409,7 +1409,7 @@ class poloniex extends poloniex$1 {
1409
1409
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1410
1410
  * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
1411
1411
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1412
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1412
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1413
1413
  * @param {boolean} [params.trigger] true if canceling trigger orders
1414
1414
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1415
1415
  */
@@ -1462,7 +1462,7 @@ class poloniex extends poloniex$1 {
1462
1462
  * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
1463
1463
  * @param {string} id order id
1464
1464
  * @param {string} symbol unified market symbol, default is undefined
1465
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1465
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1466
1466
  * @param {boolean} [params.trigger] true if fetching a trigger order
1467
1467
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1468
1468
  */
@@ -1522,7 +1522,7 @@ class poloniex extends poloniex$1 {
1522
1522
  * @param {string} symbol unified market symbol
1523
1523
  * @param {int} [since] the earliest time in ms to fetch trades for
1524
1524
  * @param {int} [limit] the maximum number of trades to retrieve
1525
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1525
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1526
1526
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1527
1527
  */
1528
1528
  await this.loadMarkets();
@@ -1580,7 +1580,7 @@ class poloniex extends poloniex$1 {
1580
1580
  * @name poloniex#fetchBalance
1581
1581
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1582
1582
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
1583
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1583
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1584
1584
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1585
1585
  */
1586
1586
  await this.loadMarkets();
@@ -1612,7 +1612,7 @@ class poloniex extends poloniex$1 {
1612
1612
  * @name poloniex#fetchTradingFees
1613
1613
  * @description fetch the trading fees for multiple markets
1614
1614
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1615
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1615
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1616
1616
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1617
1617
  */
1618
1618
  await this.loadMarkets();
@@ -1647,7 +1647,7 @@ class poloniex extends poloniex$1 {
1647
1647
  * @see https://docs.poloniex.com/#public-endpoints-market-data-order-book
1648
1648
  * @param {string} symbol unified symbol of the market to fetch the order book for
1649
1649
  * @param {int} [limit] the maximum amount of order book entries to return
1650
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1650
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1651
1651
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1652
1652
  */
1653
1653
  await this.loadMarkets();
@@ -1703,7 +1703,7 @@ class poloniex extends poloniex$1 {
1703
1703
  * @description create a currency deposit address
1704
1704
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1705
1705
  * @param {string} code unified currency code of the currency for the deposit address
1706
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1706
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1707
1707
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1708
1708
  */
1709
1709
  await this.loadMarkets();
@@ -1754,7 +1754,7 @@ class poloniex extends poloniex$1 {
1754
1754
  * @description fetch the deposit address for a currency associated with this account
1755
1755
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1756
1756
  * @param {string} code unified currency code
1757
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1757
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1758
1758
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1759
1759
  */
1760
1760
  await this.loadMarkets();
@@ -1808,7 +1808,7 @@ class poloniex extends poloniex$1 {
1808
1808
  * @param {float} amount amount to transfer
1809
1809
  * @param {string} fromAccount account to transfer from
1810
1810
  * @param {string} toAccount account to transfer to
1811
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1811
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1812
1812
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1813
1813
  */
1814
1814
  await this.loadMarkets();
@@ -1859,7 +1859,7 @@ class poloniex extends poloniex$1 {
1859
1859
  * @param {float} amount the amount to withdraw
1860
1860
  * @param {string} address the address to withdraw to
1861
1861
  * @param {string} tag
1862
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1862
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1863
1863
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1864
1864
  */
1865
1865
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1983,7 +1983,7 @@ class poloniex extends poloniex$1 {
1983
1983
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1984
1984
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1985
1985
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1986
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1986
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1987
1987
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1988
1988
  */
1989
1989
  await this.loadMarkets();
@@ -2008,7 +2008,7 @@ class poloniex extends poloniex$1 {
2008
2008
  * @param {string} code unified currency code
2009
2009
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2010
2010
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2011
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2011
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2012
2012
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2013
2013
  */
2014
2014
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -2027,7 +2027,7 @@ class poloniex extends poloniex$1 {
2027
2027
  * @description fetch deposit and withdraw fees
2028
2028
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
2029
2029
  * @param {string[]|undefined} codes list of unified currency codes
2030
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2030
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2031
2031
  * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2032
2032
  */
2033
2033
  await this.loadMarkets();
@@ -2154,7 +2154,7 @@ class poloniex extends poloniex$1 {
2154
2154
  * @param {string} code unified currency code
2155
2155
  * @param {int} [since] the earliest time in ms to fetch deposits for
2156
2156
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2157
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2157
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2158
2158
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2159
2159
  */
2160
2160
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -205,7 +205,7 @@ class poloniexfutures extends poloniexfutures$1 {
205
205
  * @name poloniexfutures#fetchMarkets
206
206
  * @description retrieves data on all markets for poloniexfutures
207
207
  * @see https://futures-docs.poloniex.com/#symbol-2
208
- * @param {object} [params] extra parameters specific to the exchange api endpoint
208
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
209
209
  * @returns {object[]} an array of objects representing market data
210
210
  */
211
211
  const response = await this.publicGetContractsActive(params);
@@ -401,7 +401,7 @@ class poloniexfutures extends poloniexfutures$1 {
401
401
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
402
402
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-2-0
403
403
  * @param {string} symbol unified symbol of the market to fetch the ticker for
404
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
404
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
405
405
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
406
406
  */
407
407
  await this.loadMarkets();
@@ -434,10 +434,10 @@ class poloniexfutures extends poloniexfutures$1 {
434
434
  /**
435
435
  * @method
436
436
  * @name poloniexfutures#fetchTickers
437
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
437
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
438
438
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
439
439
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
440
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
440
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
441
441
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
442
442
  */
443
443
  await this.loadMarkets();
@@ -453,7 +453,7 @@ class poloniexfutures extends poloniexfutures$1 {
453
453
  * @see https://futures-docs.poloniex.com/#get-full-order-book-level-3
454
454
  * @param {string} symbol unified symbol of the market to fetch the order book for
455
455
  * @param {int} [limit] the maximum amount of order book entries to return
456
- * @param {object} [params] extra parameters specific to the poloniexfuturesfutures api endpoint
456
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
457
457
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
458
458
  */
459
459
  await this.loadMarkets();
@@ -539,7 +539,7 @@ class poloniexfutures extends poloniexfutures$1 {
539
539
  * @see https://futures-docs.poloniex.com/#get-full-order-book-level-3
540
540
  * @param {string} symbol unified market symbol
541
541
  * @param {int} [limit] max number of orders to return, default is undefined
542
- * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
542
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
543
543
  * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
544
544
  */
545
545
  await this.loadMarkets();
@@ -647,7 +647,7 @@ class poloniexfutures extends poloniexfutures$1 {
647
647
  * @param {string} symbol unified symbol of the market to fetch trades for
648
648
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
649
649
  * @param {int} [limit] the maximum amount of trades to fetch
650
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
650
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
651
651
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
652
652
  */
653
653
  await this.loadMarkets();
@@ -681,7 +681,7 @@ class poloniexfutures extends poloniexfutures$1 {
681
681
  * @name poloniexfutures#fetchTime
682
682
  * @description fetches the current integer timestamp in milliseconds from the poloniexfutures server
683
683
  * @see https://futures-docs.poloniex.com/#time
684
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
684
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
685
685
  * @returns {int} the current integer timestamp in milliseconds from the poloniexfutures server
686
686
  */
687
687
  const response = await this.publicGetTimestamp(params);
@@ -704,7 +704,7 @@ class poloniexfutures extends poloniexfutures$1 {
704
704
  * @param {string} timeframe the length of time each candle represents
705
705
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
706
706
  * @param {int} [limit] the maximum amount of candles to fetch
707
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
707
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
708
708
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
709
709
  */
710
710
  await this.loadMarkets();
@@ -769,7 +769,7 @@ class poloniexfutures extends poloniexfutures$1 {
769
769
  * @name poloniexfutures#fetchBalance
770
770
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
771
771
  * @see https://futures-docs.poloniex.com/#get-account-overview
772
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
772
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
773
773
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
774
774
  */
775
775
  await this.loadMarkets();
@@ -810,7 +810,7 @@ class poloniexfutures extends poloniexfutures$1 {
810
810
  * @param {string} side 'buy' or 'sell'
811
811
  * @param {float} amount the amount of currency to trade
812
812
  * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
813
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
813
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
814
814
  * @param {float} [params.leverage] Leverage size of the order
815
815
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
816
816
  * @param {bool} [params.reduceOnly] A mark to reduce the position size only. Set to false by default. Need to set the position size when reduceOnly is true.
@@ -915,7 +915,7 @@ class poloniexfutures extends poloniexfutures$1 {
915
915
  * @see https://futures-docs.poloniex.com/#cancel-an-order
916
916
  * @param {string} id order id
917
917
  * @param {string} symbol unified symbol of the market the order was made in
918
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
918
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
919
919
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
920
920
  */
921
921
  await this.loadMarkets();
@@ -954,7 +954,7 @@ class poloniexfutures extends poloniexfutures$1 {
954
954
  * @description fetch all open positions
955
955
  * @see https://futures-docs.poloniex.com/#get-position-list
956
956
  * @param {string[]|undefined} symbols list of unified market symbols
957
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
957
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
958
958
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
959
959
  */
960
960
  await this.loadMarkets();
@@ -1110,7 +1110,7 @@ class poloniexfutures extends poloniexfutures$1 {
1110
1110
  * @param {string} symbol unified market symbol
1111
1111
  * @param {int} [since] the earliest time in ms to fetch funding history for
1112
1112
  * @param {int} [limit] the maximum number of funding history structures to retrieve
1113
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1113
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1114
1114
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
1115
1115
  */
1116
1116
  if (symbol === undefined) {
@@ -1180,7 +1180,7 @@ class poloniexfutures extends poloniexfutures$1 {
1180
1180
  * @name poloniexfutures#cancelAllOrders
1181
1181
  * @description cancel all open orders
1182
1182
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1183
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1183
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1184
1184
  * @param {object} [params.stop] When true, all the trigger orders will be cancelled
1185
1185
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1186
1186
  */
@@ -1349,7 +1349,7 @@ class poloniexfutures extends poloniexfutures$1 {
1349
1349
  * @param {string} symbol unified market symbol
1350
1350
  * @param {int} [since] the earliest time in ms to fetch open orders for
1351
1351
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1352
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1352
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1353
1353
  * @param {int} [params.till] end time in ms
1354
1354
  * @param {string} [params.side] buy or sell
1355
1355
  * @param {string} [params.type] limit, or market
@@ -1367,7 +1367,7 @@ class poloniexfutures extends poloniexfutures$1 {
1367
1367
  * @param {string} symbol unified market symbol of the market orders were made in
1368
1368
  * @param {int} [since] the earliest time in ms to fetch orders for
1369
1369
  * @param {int} [limit] the maximum number of orde structures to retrieve
1370
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1370
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1371
1371
  * @param {int} [params.till] end time in ms
1372
1372
  * @param {string} [params.side] buy or sell
1373
1373
  * @param {string} [params.type] limit, or market
@@ -1383,7 +1383,7 @@ class poloniexfutures extends poloniexfutures$1 {
1383
1383
  * @see https://futures-docs.poloniex.com/#get-details-of-a-single-order
1384
1384
  * @see https://futures-docs.poloniex.com/#get-single-order-by-clientoid
1385
1385
  * @param {string} symbol unified symbol of the market the order was made in
1386
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1386
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1387
1387
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1388
1388
  */
1389
1389
  await this.loadMarkets();
@@ -1582,7 +1582,7 @@ class poloniexfutures extends poloniexfutures$1 {
1582
1582
  * @description fetch the current funding rate
1583
1583
  * @see https://futures-docs.poloniex.com/#get-premium-index
1584
1584
  * @param {string} symbol unified market symbol
1585
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1585
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1586
1586
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
1587
1587
  */
1588
1588
  await this.loadMarkets();
@@ -1632,7 +1632,7 @@ class poloniexfutures extends poloniexfutures$1 {
1632
1632
  * @param {string} symbol unified market symbol
1633
1633
  * @param {int} [since] the earliest time in ms to fetch trades for
1634
1634
  * @param {int} [limit] the maximum number of trades structures to retrieve
1635
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1635
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1636
1636
  * @param {string} orderIdFills filles for a specific order (other parameters can be ignored if specified)
1637
1637
  * @param {string} side buy or sell
1638
1638
  * @param {string} type limit, market, limit_stop or market_stop
@@ -1695,7 +1695,7 @@ class poloniexfutures extends poloniexfutures$1 {
1695
1695
  * @see https://futures-docs.poloniex.com/#change-margin-mode
1696
1696
  * @param {int} marginMode 0 (isolated) or 1 (cross)
1697
1697
  * @param {string} symbol unified market symbol
1698
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1698
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1699
1699
  * @returns {object} response from the exchange
1700
1700
  */
1701
1701
  if (symbol === undefined) {
@@ -50,7 +50,7 @@ class alpaca extends alpaca$1 {
50
50
  * @name alpaca#watchTicker
51
51
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
52
52
  * @param {string} symbol unified symbol of the market to fetch the ticker for
53
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
53
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
54
54
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
55
55
  */
56
56
  const url = this.urls['api']['ws']['crypto'];
@@ -128,7 +128,7 @@ class alpaca extends alpaca$1 {
128
128
  * @param {string} timeframe the length of time each candle represents
129
129
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
130
130
  * @param {int} [limit] the maximum amount of candles to fetch
131
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
131
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
132
132
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
133
133
  */
134
134
  const url = this.urls['api']['ws']['crypto'];
@@ -182,7 +182,7 @@ class alpaca extends alpaca$1 {
182
182
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
183
183
  * @param {string} symbol unified symbol of the market to fetch the order book for
184
184
  * @param {int} [limit] the maximum amount of order book entries to return.
185
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
185
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
186
186
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
187
187
  */
188
188
  const url = this.urls['api']['ws']['crypto'];
@@ -262,7 +262,7 @@ class alpaca extends alpaca$1 {
262
262
  * @param {string} symbol unified market symbol of the market trades were made in
263
263
  * @param {int} [since] the earliest time in ms to fetch orders for
264
264
  * @param {int} [limit] the maximum number of trade structures to retrieve
265
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
265
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
266
266
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
267
267
  */
268
268
  const url = this.urls['api']['ws']['crypto'];
@@ -314,7 +314,7 @@ class alpaca extends alpaca$1 {
314
314
  * @param {string} symbol unified market symbol of the market trades were made in
315
315
  * @param {int} [since] the earliest time in ms to fetch trades for
316
316
  * @param {int} [limit] the maximum number of trade structures to retrieve
317
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
317
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
318
318
  * @param {boolean} [params.unifiedMargin] use unified margin account
319
319
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
320
320
  */
@@ -346,7 +346,7 @@ class alpaca extends alpaca$1 {
346
346
  * @param {string} symbol unified market symbol of the market orders were made in
347
347
  * @param {int} [since] the earliest time in ms to fetch orders for
348
348
  * @param {int} [limit] the maximum number of orde structures to retrieve
349
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
349
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
350
350
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
351
351
  */
352
352
  const url = this.urls['api']['ws']['trading'];
@@ -79,7 +79,7 @@ class ascendex extends ascendex$1 {
79
79
  * @param {string} timeframe the length of time each candle represents
80
80
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
81
81
  * @param {int} [limit] the maximum amount of candles to fetch
82
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
82
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
83
83
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
84
84
  */
85
85
  await this.loadMarkets();
@@ -143,7 +143,7 @@ class ascendex extends ascendex$1 {
143
143
  * @param {string} symbol unified symbol of the market to fetch trades for
144
144
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
145
145
  * @param {int} [limit] the maximum amount of trades to fetch
146
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
146
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
147
147
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
148
148
  */
149
149
  await this.loadMarkets();
@@ -203,7 +203,7 @@ class ascendex extends ascendex$1 {
203
203
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
204
204
  * @param {string} symbol unified symbol of the market to fetch the order book for
205
205
  * @param {int} [limit] the maximum amount of order book entries to return
206
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
206
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
207
207
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
208
208
  */
209
209
  await this.loadMarkets();
@@ -348,7 +348,7 @@ class ascendex extends ascendex$1 {
348
348
  * @method
349
349
  * @name ascendex#watchBalance
350
350
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
351
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
351
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
352
352
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
353
353
  */
354
354
  await this.loadMarkets();
@@ -476,7 +476,7 @@ class ascendex extends ascendex$1 {
476
476
  * @param {string} symbol unified market symbol of the market orders were made in
477
477
  * @param {int} [since] the earliest time in ms to fetch orders for
478
478
  * @param {int} [limit] the maximum number of orde structures to retrieve
479
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
479
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
480
480
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
481
481
  */
482
482
  await this.loadMarkets();