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/bitopro.js CHANGED
@@ -411,7 +411,7 @@ export default class bitopro extends Exchange {
411
411
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
412
412
  * @param {string} symbol unified symbol of the market to fetch the ticker for
413
413
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
414
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
414
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
415
415
  */
416
416
  await this.loadMarkets();
417
417
  const market = this.market(symbol);
@@ -442,7 +442,7 @@ export default class bitopro extends Exchange {
442
442
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
443
443
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
444
444
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
445
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
445
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
446
446
  */
447
447
  await this.loadMarkets();
448
448
  const response = await this.publicGetTickers();
@@ -472,7 +472,7 @@ export default class bitopro extends Exchange {
472
472
  * @param {string} symbol unified symbol of the market to fetch the order book for
473
473
  * @param {int} [limit] the maximum amount of order book entries to return
474
474
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
475
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
475
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
476
476
  */
477
477
  await this.loadMarkets();
478
478
  const market = this.market(symbol);
@@ -603,7 +603,7 @@ export default class bitopro extends Exchange {
603
603
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
604
604
  * @param {int} [limit] the maximum amount of trades to fetch
605
605
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
606
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
606
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
607
607
  */
608
608
  await this.loadMarkets();
609
609
  const market = this.market(symbol);
@@ -632,7 +632,7 @@ export default class bitopro extends Exchange {
632
632
  * @name bitopro#fetchTradingFees
633
633
  * @description fetch the trading fees for multiple markets
634
634
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
635
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
635
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
636
636
  */
637
637
  await this.loadMarkets();
638
638
  const response = await this.publicGetProvisioningLimitationsAndFees(params);
@@ -853,7 +853,7 @@ export default class bitopro extends Exchange {
853
853
  * @name bitopro#fetchBalance
854
854
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
855
855
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
856
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
856
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
857
857
  */
858
858
  await this.loadMarkets();
859
859
  const response = await this.privateGetAccountsBalance(params);
@@ -983,9 +983,9 @@ export default class bitopro extends Exchange {
983
983
  * @param {string} type 'market' or 'limit'
984
984
  * @param {string} side 'buy' or 'sell'
985
985
  * @param {float} amount how much of currency you want to trade in units of base currency
986
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
986
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
987
987
  * @param {object} [params] extra parameters specific to the bitopro 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 market = this.market(symbol);
@@ -1043,7 +1043,7 @@ export default class bitopro extends Exchange {
1043
1043
  * @param {string} id order id
1044
1044
  * @param {string} symbol unified symbol of the market the order was made in
1045
1045
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1046
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1046
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1047
1047
  */
1048
1048
  if (symbol === undefined) {
1049
1049
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires the symbol argument');
@@ -1074,7 +1074,7 @@ export default class bitopro extends Exchange {
1074
1074
  * @param {string[]} ids order ids
1075
1075
  * @param {string} symbol unified market symbol
1076
1076
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1077
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1077
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1078
1078
  */
1079
1079
  if (symbol === undefined) {
1080
1080
  throw new ArgumentsRequired(this.id + ' cancelOrders() requires a symbol argument');
@@ -1104,7 +1104,7 @@ export default class bitopro extends Exchange {
1104
1104
  * @description cancel all open orders
1105
1105
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1106
1106
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1107
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1107
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1108
1108
  */
1109
1109
  await this.loadMarkets();
1110
1110
  const request = {
@@ -1138,7 +1138,7 @@ export default class bitopro extends Exchange {
1138
1138
  * @description fetches information on an order made by the user
1139
1139
  * @param {string} symbol unified symbol of the market the order was made in
1140
1140
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1141
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1141
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1142
1142
  */
1143
1143
  if (symbol === undefined) {
1144
1144
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires the symbol argument');
@@ -1184,7 +1184,7 @@ export default class bitopro extends Exchange {
1184
1184
  * @param {int} [since] the earliest time in ms to fetch orders for
1185
1185
  * @param {int} [limit] the maximum number of orde structures to retrieve
1186
1186
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1187
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1187
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1188
1188
  */
1189
1189
  if (symbol === undefined) {
1190
1190
  throw new ArgumentsRequired(this.id + ' fetchOrders() requires the symbol argument');
@@ -1252,7 +1252,7 @@ export default class bitopro extends Exchange {
1252
1252
  * @param {int} [since] the earliest time in ms to fetch orders for
1253
1253
  * @param {int} [limit] the maximum number of orde structures to retrieve
1254
1254
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1255
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1255
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1256
1256
  */
1257
1257
  const request = {
1258
1258
  'statusKind': 'DONE',
@@ -1268,7 +1268,7 @@ export default class bitopro extends Exchange {
1268
1268
  * @param {int} [since] the earliest time in ms to fetch trades for
1269
1269
  * @param {int} [limit] the maximum number of trades structures to retrieve
1270
1270
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1271
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1271
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1272
1272
  */
1273
1273
  if (symbol === undefined) {
1274
1274
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires the symbol argument');
@@ -1405,7 +1405,7 @@ export default class bitopro extends Exchange {
1405
1405
  * @param {int} [since] the earliest time in ms to fetch deposits for
1406
1406
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1407
1407
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1408
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1408
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1409
1409
  */
1410
1410
  if (code === undefined) {
1411
1411
  throw new ArgumentsRequired(this.id + ' fetchDeposits() requires the code argument');
@@ -1456,7 +1456,7 @@ export default class bitopro extends Exchange {
1456
1456
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1457
1457
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1458
1458
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1459
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1459
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1460
1460
  */
1461
1461
  if (code === undefined) {
1462
1462
  throw new ArgumentsRequired(this.id + ' fetchWithdrawals() requires the code argument');
@@ -1505,7 +1505,7 @@ export default class bitopro extends Exchange {
1505
1505
  * @param {string} id withdrawal id
1506
1506
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
1507
1507
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1508
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1508
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1509
1509
  */
1510
1510
  if (code === undefined) {
1511
1511
  throw new ArgumentsRequired(this.id + ' fetchWithdrawal() requires the code argument');
@@ -1546,7 +1546,7 @@ export default class bitopro extends Exchange {
1546
1546
  * @param {string} address the address to withdraw to
1547
1547
  * @param {string} tag
1548
1548
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1549
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1549
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1550
1550
  */
1551
1551
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1552
1552
  await this.loadMarkets();
@@ -1619,7 +1619,7 @@ export default class bitopro extends Exchange {
1619
1619
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
1620
1620
  * @param {string[]|undefined} codes list of unified currency codes
1621
1621
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1622
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
1622
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1623
1623
  */
1624
1624
  await this.loadMarkets();
1625
1625
  const response = await this.publicGetProvisioningCurrencies(params);
@@ -1669,7 +1669,7 @@ export default class bitopro extends Exchange {
1669
1669
  };
1670
1670
  const data = this.json(rawData);
1671
1671
  const payload = this.stringToBase64(data);
1672
- const signature = this.hmac(payload, this.encode(this.secret), sha384);
1672
+ const signature = this.hmac(this.encode(payload), this.encode(this.secret), sha384);
1673
1673
  headers['X-BITOPRO-APIKEY'] = this.apiKey;
1674
1674
  headers['X-BITOPRO-PAYLOAD'] = payload;
1675
1675
  headers['X-BITOPRO-SIGNATURE'] = signature;
@@ -444,7 +444,7 @@ export default class bitpanda extends Exchange {
444
444
  * @name bitpanda#fetchTradingFees
445
445
  * @description fetch the trading fees for multiple markets
446
446
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
447
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
447
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
448
448
  */
449
449
  let method = this.safeString(params, 'method');
450
450
  params = this.omit(params, 'method');
@@ -618,7 +618,7 @@ export default class bitpanda extends Exchange {
618
618
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
619
619
  * @param {string} symbol unified symbol of the market to fetch the ticker for
620
620
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
621
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
621
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
622
622
  */
623
623
  await this.loadMarkets();
624
624
  const market = this.market(symbol);
@@ -653,7 +653,7 @@ export default class bitpanda extends Exchange {
653
653
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
654
654
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
655
655
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
656
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
656
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
657
657
  */
658
658
  await this.loadMarkets();
659
659
  symbols = this.marketSymbols(symbols);
@@ -694,7 +694,7 @@ export default class bitpanda extends Exchange {
694
694
  * @param {string} symbol unified symbol of the market to fetch the order book for
695
695
  * @param {int} [limit] the maximum amount of order book entries to return
696
696
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
697
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
697
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
698
698
  */
699
699
  await this.loadMarkets();
700
700
  const market = this.market(symbol);
@@ -948,7 +948,7 @@ export default class bitpanda extends Exchange {
948
948
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
949
949
  * @param {int} [limit] the maximum amount of trades to fetch
950
950
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
951
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
951
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
952
952
  */
953
953
  await this.loadMarkets();
954
954
  const market = this.market(symbol);
@@ -1000,7 +1000,7 @@ export default class bitpanda extends Exchange {
1000
1000
  * @name bitpanda#fetchBalance
1001
1001
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1002
1002
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1003
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1003
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1004
1004
  */
1005
1005
  await this.loadMarkets();
1006
1006
  const response = await this.privateGetAccountBalances(params);
@@ -1045,7 +1045,7 @@ export default class bitpanda extends Exchange {
1045
1045
  * @description create a currency deposit address
1046
1046
  * @param {string} code unified currency code of the currency for the deposit address
1047
1047
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1048
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1048
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1049
1049
  */
1050
1050
  await this.loadMarkets();
1051
1051
  const currency = this.currency(code);
@@ -1070,7 +1070,7 @@ export default class bitpanda extends Exchange {
1070
1070
  * @description fetch the deposit address for a currency associated with this account
1071
1071
  * @param {string} code unified currency code
1072
1072
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1073
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1073
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1074
1074
  */
1075
1075
  await this.loadMarkets();
1076
1076
  const currency = this.currency(code);
@@ -1098,7 +1098,7 @@ export default class bitpanda extends Exchange {
1098
1098
  * @param {int} [since] the earliest time in ms to fetch deposits for
1099
1099
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1100
1100
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1101
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1101
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1102
1102
  */
1103
1103
  await this.loadMarkets();
1104
1104
  const request = {
@@ -1162,7 +1162,7 @@ export default class bitpanda extends Exchange {
1162
1162
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1163
1163
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1164
1164
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1165
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1165
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1166
1166
  */
1167
1167
  await this.loadMarkets();
1168
1168
  const request = {
@@ -1228,7 +1228,7 @@ export default class bitpanda extends Exchange {
1228
1228
  * @param {string} address the address to withdraw to
1229
1229
  * @param {string} tag
1230
1230
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1231
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1231
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1232
1232
  */
1233
1233
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1234
1234
  this.checkAddress(address);
@@ -1497,10 +1497,10 @@ export default class bitpanda extends Exchange {
1497
1497
  * @param {string} type 'market' or 'limit'
1498
1498
  * @param {string} side 'buy' or 'sell'
1499
1499
  * @param {float} amount how much of currency you want to trade in units of base currency
1500
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1500
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1501
1501
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1502
1502
  * @param {float} [params.triggerPrice] bitpanda only does stop limit orders and does not do stop market
1503
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1503
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1504
1504
  */
1505
1505
  await this.loadMarkets();
1506
1506
  const market = this.market(symbol);
@@ -1567,7 +1567,7 @@ export default class bitpanda extends Exchange {
1567
1567
  * @param {string} id order id
1568
1568
  * @param {string} symbol not used by bitmex cancelOrder ()
1569
1569
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1570
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1570
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1571
1571
  */
1572
1572
  await this.loadMarkets();
1573
1573
  const clientOrderId = this.safeString2(params, 'clientOrderId', 'client_id');
@@ -1594,7 +1594,7 @@ export default class bitpanda extends Exchange {
1594
1594
  * @description cancel all open orders
1595
1595
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1596
1596
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1597
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1597
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1598
1598
  */
1599
1599
  await this.loadMarkets();
1600
1600
  const request = {};
@@ -1618,7 +1618,7 @@ export default class bitpanda extends Exchange {
1618
1618
  * @param {string[]} ids order ids
1619
1619
  * @param {string} symbol unified market symbol, default is undefined
1620
1620
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1621
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1621
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1622
1622
  */
1623
1623
  await this.loadMarkets();
1624
1624
  const request = {
@@ -1639,7 +1639,7 @@ export default class bitpanda extends Exchange {
1639
1639
  * @description fetches information on an order made by the user
1640
1640
  * @param {string} symbol not used by bitpanda fetchOrder
1641
1641
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1642
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1642
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1643
1643
  */
1644
1644
  await this.loadMarkets();
1645
1645
  const request = {
@@ -1698,7 +1698,7 @@ export default class bitpanda extends Exchange {
1698
1698
  * @param {int} [since] the earliest time in ms to fetch open orders for
1699
1699
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1700
1700
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1701
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1701
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1702
1702
  */
1703
1703
  await this.loadMarkets();
1704
1704
  const request = {
@@ -1818,7 +1818,7 @@ export default class bitpanda extends Exchange {
1818
1818
  * @param {int} [since] the earliest time in ms to fetch orders for
1819
1819
  * @param {int} [limit] the maximum number of orde structures to retrieve
1820
1820
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1821
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1821
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1822
1822
  */
1823
1823
  const request = {
1824
1824
  'with_cancelled_and_rejected': true, // default is false, orders which have been cancelled by the user before being filled or rejected by the system as invalid, additionally, all inactive filled orders which would return with "with_just_filled_inactive"
@@ -1835,7 +1835,7 @@ export default class bitpanda extends Exchange {
1835
1835
  * @param {int} [since] the earliest time in ms to fetch trades for
1836
1836
  * @param {int} [limit] the maximum number of trades to retrieve
1837
1837
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1838
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1838
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1839
1839
  */
1840
1840
  await this.loadMarkets();
1841
1841
  const request = {
@@ -1893,7 +1893,7 @@ export default class bitpanda extends Exchange {
1893
1893
  * @param {int} [since] the earliest time in ms to fetch trades for
1894
1894
  * @param {int} [limit] the maximum number of trades structures to retrieve
1895
1895
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1896
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1896
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1897
1897
  */
1898
1898
  await this.loadMarkets();
1899
1899
  const request = {
package/js/src/bitrue.js CHANGED
@@ -350,7 +350,7 @@ export default class bitrue extends Exchange {
350
350
  * @name bitrue#fetchStatus
351
351
  * @description the latest known information on the availability of the exchange API
352
352
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
353
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
353
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
354
354
  */
355
355
  const response = await this.v1PublicGetPing(params);
356
356
  //
@@ -736,7 +736,7 @@ export default class bitrue extends Exchange {
736
736
  * @name bitrue#fetchBalance
737
737
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
738
738
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
739
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
739
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
740
740
  */
741
741
  await this.loadMarkets();
742
742
  const response = await this.v1PrivateGetAccount(params);
@@ -767,7 +767,7 @@ export default class bitrue extends Exchange {
767
767
  * @param {string} symbol unified symbol of the market to fetch the order book for
768
768
  * @param {int} [limit] the maximum amount of order book entries to return
769
769
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
770
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
770
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
771
771
  */
772
772
  await this.loadMarkets();
773
773
  const market = this.market(symbol);
@@ -846,7 +846,7 @@ export default class bitrue extends Exchange {
846
846
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
847
847
  * @param {string} symbol unified symbol of the market to fetch the ticker for
848
848
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
849
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
849
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
850
850
  */
851
851
  await this.loadMarkets();
852
852
  const market = this.market(symbol);
@@ -955,7 +955,7 @@ export default class bitrue extends Exchange {
955
955
  * @description fetches the bid and ask price and volume for multiple markets
956
956
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
957
957
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
958
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
958
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
959
959
  */
960
960
  await this.loadMarkets();
961
961
  const defaultType = this.safeString2(this.options, 'fetchBidsAsks', 'defaultType', 'spot');
@@ -981,7 +981,7 @@ export default class bitrue extends Exchange {
981
981
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
982
982
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
983
983
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
984
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
984
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
985
985
  */
986
986
  await this.loadMarkets();
987
987
  const request = {
@@ -1119,7 +1119,7 @@ export default class bitrue extends Exchange {
1119
1119
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1120
1120
  * @param {int} [limit] the maximum amount of trades to fetch
1121
1121
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1122
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1122
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1123
1123
  */
1124
1124
  await this.loadMarkets();
1125
1125
  const market = this.market(symbol);
@@ -1291,9 +1291,9 @@ export default class bitrue extends Exchange {
1291
1291
  * @param {string} type 'market' or 'limit'
1292
1292
  * @param {string} side 'buy' or 'sell'
1293
1293
  * @param {float} amount how much of currency you want to trade in units of base currency
1294
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1294
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1295
1295
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1296
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1296
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1297
1297
  */
1298
1298
  await this.loadMarkets();
1299
1299
  const market = this.market(symbol);
@@ -1347,7 +1347,7 @@ export default class bitrue extends Exchange {
1347
1347
  * @description fetches information on an order made by the user
1348
1348
  * @param {string} symbol unified symbol of the market the order was made in
1349
1349
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1350
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1350
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1351
1351
  */
1352
1352
  if (symbol === undefined) {
1353
1353
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -1377,7 +1377,7 @@ export default class bitrue extends Exchange {
1377
1377
  * @param {int} [since] the earliest time in ms to fetch orders for
1378
1378
  * @param {int} [limit] the maximum number of orde structures to retrieve
1379
1379
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1380
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1380
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1381
1381
  */
1382
1382
  if (symbol === undefined) {
1383
1383
  throw new ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -1431,7 +1431,7 @@ export default class bitrue extends Exchange {
1431
1431
  * @param {int} [since] the earliest time in ms to fetch open orders for
1432
1432
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1433
1433
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1434
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1434
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1435
1435
  */
1436
1436
  if (symbol === undefined) {
1437
1437
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -1474,7 +1474,7 @@ export default class bitrue extends Exchange {
1474
1474
  * @param {string} id order id
1475
1475
  * @param {string} symbol unified symbol of the market the order was made in
1476
1476
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1477
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1477
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1478
1478
  */
1479
1479
  if (symbol === undefined) {
1480
1480
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -1515,7 +1515,7 @@ export default class bitrue extends Exchange {
1515
1515
  * @param {int} [since] the earliest time in ms to fetch trades for
1516
1516
  * @param {int} [limit] the maximum number of trades structures to retrieve
1517
1517
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1518
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1518
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1519
1519
  */
1520
1520
  const method = this.safeString(this.options, 'fetchMyTradesMethod', 'v2PrivateGetMyTrades');
1521
1521
  if ((symbol === undefined) && (method === 'v2PrivateGetMyTrades')) {
@@ -1570,7 +1570,7 @@ export default class bitrue extends Exchange {
1570
1570
  * @param {int} [since] the earliest time in ms to fetch deposits for
1571
1571
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1572
1572
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1573
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1573
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1574
1574
  */
1575
1575
  if (code === undefined) {
1576
1576
  throw new ArgumentsRequired(this.id + ' fetchDeposits() requires a code argument');
@@ -1641,7 +1641,7 @@ export default class bitrue extends Exchange {
1641
1641
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1642
1642
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1643
1643
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1644
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1644
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1645
1645
  */
1646
1646
  if (code === undefined) {
1647
1647
  throw new ArgumentsRequired(this.id + ' fetchWithdrawals() requires a code argument');
@@ -1831,7 +1831,7 @@ export default class bitrue extends Exchange {
1831
1831
  * @param {string} address the address to withdraw to
1832
1832
  * @param {string} tag
1833
1833
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1834
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1834
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1835
1835
  */
1836
1836
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1837
1837
  this.checkAddress(address);
@@ -1930,7 +1930,7 @@ export default class bitrue extends Exchange {
1930
1930
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
1931
1931
  * @param {string[]|undefined} codes list of unified currency codes
1932
1932
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1933
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
1933
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1934
1934
  */
1935
1935
  await this.loadMarkets();
1936
1936
  const response = await this.v1PublicGetExchangeInfo(params);