ccxt 4.0.74 → 4.0.76

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 (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
package/js/src/yobit.js CHANGED
@@ -309,7 +309,7 @@ export default class yobit extends Exchange {
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
311
  * @param {object} [params] extra parameters specific to the yobit api endpoint
312
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
312
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
313
313
  */
314
314
  await this.loadMarkets();
315
315
  const response = await this.privatePostGetInfo(params);
@@ -445,7 +445,7 @@ export default class yobit extends Exchange {
445
445
  * @param {string} symbol unified symbol of the market to fetch the order book for
446
446
  * @param {int} [limit] the maximum amount of order book entries to return
447
447
  * @param {object} [params] extra parameters specific to the yobit api endpoint
448
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
448
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
449
449
  */
450
450
  await this.loadMarkets();
451
451
  const market = this.market(symbol);
@@ -472,7 +472,7 @@ export default class yobit extends Exchange {
472
472
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
473
473
  * @param {int} [limit] max number of entries per orderbook to return, default is undefined
474
474
  * @param {object} [params] extra parameters specific to the yobit api endpoint
475
- * @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbol
475
+ * @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
476
476
  */
477
477
  await this.loadMarkets();
478
478
  let ids = undefined;
@@ -552,7 +552,7 @@ export default class yobit extends Exchange {
552
552
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
553
553
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
554
554
  * @param {object} [params] extra parameters specific to the yobit api endpoint
555
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
555
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
556
556
  */
557
557
  if (symbols === undefined) {
558
558
  throw new ArgumentsRequired(this.id + ' fetchTickers() requires "symbols" argument');
@@ -598,7 +598,7 @@ export default class yobit extends Exchange {
598
598
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
599
599
  * @param {string} symbol unified symbol of the market to fetch the ticker for
600
600
  * @param {object} [params] extra parameters specific to the yobit api endpoint
601
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
601
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
602
602
  */
603
603
  const tickers = await this.fetchTickers([symbol], params);
604
604
  return tickers[symbol];
@@ -692,7 +692,7 @@ export default class yobit extends Exchange {
692
692
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
693
693
  * @param {int} [limit] the maximum amount of trades to fetch
694
694
  * @param {object} [params] extra parameters specific to the yobit api endpoint
695
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
695
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
696
696
  */
697
697
  await this.loadMarkets();
698
698
  const market = this.market(symbol);
@@ -732,7 +732,7 @@ export default class yobit extends Exchange {
732
732
  * @see https://yobit.net/en/api
733
733
  * @description fetch the trading fees for multiple markets
734
734
  * @param {object} [params] extra parameters specific to the yobit api endpoint
735
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
735
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
736
736
  */
737
737
  await this.loadMarkets();
738
738
  const response = await this.publicGetInfo(params);
@@ -787,9 +787,9 @@ export default class yobit extends Exchange {
787
787
  * @param {string} type must be 'limit'
788
788
  * @param {string} side 'buy' or 'sell'
789
789
  * @param {float} amount how much of currency you want to trade in units of base currency
790
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
790
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
791
791
  * @param {object} [params] extra parameters specific to the yobit api endpoint
792
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
792
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
793
793
  */
794
794
  if (type === 'market') {
795
795
  throw new ExchangeError(this.id + ' createOrder() allows limit orders only');
@@ -836,7 +836,7 @@ export default class yobit extends Exchange {
836
836
  * @param {string} id order id
837
837
  * @param {string} symbol not used by yobit cancelOrder ()
838
838
  * @param {object} [params] extra parameters specific to the yobit api endpoint
839
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
839
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
840
840
  */
841
841
  await this.loadMarkets();
842
842
  const request = {
@@ -985,7 +985,7 @@ export default class yobit extends Exchange {
985
985
  * @description fetches information on an order made by the user
986
986
  * @param {string} symbol not used by yobit fetchOrder
987
987
  * @param {object} [params] extra parameters specific to the yobit api endpoint
988
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
988
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
989
989
  */
990
990
  await this.loadMarkets();
991
991
  const request = {
@@ -1022,7 +1022,7 @@ export default class yobit extends Exchange {
1022
1022
  * @param {int} [since] the earliest time in ms to fetch open orders for
1023
1023
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1024
1024
  * @param {object} [params] extra parameters specific to the yobit api endpoint
1025
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1025
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1026
1026
  */
1027
1027
  if (symbol === undefined) {
1028
1028
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -1071,7 +1071,7 @@ export default class yobit extends Exchange {
1071
1071
  * @param {int} [since] the earliest time in ms to fetch trades for
1072
1072
  * @param {int} [limit] the maximum number of trades structures to retrieve
1073
1073
  * @param {object} [params] extra parameters specific to the yobit api endpoint
1074
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1074
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1075
1075
  */
1076
1076
  if (symbol === undefined) {
1077
1077
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
@@ -1132,7 +1132,7 @@ export default class yobit extends Exchange {
1132
1132
  * @description create a currency deposit address
1133
1133
  * @param {string} code unified currency code of the currency for the deposit address
1134
1134
  * @param {object} [params] extra parameters specific to the yobit api endpoint
1135
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1135
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1136
1136
  */
1137
1137
  const request = {
1138
1138
  'need_new': 1,
@@ -1155,7 +1155,7 @@ export default class yobit extends Exchange {
1155
1155
  * @description fetch the deposit address for a currency associated with this account
1156
1156
  * @param {string} code unified currency code
1157
1157
  * @param {object} [params] extra parameters specific to the yobit api endpoint
1158
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1158
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1159
1159
  */
1160
1160
  await this.loadMarkets();
1161
1161
  const currency = this.currency(code);
@@ -1195,7 +1195,7 @@ export default class yobit extends Exchange {
1195
1195
  * @param {string} address the address to withdraw to
1196
1196
  * @param {string} tag
1197
1197
  * @param {object} [params] extra parameters specific to the yobit api endpoint
1198
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1198
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1199
1199
  */
1200
1200
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1201
1201
  this.checkAddress(address);
package/js/src/zaif.js CHANGED
@@ -277,7 +277,7 @@ export default class zaif extends Exchange {
277
277
  * @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
278
278
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
279
279
  * @param {object} [params] extra parameters specific to the zaif api endpoint
280
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
280
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
281
281
  */
282
282
  await this.loadMarkets();
283
283
  const response = await this.privatePostGetInfo(params);
@@ -292,7 +292,7 @@ export default class zaif extends Exchange {
292
292
  * @param {string} symbol unified symbol of the market to fetch the order book for
293
293
  * @param {int} [limit] the maximum amount of order book entries to return
294
294
  * @param {object} [params] extra parameters specific to the zaif api endpoint
295
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
295
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
296
296
  */
297
297
  await this.loadMarkets();
298
298
  const market = this.market(symbol);
@@ -351,7 +351,7 @@ export default class zaif extends Exchange {
351
351
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
352
352
  * @param {string} symbol unified symbol of the market to fetch the ticker for
353
353
  * @param {object} [params] extra parameters specific to the zaif api endpoint
354
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
354
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
355
355
  */
356
356
  await this.loadMarkets();
357
357
  const market = this.market(symbol);
@@ -419,7 +419,7 @@ export default class zaif extends Exchange {
419
419
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
420
420
  * @param {int} [limit] the maximum amount of trades to fetch
421
421
  * @param {object} [params] extra parameters specific to the zaif api endpoint
422
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
422
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
423
423
  */
424
424
  await this.loadMarkets();
425
425
  const market = this.market(symbol);
@@ -458,9 +458,9 @@ export default class zaif extends Exchange {
458
458
  * @param {string} type must be 'limit'
459
459
  * @param {string} side 'buy' or 'sell'
460
460
  * @param {float} amount how much of currency you want to trade in units of base currency
461
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
461
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
462
462
  * @param {object} [params] extra parameters specific to the zaif api endpoint
463
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
463
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
464
464
  */
465
465
  await this.loadMarkets();
466
466
  if (type !== 'limit') {
@@ -488,7 +488,7 @@ export default class zaif extends Exchange {
488
488
  * @param {string} id order id
489
489
  * @param {string} symbol not used by zaif cancelOrder ()
490
490
  * @param {object} [params] extra parameters specific to the zaif api endpoint
491
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
491
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
492
492
  */
493
493
  const request = {
494
494
  'order_id': id,
@@ -549,7 +549,7 @@ export default class zaif extends Exchange {
549
549
  * @param {int} [since] the earliest time in ms to fetch open orders for
550
550
  * @param {int} [limit] the maximum number of open orders structures to retrieve
551
551
  * @param {object} [params] extra parameters specific to the zaif api endpoint
552
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
552
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
553
553
  */
554
554
  await this.loadMarkets();
555
555
  let market = undefined;
@@ -574,7 +574,7 @@ export default class zaif extends Exchange {
574
574
  * @param {int} [since] the earliest time in ms to fetch orders for
575
575
  * @param {int} [limit] the maximum number of orde structures to retrieve
576
576
  * @param {object} [params] extra parameters specific to the zaif api endpoint
577
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
577
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
578
578
  */
579
579
  await this.loadMarkets();
580
580
  let market = undefined;
@@ -606,7 +606,7 @@ export default class zaif extends Exchange {
606
606
  * @param {string} address the address to withdraw to
607
607
  * @param {string} tag
608
608
  * @param {object} [params] extra parameters specific to the zaif api endpoint
609
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
609
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
610
610
  */
611
611
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
612
612
  this.checkAddress(address);
package/js/src/zonda.js CHANGED
@@ -403,7 +403,7 @@ export default class zonda extends Exchange {
403
403
  * @param {int} [since] the earliest time in ms to fetch open orders for
404
404
  * @param {int} [limit] the maximum number of open orders structures to retrieve
405
405
  * @param {object} [params] extra parameters specific to the zonda api endpoint
406
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
406
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
407
407
  */
408
408
  await this.loadMarkets();
409
409
  const request = {};
@@ -471,7 +471,7 @@ export default class zonda extends Exchange {
471
471
  * @param {int} [since] the earliest time in ms to fetch trades for
472
472
  * @param {int} [limit] the maximum number of trades structures to retrieve
473
473
  * @param {object} [params] extra parameters specific to the zonda api endpoint
474
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
474
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
475
475
  */
476
476
  await this.loadMarkets();
477
477
  const request = {};
@@ -533,7 +533,7 @@ export default class zonda extends Exchange {
533
533
  * @see https://docs.zonda.exchange/reference/list-of-wallets
534
534
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
535
535
  * @param {object} [params] extra parameters specific to the zonda api endpoint
536
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
536
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
537
537
  */
538
538
  await this.loadMarkets();
539
539
  const response = await this.v1_01PrivateGetBalancesBITBAYBalance(params);
@@ -548,7 +548,7 @@ export default class zonda extends Exchange {
548
548
  * @param {string} symbol unified symbol of the market to fetch the order book for
549
549
  * @param {int} [limit] the maximum amount of order book entries to return
550
550
  * @param {object} [params] extra parameters specific to the zonda api endpoint
551
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
551
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
552
552
  */
553
553
  await this.loadMarkets();
554
554
  const market = this.market(symbol);
@@ -660,7 +660,7 @@ export default class zonda extends Exchange {
660
660
  * @param {string} symbol unified symbol of the market to fetch the ticker for
661
661
  * @param {object} [params] extra parameters specific to the zonda api endpoint
662
662
  * @param {string} [params.method] v1_01PublicGetTradingTickerSymbol (default) or v1_01PublicGetTradingStatsSymbol
663
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
663
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
664
664
  */
665
665
  await this.loadMarkets();
666
666
  const market = this.market(symbol);
@@ -733,7 +733,7 @@ export default class zonda extends Exchange {
733
733
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
734
734
  * @param {object} [params] extra parameters specific to the zonda api endpoint
735
735
  * @param {string} [params.method] v1_01PublicGetTradingTicker (default) or v1_01PublicGetTradingStats
736
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
736
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
737
737
  */
738
738
  await this.loadMarkets();
739
739
  const method = 'v1_01PublicGetTradingTicker';
@@ -808,7 +808,7 @@ export default class zonda extends Exchange {
808
808
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
809
809
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
810
810
  * @param {object} [params] extra parameters specific to the zonda api endpoint
811
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
811
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
812
812
  */
813
813
  const balanceCurrencies = [];
814
814
  if (code !== undefined) {
@@ -1308,7 +1308,7 @@ export default class zonda extends Exchange {
1308
1308
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1309
1309
  * @param {int} [limit] the maximum amount of trades to fetch
1310
1310
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1311
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1311
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1312
1312
  */
1313
1313
  await this.loadMarkets();
1314
1314
  const market = this.market(symbol);
@@ -1335,9 +1335,9 @@ export default class zonda extends Exchange {
1335
1335
  * @param {string} type 'market' or 'limit'
1336
1336
  * @param {string} side 'buy' or 'sell'
1337
1337
  * @param {float} amount how much of currency you want to trade in units of base currency
1338
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1338
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1339
1339
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1340
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1340
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1341
1341
  */
1342
1342
  await this.loadMarkets();
1343
1343
  const market = this.market(symbol);
@@ -1462,7 +1462,7 @@ export default class zonda extends Exchange {
1462
1462
  * @param {string} id order id
1463
1463
  * @param {string} symbol unified symbol of the market the order was made in
1464
1464
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1465
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1465
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1466
1466
  */
1467
1467
  const side = this.safeString(params, 'side');
1468
1468
  if (side === undefined) {
@@ -1523,7 +1523,7 @@ export default class zonda extends Exchange {
1523
1523
  * @param {string} code unified currency code
1524
1524
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1525
1525
  * @param {string} [params.walletId] Wallet id to filter deposit adresses.
1526
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1526
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1527
1527
  */
1528
1528
  await this.loadMarkets();
1529
1529
  const currency = this.currency(code);
@@ -1556,7 +1556,7 @@ export default class zonda extends Exchange {
1556
1556
  * @description fetch deposit addresses for multiple currencies and chain types
1557
1557
  * @param {string[]|undefined} codes zonda does not support filtering filtering by multiple codes and will ignore this parameter.
1558
1558
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1559
- * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
1559
+ * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1560
1560
  */
1561
1561
  await this.loadMarkets();
1562
1562
  const response = await this.v1_01PrivateGetApiPaymentsDepositsCryptoAddresses(params);
@@ -1587,7 +1587,7 @@ export default class zonda extends Exchange {
1587
1587
  * @param {string} fromAccount account to transfer from
1588
1588
  * @param {string} toAccount account to transfer to
1589
1589
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1590
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1590
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1591
1591
  */
1592
1592
  await this.loadMarkets();
1593
1593
  const currency = this.currency(code);
@@ -1699,7 +1699,7 @@ export default class zonda extends Exchange {
1699
1699
  * @param {string} address the address to withdraw to
1700
1700
  * @param {string} tag
1701
1701
  * @param {object} [params] extra parameters specific to the zonda api endpoint
1702
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1702
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1703
1703
  */
1704
1704
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1705
1705
  this.checkAddress(address);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.0.74",
3
+ "version": "4.0.76",
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",
package/skip-tests.json CHANGED
@@ -630,6 +630,7 @@
630
630
  }
631
631
  },
632
632
  "currencycom": {
633
+ "skip": true,
633
634
  "skipWs": true,
634
635
  "skipMethods": {
635
636
  "loadMarkets": {
@@ -1031,6 +1032,7 @@
1031
1032
  }
1032
1033
  },
1033
1034
  "mexc": {
1035
+ "skip": "OnMaintenance https://www.mexc.com/support/articles/17827791510263",
1034
1036
  "skipWs": true,
1035
1037
  "skipPhpAsync": "Connection ended before receiving response...",
1036
1038
  "skipMethods": {