ccxt 4.1.56 → 4.1.58

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 (318) hide show
  1. package/.git-templates/hooks/pre-push +2 -2
  2. package/README.md +3 -3
  3. package/build.sh +30 -18
  4. package/dist/ccxt.browser.js +3893 -3214
  5. package/dist/ccxt.browser.min.js +10 -10
  6. package/dist/cjs/ccxt.js +1 -1
  7. package/dist/cjs/src/ace.js +17 -13
  8. package/dist/cjs/src/alpaca.js +6 -6
  9. package/dist/cjs/src/ascendex.js +35 -29
  10. package/dist/cjs/src/base/Exchange.js +39 -26
  11. package/dist/cjs/src/base/Precise.js +1 -3
  12. package/dist/cjs/src/base/ws/Client.js +1 -1
  13. package/dist/cjs/src/bigone.js +24 -20
  14. package/dist/cjs/src/binance.js +97 -76
  15. package/dist/cjs/src/bingx.js +63 -44
  16. package/dist/cjs/src/bit2c.js +18 -15
  17. package/dist/cjs/src/bitbank.js +16 -15
  18. package/dist/cjs/src/bitbns.js +28 -18
  19. package/dist/cjs/src/bitfinex.js +23 -21
  20. package/dist/cjs/src/bitfinex2.js +32 -28
  21. package/dist/cjs/src/bitflyer.js +28 -20
  22. package/dist/cjs/src/bitforex.js +25 -18
  23. package/dist/cjs/src/bitget.js +184 -147
  24. package/dist/cjs/src/bithumb.js +23 -16
  25. package/dist/cjs/src/bitmart.js +110 -89
  26. package/dist/cjs/src/bitmex.js +104 -64
  27. package/dist/cjs/src/bitopro.js +38 -26
  28. package/dist/cjs/src/bitpanda.js +24 -23
  29. package/dist/cjs/src/bitrue.js +33 -24
  30. package/dist/cjs/src/bitso.js +24 -23
  31. package/dist/cjs/src/bitstamp.js +24 -23
  32. package/dist/cjs/src/bittrex.js +30 -29
  33. package/dist/cjs/src/bitvavo.js +38 -30
  34. package/dist/cjs/src/bl3p.js +11 -10
  35. package/dist/cjs/src/blockchaincom.js +20 -20
  36. package/dist/cjs/src/btcalpha.js +18 -17
  37. package/dist/cjs/src/btcbox.js +13 -12
  38. package/dist/cjs/src/btcmarkets.js +20 -19
  39. package/dist/cjs/src/btcturk.js +14 -13
  40. package/dist/cjs/src/bybit.js +84 -54
  41. package/dist/cjs/src/cex.js +16 -14
  42. package/dist/cjs/src/coinbase.js +29 -27
  43. package/dist/cjs/src/coinbasepro.js +27 -25
  44. package/dist/cjs/src/coincheck.js +15 -14
  45. package/dist/cjs/src/coinex.js +100 -77
  46. package/dist/cjs/src/coinlist.js +28 -27
  47. package/dist/cjs/src/coinmate.js +20 -17
  48. package/dist/cjs/src/coinone.js +21 -16
  49. package/dist/cjs/src/coinsph.js +37 -28
  50. package/dist/cjs/src/coinspot.js +12 -11
  51. package/dist/cjs/src/cryptocom.js +40 -202
  52. package/dist/cjs/src/currencycom.js +32 -25
  53. package/dist/cjs/src/delta.js +34 -28
  54. package/dist/cjs/src/deribit.js +39 -36
  55. package/dist/cjs/src/digifinex.js +64 -44
  56. package/dist/cjs/src/exmo.js +29 -27
  57. package/dist/cjs/src/gate.js +67 -53
  58. package/dist/cjs/src/gemini.js +23 -20
  59. package/dist/cjs/src/hitbtc.js +65 -56
  60. package/dist/cjs/src/hollaex.js +30 -27
  61. package/dist/cjs/src/htx.js +132 -143
  62. package/dist/cjs/src/huobijp.js +22 -20
  63. package/dist/cjs/src/idex.js +22 -21
  64. package/dist/cjs/src/independentreserve.js +15 -14
  65. package/dist/cjs/src/indodax.js +30 -26
  66. package/dist/cjs/src/kraken.js +29 -27
  67. package/dist/cjs/src/krakenfutures.js +29 -22
  68. package/dist/cjs/src/kucoin.js +48 -43
  69. package/dist/cjs/src/kucoinfutures.js +33 -28
  70. package/dist/cjs/src/kuna.js +25 -24
  71. package/dist/cjs/src/latoken.js +24 -22
  72. package/dist/cjs/src/lbank.js +45 -30
  73. package/dist/cjs/src/luno.js +22 -19
  74. package/dist/cjs/src/lykke.js +19 -17
  75. package/dist/cjs/src/mercado.js +30 -19
  76. package/dist/cjs/src/mexc.js +60 -49
  77. package/dist/cjs/src/ndax.js +23 -22
  78. package/dist/cjs/src/novadax.js +23 -22
  79. package/dist/cjs/src/oceanex.js +22 -19
  80. package/dist/cjs/src/okcoin.js +29 -23
  81. package/dist/cjs/src/okx.js +87 -82
  82. package/dist/cjs/src/p2b.js +79 -82
  83. package/dist/cjs/src/paymium.js +10 -10
  84. package/dist/cjs/src/phemex.js +63 -40
  85. package/dist/cjs/src/poloniex.js +22 -22
  86. package/dist/cjs/src/poloniexfutures.js +23 -19
  87. package/dist/cjs/src/pro/alpaca.js +5 -5
  88. package/dist/cjs/src/pro/ascendex.js +4 -4
  89. package/dist/cjs/src/pro/binance.js +16 -16
  90. package/dist/cjs/src/pro/bingx.js +1 -1
  91. package/dist/cjs/src/pro/bitfinex.js +4 -4
  92. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  93. package/dist/cjs/src/pro/bitget.js +7 -7
  94. package/dist/cjs/src/pro/bitmart.js +7 -5
  95. package/dist/cjs/src/pro/bitmex.js +6 -6
  96. package/dist/cjs/src/pro/bitopro.js +4 -4
  97. package/dist/cjs/src/pro/bitpanda.js +6 -6
  98. package/dist/cjs/src/pro/bitrue.js +2 -2
  99. package/dist/cjs/src/pro/bitstamp.js +6 -4
  100. package/dist/cjs/src/pro/bittrex.js +15 -6
  101. package/dist/cjs/src/pro/bitvavo.js +11 -7
  102. package/dist/cjs/src/pro/blockchaincom.js +8 -8
  103. package/dist/cjs/src/pro/bybit.js +7 -7
  104. package/dist/cjs/src/pro/cex.js +13 -9
  105. package/dist/cjs/src/pro/coinbase.js +5 -5
  106. package/dist/cjs/src/pro/coinbasepro.js +11 -10
  107. package/dist/cjs/src/pro/coinex.js +7 -9
  108. package/dist/cjs/src/pro/cryptocom.js +9 -9
  109. package/dist/cjs/src/pro/currencycom.js +4 -4
  110. package/dist/cjs/src/pro/deribit.js +6 -6
  111. package/dist/cjs/src/pro/exmo.js +12 -14
  112. package/dist/cjs/src/pro/gate.js +7 -7
  113. package/dist/cjs/src/pro/gemini.js +3 -3
  114. package/dist/cjs/src/pro/hitbtc.js +263 -4
  115. package/dist/cjs/src/pro/hollaex.js +5 -5
  116. package/dist/cjs/src/pro/htx.js +6 -6
  117. package/dist/cjs/src/pro/huobijp.js +3 -3
  118. package/dist/cjs/src/pro/idex.js +4 -4
  119. package/dist/cjs/src/pro/independentreserve.js +2 -2
  120. package/dist/cjs/src/pro/kraken.js +10 -10
  121. package/dist/cjs/src/pro/krakenfutures.js +41 -17
  122. package/dist/cjs/src/pro/kucoin.js +7 -7
  123. package/dist/cjs/src/pro/kucoinfutures.js +8 -6
  124. package/dist/cjs/src/pro/luno.js +2 -2
  125. package/dist/cjs/src/pro/mexc.js +6 -6
  126. package/dist/cjs/src/pro/ndax.js +3 -3
  127. package/dist/cjs/src/pro/okcoin.js +5 -5
  128. package/dist/cjs/src/pro/okx.js +12 -12
  129. package/dist/cjs/src/pro/phemex.js +6 -6
  130. package/dist/cjs/src/pro/poloniex.js +7 -7
  131. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  132. package/dist/cjs/src/pro/probit.js +6 -6
  133. package/dist/cjs/src/pro/upbit.js +3 -3
  134. package/dist/cjs/src/pro/wazirx.js +8 -8
  135. package/dist/cjs/src/pro/whitebit.js +12 -8
  136. package/dist/cjs/src/pro/woo.js +1 -1
  137. package/dist/cjs/src/probit.js +28 -23
  138. package/dist/cjs/src/tidex.js +16 -15
  139. package/dist/cjs/src/timex.js +19 -18
  140. package/dist/cjs/src/tokocrypto.js +27 -22
  141. package/dist/cjs/src/upbit.js +19 -19
  142. package/dist/cjs/src/wavesexchange.js +22 -19
  143. package/dist/cjs/src/wazirx.js +24 -17
  144. package/dist/cjs/src/whitebit.js +33 -27
  145. package/dist/cjs/src/woo.js +44 -34
  146. package/dist/cjs/src/yobit.js +25 -20
  147. package/dist/cjs/src/zaif.js +9 -9
  148. package/dist/cjs/src/zonda.js +18 -17
  149. package/js/ccxt.d.ts +1 -1
  150. package/js/ccxt.js +1 -1
  151. package/js/src/abstract/bybit.d.ts +1 -0
  152. package/js/src/abstract/cryptocom.d.ts +0 -20
  153. package/js/src/ace.js +18 -14
  154. package/js/src/alpaca.js +6 -6
  155. package/js/src/ascendex.js +35 -29
  156. package/js/src/base/Exchange.d.ts +37 -34
  157. package/js/src/base/Exchange.js +39 -26
  158. package/js/src/base/Precise.d.ts +4 -4
  159. package/js/src/base/Precise.js +1 -3
  160. package/js/src/base/functions/type.d.ts +25 -25
  161. package/js/src/base/types.d.ts +21 -14
  162. package/js/src/base/ws/Client.js +1 -1
  163. package/js/src/bigone.js +25 -21
  164. package/js/src/binance.d.ts +2 -2
  165. package/js/src/binance.js +97 -76
  166. package/js/src/bingx.js +63 -44
  167. package/js/src/bit2c.js +19 -16
  168. package/js/src/bitbank.js +16 -15
  169. package/js/src/bitbns.js +28 -18
  170. package/js/src/bitfinex.js +23 -21
  171. package/js/src/bitfinex2.js +32 -28
  172. package/js/src/bitflyer.js +28 -20
  173. package/js/src/bitforex.js +26 -19
  174. package/js/src/bitget.d.ts +25 -3
  175. package/js/src/bitget.js +184 -147
  176. package/js/src/bithumb.js +23 -16
  177. package/js/src/bitmart.d.ts +1 -1
  178. package/js/src/bitmart.js +110 -89
  179. package/js/src/bitmex.d.ts +2 -2
  180. package/js/src/bitmex.js +104 -64
  181. package/js/src/bitopro.js +38 -26
  182. package/js/src/bitpanda.js +24 -23
  183. package/js/src/bitrue.js +33 -24
  184. package/js/src/bitso.js +24 -23
  185. package/js/src/bitstamp.d.ts +2 -2
  186. package/js/src/bitstamp.js +24 -23
  187. package/js/src/bittrex.js +30 -29
  188. package/js/src/bitvavo.js +38 -30
  189. package/js/src/bl3p.js +11 -10
  190. package/js/src/blockchaincom.js +20 -20
  191. package/js/src/btcalpha.js +18 -17
  192. package/js/src/btcbox.js +13 -12
  193. package/js/src/btcmarkets.js +20 -19
  194. package/js/src/btcturk.js +14 -13
  195. package/js/src/bybit.d.ts +1 -1
  196. package/js/src/bybit.js +84 -54
  197. package/js/src/cex.js +16 -14
  198. package/js/src/coinbase.js +29 -27
  199. package/js/src/coinbasepro.js +27 -25
  200. package/js/src/coincheck.js +15 -14
  201. package/js/src/coinex.d.ts +1 -1
  202. package/js/src/coinex.js +100 -77
  203. package/js/src/coinlist.js +28 -27
  204. package/js/src/coinmate.js +21 -18
  205. package/js/src/coinone.js +21 -16
  206. package/js/src/coinsph.js +37 -28
  207. package/js/src/coinspot.js +12 -11
  208. package/js/src/cryptocom.d.ts +0 -23
  209. package/js/src/cryptocom.js +40 -202
  210. package/js/src/currencycom.js +32 -25
  211. package/js/src/delta.js +35 -29
  212. package/js/src/deribit.js +39 -36
  213. package/js/src/digifinex.d.ts +2 -2
  214. package/js/src/digifinex.js +65 -45
  215. package/js/src/exmo.js +29 -27
  216. package/js/src/gate.d.ts +1 -1
  217. package/js/src/gate.js +67 -53
  218. package/js/src/gemini.js +23 -20
  219. package/js/src/hitbtc.d.ts +1 -0
  220. package/js/src/hitbtc.js +65 -56
  221. package/js/src/hollaex.js +30 -27
  222. package/js/src/htx.d.ts +11 -3
  223. package/js/src/htx.js +132 -143
  224. package/js/src/huobijp.js +23 -21
  225. package/js/src/idex.js +22 -21
  226. package/js/src/independentreserve.js +15 -14
  227. package/js/src/indodax.js +30 -26
  228. package/js/src/kraken.js +29 -27
  229. package/js/src/krakenfutures.js +29 -22
  230. package/js/src/kucoin.d.ts +1 -1
  231. package/js/src/kucoin.js +48 -43
  232. package/js/src/kucoinfutures.js +33 -28
  233. package/js/src/kuna.js +25 -24
  234. package/js/src/latoken.js +25 -23
  235. package/js/src/lbank.js +46 -31
  236. package/js/src/luno.js +22 -19
  237. package/js/src/lykke.js +19 -17
  238. package/js/src/mercado.js +30 -19
  239. package/js/src/mexc.d.ts +1 -1
  240. package/js/src/mexc.js +60 -49
  241. package/js/src/ndax.js +23 -22
  242. package/js/src/novadax.js +23 -22
  243. package/js/src/oceanex.js +22 -19
  244. package/js/src/okcoin.js +29 -23
  245. package/js/src/okx.d.ts +2 -2
  246. package/js/src/okx.js +87 -82
  247. package/js/src/p2b.d.ts +8 -7
  248. package/js/src/p2b.js +79 -81
  249. package/js/src/paymium.js +10 -10
  250. package/js/src/phemex.js +63 -40
  251. package/js/src/poloniex.js +22 -22
  252. package/js/src/poloniexfutures.js +23 -19
  253. package/js/src/pro/alpaca.js +5 -5
  254. package/js/src/pro/ascendex.js +4 -4
  255. package/js/src/pro/binance.js +16 -16
  256. package/js/src/pro/bingx.js +1 -1
  257. package/js/src/pro/bitfinex.js +4 -4
  258. package/js/src/pro/bitfinex2.d.ts +1 -1
  259. package/js/src/pro/bitfinex2.js +6 -6
  260. package/js/src/pro/bitget.js +7 -7
  261. package/js/src/pro/bitmart.js +7 -5
  262. package/js/src/pro/bitmex.js +6 -6
  263. package/js/src/pro/bitopro.js +4 -4
  264. package/js/src/pro/bitpanda.js +6 -6
  265. package/js/src/pro/bitrue.js +2 -2
  266. package/js/src/pro/bitstamp.js +7 -5
  267. package/js/src/pro/bittrex.js +15 -6
  268. package/js/src/pro/bitvavo.js +12 -8
  269. package/js/src/pro/blockchaincom.js +8 -8
  270. package/js/src/pro/bybit.js +7 -7
  271. package/js/src/pro/cex.js +14 -10
  272. package/js/src/pro/coinbase.js +5 -5
  273. package/js/src/pro/coinbasepro.js +12 -11
  274. package/js/src/pro/coinex.js +7 -9
  275. package/js/src/pro/cryptocom.js +9 -9
  276. package/js/src/pro/currencycom.js +4 -4
  277. package/js/src/pro/deribit.js +6 -6
  278. package/js/src/pro/exmo.js +12 -14
  279. package/js/src/pro/gate.js +7 -7
  280. package/js/src/pro/gemini.js +3 -3
  281. package/js/src/pro/hitbtc.d.ts +8 -1
  282. package/js/src/pro/hitbtc.js +264 -5
  283. package/js/src/pro/hollaex.js +5 -5
  284. package/js/src/pro/htx.js +6 -6
  285. package/js/src/pro/huobijp.js +3 -3
  286. package/js/src/pro/idex.js +4 -4
  287. package/js/src/pro/independentreserve.js +2 -2
  288. package/js/src/pro/kraken.js +10 -10
  289. package/js/src/pro/krakenfutures.d.ts +1 -0
  290. package/js/src/pro/krakenfutures.js +42 -18
  291. package/js/src/pro/kucoin.js +7 -7
  292. package/js/src/pro/kucoinfutures.js +8 -6
  293. package/js/src/pro/luno.js +2 -2
  294. package/js/src/pro/mexc.js +6 -6
  295. package/js/src/pro/ndax.js +3 -3
  296. package/js/src/pro/okcoin.js +5 -5
  297. package/js/src/pro/okx.js +12 -12
  298. package/js/src/pro/phemex.js +6 -6
  299. package/js/src/pro/poloniex.js +7 -7
  300. package/js/src/pro/poloniexfutures.js +5 -5
  301. package/js/src/pro/probit.js +6 -6
  302. package/js/src/pro/upbit.js +3 -3
  303. package/js/src/pro/wazirx.js +8 -8
  304. package/js/src/pro/whitebit.js +13 -9
  305. package/js/src/pro/woo.js +1 -1
  306. package/js/src/probit.js +29 -24
  307. package/js/src/tidex.js +16 -15
  308. package/js/src/timex.js +19 -18
  309. package/js/src/tokocrypto.js +28 -23
  310. package/js/src/upbit.js +19 -19
  311. package/js/src/wavesexchange.js +23 -20
  312. package/js/src/wazirx.js +25 -18
  313. package/js/src/whitebit.js +33 -27
  314. package/js/src/woo.js +45 -35
  315. package/js/src/yobit.js +25 -20
  316. package/js/src/zaif.js +9 -9
  317. package/js/src/zonda.js +18 -17
  318. package/package.json +1 -1
@@ -34,11 +34,11 @@ class bitopro extends bitopro$1 {
34
34
  'createOrder': true,
35
35
  'editOrder': false,
36
36
  'fetchBalance': true,
37
- 'fetchBorrowRate': false,
38
37
  'fetchBorrowRateHistories': false,
39
38
  'fetchBorrowRateHistory': false,
40
- 'fetchBorrowRates': false,
41
39
  'fetchClosedOrders': true,
40
+ 'fetchCrossBorrowRate': false,
41
+ 'fetchCrossBorrowRates': false,
42
42
  'fetchCurrencies': true,
43
43
  'fetchDepositAddress': false,
44
44
  'fetchDeposits': true,
@@ -50,6 +50,8 @@ class bitopro extends bitopro$1 {
50
50
  'fetchFundingRateHistory': false,
51
51
  'fetchFundingRates': false,
52
52
  'fetchIndexOHLCV': false,
53
+ 'fetchIsolatedBorrowRate': false,
54
+ 'fetchIsolatedBorrowRates': false,
53
55
  'fetchMarginMode': false,
54
56
  'fetchMarkets': true,
55
57
  'fetchMarkOHLCV': false,
@@ -410,7 +412,7 @@ class bitopro extends bitopro$1 {
410
412
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
411
413
  * @param {string} symbol unified symbol of the market to fetch the ticker for
412
414
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
413
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
415
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
414
416
  */
415
417
  await this.loadMarkets();
416
418
  const market = this.market(symbol);
@@ -442,7 +444,7 @@ class bitopro extends bitopro$1 {
442
444
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
443
445
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
444
446
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
445
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
447
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
446
448
  */
447
449
  await this.loadMarkets();
448
450
  const response = await this.publicGetTickers();
@@ -473,7 +475,7 @@ class bitopro extends bitopro$1 {
473
475
  * @param {string} symbol unified symbol of the market to fetch the order book for
474
476
  * @param {int} [limit] the maximum amount of order book entries to return
475
477
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
476
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
478
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
477
479
  */
478
480
  await this.loadMarkets();
479
481
  const market = this.market(symbol);
@@ -605,7 +607,7 @@ class bitopro extends bitopro$1 {
605
607
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
606
608
  * @param {int} [limit] the maximum amount of trades to fetch
607
609
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
608
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
610
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
609
611
  */
610
612
  await this.loadMarkets();
611
613
  const market = this.market(symbol);
@@ -635,7 +637,7 @@ class bitopro extends bitopro$1 {
635
637
  * @description fetch the trading fees for multiple markets
636
638
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_limitations_and_fees.md
637
639
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
638
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
640
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
639
641
  */
640
642
  await this.loadMarkets();
641
643
  const response = await this.publicGetProvisioningLimitationsAndFees(params);
@@ -858,7 +860,7 @@ class bitopro extends bitopro$1 {
858
860
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
859
861
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_account_balance.md
860
862
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
861
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
863
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
862
864
  */
863
865
  await this.loadMarkets();
864
866
  const response = await this.privateGetAccountsBalance(params);
@@ -991,7 +993,7 @@ class bitopro extends bitopro$1 {
991
993
  * @param {float} amount how much of currency you want to trade in units of base currency
992
994
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
993
995
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
994
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
996
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
995
997
  */
996
998
  await this.loadMarkets();
997
999
  const market = this.market(symbol);
@@ -1050,9 +1052,11 @@ class bitopro extends bitopro$1 {
1050
1052
  * @param {string} id order id
1051
1053
  * @param {string} symbol unified symbol of the market the order was made in
1052
1054
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1053
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1055
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1054
1056
  */
1055
- this.checkRequiredSymbol('cancelOrder', symbol);
1057
+ if (symbol === undefined) {
1058
+ throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
1059
+ }
1056
1060
  await this.loadMarkets();
1057
1061
  const market = this.market(symbol);
1058
1062
  const request = {
@@ -1080,9 +1084,11 @@ class bitopro extends bitopro$1 {
1080
1084
  * @param {string[]} ids order ids
1081
1085
  * @param {string} symbol unified market symbol
1082
1086
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1083
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1087
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1084
1088
  */
1085
- this.checkRequiredSymbol('cancelOrders', symbol);
1089
+ if (symbol === undefined) {
1090
+ throw new errors.ArgumentsRequired(this.id + ' cancelOrders() requires a symbol argument');
1091
+ }
1086
1092
  await this.loadMarkets();
1087
1093
  const market = this.market(symbol);
1088
1094
  const id = market['uppercaseId'];
@@ -1109,7 +1115,7 @@ class bitopro extends bitopro$1 {
1109
1115
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_all_orders.md
1110
1116
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1111
1117
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1112
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1118
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1113
1119
  */
1114
1120
  await this.loadMarkets();
1115
1121
  const request = {
@@ -1145,9 +1151,11 @@ class bitopro extends bitopro$1 {
1145
1151
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_an_order_data.md
1146
1152
  * @param {string} symbol unified symbol of the market the order was made in
1147
1153
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1148
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1154
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1149
1155
  */
1150
- this.checkRequiredSymbol('fetchOrder', symbol);
1156
+ if (symbol === undefined) {
1157
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1158
+ }
1151
1159
  await this.loadMarkets();
1152
1160
  const market = this.market(symbol);
1153
1161
  const request = {
@@ -1190,9 +1198,11 @@ class bitopro extends bitopro$1 {
1190
1198
  * @param {int} [since] the earliest time in ms to fetch orders for
1191
1199
  * @param {int} [limit] the maximum number of order structures to retrieve
1192
1200
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1193
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1201
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1194
1202
  */
1195
- this.checkRequiredSymbol('fetchOrders', symbol);
1203
+ if (symbol === undefined) {
1204
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
1205
+ }
1196
1206
  await this.loadMarkets();
1197
1207
  const market = this.market(symbol);
1198
1208
  const request = {
@@ -1257,7 +1267,7 @@ class bitopro extends bitopro$1 {
1257
1267
  * @param {int} [since] the earliest time in ms to fetch orders for
1258
1268
  * @param {int} [limit] the maximum number of orde structures to retrieve
1259
1269
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1260
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1270
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1261
1271
  */
1262
1272
  const request = {
1263
1273
  'statusKind': 'DONE',
@@ -1274,9 +1284,11 @@ class bitopro extends bitopro$1 {
1274
1284
  * @param {int} [since] the earliest time in ms to fetch trades for
1275
1285
  * @param {int} [limit] the maximum number of trades structures to retrieve
1276
1286
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1277
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1287
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1278
1288
  */
1279
- this.checkRequiredSymbol('fetchMyTrades', symbol);
1289
+ if (symbol === undefined) {
1290
+ throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
1291
+ }
1280
1292
  await this.loadMarkets();
1281
1293
  const market = this.market(symbol);
1282
1294
  const request = {
@@ -1411,7 +1423,7 @@ class bitopro extends bitopro$1 {
1411
1423
  * @param {int} [since] the earliest time in ms to fetch deposits for
1412
1424
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1413
1425
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1414
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1426
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1415
1427
  */
1416
1428
  if (code === undefined) {
1417
1429
  throw new errors.ArgumentsRequired(this.id + ' fetchDeposits() requires the code argument');
@@ -1463,7 +1475,7 @@ class bitopro extends bitopro$1 {
1463
1475
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1464
1476
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1465
1477
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1466
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1478
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1467
1479
  */
1468
1480
  if (code === undefined) {
1469
1481
  throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawals() requires the code argument');
@@ -1513,7 +1525,7 @@ class bitopro extends bitopro$1 {
1513
1525
  * @param {string} id withdrawal id
1514
1526
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
1515
1527
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1516
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1528
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1517
1529
  */
1518
1530
  if (code === undefined) {
1519
1531
  throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawal() requires the code argument');
@@ -1555,7 +1567,7 @@ class bitopro extends bitopro$1 {
1555
1567
  * @param {string} address the address to withdraw to
1556
1568
  * @param {string} tag
1557
1569
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1558
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1570
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1559
1571
  */
1560
1572
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1561
1573
  await this.loadMarkets();
@@ -1628,7 +1640,7 @@ class bitopro extends bitopro$1 {
1628
1640
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_currency_info.md
1629
1641
  * @param {string[]|undefined} codes list of unified currency codes
1630
1642
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
1631
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1643
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1632
1644
  */
1633
1645
  await this.loadMarkets();
1634
1646
  const response = await this.publicGetProvisioningCurrencies(params);
@@ -40,12 +40,11 @@ class bitpanda extends bitpanda$1 {
40
40
  'createStopOrder': true,
41
41
  'fetchAccounts': false,
42
42
  'fetchBalance': true,
43
- 'fetchBorrowRate': false,
44
43
  'fetchBorrowRateHistories': false,
45
44
  'fetchBorrowRateHistory': false,
46
- 'fetchBorrowRates': false,
47
- 'fetchBorrowRatesPerSymbol': false,
48
45
  'fetchClosedOrders': true,
46
+ 'fetchCrossBorrowRate': false,
47
+ 'fetchCrossBorrowRates': false,
49
48
  'fetchCurrencies': true,
50
49
  'fetchDeposit': false,
51
50
  'fetchDepositAddress': true,
@@ -57,6 +56,8 @@ class bitpanda extends bitpanda$1 {
57
56
  'fetchFundingRateHistory': false,
58
57
  'fetchFundingRates': false,
59
58
  'fetchIndexOHLCV': false,
59
+ 'fetchIsolatedBorrowRate': false,
60
+ 'fetchIsolatedBorrowRates': false,
60
61
  'fetchLedger': false,
61
62
  'fetchLeverage': false,
62
63
  'fetchMarginMode': false,
@@ -440,7 +441,7 @@ class bitpanda extends bitpanda$1 {
440
441
  * @name bitpanda#fetchTradingFees
441
442
  * @description fetch the trading fees for multiple markets
442
443
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
443
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
444
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
444
445
  */
445
446
  let method = this.safeString(params, 'method');
446
447
  params = this.omit(params, 'method');
@@ -614,7 +615,7 @@ class bitpanda extends bitpanda$1 {
614
615
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
615
616
  * @param {string} symbol unified symbol of the market to fetch the ticker for
616
617
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
617
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
618
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
618
619
  */
619
620
  await this.loadMarkets();
620
621
  const market = this.market(symbol);
@@ -649,7 +650,7 @@ class bitpanda extends bitpanda$1 {
649
650
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
650
651
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
651
652
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
652
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
653
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
653
654
  */
654
655
  await this.loadMarkets();
655
656
  symbols = this.marketSymbols(symbols);
@@ -690,7 +691,7 @@ class bitpanda extends bitpanda$1 {
690
691
  * @param {string} symbol unified symbol of the market to fetch the order book for
691
692
  * @param {int} [limit] the maximum amount of order book entries to return
692
693
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
693
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
694
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
694
695
  */
695
696
  await this.loadMarkets();
696
697
  const market = this.market(symbol);
@@ -944,7 +945,7 @@ class bitpanda extends bitpanda$1 {
944
945
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
945
946
  * @param {int} [limit] the maximum amount of trades to fetch
946
947
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
947
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
948
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
948
949
  */
949
950
  await this.loadMarkets();
950
951
  const market = this.market(symbol);
@@ -996,7 +997,7 @@ class bitpanda extends bitpanda$1 {
996
997
  * @name bitpanda#fetchBalance
997
998
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
998
999
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
999
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1000
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1000
1001
  */
1001
1002
  await this.loadMarkets();
1002
1003
  const response = await this.privateGetAccountBalances(params);
@@ -1041,7 +1042,7 @@ class bitpanda extends bitpanda$1 {
1041
1042
  * @description create a currency deposit address
1042
1043
  * @param {string} code unified currency code of the currency for the deposit address
1043
1044
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1044
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1045
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1045
1046
  */
1046
1047
  await this.loadMarkets();
1047
1048
  const currency = this.currency(code);
@@ -1066,7 +1067,7 @@ class bitpanda extends bitpanda$1 {
1066
1067
  * @description fetch the deposit address for a currency associated with this account
1067
1068
  * @param {string} code unified currency code
1068
1069
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1069
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1070
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1070
1071
  */
1071
1072
  await this.loadMarkets();
1072
1073
  const currency = this.currency(code);
@@ -1094,7 +1095,7 @@ class bitpanda extends bitpanda$1 {
1094
1095
  * @param {int} [since] the earliest time in ms to fetch deposits for
1095
1096
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1096
1097
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1097
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1098
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1098
1099
  */
1099
1100
  await this.loadMarkets();
1100
1101
  const request = {
@@ -1158,7 +1159,7 @@ class bitpanda extends bitpanda$1 {
1158
1159
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1159
1160
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1160
1161
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1161
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1162
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1162
1163
  */
1163
1164
  await this.loadMarkets();
1164
1165
  const request = {
@@ -1224,7 +1225,7 @@ class bitpanda extends bitpanda$1 {
1224
1225
  * @param {string} address the address to withdraw to
1225
1226
  * @param {string} tag
1226
1227
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1227
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1228
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1228
1229
  */
1229
1230
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1230
1231
  this.checkAddress(address);
@@ -1498,7 +1499,7 @@ class bitpanda extends bitpanda$1 {
1498
1499
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1499
1500
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1500
1501
  * @param {float} [params.triggerPrice] bitpanda only does stop limit orders and does not do stop market
1501
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1502
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1502
1503
  */
1503
1504
  await this.loadMarkets();
1504
1505
  const market = this.market(symbol);
@@ -1565,7 +1566,7 @@ class bitpanda extends bitpanda$1 {
1565
1566
  * @param {string} id order id
1566
1567
  * @param {string} symbol not used by bitmex cancelOrder ()
1567
1568
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1568
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1569
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1569
1570
  */
1570
1571
  await this.loadMarkets();
1571
1572
  const clientOrderId = this.safeString2(params, 'clientOrderId', 'client_id');
@@ -1592,7 +1593,7 @@ class bitpanda extends bitpanda$1 {
1592
1593
  * @description cancel all open orders
1593
1594
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1594
1595
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1595
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1596
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1596
1597
  */
1597
1598
  await this.loadMarkets();
1598
1599
  const request = {};
@@ -1616,7 +1617,7 @@ class bitpanda extends bitpanda$1 {
1616
1617
  * @param {string[]} ids order ids
1617
1618
  * @param {string} symbol unified market symbol, default is undefined
1618
1619
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1619
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1620
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1620
1621
  */
1621
1622
  await this.loadMarkets();
1622
1623
  const request = {
@@ -1637,7 +1638,7 @@ class bitpanda extends bitpanda$1 {
1637
1638
  * @description fetches information on an order made by the user
1638
1639
  * @param {string} symbol not used by bitpanda fetchOrder
1639
1640
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1640
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1641
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1641
1642
  */
1642
1643
  await this.loadMarkets();
1643
1644
  const request = {
@@ -1696,7 +1697,7 @@ class bitpanda extends bitpanda$1 {
1696
1697
  * @param {int} [since] the earliest time in ms to fetch open orders for
1697
1698
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1698
1699
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1699
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1700
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1700
1701
  */
1701
1702
  await this.loadMarkets();
1702
1703
  const request = {
@@ -1816,7 +1817,7 @@ class bitpanda extends bitpanda$1 {
1816
1817
  * @param {int} [since] the earliest time in ms to fetch orders for
1817
1818
  * @param {int} [limit] the maximum number of orde structures to retrieve
1818
1819
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1819
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1820
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1820
1821
  */
1821
1822
  const request = {
1822
1823
  '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"
@@ -1833,7 +1834,7 @@ class bitpanda extends bitpanda$1 {
1833
1834
  * @param {int} [since] the earliest time in ms to fetch trades for
1834
1835
  * @param {int} [limit] the maximum number of trades to retrieve
1835
1836
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1836
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1837
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1837
1838
  */
1838
1839
  await this.loadMarkets();
1839
1840
  const request = {
@@ -1891,7 +1892,7 @@ class bitpanda extends bitpanda$1 {
1891
1892
  * @param {int} [since] the earliest time in ms to fetch trades for
1892
1893
  * @param {int} [limit] the maximum number of trades structures to retrieve
1893
1894
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1894
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1895
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1895
1896
  */
1896
1897
  await this.loadMarkets();
1897
1898
  const request = {
@@ -38,18 +38,19 @@ class bitrue extends bitrue$1 {
38
38
  'createStopOrder': true,
39
39
  'fetchBalance': true,
40
40
  'fetchBidsAsks': true,
41
- 'fetchBorrowRate': false,
42
41
  'fetchBorrowRateHistories': false,
43
42
  'fetchBorrowRateHistory': false,
44
- 'fetchBorrowRates': false,
45
- 'fetchBorrowRatesPerSymbol': false,
46
43
  'fetchClosedOrders': true,
44
+ 'fetchCrossBorrowRate': false,
45
+ 'fetchCrossBorrowRates': false,
47
46
  'fetchCurrencies': true,
48
47
  'fetchDepositAddress': false,
49
48
  'fetchDeposits': true,
50
49
  'fetchDepositsWithdrawals': false,
51
50
  'fetchDepositWithdrawFee': 'emulated',
52
51
  'fetchDepositWithdrawFees': true,
52
+ 'fetchIsolatedBorrowRate': false,
53
+ 'fetchIsolatedBorrowRates': false,
53
54
  'fetchMarginMode': false,
54
55
  'fetchMarkets': true,
55
56
  'fetchMyTrades': true,
@@ -347,7 +348,7 @@ class bitrue extends bitrue$1 {
347
348
  * @name bitrue#fetchStatus
348
349
  * @description the latest known information on the availability of the exchange API
349
350
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
350
- * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
351
+ * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
351
352
  */
352
353
  const response = await this.v1PublicGetPing(params);
353
354
  //
@@ -729,7 +730,7 @@ class bitrue extends bitrue$1 {
729
730
  * @name bitrue#fetchBalance
730
731
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
731
732
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
732
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
733
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
733
734
  */
734
735
  await this.loadMarkets();
735
736
  const response = await this.v1PrivateGetAccount(params);
@@ -760,7 +761,7 @@ class bitrue extends bitrue$1 {
760
761
  * @param {string} symbol unified symbol of the market to fetch the order book for
761
762
  * @param {int} [limit] the maximum amount of order book entries to return
762
763
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
763
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
764
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
764
765
  */
765
766
  await this.loadMarkets();
766
767
  const market = this.market(symbol);
@@ -849,7 +850,7 @@ class bitrue extends bitrue$1 {
849
850
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
850
851
  * @param {string} symbol unified symbol of the market to fetch the ticker for
851
852
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
852
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
853
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
853
854
  */
854
855
  await this.loadMarkets();
855
856
  const market = this.market(symbol);
@@ -959,7 +960,7 @@ class bitrue extends bitrue$1 {
959
960
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#symbol-order-book-ticker
960
961
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
961
962
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
962
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
963
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
963
964
  */
964
965
  await this.loadMarkets();
965
966
  symbols = this.marketSymbols(symbols);
@@ -989,7 +990,7 @@ class bitrue extends bitrue$1 {
989
990
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
990
991
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
991
992
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
992
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
993
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
993
994
  */
994
995
  await this.loadMarkets();
995
996
  const request = {
@@ -1127,7 +1128,7 @@ class bitrue extends bitrue$1 {
1127
1128
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1128
1129
  * @param {int} [limit] the maximum amount of trades to fetch
1129
1130
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1130
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1131
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1131
1132
  */
1132
1133
  await this.loadMarkets();
1133
1134
  const market = this.market(symbol);
@@ -1308,7 +1309,7 @@ class bitrue extends bitrue$1 {
1308
1309
  * EXCHANGE SPECIFIC PARAMETERS
1309
1310
  * @param {decimal} [params.icebergQty]
1310
1311
  * @param {long} [params.recvWindow]
1311
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1312
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1312
1313
  */
1313
1314
  await this.loadMarkets();
1314
1315
  const market = this.market(symbol);
@@ -1362,9 +1363,11 @@ class bitrue extends bitrue$1 {
1362
1363
  * @description fetches information on an order made by the user
1363
1364
  * @param {string} symbol unified symbol of the market the order was made in
1364
1365
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1365
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1366
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1366
1367
  */
1367
- this.checkRequiredSymbol('fetchOrder', symbol);
1368
+ if (symbol === undefined) {
1369
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1370
+ }
1368
1371
  await this.loadMarkets();
1369
1372
  const market = this.market(symbol);
1370
1373
  const request = {
@@ -1390,9 +1393,11 @@ class bitrue extends bitrue$1 {
1390
1393
  * @param {int} [since] the earliest time in ms to fetch orders for
1391
1394
  * @param {int} [limit] the maximum number of order structures to retrieve
1392
1395
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1393
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1396
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1394
1397
  */
1395
- this.checkRequiredSymbol('fetchClosedOrders', symbol);
1398
+ if (symbol === undefined) {
1399
+ throw new errors.ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
1400
+ }
1396
1401
  await this.loadMarkets();
1397
1402
  const market = this.market(symbol);
1398
1403
  const request = {
@@ -1442,9 +1447,11 @@ class bitrue extends bitrue$1 {
1442
1447
  * @param {int} [since] the earliest time in ms to fetch open orders for
1443
1448
  * @param {int} [limit] the maximum number of open order structures to retrieve
1444
1449
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1445
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1450
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1446
1451
  */
1447
- this.checkRequiredSymbol('fetchOpenOrders', symbol);
1452
+ if (symbol === undefined) {
1453
+ throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
1454
+ }
1448
1455
  await this.loadMarkets();
1449
1456
  const market = this.market(symbol);
1450
1457
  const request = {
@@ -1483,9 +1490,11 @@ class bitrue extends bitrue$1 {
1483
1490
  * @param {string} id order id
1484
1491
  * @param {string} symbol unified symbol of the market the order was made in
1485
1492
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1486
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1493
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1487
1494
  */
1488
- this.checkRequiredSymbol('cancelOrder', symbol);
1495
+ if (symbol === undefined) {
1496
+ throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
1497
+ }
1489
1498
  await this.loadMarkets();
1490
1499
  const market = this.market(symbol);
1491
1500
  const origClientOrderId = this.safeValue2(params, 'origClientOrderId', 'clientOrderId');
@@ -1522,7 +1531,7 @@ class bitrue extends bitrue$1 {
1522
1531
  * @param {int} [since] the earliest time in ms to fetch trades for
1523
1532
  * @param {int} [limit] the maximum number of trades structures to retrieve
1524
1533
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1525
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1534
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1526
1535
  */
1527
1536
  const method = this.safeString(this.options, 'fetchMyTradesMethod', 'v2PrivateGetMyTrades');
1528
1537
  if ((symbol === undefined) && (method === 'v2PrivateGetMyTrades')) {
@@ -1577,7 +1586,7 @@ class bitrue extends bitrue$1 {
1577
1586
  * @param {int} [since] the earliest time in ms to fetch deposits for
1578
1587
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1579
1588
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1580
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1589
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1581
1590
  */
1582
1591
  if (code === undefined) {
1583
1592
  throw new errors.ArgumentsRequired(this.id + ' fetchDeposits() requires a code argument');
@@ -1648,7 +1657,7 @@ class bitrue extends bitrue$1 {
1648
1657
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1649
1658
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1650
1659
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1651
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1660
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1652
1661
  */
1653
1662
  if (code === undefined) {
1654
1663
  throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawals() requires a code argument');
@@ -1839,7 +1848,7 @@ class bitrue extends bitrue$1 {
1839
1848
  * @param {string} address the address to withdraw to
1840
1849
  * @param {string} tag
1841
1850
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1842
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1851
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1843
1852
  */
1844
1853
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1845
1854
  this.checkAddress(address);
@@ -1938,7 +1947,7 @@ class bitrue extends bitrue$1 {
1938
1947
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
1939
1948
  * @param {string[]|undefined} codes list of unified currency codes
1940
1949
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1941
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1950
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1942
1951
  */
1943
1952
  await this.loadMarkets();
1944
1953
  const response = await this.v1PublicGetExchangeInfo(params);