ccxt 4.1.63 → 4.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +33 -3
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +27 -28
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +162 -123
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +12 -9
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +22 -24
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +22 -16
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
package/js/src/yobit.js CHANGED
@@ -308,7 +308,7 @@ export default class yobit extends Exchange {
308
308
  * @name yobit#fetchBalance
309
309
  * @see https://yobit.net/en/api
310
310
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
311
- * @param {object} [params] extra parameters specific to the yobit api endpoint
311
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
312
312
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
313
313
  */
314
314
  await this.loadMarkets();
@@ -346,7 +346,7 @@ export default class yobit extends Exchange {
346
346
  * @name yobit#fetchMarkets
347
347
  * @see https://yobit.net/en/api
348
348
  * @description retrieves data on all markets for yobit
349
- * @param {object} [params] extra parameters specific to the exchange api endpoint
349
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
350
350
  * @returns {object[]} an array of objects representing market data
351
351
  */
352
352
  const response = await this.publicGetInfo(params);
@@ -445,7 +445,7 @@ export default class yobit extends Exchange {
445
445
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
446
446
  * @param {string} symbol unified symbol of the market to fetch the order book for
447
447
  * @param {int} [limit] the maximum amount of order book entries to return
448
- * @param {object} [params] extra parameters specific to the yobit api endpoint
448
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
449
449
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
450
450
  */
451
451
  await this.loadMarkets();
@@ -472,7 +472,7 @@ export default class yobit extends Exchange {
472
472
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
473
473
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
474
474
  * @param {int} [limit] max number of entries per orderbook to return, default is undefined
475
- * @param {object} [params] extra parameters specific to the yobit api endpoint
475
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
476
476
  * @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbol
477
477
  */
478
478
  await this.loadMarkets();
@@ -550,9 +550,9 @@ export default class yobit extends Exchange {
550
550
  * @method
551
551
  * @name yobit#fetchTickers
552
552
  * @see https://yobit.net/en/api
553
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
553
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
554
554
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
555
- * @param {object} [params] extra parameters specific to the yobit api endpoint
555
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
556
556
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
557
557
  */
558
558
  if (symbols === undefined) {
@@ -598,7 +598,7 @@ export default class yobit extends Exchange {
598
598
  * @see https://yobit.net/en/api
599
599
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
600
600
  * @param {string} symbol unified symbol of the market to fetch the ticker for
601
- * @param {object} [params] extra parameters specific to the yobit api endpoint
601
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
602
602
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
603
603
  */
604
604
  const tickers = await this.fetchTickers([symbol], params);
@@ -692,7 +692,7 @@ export default class yobit extends Exchange {
692
692
  * @param {string} symbol unified symbol of the market to fetch trades for
693
693
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
694
694
  * @param {int} [limit] the maximum amount of trades to fetch
695
- * @param {object} [params] extra parameters specific to the yobit api endpoint
695
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
696
696
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
697
697
  */
698
698
  await this.loadMarkets();
@@ -732,7 +732,7 @@ export default class yobit extends Exchange {
732
732
  * @name yobit#fetchTradingFees
733
733
  * @see https://yobit.net/en/api
734
734
  * @description fetch the trading fees for multiple markets
735
- * @param {object} [params] extra parameters specific to the yobit api endpoint
735
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
736
736
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
737
737
  */
738
738
  await this.loadMarkets();
@@ -789,7 +789,7 @@ export default class yobit extends Exchange {
789
789
  * @param {string} side 'buy' or 'sell'
790
790
  * @param {float} amount how much of currency you want to trade in units of base currency
791
791
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
792
- * @param {object} [params] extra parameters specific to the yobit api endpoint
792
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
793
793
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
794
794
  */
795
795
  if (type === 'market') {
@@ -836,7 +836,7 @@ export default class yobit extends Exchange {
836
836
  * @description cancels an open order
837
837
  * @param {string} id order id
838
838
  * @param {string} symbol not used by yobit cancelOrder ()
839
- * @param {object} [params] extra parameters specific to the yobit api endpoint
839
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
840
840
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
841
841
  */
842
842
  await this.loadMarkets();
@@ -985,7 +985,7 @@ export default class yobit extends Exchange {
985
985
  * @see https://yobit.net/en/api
986
986
  * @description fetches information on an order made by the user
987
987
  * @param {string} symbol not used by yobit fetchOrder
988
- * @param {object} [params] extra parameters specific to the yobit api endpoint
988
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
989
989
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
990
990
  */
991
991
  await this.loadMarkets();
@@ -1022,7 +1022,7 @@ export default class yobit extends Exchange {
1022
1022
  * @param {string} symbol unified market symbol
1023
1023
  * @param {int} [since] the earliest time in ms to fetch open orders for
1024
1024
  * @param {int} [limit] the maximum number of open order structures to retrieve
1025
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1025
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1026
1026
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1027
1027
  */
1028
1028
  if (symbol === undefined) {
@@ -1071,7 +1071,7 @@ export default class yobit extends Exchange {
1071
1071
  * @param {string} symbol unified market symbol
1072
1072
  * @param {int} [since] the earliest time in ms to fetch trades for
1073
1073
  * @param {int} [limit] the maximum number of trades structures to retrieve
1074
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1074
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1075
1075
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1076
1076
  */
1077
1077
  if (symbol === undefined) {
@@ -1132,7 +1132,7 @@ export default class yobit extends Exchange {
1132
1132
  * @see https://yobit.net/en/api
1133
1133
  * @description create a currency deposit address
1134
1134
  * @param {string} code unified currency code of the currency for the deposit address
1135
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1135
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1136
1136
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1137
1137
  */
1138
1138
  const request = {
@@ -1155,7 +1155,7 @@ export default class yobit extends Exchange {
1155
1155
  * @see https://yobit.net/en/api
1156
1156
  * @description fetch the deposit address for a currency associated with this account
1157
1157
  * @param {string} code unified currency code
1158
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1158
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1159
1159
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1160
1160
  */
1161
1161
  await this.loadMarkets();
@@ -1195,7 +1195,7 @@ export default class yobit extends Exchange {
1195
1195
  * @param {float} amount the amount to withdraw
1196
1196
  * @param {string} address the address to withdraw to
1197
1197
  * @param {string} tag
1198
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1198
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1199
1199
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1200
1200
  */
1201
1201
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
package/js/src/zaif.js CHANGED
@@ -147,7 +147,7 @@ export default class zaif extends Exchange {
147
147
  * @name zaif#fetchMarkets
148
148
  * @see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id12
149
149
  * @description retrieves data on all markets for zaif
150
- * @param {object} [params] extra parameters specific to the exchange api endpoint
150
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
151
151
  * @returns {object[]} an array of objects representing market data
152
152
  */
153
153
  const markets = await this.publicGetCurrencyPairsAll(params);
@@ -263,7 +263,7 @@ export default class zaif extends Exchange {
263
263
  * @name zaif#fetchBalance
264
264
  * @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
265
265
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
266
- * @param {object} [params] extra parameters specific to the zaif api endpoint
266
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
267
267
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
268
268
  */
269
269
  await this.loadMarkets();
@@ -278,7 +278,7 @@ export default class zaif extends Exchange {
278
278
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
279
279
  * @param {string} symbol unified symbol of the market to fetch the order book for
280
280
  * @param {int} [limit] the maximum amount of order book entries to return
281
- * @param {object} [params] extra parameters specific to the zaif api endpoint
281
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
282
282
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
283
283
  */
284
284
  await this.loadMarkets();
@@ -337,7 +337,7 @@ export default class zaif extends Exchange {
337
337
  * @see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id22
338
338
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
339
339
  * @param {string} symbol unified symbol of the market to fetch the ticker for
340
- * @param {object} [params] extra parameters specific to the zaif api endpoint
340
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
341
341
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
342
342
  */
343
343
  await this.loadMarkets();
@@ -405,7 +405,7 @@ export default class zaif extends Exchange {
405
405
  * @param {string} symbol unified symbol of the market to fetch trades for
406
406
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
407
407
  * @param {int} [limit] the maximum amount of trades to fetch
408
- * @param {object} [params] extra parameters specific to the zaif api endpoint
408
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
409
409
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
410
410
  */
411
411
  await this.loadMarkets();
@@ -446,7 +446,7 @@ export default class zaif extends Exchange {
446
446
  * @param {string} side 'buy' or 'sell'
447
447
  * @param {float} amount how much of currency you want to trade in units of base currency
448
448
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
449
- * @param {object} [params] extra parameters specific to the zaif api endpoint
449
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
450
450
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
451
451
  */
452
452
  await this.loadMarkets();
@@ -474,7 +474,7 @@ export default class zaif extends Exchange {
474
474
  * @description cancels an open order
475
475
  * @param {string} id order id
476
476
  * @param {string} symbol not used by zaif cancelOrder ()
477
- * @param {object} [params] extra parameters specific to the zaif api endpoint
477
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
478
478
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
479
479
  */
480
480
  const request = {
@@ -535,7 +535,7 @@ export default class zaif extends Exchange {
535
535
  * @param {string} symbol unified market symbol
536
536
  * @param {int} [since] the earliest time in ms to fetch open orders for
537
537
  * @param {int} [limit] the maximum number of open orders structures to retrieve
538
- * @param {object} [params] extra parameters specific to the zaif api endpoint
538
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
539
539
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
540
540
  */
541
541
  await this.loadMarkets();
@@ -560,7 +560,7 @@ export default class zaif extends Exchange {
560
560
  * @param {string} symbol unified market symbol of the market orders were made in
561
561
  * @param {int} [since] the earliest time in ms to fetch orders for
562
562
  * @param {int} [limit] the maximum number of orde structures to retrieve
563
- * @param {object} [params] extra parameters specific to the zaif api endpoint
563
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
564
564
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
565
565
  */
566
566
  await this.loadMarkets();
@@ -592,7 +592,7 @@ export default class zaif extends Exchange {
592
592
  * @param {float} amount the amount to withdraw
593
593
  * @param {string} address the address to withdraw to
594
594
  * @param {string} tag
595
- * @param {object} [params] extra parameters specific to the zaif api endpoint
595
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
596
596
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
597
597
  */
598
598
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
package/js/src/zonda.js CHANGED
@@ -304,7 +304,7 @@ export default class zonda extends Exchange {
304
304
  * @name zonda#fetchMarkets
305
305
  * @see https://docs.zondacrypto.exchange/reference/ticker-1
306
306
  * @description retrieves data on all markets for zonda
307
- * @param {object} [params] extra parameters specific to the exchange api endpoint
307
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
308
308
  * @returns {object[]} an array of objects representing market data
309
309
  */
310
310
  const response = await this.v1_01PublicGetTradingTicker(params);
@@ -407,7 +407,7 @@ export default class zonda extends Exchange {
407
407
  * @param {string} symbol not used by zonda fetchOpenOrders
408
408
  * @param {int} [since] the earliest time in ms to fetch open orders for
409
409
  * @param {int} [limit] the maximum number of open orders structures to retrieve
410
- * @param {object} [params] extra parameters specific to the zonda api endpoint
410
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
411
411
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
412
412
  */
413
413
  await this.loadMarkets();
@@ -475,7 +475,7 @@ export default class zonda extends Exchange {
475
475
  * @param {string} symbol unified market symbol
476
476
  * @param {int} [since] the earliest time in ms to fetch trades for
477
477
  * @param {int} [limit] the maximum number of trades structures to retrieve
478
- * @param {object} [params] extra parameters specific to the zonda api endpoint
478
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
479
479
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
480
480
  */
481
481
  await this.loadMarkets();
@@ -537,7 +537,7 @@ export default class zonda extends Exchange {
537
537
  * @name zonda#fetchBalance
538
538
  * @see https://docs.zondacrypto.exchange/reference/list-of-wallets
539
539
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
540
- * @param {object} [params] extra parameters specific to the zonda api endpoint
540
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
541
541
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
542
542
  */
543
543
  await this.loadMarkets();
@@ -552,7 +552,7 @@ export default class zonda extends Exchange {
552
552
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
553
553
  * @param {string} symbol unified symbol of the market to fetch the order book for
554
554
  * @param {int} [limit] the maximum amount of order book entries to return
555
- * @param {object} [params] extra parameters specific to the zonda api endpoint
555
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
556
556
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
557
557
  */
558
558
  await this.loadMarkets();
@@ -663,7 +663,7 @@ export default class zonda extends Exchange {
663
663
  * @description v1_01PublicGetTradingTickerSymbol retrieves timestamp, datetime, bid, ask, close, last, previousClose, v1_01PublicGetTradingStatsSymbol retrieves high, low, volume and opening price of an asset
664
664
  * @see https://docs.zondacrypto.exchange/reference/market-statistics
665
665
  * @param {string} symbol unified symbol of the market to fetch the ticker for
666
- * @param {object} [params] extra parameters specific to the zonda api endpoint
666
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
667
667
  * @param {string} [params.method] v1_01PublicGetTradingTickerSymbol (default) or v1_01PublicGetTradingStatsSymbol
668
668
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
669
669
  */
@@ -736,7 +736,7 @@ export default class zonda extends Exchange {
736
736
  * @description v1_01PublicGetTradingTicker retrieves timestamp, datetime, bid, ask, close, last, previousClose for each market, v1_01PublicGetTradingStats retrieves high, low, volume and opening price of each market
737
737
  * @see https://docs.zondacrypto.exchange/reference/market-statistics
738
738
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
739
- * @param {object} [params] extra parameters specific to the zonda api endpoint
739
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
740
740
  * @param {string} [params.method] v1_01PublicGetTradingTicker (default) or v1_01PublicGetTradingStats
741
741
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
742
742
  */
@@ -812,7 +812,7 @@ export default class zonda extends Exchange {
812
812
  * @param {string} code unified currency code, default is undefined
813
813
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
814
814
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
815
- * @param {object} [params] extra parameters specific to the zonda api endpoint
815
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
816
816
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
817
817
  */
818
818
  const balanceCurrencies = [];
@@ -1187,7 +1187,7 @@ export default class zonda extends Exchange {
1187
1187
  * @param {string} timeframe the length of time each candle represents
1188
1188
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1189
1189
  * @param {int} [limit] the maximum amount of candles to fetch
1190
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1190
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1191
1191
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1192
1192
  */
1193
1193
  await this.loadMarkets();
@@ -1312,7 +1312,7 @@ export default class zonda extends Exchange {
1312
1312
  * @param {string} symbol unified symbol of the market to fetch trades for
1313
1313
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1314
1314
  * @param {int} [limit] the maximum amount of trades to fetch
1315
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1315
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1316
1316
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1317
1317
  */
1318
1318
  await this.loadMarkets();
@@ -1341,7 +1341,7 @@ export default class zonda extends Exchange {
1341
1341
  * @param {string} side 'buy' or 'sell'
1342
1342
  * @param {float} amount how much of currency you want to trade in units of base currency
1343
1343
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1344
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1344
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1345
1345
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1346
1346
  */
1347
1347
  await this.loadMarkets();
@@ -1469,7 +1469,7 @@ export default class zonda extends Exchange {
1469
1469
  * @description cancels an open order
1470
1470
  * @param {string} id order id
1471
1471
  * @param {string} symbol unified symbol of the market the order was made in
1472
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1472
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1473
1473
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1474
1474
  */
1475
1475
  const side = this.safeString(params, 'side');
@@ -1529,7 +1529,7 @@ export default class zonda extends Exchange {
1529
1529
  * @see https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
1530
1530
  * @description fetch the deposit address for a currency associated with this account
1531
1531
  * @param {string} code unified currency code
1532
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1532
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1533
1533
  * @param {string} [params.walletId] Wallet id to filter deposit adresses.
1534
1534
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1535
1535
  */
@@ -1563,7 +1563,7 @@ export default class zonda extends Exchange {
1563
1563
  * @see https://docs.zondacrypto.exchange/reference/deposit-addresses-for-crypto
1564
1564
  * @description fetch deposit addresses for multiple currencies and chain types
1565
1565
  * @param {string[]|undefined} codes zonda does not support filtering filtering by multiple codes and will ignore this parameter.
1566
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1566
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1567
1567
  * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
1568
1568
  */
1569
1569
  await this.loadMarkets();
@@ -1594,7 +1594,7 @@ export default class zonda extends Exchange {
1594
1594
  * @param {float} amount amount to transfer
1595
1595
  * @param {string} fromAccount account to transfer from
1596
1596
  * @param {string} toAccount account to transfer to
1597
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1597
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1598
1598
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1599
1599
  */
1600
1600
  await this.loadMarkets();
@@ -1706,7 +1706,7 @@ export default class zonda extends Exchange {
1706
1706
  * @param {float} amount the amount to withdraw
1707
1707
  * @param {string} address the address to withdraw to
1708
1708
  * @param {string} tag
1709
- * @param {object} [params] extra parameters specific to the zonda api endpoint
1709
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1710
1710
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1711
1711
  */
1712
1712
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.1.63",
3
+ "version": "4.1.65",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.js",
6
6
  "type": "module",