ccxt 4.0.74 → 4.0.75

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 (282) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2047 -1932
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +21 -21
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +5 -5
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +21 -21
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.js +5 -5
  241. package/js/src/pro/cex.js +3 -3
  242. package/js/src/pro/coinbasepro.js +5 -5
  243. package/js/src/pro/coinex.js +3 -3
  244. package/js/src/pro/cryptocom.js +7 -7
  245. package/js/src/pro/currencycom.js +2 -2
  246. package/js/src/pro/deribit.js +3 -3
  247. package/js/src/pro/exmo.js +2 -2
  248. package/js/src/pro/gate.js +5 -5
  249. package/js/src/pro/gemini.js +2 -2
  250. package/js/src/pro/hitbtc.js +2 -2
  251. package/js/src/pro/hollaex.js +3 -3
  252. package/js/src/pro/huobi.js +4 -4
  253. package/js/src/pro/huobijp.js +2 -2
  254. package/js/src/pro/idex.js +3 -3
  255. package/js/src/pro/independentreserve.js +1 -1
  256. package/js/src/pro/kraken.js +6 -6
  257. package/js/src/pro/krakenfutures.js +2 -2
  258. package/js/src/pro/kucoin.js +4 -4
  259. package/js/src/pro/kucoinfutures.js +3 -3
  260. package/js/src/pro/luno.js +1 -1
  261. package/js/src/pro/ndax.js +2 -2
  262. package/js/src/pro/okcoin.js +3 -3
  263. package/js/src/pro/okx.d.ts +1 -1
  264. package/js/src/pro/okx.js +12 -11
  265. package/js/src/pro/phemex.js +4 -4
  266. package/js/src/pro/poloniex.js +1 -1
  267. package/js/src/pro/upbit.js +2 -2
  268. package/js/src/pro/wazirx.js +3 -3
  269. package/js/src/pro/whitebit.js +4 -4
  270. package/js/src/probit.js +17 -17
  271. package/js/src/tidex.js +11 -11
  272. package/js/src/timex.js +14 -14
  273. package/js/src/tokocrypto.js +16 -16
  274. package/js/src/upbit.js +18 -18
  275. package/js/src/wavesexchange.js +13 -13
  276. package/js/src/wazirx.js +10 -10
  277. package/js/src/whitebit.js +21 -21
  278. package/js/src/woo.js +28 -22
  279. package/js/src/yobit.js +14 -14
  280. package/js/src/zaif.js +8 -8
  281. package/js/src/zonda.js +13 -13
  282. package/package.json +1 -1
@@ -452,7 +452,7 @@ export default class whitebit extends Exchange {
452
452
  * @description please use fetchDepositWithdrawFees instead
453
453
  * @param {string[]|undefined} codes not used by fetchTransactionFees ()
454
454
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
455
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
455
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
456
456
  */
457
457
  await this.loadMarkets();
458
458
  const response = await this.v4PublicGetFee(params);
@@ -506,7 +506,7 @@ export default class whitebit extends Exchange {
506
506
  * @description fetch deposit and withdraw fees
507
507
  * @param {string[]|undefined} codes not used by fetchDepositWithdrawFees ()
508
508
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
509
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
509
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
510
510
  */
511
511
  await this.loadMarkets();
512
512
  const response = await this.v4PublicGetFee(params);
@@ -654,7 +654,7 @@ export default class whitebit extends Exchange {
654
654
  * @name whitebit#fetchTradingFees
655
655
  * @description fetch the trading fees for multiple markets
656
656
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
657
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
657
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
658
658
  */
659
659
  await this.loadMarkets();
660
660
  const response = await this.v4PublicGetAssets(params);
@@ -702,7 +702,7 @@ export default class whitebit extends Exchange {
702
702
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
703
703
  * @param {string} symbol unified symbol of the market to fetch the ticker for
704
704
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
705
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
705
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
706
706
  */
707
707
  await this.loadMarkets();
708
708
  const market = this.market(symbol);
@@ -790,7 +790,7 @@ export default class whitebit extends Exchange {
790
790
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
791
791
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
792
792
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
793
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
793
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
794
794
  */
795
795
  await this.loadMarkets();
796
796
  symbols = this.marketSymbols(symbols);
@@ -825,7 +825,7 @@ export default class whitebit extends Exchange {
825
825
  * @param {string} symbol unified symbol of the market to fetch the order book for
826
826
  * @param {int} [limit] the maximum amount of order book entries to return
827
827
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
828
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
828
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
829
829
  */
830
830
  await this.loadMarkets();
831
831
  const market = this.market(symbol);
@@ -1117,7 +1117,7 @@ export default class whitebit extends Exchange {
1117
1117
  * @name whitebit#fetchStatus
1118
1118
  * @description the latest known information on the availability of the exchange API
1119
1119
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1120
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1120
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
1121
1121
  */
1122
1122
  const response = await this.v4PublicGetPing(params);
1123
1123
  //
@@ -1159,9 +1159,9 @@ export default class whitebit extends Exchange {
1159
1159
  * @param {string} type 'market' or 'limit'
1160
1160
  * @param {string} side 'buy' or 'sell'
1161
1161
  * @param {float} amount how much of currency you want to trade in units of base currency
1162
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1162
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1163
1163
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1164
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1164
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1165
1165
  */
1166
1166
  await this.loadMarkets();
1167
1167
  const market = this.market(symbol);
@@ -1240,7 +1240,7 @@ export default class whitebit extends Exchange {
1240
1240
  * @param {string} id order id
1241
1241
  * @param {string} symbol unified symbol of the market the order was made in
1242
1242
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1243
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1243
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1244
1244
  */
1245
1245
  if (symbol === undefined) {
1246
1246
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -1335,7 +1335,7 @@ export default class whitebit extends Exchange {
1335
1335
  * @param {int} [since] the earliest time in ms to fetch open orders for
1336
1336
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1337
1337
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1338
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1338
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1339
1339
  */
1340
1340
  if (symbol === undefined) {
1341
1341
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -1380,7 +1380,7 @@ export default class whitebit extends Exchange {
1380
1380
  * @param {int} [since] the earliest time in ms to fetch orders for
1381
1381
  * @param {int} [limit] the maximum number of orde structures to retrieve
1382
1382
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1383
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1383
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1384
1384
  */
1385
1385
  await this.loadMarkets();
1386
1386
  const request = {};
@@ -1541,7 +1541,7 @@ export default class whitebit extends Exchange {
1541
1541
  * @param {int} [since] the earliest time in ms to fetch trades for
1542
1542
  * @param {int} [limit] the maximum number of trades to retrieve
1543
1543
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1544
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1544
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1545
1545
  */
1546
1546
  await this.loadMarkets();
1547
1547
  const request = {
@@ -1585,7 +1585,7 @@ export default class whitebit extends Exchange {
1585
1585
  * @description fetch the deposit address for a currency associated with this account
1586
1586
  * @param {string} code unified currency code
1587
1587
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1588
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1588
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1589
1589
  */
1590
1590
  await this.loadMarkets();
1591
1591
  const currency = this.currency(code);
@@ -1686,7 +1686,7 @@ export default class whitebit extends Exchange {
1686
1686
  * @param {string} fromAccount account to transfer from - main, spot, collateral
1687
1687
  * @param {string} toAccount account to transfer to - main, spot, collateral
1688
1688
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1689
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1689
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1690
1690
  */
1691
1691
  await this.loadMarkets();
1692
1692
  const currency = this.currency(code);
@@ -1732,7 +1732,7 @@ export default class whitebit extends Exchange {
1732
1732
  * @param {string} address the address to withdraw to
1733
1733
  * @param {string} tag
1734
1734
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1735
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1735
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1736
1736
  */
1737
1737
  await this.loadMarkets();
1738
1738
  const currency = this.currency(code); // check if it has canDeposit
@@ -1855,7 +1855,7 @@ export default class whitebit extends Exchange {
1855
1855
  * @param {string} id deposit id
1856
1856
  * @param {string} code not used by whitebit fetchDeposit ()
1857
1857
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1858
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1858
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1859
1859
  */
1860
1860
  await this.loadMarkets();
1861
1861
  let currency = undefined;
@@ -1920,7 +1920,7 @@ export default class whitebit extends Exchange {
1920
1920
  * @param {int} [since] the earliest time in ms to fetch deposits for
1921
1921
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1922
1922
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1923
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1923
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1924
1924
  */
1925
1925
  await this.loadMarkets();
1926
1926
  let currency = undefined;
@@ -1988,7 +1988,7 @@ export default class whitebit extends Exchange {
1988
1988
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
1989
1989
  * @param {int} [limit] the maximum number of structures to retrieve
1990
1990
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
1991
- * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
1991
+ * @returns {object[]} a list of [borrow interest structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-interest-structure}
1992
1992
  */
1993
1993
  await this.loadMarkets();
1994
1994
  const request = {};
@@ -2065,7 +2065,7 @@ export default class whitebit extends Exchange {
2065
2065
  * @description fetch the current funding rate
2066
2066
  * @param {string} symbol unified market symbol
2067
2067
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
2068
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2068
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
2069
2069
  */
2070
2070
  await this.loadMarkets();
2071
2071
  symbol = this.symbol(symbol);
@@ -2080,7 +2080,7 @@ export default class whitebit extends Exchange {
2080
2080
  * @description fetch the funding rate for multiple markets
2081
2081
  * @param {string[]|undefined} symbols list of unified market symbols
2082
2082
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
2083
- * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
2083
+ * @returns {object} a dictionary of [funding rates structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure}, indexe by market symbols
2084
2084
  */
2085
2085
  await this.loadMarkets();
2086
2086
  symbols = this.marketSymbols(symbols);
package/js/src/woo.js CHANGED
@@ -209,9 +209,15 @@ export default class woo extends Exchange {
209
209
  'buypower': 1,
210
210
  'referrals': 60,
211
211
  'referral_rewards': 60,
212
+ 'convert/exchangeInfo': 1,
213
+ 'convert/assetInfo': 1,
214
+ 'convert/rfq': 60,
215
+ 'convert/trade': 1,
216
+ 'convert/trades': 1,
212
217
  },
213
218
  'post': {
214
219
  'algo/order': 5,
220
+ 'convert/rft': 60,
215
221
  },
216
222
  'put': {
217
223
  'order/{oid}': 2,
@@ -538,7 +544,7 @@ export default class woo extends Exchange {
538
544
  * @description fetch the trading fees for multiple markets
539
545
  * @see https://docs.woo.org/#get-account-information-new
540
546
  * @param {object} [params] extra parameters specific to the woo api endpoint
541
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
547
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
542
548
  */
543
549
  await this.loadMarkets();
544
550
  const response = await this.v3PrivateGetAccountinfo(params);
@@ -734,7 +740,7 @@ export default class woo extends Exchange {
734
740
  * @param {string} type 'market' or 'limit'
735
741
  * @param {string} side 'buy' or 'sell'
736
742
  * @param {float} amount how much of currency you want to trade in units of base currency
737
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
743
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
738
744
  * @param {object} [params] extra parameters specific to the woo api endpoint
739
745
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
740
746
  * @param {object} [params.takeProfit] *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered (perpetual swap markets only)
@@ -742,7 +748,7 @@ export default class woo extends Exchange {
742
748
  * @param {object} [params.stopLoss] *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered (perpetual swap markets only)
743
749
  * @param {float} [params.stopLoss.triggerPrice] stop loss trigger price
744
750
  * @param {float} [params.algoType] 'STOP'or 'TRAILING_STOP' or 'OCO' or 'CLOSE_POSITION'
745
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
751
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
746
752
  */
747
753
  const reduceOnly = this.safeValue2(params, 'reduceOnly', 'reduce_only');
748
754
  const orderType = type.toUpperCase();
@@ -912,12 +918,12 @@ export default class woo extends Exchange {
912
918
  * @param {string} type 'market' or 'limit'
913
919
  * @param {string} side 'buy' or 'sell'
914
920
  * @param {float} amount how much of currency you want to trade in units of base currency
915
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
921
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
916
922
  * @param {object} [params] extra parameters specific to the woo api endpoint
917
923
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
918
924
  * @param {float} [params.stopLossPrice] price to trigger stop-loss orders
919
925
  * @param {float} [params.takeProfitPrice] price to trigger take-profit orders
920
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
926
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
921
927
  */
922
928
  await this.loadMarkets();
923
929
  const market = this.market(symbol);
@@ -988,7 +994,7 @@ export default class woo extends Exchange {
988
994
  * @param {string} symbol unified symbol of the market the order was made in
989
995
  * @param {object} [params] extra parameters specific to the woo api endpoint
990
996
  * @param {boolean} [params.stop] whether the order is a stop/algo order
991
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
997
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
992
998
  */
993
999
  const stop = this.safeValue(params, 'stop', false);
994
1000
  params = this.omit(params, 'stop');
@@ -1045,7 +1051,7 @@ export default class woo extends Exchange {
1045
1051
  * @param {string} symbol unified market symbol
1046
1052
  * @param {object} [params] extra parameters specific to the woo api endpoint
1047
1053
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1048
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1054
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1049
1055
  */
1050
1056
  await this.loadMarkets();
1051
1057
  const stop = this.safeValue(params, 'stop');
@@ -1077,7 +1083,7 @@ export default class woo extends Exchange {
1077
1083
  * @param {string} symbol unified symbol of the market the order was made in
1078
1084
  * @param {object} [params] extra parameters specific to the woo api endpoint
1079
1085
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1080
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1086
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1081
1087
  */
1082
1088
  await this.loadMarkets();
1083
1089
  const market = (symbol !== undefined) ? this.market(symbol) : undefined;
@@ -1151,7 +1157,7 @@ export default class woo extends Exchange {
1151
1157
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1152
1158
  * @param {boolean} [params.isTriggered] whether the order has been triggered (false by default)
1153
1159
  * @param {string} [params.side] 'buy' or 'sell'
1154
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1160
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1155
1161
  */
1156
1162
  await this.loadMarkets();
1157
1163
  const request = {};
@@ -1359,7 +1365,7 @@ export default class woo extends Exchange {
1359
1365
  * @param {string} symbol unified symbol of the market to fetch the order book for
1360
1366
  * @param {int} [limit] the maximum amount of order book entries to return
1361
1367
  * @param {object} [params] extra parameters specific to the woo api endpoint
1362
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1368
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1363
1369
  */
1364
1370
  await this.loadMarkets();
1365
1371
  const market = this.market(symbol);
@@ -1466,7 +1472,7 @@ export default class woo extends Exchange {
1466
1472
  * @param {int} [since] the earliest time in ms to fetch trades for
1467
1473
  * @param {int} [limit] the maximum number of trades to retrieve
1468
1474
  * @param {object} [params] extra parameters specific to the woo api endpoint
1469
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1475
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1470
1476
  */
1471
1477
  await this.loadMarkets();
1472
1478
  let market = undefined;
@@ -1507,7 +1513,7 @@ export default class woo extends Exchange {
1507
1513
  * @param {int} [since] the earliest time in ms to fetch trades for
1508
1514
  * @param {int} [limit] the maximum number of trades structures to retrieve
1509
1515
  * @param {object} [params] extra parameters specific to the woo api endpoint
1510
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1516
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1511
1517
  */
1512
1518
  await this.loadMarkets();
1513
1519
  const request = {};
@@ -1552,7 +1558,7 @@ export default class woo extends Exchange {
1552
1558
  * @name woo#fetchAccounts
1553
1559
  * @description fetch all the accounts associated with a profile
1554
1560
  * @param {object} [params] extra parameters specific to the woo api endpoint
1555
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1561
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
1556
1562
  */
1557
1563
  const response = await this.v1PrivateGetSubAccountAssets(params);
1558
1564
  //
@@ -1650,7 +1656,7 @@ export default class woo extends Exchange {
1650
1656
  * @description fetch the deposit address for a currency associated with this account
1651
1657
  * @param {string} code unified currency code
1652
1658
  * @param {object} [params] extra parameters specific to the woo api endpoint
1653
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1659
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1654
1660
  */
1655
1661
  // this method is TODO because of networks unification
1656
1662
  await this.loadMarkets();
@@ -1744,7 +1750,7 @@ export default class woo extends Exchange {
1744
1750
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1745
1751
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1746
1752
  * @param {object} [params] extra parameters specific to the woo api endpoint
1747
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1753
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1748
1754
  */
1749
1755
  const [currency, rows] = await this.getAssetHistoryRows(code, since, limit, params);
1750
1756
  return this.parseLedger(rows, currency, since, limit, params);
@@ -1808,7 +1814,7 @@ export default class woo extends Exchange {
1808
1814
  * @param {int} [since] the earliest time in ms to fetch deposits for
1809
1815
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1810
1816
  * @param {object} [params] extra parameters specific to the woo api endpoint
1811
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1817
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1812
1818
  */
1813
1819
  const request = {
1814
1820
  'token_side': 'DEPOSIT',
@@ -1824,7 +1830,7 @@ export default class woo extends Exchange {
1824
1830
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1825
1831
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1826
1832
  * @param {object} [params] extra parameters specific to the woo api endpoint
1827
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1833
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1828
1834
  */
1829
1835
  const request = {
1830
1836
  'token_side': 'WITHDRAW',
@@ -1840,7 +1846,7 @@ export default class woo extends Exchange {
1840
1846
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1841
1847
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1842
1848
  * @param {object} [params] extra parameters specific to the woo api endpoint
1843
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1849
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1844
1850
  */
1845
1851
  const request = {
1846
1852
  'type': 'BALANCE',
@@ -1913,7 +1919,7 @@ export default class woo extends Exchange {
1913
1919
  * @param {string} fromAccount account to transfer from
1914
1920
  * @param {string} toAccount account to transfer to
1915
1921
  * @param {object} [params] extra parameters specific to the woo api endpoint
1916
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1922
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1917
1923
  */
1918
1924
  await this.loadMarkets();
1919
1925
  const currency = this.currency(code);
@@ -1949,7 +1955,7 @@ export default class woo extends Exchange {
1949
1955
  * @param {int} [since] the earliest time in ms to fetch transfers for
1950
1956
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1951
1957
  * @param {object} [params] extra parameters specific to the woo api endpoint
1952
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1958
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1953
1959
  */
1954
1960
  const request = {
1955
1961
  'type': 'COLLATERAL',
@@ -2040,7 +2046,7 @@ export default class woo extends Exchange {
2040
2046
  * @param {string} address the address to withdraw to
2041
2047
  * @param {string} tag
2042
2048
  * @param {object} [params] extra parameters specific to the woo api endpoint
2043
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2049
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2044
2050
  */
2045
2051
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2046
2052
  await this.loadMarkets();
@@ -2082,7 +2088,7 @@ export default class woo extends Exchange {
2082
2088
  * @param {float} amount the amount to repay
2083
2089
  * @param {string} symbol not used by woo.repayMargin ()
2084
2090
  * @param {object} [params] extra parameters specific to the woo api endpoint
2085
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
2091
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
2086
2092
  */
2087
2093
  await this.loadMarkets();
2088
2094
  let market = undefined;
package/js/src/yobit.js CHANGED
@@ -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];
@@ -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
@@ -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);
@@ -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);