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
@@ -372,7 +372,7 @@ export default class cryptocom extends Exchange {
372
372
  * @name cryptocom#fetchMarkets
373
373
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-instruments
374
374
  * @description retrieves data on all markets for cryptocom
375
- * @param {object} [params] extra parameters specific to the exchange api endpoint
375
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
376
376
  * @returns {object[]} an array of objects representing market data
377
377
  */
378
378
  const response = await this.v1PublicGetPublicGetInstruments(params);
@@ -563,11 +563,11 @@ export default class cryptocom extends Exchange {
563
563
  /**
564
564
  * @method
565
565
  * @name cryptocom#fetchTickers
566
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
566
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
567
567
  * @see https://exchange-docs.crypto.com/spot/index.html#public-get-ticker
568
568
  * @see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
569
569
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
570
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
570
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
571
571
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
572
572
  */
573
573
  await this.loadMarkets();
@@ -624,7 +624,7 @@ export default class cryptocom extends Exchange {
624
624
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-tickers
625
625
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
626
626
  * @param {string} symbol unified symbol of the market to fetch the ticker for
627
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
627
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
628
628
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
629
629
  */
630
630
  await this.loadMarkets();
@@ -641,7 +641,7 @@ export default class cryptocom extends Exchange {
641
641
  * @param {string} symbol unified market symbol of the market the orders were made in
642
642
  * @param {int} [since] the earliest time in ms to fetch orders for, max date range is one day
643
643
  * @param {int} [limit] the maximum number of order structures to retrieve, default 100 max 100
644
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
644
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
645
645
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
646
646
  * @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)
647
647
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -722,7 +722,7 @@ export default class cryptocom extends Exchange {
722
722
  * @param {string} symbol unified symbol of the market to fetch trades for
723
723
  * @param {int} [since] timestamp in ms of the earliest trade to fetch, maximum date range is one day
724
724
  * @param {int} [limit] the maximum number of trades to fetch
725
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
725
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
726
726
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
727
727
  * @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)
728
728
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
@@ -782,7 +782,7 @@ export default class cryptocom extends Exchange {
782
782
  * @param {string} timeframe the length of time each candle represents
783
783
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
784
784
  * @param {int} [limit] the maximum amount of candles to fetch
785
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
785
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
786
786
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
787
787
  * @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)
788
788
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
@@ -843,7 +843,7 @@ export default class cryptocom extends Exchange {
843
843
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-book
844
844
  * @param {string} symbol unified symbol of the market to fetch the order book for
845
845
  * @param {int} [limit] the number of order book entries to return, max 50
846
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
846
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
847
847
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
848
848
  */
849
849
  await this.loadMarkets();
@@ -901,7 +901,7 @@ export default class cryptocom extends Exchange {
901
901
  * @name cryptocom#fetchBalance
902
902
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
903
903
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
904
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
904
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
905
905
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
906
906
  */
907
907
  await this.loadMarkets();
@@ -958,7 +958,7 @@ export default class cryptocom extends Exchange {
958
958
  * @description fetches information on an order made by the user
959
959
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-order-detail
960
960
  * @param {string} symbol unified symbol of the market the order was made in
961
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
961
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
962
962
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
963
963
  */
964
964
  await this.loadMarkets();
@@ -1130,7 +1130,7 @@ export default class cryptocom extends Exchange {
1130
1130
  * @param {string} side 'buy' or 'sell'
1131
1131
  * @param {float} amount how much you want to trade in units of base currency
1132
1132
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1133
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1133
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1134
1134
  * @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
1135
1135
  * @param {string} [params.ref_price_type] 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
1136
1136
  * @param {float} [params.stopPrice] price to trigger a stop order
@@ -1367,7 +1367,7 @@ export default class cryptocom extends Exchange {
1367
1367
  * @description cancel all open orders
1368
1368
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
1369
1369
  * @param {string} symbol unified market symbol of the orders to cancel
1370
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1370
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1371
1371
  * @returns {object} Returns exchange raw message{@link https://docs.ccxt.com/#/?id=order-structure}
1372
1372
  */
1373
1373
  await this.loadMarkets();
@@ -1387,7 +1387,7 @@ export default class cryptocom extends Exchange {
1387
1387
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order
1388
1388
  * @param {string} id the order id of the order to cancel
1389
1389
  * @param {string} [symbol] unified symbol of the market the order was made in
1390
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1390
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1391
1391
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1392
1392
  */
1393
1393
  await this.loadMarkets();
@@ -1422,7 +1422,7 @@ export default class cryptocom extends Exchange {
1422
1422
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order-list-list
1423
1423
  * @param {string[]} ids order ids
1424
1424
  * @param {string} symbol unified market symbol
1425
- * @param {object} [params] extra parameters specific to the okx api endpoint
1425
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1426
1426
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1427
1427
  */
1428
1428
  if (symbol === undefined) {
@@ -1456,7 +1456,7 @@ export default class cryptocom extends Exchange {
1456
1456
  * @param {string} symbol unified market symbol
1457
1457
  * @param {int} [since] the earliest time in ms to fetch open orders for
1458
1458
  * @param {int} [limit] the maximum number of open order structures to retrieve
1459
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1459
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1460
1460
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1461
1461
  */
1462
1462
  await this.loadMarkets();
@@ -1517,7 +1517,7 @@ export default class cryptocom extends Exchange {
1517
1517
  * @param {string} symbol unified market symbol
1518
1518
  * @param {int} [since] the earliest time in ms to fetch trades for, maximum date range is one day
1519
1519
  * @param {int} [limit] the maximum number of trade structures to retrieve
1520
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1520
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1521
1521
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1522
1522
  * @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)
1523
1523
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -1603,7 +1603,7 @@ export default class cryptocom extends Exchange {
1603
1603
  * @param {float} amount the amount to withdraw
1604
1604
  * @param {string} address the address to withdraw to
1605
1605
  * @param {string} tag
1606
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1606
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1607
1607
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1608
1608
  */
1609
1609
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1650,7 +1650,7 @@ export default class cryptocom extends Exchange {
1650
1650
  * @description fetch a dictionary of addresses for a currency, indexed by network
1651
1651
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
1652
1652
  * @param {string} code unified currency code of the currency for the deposit address
1653
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1653
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1654
1654
  * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
1655
1655
  */
1656
1656
  await this.loadMarkets();
@@ -1710,7 +1710,7 @@ export default class cryptocom extends Exchange {
1710
1710
  * @name cryptocom#fetchDepositAddress
1711
1711
  * @description fetch the deposit address for a currency associated with this account
1712
1712
  * @param {string} code unified currency code
1713
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1713
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1714
1714
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1715
1715
  */
1716
1716
  const network = this.safeStringUpper(params, 'network');
@@ -1745,7 +1745,7 @@ export default class cryptocom extends Exchange {
1745
1745
  * @param {string} code unified currency code
1746
1746
  * @param {int} [since] the earliest time in ms to fetch deposits for
1747
1747
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1748
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1748
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1749
1749
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1750
1750
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1751
1751
  */
@@ -1804,7 +1804,7 @@ export default class cryptocom extends Exchange {
1804
1804
  * @param {string} code unified currency code
1805
1805
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1806
1806
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1807
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1807
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1808
1808
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1809
1809
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1810
1810
  */
@@ -1865,7 +1865,7 @@ export default class cryptocom extends Exchange {
1865
1865
  * @param {float} amount amount to transfer
1866
1866
  * @param {string} fromAccount account to transfer from
1867
1867
  * @param {string} toAccount account to transfer to
1868
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1868
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1869
1869
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1870
1870
  */
1871
1871
  await this.loadMarkets();
@@ -1903,7 +1903,7 @@ export default class cryptocom extends Exchange {
1903
1903
  * @param {string} code unified currency code of the currency transferred
1904
1904
  * @param {int} [since] the earliest time in ms to fetch transfers for
1905
1905
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1906
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1906
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1907
1907
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1908
1908
  */
1909
1909
  if (!('direction' in params)) {
@@ -2407,7 +2407,7 @@ export default class cryptocom extends Exchange {
2407
2407
  * @ignore
2408
2408
  * @method
2409
2409
  * @description marginMode specified by params["marginMode"], this.options["marginMode"], this.options["defaultMarginMode"], params["margin"] = true or this.options["defaultType"] = 'margin'
2410
- * @param {object} [params] extra parameters specific to the exchange api endpoint
2410
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2411
2411
  * @returns {array} the marginMode in lowercase
2412
2412
  */
2413
2413
  const defaultType = this.safeString(this.options, 'defaultType');
@@ -2483,7 +2483,7 @@ export default class cryptocom extends Exchange {
2483
2483
  * @description fetch deposit and withdraw fees
2484
2484
  * @see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
2485
2485
  * @param {string[]|undefined} codes list of unified currency codes
2486
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2486
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2487
2487
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2488
2488
  */
2489
2489
  await this.loadMarkets();
@@ -2501,7 +2501,7 @@ export default class cryptocom extends Exchange {
2501
2501
  * @param {string} code unified currency code
2502
2502
  * @param {int} [since] timestamp in ms of the earliest ledger entry
2503
2503
  * @param {int} [limit] max number of ledger entries to return
2504
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2505
2505
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
2506
2506
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
2507
2507
  */
@@ -2641,7 +2641,7 @@ export default class cryptocom extends Exchange {
2641
2641
  * @name cryptocom#fetchAccounts
2642
2642
  * @description fetch all the accounts associated with a profile
2643
2643
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-accounts
2644
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2644
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2645
2645
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
2646
2646
  */
2647
2647
  await this.loadMarkets();
@@ -2812,7 +2812,7 @@ export default class cryptocom extends Exchange {
2812
2812
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
2813
2813
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
2814
2814
  * @param {int} [limit] the maximum amount of [funding rate structures] to fetch
2815
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2815
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2816
2816
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
2817
2817
  * @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)
2818
2818
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
@@ -2887,7 +2887,7 @@ export default class cryptocom extends Exchange {
2887
2887
  * @description fetch data on a single open contract trade position
2888
2888
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
2889
2889
  * @param {string} symbol unified market symbol of the market the position is held in
2890
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2890
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2891
2891
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2892
2892
  */
2893
2893
  await this.loadMarkets();
@@ -2929,7 +2929,7 @@ export default class cryptocom extends Exchange {
2929
2929
  * @description fetch all open positions
2930
2930
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
2931
2931
  * @param {string[]|undefined} symbols list of unified market symbols
2932
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2932
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2933
2933
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2934
2934
  */
2935
2935
  await this.loadMarkets();
@@ -3003,6 +3003,7 @@ export default class cryptocom extends Exchange {
3003
3003
  market = this.safeMarket(marketId, market, undefined, 'contract');
3004
3004
  const symbol = this.safeSymbol(marketId, market, undefined, 'contract');
3005
3005
  const timestamp = this.safeInteger(position, 'update_timestamp_ms');
3006
+ const amount = this.safeString(position, 'quantity');
3006
3007
  return this.safePosition({
3007
3008
  'info': position,
3008
3009
  'id': undefined,
@@ -3010,8 +3011,8 @@ export default class cryptocom extends Exchange {
3010
3011
  'timestamp': timestamp,
3011
3012
  'datetime': this.iso8601(timestamp),
3012
3013
  'hedged': undefined,
3013
- 'side': undefined,
3014
- 'contracts': this.safeNumber(position, 'quantity'),
3014
+ 'side': Precise.stringGt(amount, '0') ? 'buy' : 'sell',
3015
+ 'contracts': Precise.stringAbs(amount),
3015
3016
  'contractSize': market['contractSize'],
3016
3017
  'entryPrice': undefined,
3017
3018
  'markPrice': undefined,
@@ -306,7 +306,7 @@ export default class currencycom extends Exchange {
306
306
  * @method
307
307
  * @name currencycom#fetchTime
308
308
  * @description fetches the current integer timestamp in milliseconds from the exchange server
309
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
309
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
310
310
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
311
311
  */
312
312
  const response = await this.publicGetV2Time(params);
@@ -322,7 +322,7 @@ export default class currencycom extends Exchange {
322
322
  * @method
323
323
  * @name currencycom#fetchCurrencies
324
324
  * @description fetches all available currencies on an exchange
325
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
325
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
326
326
  * @returns {object} an associative dictionary of currencies
327
327
  */
328
328
  // requires authentication
@@ -394,7 +394,7 @@ export default class currencycom extends Exchange {
394
394
  * @method
395
395
  * @name currencycom#fetchMarkets
396
396
  * @description retrieves data on all markets for currencycom
397
- * @param {object} [params] extra parameters specific to the exchange api endpoint
397
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
398
398
  * @returns {object[]} an array of objects representing market data
399
399
  */
400
400
  const response = await this.publicGetV2ExchangeInfo(params);
@@ -582,7 +582,7 @@ export default class currencycom extends Exchange {
582
582
  * @method
583
583
  * @name currencycom#fetchAccounts
584
584
  * @description fetch all the accounts associated with a profile
585
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
585
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
586
586
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
587
587
  */
588
588
  const response = await this.privateGetV2Account(params);
@@ -638,7 +638,7 @@ export default class currencycom extends Exchange {
638
638
  * @method
639
639
  * @name currencycom#fetchTradingFees
640
640
  * @description fetch the trading fees for multiple markets
641
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
641
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
642
642
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
643
643
  */
644
644
  await this.loadMarkets();
@@ -714,7 +714,7 @@ export default class currencycom extends Exchange {
714
714
  * @method
715
715
  * @name currencycom#fetchBalance
716
716
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
717
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
717
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
718
718
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
719
719
  */
720
720
  await this.loadMarkets();
@@ -759,7 +759,7 @@ export default class currencycom extends Exchange {
759
759
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
760
760
  * @param {string} symbol unified symbol of the market to fetch the order book for
761
761
  * @param {int} [limit] the maximum amount of order book entries to return
762
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
762
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
763
763
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
764
764
  */
765
765
  await this.loadMarkets();
@@ -874,7 +874,7 @@ export default class currencycom extends Exchange {
874
874
  * @name currencycom#fetchTicker
875
875
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
876
876
  * @param {string} symbol unified symbol of the market to fetch the ticker for
877
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
877
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
878
878
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
879
879
  */
880
880
  await this.loadMarkets();
@@ -909,9 +909,9 @@ export default class currencycom extends Exchange {
909
909
  /**
910
910
  * @method
911
911
  * @name currencycom#fetchTickers
912
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
912
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
913
913
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
914
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
914
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
915
915
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
916
916
  */
917
917
  await this.loadMarkets();
@@ -965,7 +965,7 @@ export default class currencycom extends Exchange {
965
965
  * @param {string} timeframe the length of time each candle represents
966
966
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
967
967
  * @param {int} [limit] the maximum amount of candles to fetch
968
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
968
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
969
969
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
970
970
  */
971
971
  await this.loadMarkets();
@@ -1076,7 +1076,7 @@ export default class currencycom extends Exchange {
1076
1076
  * @param {string} symbol unified symbol of the market to fetch trades for
1077
1077
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1078
1078
  * @param {int} [limit] the maximum amount of trades to fetch
1079
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1079
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1080
1080
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1081
1081
  */
1082
1082
  await this.loadMarkets();
@@ -1262,7 +1262,7 @@ export default class currencycom extends Exchange {
1262
1262
  * @param {string} side 'buy' or 'sell'
1263
1263
  * @param {float} amount how much of currency you want to trade in units of base currency
1264
1264
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1265
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1265
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1266
1266
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1267
1267
  */
1268
1268
  await this.loadMarkets();
@@ -1355,7 +1355,7 @@ export default class currencycom extends Exchange {
1355
1355
  * @description fetches information on an order made by the user
1356
1356
  * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getOrderUsingGET
1357
1357
  * @param {string} symbol unified symbol of the market the order was made in
1358
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1358
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1359
1359
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1360
1360
  */
1361
1361
  if (symbol === undefined) {
@@ -1400,7 +1400,7 @@ export default class currencycom extends Exchange {
1400
1400
  * @param {string} symbol unified market symbol
1401
1401
  * @param {int} [since] the earliest time in ms to fetch open orders for
1402
1402
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1403
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1403
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1404
1404
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1405
1405
  */
1406
1406
  await this.loadMarkets();
@@ -1445,7 +1445,7 @@ export default class currencycom extends Exchange {
1445
1445
  * @description cancels an open order
1446
1446
  * @param {string} id order id
1447
1447
  * @param {string} symbol unified symbol of the market the order was made in
1448
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1448
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1449
1449
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1450
1450
  */
1451
1451
  if (symbol === undefined) {
@@ -1489,7 +1489,7 @@ export default class currencycom extends Exchange {
1489
1489
  * @param {string} symbol unified market symbol
1490
1490
  * @param {int} [since] the earliest time in ms to fetch trades for
1491
1491
  * @param {int} [limit] the maximum number of trades structures to retrieve
1492
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1492
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1493
1493
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1494
1494
  */
1495
1495
  if (symbol === undefined) {
@@ -1532,7 +1532,7 @@ export default class currencycom extends Exchange {
1532
1532
  * @param {string} code unified currency code
1533
1533
  * @param {int} [since] the earliest time in ms to fetch deposits for
1534
1534
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1535
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1535
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1536
1536
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1537
1537
  */
1538
1538
  return await this.fetchTransactionsByMethod('privateGetV2Deposits', code, since, limit, params);
@@ -1545,7 +1545,7 @@ export default class currencycom extends Exchange {
1545
1545
  * @param {string} code unified currency code
1546
1546
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1547
1547
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1548
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1548
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1549
1549
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1550
1550
  */
1551
1551
  return await this.fetchTransactionsByMethod('privateGetV2Withdrawals', code, since, limit, params);
@@ -1558,7 +1558,7 @@ export default class currencycom extends Exchange {
1558
1558
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1559
1559
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1560
1560
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1561
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1561
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1562
1562
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1563
1563
  */
1564
1564
  return await this.fetchTransactionsByMethod('privateGetV2Transactions', code, since, limit, params);
@@ -1668,7 +1668,7 @@ export default class currencycom extends Exchange {
1668
1668
  * @param {string} code unified currency code, default is undefined
1669
1669
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1670
1670
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1671
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1671
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1672
1672
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1673
1673
  */
1674
1674
  await this.loadMarkets();
@@ -1767,7 +1767,7 @@ export default class currencycom extends Exchange {
1767
1767
  * @name currencycom#fetchLeverage
1768
1768
  * @description fetch the set leverage for a market
1769
1769
  * @param {string} symbol unified market symbol
1770
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1770
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1771
1771
  * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
1772
1772
  */
1773
1773
  await this.loadMarkets();
@@ -1790,7 +1790,7 @@ export default class currencycom extends Exchange {
1790
1790
  * @name currencycom#fetchDepositAddress
1791
1791
  * @description fetch the deposit address for a currency associated with this account
1792
1792
  * @param {string} code unified currency code
1793
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1793
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1794
1794
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1795
1795
  */
1796
1796
  await this.loadMarkets();
@@ -1856,7 +1856,7 @@ export default class currencycom extends Exchange {
1856
1856
  * @name currencycom#fetchPositions
1857
1857
  * @description fetch all open positions
1858
1858
  * @param {string[]|undefined} symbols list of unified market symbols
1859
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
1859
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1860
1860
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1861
1861
  */
1862
1862
  await this.loadMarkets();