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
@@ -413,7 +413,7 @@ export default class poloniex extends Exchange {
413
413
  * @param {string} timeframe the length of time each candle represents
414
414
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
415
415
  * @param {int} [limit] the maximum amount of candles to fetch
416
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
416
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
417
417
  * @param {int} [params.until] timestamp in ms
418
418
  * @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)
419
419
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
@@ -474,7 +474,7 @@ export default class poloniex extends Exchange {
474
474
  * @name poloniex#fetchMarkets
475
475
  * @description retrieves data on all markets for poloniex
476
476
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-symbol-information
477
- * @param {object} [params] extra parameters specific to the exchange api endpoint
477
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
478
478
  * @returns {object[]} an array of objects representing market data
479
479
  */
480
480
  const markets = await this.publicGetMarkets(params);
@@ -565,7 +565,7 @@ export default class poloniex extends Exchange {
565
565
  * @name poloniex#fetchTime
566
566
  * @description fetches the current integer timestamp in milliseconds from the exchange server
567
567
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-system-timestamp
568
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
568
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
569
569
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
570
570
  */
571
571
  const response = await this.publicGetTimestamp(params);
@@ -630,10 +630,10 @@ export default class poloniex extends Exchange {
630
630
  /**
631
631
  * @method
632
632
  * @name poloniex#fetchTickers
633
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
633
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
634
634
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
635
635
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
636
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
636
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
637
637
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
638
638
  */
639
639
  await this.loadMarkets();
@@ -671,7 +671,7 @@ export default class poloniex extends Exchange {
671
671
  * @name poloniex#fetchCurrencies
672
672
  * @description fetches all available currencies on an exchange
673
673
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
674
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
674
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
675
675
  * @returns {object} an associative dictionary of currencies
676
676
  */
677
677
  const response = await this.publicGetCurrencies(this.extend(params, { 'includeMultiChainCurrencies': true }));
@@ -805,7 +805,7 @@ export default class poloniex extends Exchange {
805
805
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
806
806
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
807
807
  * @param {string} symbol unified symbol of the market to fetch the ticker for
808
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
808
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
809
809
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
810
810
  */
811
811
  await this.loadMarkets();
@@ -938,7 +938,7 @@ export default class poloniex extends Exchange {
938
938
  * @param {string} symbol unified symbol of the market to fetch trades for
939
939
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
940
940
  * @param {int} [limit] the maximum amount of trades to fetch
941
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
941
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
942
942
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
943
943
  */
944
944
  await this.loadMarkets();
@@ -974,7 +974,7 @@ export default class poloniex extends Exchange {
974
974
  * @param {string} symbol unified market symbol
975
975
  * @param {int} [since] the earliest time in ms to fetch trades for
976
976
  * @param {int} [limit] the maximum number of trades structures to retrieve
977
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
977
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
978
978
  * @param {int} [params.until] the latest time in ms to fetch entries for
979
979
  * @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)
980
980
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -1186,7 +1186,7 @@ export default class poloniex extends Exchange {
1186
1186
  * @param {string} symbol unified market symbol
1187
1187
  * @param {int} [since] the earliest time in ms to fetch open orders for
1188
1188
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1189
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1189
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1190
1190
  * @param {boolean} [params.stop] set true to fetch trigger orders instead of regular orders
1191
1191
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1192
1192
  */
@@ -1247,7 +1247,7 @@ export default class poloniex extends Exchange {
1247
1247
  * @param {string} side 'buy' or 'sell'
1248
1248
  * @param {float} amount how much of currency you want to trade in units of base currency
1249
1249
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1250
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1250
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1251
1251
  * @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
1252
1252
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1253
1253
  */
@@ -1331,7 +1331,7 @@ export default class poloniex extends Exchange {
1331
1331
  * @param {string} side 'buy' or 'sell'
1332
1332
  * @param {float} [amount] how much of the currency you want to trade in units of the base currency
1333
1333
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1334
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1334
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1335
1335
  * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
1336
1336
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1337
1337
  */
@@ -1373,7 +1373,7 @@ export default class poloniex extends Exchange {
1373
1373
  // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-order-by-id // trigger orders
1374
1374
  // @param {string} id order id
1375
1375
  // @param {string} symbol unified symbol of the market the order was made in
1376
- // @param {object} [params] extra parameters specific to the poloniex api endpoint
1376
+ // @param {object} [params] extra parameters specific to the exchange API endpoint
1377
1377
  // @param {boolean} [params.trigger] true if canceling a trigger order
1378
1378
  // @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1379
1379
  //
@@ -1412,7 +1412,7 @@ export default class poloniex extends Exchange {
1412
1412
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1413
1413
  * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
1414
1414
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1415
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1415
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1416
1416
  * @param {boolean} [params.trigger] true if canceling trigger orders
1417
1417
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1418
1418
  */
@@ -1465,7 +1465,7 @@ export default class poloniex extends Exchange {
1465
1465
  * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
1466
1466
  * @param {string} id order id
1467
1467
  * @param {string} symbol unified market symbol, default is undefined
1468
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1468
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1469
1469
  * @param {boolean} [params.trigger] true if fetching a trigger order
1470
1470
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1471
1471
  */
@@ -1525,7 +1525,7 @@ export default class poloniex extends Exchange {
1525
1525
  * @param {string} symbol unified market symbol
1526
1526
  * @param {int} [since] the earliest time in ms to fetch trades for
1527
1527
  * @param {int} [limit] the maximum number of trades to retrieve
1528
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1528
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1529
1529
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1530
1530
  */
1531
1531
  await this.loadMarkets();
@@ -1583,7 +1583,7 @@ export default class poloniex extends Exchange {
1583
1583
  * @name poloniex#fetchBalance
1584
1584
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1585
1585
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
1586
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1586
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1587
1587
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1588
1588
  */
1589
1589
  await this.loadMarkets();
@@ -1615,7 +1615,7 @@ export default class poloniex extends Exchange {
1615
1615
  * @name poloniex#fetchTradingFees
1616
1616
  * @description fetch the trading fees for multiple markets
1617
1617
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1618
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1618
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1619
1619
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1620
1620
  */
1621
1621
  await this.loadMarkets();
@@ -1650,7 +1650,7 @@ export default class poloniex extends Exchange {
1650
1650
  * @see https://docs.poloniex.com/#public-endpoints-market-data-order-book
1651
1651
  * @param {string} symbol unified symbol of the market to fetch the order book for
1652
1652
  * @param {int} [limit] the maximum amount of order book entries to return
1653
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1653
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1654
1654
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1655
1655
  */
1656
1656
  await this.loadMarkets();
@@ -1706,7 +1706,7 @@ export default class poloniex extends Exchange {
1706
1706
  * @description create a currency deposit address
1707
1707
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1708
1708
  * @param {string} code unified currency code of the currency for the deposit address
1709
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1709
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1710
1710
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1711
1711
  */
1712
1712
  await this.loadMarkets();
@@ -1757,7 +1757,7 @@ export default class poloniex extends Exchange {
1757
1757
  * @description fetch the deposit address for a currency associated with this account
1758
1758
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1759
1759
  * @param {string} code unified currency code
1760
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1760
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1761
1761
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1762
1762
  */
1763
1763
  await this.loadMarkets();
@@ -1811,7 +1811,7 @@ export default class poloniex extends Exchange {
1811
1811
  * @param {float} amount amount to transfer
1812
1812
  * @param {string} fromAccount account to transfer from
1813
1813
  * @param {string} toAccount account to transfer to
1814
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1814
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1815
1815
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1816
1816
  */
1817
1817
  await this.loadMarkets();
@@ -1862,7 +1862,7 @@ export default class poloniex extends Exchange {
1862
1862
  * @param {float} amount the amount to withdraw
1863
1863
  * @param {string} address the address to withdraw to
1864
1864
  * @param {string} tag
1865
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1865
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1866
1866
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1867
1867
  */
1868
1868
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1986,7 +1986,7 @@ export default class poloniex extends Exchange {
1986
1986
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1987
1987
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1988
1988
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1989
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
1989
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1990
1990
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1991
1991
  */
1992
1992
  await this.loadMarkets();
@@ -2011,7 +2011,7 @@ export default class poloniex extends Exchange {
2011
2011
  * @param {string} code unified currency code
2012
2012
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2013
2013
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2014
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2014
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2015
2015
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2016
2016
  */
2017
2017
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -2030,7 +2030,7 @@ export default class poloniex extends Exchange {
2030
2030
  * @description fetch deposit and withdraw fees
2031
2031
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
2032
2032
  * @param {string[]|undefined} codes list of unified currency codes
2033
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2033
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2034
2034
  * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2035
2035
  */
2036
2036
  await this.loadMarkets();
@@ -2157,7 +2157,7 @@ export default class poloniex extends Exchange {
2157
2157
  * @param {string} code unified currency code
2158
2158
  * @param {int} [since] the earliest time in ms to fetch deposits for
2159
2159
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2160
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
2160
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2161
2161
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2162
2162
  */
2163
2163
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -208,7 +208,7 @@ export default class poloniexfutures extends Exchange {
208
208
  * @name poloniexfutures#fetchMarkets
209
209
  * @description retrieves data on all markets for poloniexfutures
210
210
  * @see https://futures-docs.poloniex.com/#symbol-2
211
- * @param {object} [params] extra parameters specific to the exchange api endpoint
211
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
212
212
  * @returns {object[]} an array of objects representing market data
213
213
  */
214
214
  const response = await this.publicGetContractsActive(params);
@@ -404,7 +404,7 @@ export default class poloniexfutures extends Exchange {
404
404
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
405
405
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-2-0
406
406
  * @param {string} symbol unified symbol of the market to fetch the ticker for
407
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
407
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
408
408
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
409
409
  */
410
410
  await this.loadMarkets();
@@ -437,10 +437,10 @@ export default class poloniexfutures extends Exchange {
437
437
  /**
438
438
  * @method
439
439
  * @name poloniexfutures#fetchTickers
440
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
440
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
441
441
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
442
442
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
443
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
443
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
444
444
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
445
445
  */
446
446
  await this.loadMarkets();
@@ -456,7 +456,7 @@ export default class poloniexfutures extends Exchange {
456
456
  * @see https://futures-docs.poloniex.com/#get-full-order-book-level-3
457
457
  * @param {string} symbol unified symbol of the market to fetch the order book for
458
458
  * @param {int} [limit] the maximum amount of order book entries to return
459
- * @param {object} [params] extra parameters specific to the poloniexfuturesfutures api endpoint
459
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
460
460
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
461
461
  */
462
462
  await this.loadMarkets();
@@ -542,7 +542,7 @@ export default class poloniexfutures extends Exchange {
542
542
  * @see https://futures-docs.poloniex.com/#get-full-order-book-level-3
543
543
  * @param {string} symbol unified market symbol
544
544
  * @param {int} [limit] max number of orders to return, default is undefined
545
- * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
545
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
546
546
  * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
547
547
  */
548
548
  await this.loadMarkets();
@@ -650,7 +650,7 @@ export default class poloniexfutures extends Exchange {
650
650
  * @param {string} symbol unified symbol of the market to fetch trades for
651
651
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
652
652
  * @param {int} [limit] the maximum amount of trades to fetch
653
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
653
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
654
654
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
655
655
  */
656
656
  await this.loadMarkets();
@@ -684,7 +684,7 @@ export default class poloniexfutures extends Exchange {
684
684
  * @name poloniexfutures#fetchTime
685
685
  * @description fetches the current integer timestamp in milliseconds from the poloniexfutures server
686
686
  * @see https://futures-docs.poloniex.com/#time
687
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
687
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
688
688
  * @returns {int} the current integer timestamp in milliseconds from the poloniexfutures server
689
689
  */
690
690
  const response = await this.publicGetTimestamp(params);
@@ -707,7 +707,7 @@ export default class poloniexfutures extends Exchange {
707
707
  * @param {string} timeframe the length of time each candle represents
708
708
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
709
709
  * @param {int} [limit] the maximum amount of candles to fetch
710
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
710
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
711
711
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
712
712
  */
713
713
  await this.loadMarkets();
@@ -772,7 +772,7 @@ export default class poloniexfutures extends Exchange {
772
772
  * @name poloniexfutures#fetchBalance
773
773
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
774
774
  * @see https://futures-docs.poloniex.com/#get-account-overview
775
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
775
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
776
776
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
777
777
  */
778
778
  await this.loadMarkets();
@@ -813,7 +813,7 @@ export default class poloniexfutures extends Exchange {
813
813
  * @param {string} side 'buy' or 'sell'
814
814
  * @param {float} amount the amount of currency to trade
815
815
  * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
816
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
816
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
817
817
  * @param {float} [params.leverage] Leverage size of the order
818
818
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
819
819
  * @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.
@@ -918,7 +918,7 @@ export default class poloniexfutures extends Exchange {
918
918
  * @see https://futures-docs.poloniex.com/#cancel-an-order
919
919
  * @param {string} id order id
920
920
  * @param {string} symbol unified symbol of the market the order was made in
921
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
921
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
922
922
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
923
923
  */
924
924
  await this.loadMarkets();
@@ -957,7 +957,7 @@ export default class poloniexfutures extends Exchange {
957
957
  * @description fetch all open positions
958
958
  * @see https://futures-docs.poloniex.com/#get-position-list
959
959
  * @param {string[]|undefined} symbols list of unified market symbols
960
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
960
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
961
961
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
962
962
  */
963
963
  await this.loadMarkets();
@@ -1113,7 +1113,7 @@ export default class poloniexfutures extends Exchange {
1113
1113
  * @param {string} symbol unified market symbol
1114
1114
  * @param {int} [since] the earliest time in ms to fetch funding history for
1115
1115
  * @param {int} [limit] the maximum number of funding history structures to retrieve
1116
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1116
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1117
1117
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
1118
1118
  */
1119
1119
  if (symbol === undefined) {
@@ -1183,7 +1183,7 @@ export default class poloniexfutures extends Exchange {
1183
1183
  * @name poloniexfutures#cancelAllOrders
1184
1184
  * @description cancel all open orders
1185
1185
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1186
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1186
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1187
1187
  * @param {object} [params.stop] When true, all the trigger orders will be cancelled
1188
1188
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1189
1189
  */
@@ -1352,7 +1352,7 @@ export default class poloniexfutures extends Exchange {
1352
1352
  * @param {string} symbol unified market symbol
1353
1353
  * @param {int} [since] the earliest time in ms to fetch open orders for
1354
1354
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1355
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1355
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1356
1356
  * @param {int} [params.till] end time in ms
1357
1357
  * @param {string} [params.side] buy or sell
1358
1358
  * @param {string} [params.type] limit, or market
@@ -1370,7 +1370,7 @@ export default class poloniexfutures extends Exchange {
1370
1370
  * @param {string} symbol unified market symbol of the market orders were made in
1371
1371
  * @param {int} [since] the earliest time in ms to fetch orders for
1372
1372
  * @param {int} [limit] the maximum number of orde structures to retrieve
1373
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1373
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1374
1374
  * @param {int} [params.till] end time in ms
1375
1375
  * @param {string} [params.side] buy or sell
1376
1376
  * @param {string} [params.type] limit, or market
@@ -1386,7 +1386,7 @@ export default class poloniexfutures extends Exchange {
1386
1386
  * @see https://futures-docs.poloniex.com/#get-details-of-a-single-order
1387
1387
  * @see https://futures-docs.poloniex.com/#get-single-order-by-clientoid
1388
1388
  * @param {string} symbol unified symbol of the market the order was made in
1389
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1389
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1390
1390
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1391
1391
  */
1392
1392
  await this.loadMarkets();
@@ -1585,7 +1585,7 @@ export default class poloniexfutures extends Exchange {
1585
1585
  * @description fetch the current funding rate
1586
1586
  * @see https://futures-docs.poloniex.com/#get-premium-index
1587
1587
  * @param {string} symbol unified market symbol
1588
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1588
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1589
1589
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
1590
1590
  */
1591
1591
  await this.loadMarkets();
@@ -1635,7 +1635,7 @@ export default class poloniexfutures extends Exchange {
1635
1635
  * @param {string} symbol unified market symbol
1636
1636
  * @param {int} [since] the earliest time in ms to fetch trades for
1637
1637
  * @param {int} [limit] the maximum number of trades structures to retrieve
1638
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1638
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1639
1639
  * @param {string} orderIdFills filles for a specific order (other parameters can be ignored if specified)
1640
1640
  * @param {string} side buy or sell
1641
1641
  * @param {string} type limit, market, limit_stop or market_stop
@@ -1698,7 +1698,7 @@ export default class poloniexfutures extends Exchange {
1698
1698
  * @see https://futures-docs.poloniex.com/#change-margin-mode
1699
1699
  * @param {int} marginMode 0 (isolated) or 1 (cross)
1700
1700
  * @param {string} symbol unified market symbol
1701
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1701
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1702
1702
  * @returns {object} response from the exchange
1703
1703
  */
1704
1704
  if (symbol === undefined) {
@@ -53,7 +53,7 @@ export default class alpaca extends alpacaRest {
53
53
  * @name alpaca#watchTicker
54
54
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
55
55
  * @param {string} symbol unified symbol of the market to fetch the ticker for
56
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
56
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
57
57
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
58
58
  */
59
59
  const url = this.urls['api']['ws']['crypto'];
@@ -131,7 +131,7 @@ export default class alpaca extends alpacaRest {
131
131
  * @param {string} timeframe the length of time each candle represents
132
132
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
133
133
  * @param {int} [limit] the maximum amount of candles to fetch
134
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
134
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
135
135
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
136
136
  */
137
137
  const url = this.urls['api']['ws']['crypto'];
@@ -185,7 +185,7 @@ export default class alpaca extends alpacaRest {
185
185
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
186
186
  * @param {string} symbol unified symbol of the market to fetch the order book for
187
187
  * @param {int} [limit] the maximum amount of order book entries to return.
188
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
188
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
189
189
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
190
190
  */
191
191
  const url = this.urls['api']['ws']['crypto'];
@@ -265,7 +265,7 @@ export default class alpaca extends alpacaRest {
265
265
  * @param {string} symbol unified market symbol of the market trades were made in
266
266
  * @param {int} [since] the earliest time in ms to fetch orders for
267
267
  * @param {int} [limit] the maximum number of trade structures to retrieve
268
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
268
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
269
269
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
270
270
  */
271
271
  const url = this.urls['api']['ws']['crypto'];
@@ -317,7 +317,7 @@ export default class alpaca extends alpacaRest {
317
317
  * @param {string} symbol unified market symbol of the market trades were made in
318
318
  * @param {int} [since] the earliest time in ms to fetch trades for
319
319
  * @param {int} [limit] the maximum number of trade structures to retrieve
320
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
320
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
321
321
  * @param {boolean} [params.unifiedMargin] use unified margin account
322
322
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
323
323
  */
@@ -349,7 +349,7 @@ export default class alpaca extends alpacaRest {
349
349
  * @param {string} symbol unified market symbol of the market orders were made in
350
350
  * @param {int} [since] the earliest time in ms to fetch orders for
351
351
  * @param {int} [limit] the maximum number of orde structures to retrieve
352
- * @param {object} [params] extra parameters specific to the alpaca api endpoint
352
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
353
353
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
354
354
  */
355
355
  const url = this.urls['api']['ws']['trading'];
@@ -82,7 +82,7 @@ export default class ascendex extends ascendexRest {
82
82
  * @param {string} timeframe the length of time each candle represents
83
83
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
84
84
  * @param {int} [limit] the maximum amount of candles to fetch
85
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
85
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
86
86
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
87
87
  */
88
88
  await this.loadMarkets();
@@ -146,7 +146,7 @@ export default class ascendex extends ascendexRest {
146
146
  * @param {string} symbol unified symbol of the market to fetch trades for
147
147
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
148
148
  * @param {int} [limit] the maximum amount of trades to fetch
149
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
149
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
150
150
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
151
151
  */
152
152
  await this.loadMarkets();
@@ -206,7 +206,7 @@ export default class ascendex extends ascendexRest {
206
206
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
207
207
  * @param {string} symbol unified symbol of the market to fetch the order book for
208
208
  * @param {int} [limit] the maximum amount of order book entries to return
209
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
209
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
210
210
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
211
211
  */
212
212
  await this.loadMarkets();
@@ -351,7 +351,7 @@ export default class ascendex extends ascendexRest {
351
351
  * @method
352
352
  * @name ascendex#watchBalance
353
353
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
354
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
354
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
355
355
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
356
356
  */
357
357
  await this.loadMarkets();
@@ -479,7 +479,7 @@ export default class ascendex extends ascendexRest {
479
479
  * @param {string} symbol unified market symbol of the market orders were made in
480
480
  * @param {int} [since] the earliest time in ms to fetch orders for
481
481
  * @param {int} [limit] the maximum number of orde structures to retrieve
482
- * @param {object} [params] extra parameters specific to the ascendex api endpoint
482
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
483
483
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
484
484
  */
485
485
  await this.loadMarkets();