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
@@ -41,12 +41,11 @@ class bittrex extends bittrex$1 {
41
41
  'createStopOrder': true,
42
42
  'fetchBalance': true,
43
43
  'fetchBidsAsks': true,
44
- 'fetchBorrowRate': false,
45
44
  'fetchBorrowRateHistories': false,
46
45
  'fetchBorrowRateHistory': false,
47
- 'fetchBorrowRates': false,
48
- 'fetchBorrowRatesPerSymbol': false,
49
46
  'fetchClosedOrders': true,
47
+ 'fetchCrossBorrowRate': false,
48
+ 'fetchCrossBorrowRates': false,
50
49
  'fetchCurrencies': true,
51
50
  'fetchDeposit': true,
52
51
  'fetchDepositAddress': true,
@@ -58,6 +57,8 @@ class bittrex extends bittrex$1 {
58
57
  'fetchFundingRateHistory': false,
59
58
  'fetchFundingRates': false,
60
59
  'fetchIndexOHLCV': false,
60
+ 'fetchIsolatedBorrowRate': false,
61
+ 'fetchIsolatedBorrowRates': false,
61
62
  'fetchLeverage': false,
62
63
  'fetchLeverageTiers': false,
63
64
  'fetchMarginMode': false,
@@ -391,7 +392,7 @@ class bittrex extends bittrex$1 {
391
392
  * @name bittrex#fetchBalance
392
393
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
393
394
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
394
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
395
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
395
396
  */
396
397
  await this.loadMarkets();
397
398
  const response = await this.privateGetBalances(params);
@@ -405,7 +406,7 @@ class bittrex extends bittrex$1 {
405
406
  * @param {string} symbol unified symbol of the market to fetch the order book for
406
407
  * @param {int} [limit] the maximum amount of order book entries to return
407
408
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
408
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
409
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
409
410
  */
410
411
  await this.loadMarkets();
411
412
  const market = this.market(symbol);
@@ -570,7 +571,7 @@ class bittrex extends bittrex$1 {
570
571
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
571
572
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
572
573
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
573
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
574
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
574
575
  */
575
576
  await this.loadMarkets();
576
577
  symbols = this.marketSymbols(symbols);
@@ -619,7 +620,7 @@ class bittrex extends bittrex$1 {
619
620
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
620
621
  * @param {string} symbol unified symbol of the market to fetch the ticker for
621
622
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
622
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
623
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
623
624
  */
624
625
  await this.loadMarkets();
625
626
  const market = this.market(symbol);
@@ -663,7 +664,7 @@ class bittrex extends bittrex$1 {
663
664
  * @description fetches the bid and ask price and volume for multiple markets
664
665
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
665
666
  * @param {object} [params] extra parameters specific to the binance api endpoint
666
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
667
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
667
668
  */
668
669
  await this.loadMarkets();
669
670
  const response = await this.publicGetMarketsTickers(params);
@@ -786,7 +787,7 @@ class bittrex extends bittrex$1 {
786
787
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
787
788
  * @param {int} [limit] the maximum amount of trades to fetch
788
789
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
789
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
790
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
790
791
  */
791
792
  await this.loadMarkets();
792
793
  const market = this.market(symbol);
@@ -814,7 +815,7 @@ class bittrex extends bittrex$1 {
814
815
  * @description fetch the trading fees for a market
815
816
  * @param {string} symbol unified market symbol
816
817
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
817
- * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
818
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
818
819
  */
819
820
  await this.loadMarkets();
820
821
  const market = this.market(symbol);
@@ -837,7 +838,7 @@ class bittrex extends bittrex$1 {
837
838
  * @name bittrex#fetchTradingFees
838
839
  * @description fetch the trading fees for multiple markets
839
840
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
840
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
841
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
841
842
  */
842
843
  await this.loadMarkets();
843
844
  const response = await this.privateGetAccountFeesTrading(params);
@@ -974,7 +975,7 @@ class bittrex extends bittrex$1 {
974
975
  * @param {int} [since] the earliest time in ms to fetch open orders for
975
976
  * @param {int} [limit] the maximum number of open orders structures to retrieve
976
977
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
977
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
978
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
978
979
  */
979
980
  await this.loadMarkets();
980
981
  const request = {};
@@ -1045,7 +1046,7 @@ class bittrex extends bittrex$1 {
1045
1046
  * @param {int} [since] the earliest time in ms to fetch trades for
1046
1047
  * @param {int} [limit] the maximum number of trades to retrieve
1047
1048
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1048
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1049
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1049
1050
  */
1050
1051
  await this.loadMarkets();
1051
1052
  const request = {
@@ -1069,7 +1070,7 @@ class bittrex extends bittrex$1 {
1069
1070
  * @param {float} amount how much of currency you want to trade in units of base currency
1070
1071
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1071
1072
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1072
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1073
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1073
1074
  */
1074
1075
  // A ceiling order is a market or limit order that allows you to specify
1075
1076
  // the amount of quote currency you want to spend (or receive, if selling)
@@ -1259,7 +1260,7 @@ class bittrex extends bittrex$1 {
1259
1260
  * @param {string} id order id
1260
1261
  * @param {string} symbol unified symbol of the market the order was made in
1261
1262
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1262
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1263
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1263
1264
  */
1264
1265
  await this.loadMarkets();
1265
1266
  const stop = this.safeValue(params, 'stop');
@@ -1340,7 +1341,7 @@ class bittrex extends bittrex$1 {
1340
1341
  * @description cancel all open orders
1341
1342
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1342
1343
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1343
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1344
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1344
1345
  */
1345
1346
  await this.loadMarkets();
1346
1347
  const request = {};
@@ -1389,7 +1390,7 @@ class bittrex extends bittrex$1 {
1389
1390
  * @param {string} id deposit id
1390
1391
  * @param {string} code filter by currency code
1391
1392
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1392
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1393
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1393
1394
  */
1394
1395
  await this.loadMarkets();
1395
1396
  const request = {
@@ -1415,7 +1416,7 @@ class bittrex extends bittrex$1 {
1415
1416
  * @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
1416
1417
  * @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
1417
1418
  * @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
1418
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1419
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1419
1420
  */
1420
1421
  await this.loadMarkets();
1421
1422
  // https://support.bittrex.com/hc/en-us/articles/115003723911
@@ -1461,7 +1462,7 @@ class bittrex extends bittrex$1 {
1461
1462
  * @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
1462
1463
  * @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
1463
1464
  * @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
1464
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1465
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1465
1466
  */
1466
1467
  await this.loadMarkets();
1467
1468
  return this.fetchDeposits(code, since, limit, this.extend(params, { 'status': 'pending' }));
@@ -1474,7 +1475,7 @@ class bittrex extends bittrex$1 {
1474
1475
  * @param {string} id withdrawal id
1475
1476
  * @param {string} code filter by currency code
1476
1477
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1477
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1478
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1478
1479
  */
1479
1480
  await this.loadMarkets();
1480
1481
  const request = {
@@ -1500,7 +1501,7 @@ class bittrex extends bittrex$1 {
1500
1501
  * @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
1501
1502
  * @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
1502
1503
  * @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
1503
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1504
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1504
1505
  */
1505
1506
  await this.loadMarkets();
1506
1507
  // https://support.bittrex.com/hc/en-us/articles/115003723911
@@ -1543,7 +1544,7 @@ class bittrex extends bittrex$1 {
1543
1544
  * @param {int} [params.endDate] Filters out result after this timestamp. Uses ISO-8602 format.
1544
1545
  * @param {string} [params.nextPageToken] The unique identifier of the item that the resulting query result should start after, in the sort order of the given endpoint. Used for traversing a paginated set in the forward direction.
1545
1546
  * @param {string} [params.previousPageToken] The unique identifier of the item that the resulting query result should end before, in the sort order of the given endpoint. Used for traversing a paginated set in the reverse direction.
1546
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1547
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1547
1548
  */
1548
1549
  await this.loadMarkets();
1549
1550
  return this.fetchWithdrawals(code, since, limit, this.extend(params, { 'status': 'pending' }));
@@ -1841,7 +1842,7 @@ class bittrex extends bittrex$1 {
1841
1842
  * @description fetches information on an order made by the user
1842
1843
  * @param {string} symbol unified symbol of the market the order was made in
1843
1844
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1844
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1845
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1845
1846
  */
1846
1847
  await this.loadMarkets();
1847
1848
  const stop = this.safeValue(params, 'stop');
@@ -1884,7 +1885,7 @@ class bittrex extends bittrex$1 {
1884
1885
  * @param {int} [since] the earliest time in ms to fetch trades for
1885
1886
  * @param {int} [limit] the maximum number of trades structures to retrieve
1886
1887
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1887
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1888
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1888
1889
  */
1889
1890
  await this.loadMarkets();
1890
1891
  const request = {};
@@ -1911,7 +1912,7 @@ class bittrex extends bittrex$1 {
1911
1912
  * @param {int} [since] the earliest time in ms to fetch orders for
1912
1913
  * @param {int} [limit] the maximum number of orde structures to retrieve
1913
1914
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1914
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1915
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1915
1916
  */
1916
1917
  await this.loadMarkets();
1917
1918
  const stop = this.safeValue(params, 'stop');
@@ -1992,7 +1993,7 @@ class bittrex extends bittrex$1 {
1992
1993
  * @description create a currency deposit address
1993
1994
  * @param {string} code unified currency code of the currency for the deposit address
1994
1995
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
1995
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1996
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1996
1997
  */
1997
1998
  await this.loadMarkets();
1998
1999
  const currency = this.currency(code);
@@ -2029,7 +2030,7 @@ class bittrex extends bittrex$1 {
2029
2030
  * @description fetch the deposit address for a currency associated with this account
2030
2031
  * @param {string} code unified currency code
2031
2032
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
2032
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2033
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2033
2034
  */
2034
2035
  await this.loadMarkets();
2035
2036
  const currency = this.currency(code);
@@ -2100,7 +2101,7 @@ class bittrex extends bittrex$1 {
2100
2101
  * @description fetch deposit and withdraw fees
2101
2102
  * @param {string[]|undefined} codes list of unified currency codes
2102
2103
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
2103
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2104
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2104
2105
  */
2105
2106
  await this.loadMarkets();
2106
2107
  const response = await this.publicGetCurrencies(params);
@@ -2138,7 +2139,7 @@ class bittrex extends bittrex$1 {
2138
2139
  * @param {string} address the address to withdraw to
2139
2140
  * @param {string} tag
2140
2141
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
2141
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2142
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2142
2143
  */
2143
2144
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2144
2145
  this.checkAddress(address);
@@ -39,11 +39,10 @@ class bitvavo extends bitvavo$1 {
39
39
  'createStopOrder': true,
40
40
  'editOrder': true,
41
41
  'fetchBalance': true,
42
- 'fetchBorrowRate': false,
43
42
  'fetchBorrowRateHistories': false,
44
43
  'fetchBorrowRateHistory': false,
45
- 'fetchBorrowRates': false,
46
- 'fetchBorrowRatesPerSymbol': false,
44
+ 'fetchCrossBorrowRate': false,
45
+ 'fetchCrossBorrowRates': false,
47
46
  'fetchCurrencies': true,
48
47
  'fetchDepositAddress': true,
49
48
  'fetchDeposits': true,
@@ -54,6 +53,8 @@ class bitvavo extends bitvavo$1 {
54
53
  'fetchFundingRateHistory': false,
55
54
  'fetchFundingRates': false,
56
55
  'fetchIndexOHLCV': false,
56
+ 'fetchIsolatedBorrowRate': false,
57
+ 'fetchIsolatedBorrowRates': false,
57
58
  'fetchLeverage': false,
58
59
  'fetchLeverageTiers': false,
59
60
  'fetchMarginMode': false,
@@ -312,11 +313,6 @@ class bitvavo extends bitvavo$1 {
312
313
  * @returns {object[]} an array of objects representing market data
313
314
  */
314
315
  const response = await this.publicGetMarkets(params);
315
- let currencies = this.currencies;
316
- if (this.currencies === undefined) {
317
- currencies = await this.fetchCurrencies();
318
- }
319
- const currenciesById = this.indexBy(currencies, 'id');
320
316
  //
321
317
  // [
322
318
  // {
@@ -331,6 +327,8 @@ class bitvavo extends bitvavo$1 {
331
327
  // }
332
328
  // ]
333
329
  //
330
+ const currencies = this.currencies;
331
+ const currenciesById = this.indexBy(currencies, 'id');
334
332
  const result = [];
335
333
  const fees = this.fees;
336
334
  for (let i = 0; i < response.length; i++) {
@@ -502,6 +500,8 @@ class bitvavo extends bitvavo$1 {
502
500
  },
503
501
  };
504
502
  }
503
+ // set currencies here to avoid calling publicGetAssets twice
504
+ this.currencies = this.deepExtend(this.currencies, result);
505
505
  return result;
506
506
  }
507
507
  async fetchTicker(symbol, params = {}) {
@@ -512,7 +512,7 @@ class bitvavo extends bitvavo$1 {
512
512
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
513
513
  * @param {string} symbol unified symbol of the market to fetch the ticker for
514
514
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
515
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
515
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
516
516
  */
517
517
  await this.loadMarkets();
518
518
  const market = this.market(symbol);
@@ -594,7 +594,7 @@ class bitvavo extends bitvavo$1 {
594
594
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
595
595
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
596
596
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
597
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
597
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
598
598
  */
599
599
  await this.loadMarkets();
600
600
  const response = await this.publicGetTicker24h(params);
@@ -630,7 +630,7 @@ class bitvavo extends bitvavo$1 {
630
630
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
631
631
  * @param {int} [params.until] the latest time in ms to fetch entries for
632
632
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
633
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
633
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
634
634
  */
635
635
  await this.loadMarkets();
636
636
  const market = this.market(symbol);
@@ -770,7 +770,7 @@ class bitvavo extends bitvavo$1 {
770
770
  * @name bitvavo#fetchTradingFees
771
771
  * @description fetch the trading fees for multiple markets
772
772
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
773
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
773
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
774
774
  */
775
775
  await this.loadMarkets();
776
776
  const response = await this.privateGetAccount(params);
@@ -809,7 +809,7 @@ class bitvavo extends bitvavo$1 {
809
809
  * @param {string} symbol unified symbol of the market to fetch the order book for
810
810
  * @param {int} [limit] the maximum amount of order book entries to return
811
811
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
812
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
812
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
813
813
  */
814
814
  await this.loadMarkets();
815
815
  const market = this.market(symbol);
@@ -935,7 +935,7 @@ class bitvavo extends bitvavo$1 {
935
935
  * @name bitvavo#fetchBalance
936
936
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
937
937
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
938
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
938
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
939
939
  */
940
940
  await this.loadMarkets();
941
941
  const response = await this.privateGetBalance(params);
@@ -957,7 +957,7 @@ class bitvavo extends bitvavo$1 {
957
957
  * @description fetch the deposit address for a currency associated with this account
958
958
  * @param {string} code unified currency code
959
959
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
960
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
960
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
961
961
  */
962
962
  await this.loadMarkets();
963
963
  const currency = this.currency(code);
@@ -1005,7 +1005,7 @@ class bitvavo extends bitvavo$1 {
1005
1005
  * @param {string} [params.selfTradePrevention] "decrementAndCancel", "cancelOldest", "cancelNewest", "cancelBoth"
1006
1006
  * @param {bool} [params.disableMarketProtection] don't cancel if the next fill price is 10% worse than the best fill price
1007
1007
  * @param {bool} [params.responseRequired] Set this to 'false' when only an acknowledgement of success or failure is required, this is faster.
1008
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1008
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1009
1009
  */
1010
1010
  await this.loadMarkets();
1011
1011
  const market = this.market(symbol);
@@ -1148,9 +1148,11 @@ class bitvavo extends bitvavo$1 {
1148
1148
  * @param {string} id order id
1149
1149
  * @param {string} symbol unified symbol of the market the order was made in
1150
1150
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1151
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1151
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1152
1152
  */
1153
- this.checkRequiredSymbol('cancelOrder', symbol);
1153
+ if (symbol === undefined) {
1154
+ throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
1155
+ }
1154
1156
  await this.loadMarkets();
1155
1157
  const market = this.market(symbol);
1156
1158
  const request = {
@@ -1172,7 +1174,7 @@ class bitvavo extends bitvavo$1 {
1172
1174
  * @description cancel all open orders
1173
1175
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1174
1176
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1175
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1177
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1176
1178
  */
1177
1179
  await this.loadMarkets();
1178
1180
  const request = {};
@@ -1198,9 +1200,11 @@ class bitvavo extends bitvavo$1 {
1198
1200
  * @description fetches information on an order made by the user
1199
1201
  * @param {string} symbol unified symbol of the market the order was made in
1200
1202
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1201
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1203
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1202
1204
  */
1203
- this.checkRequiredSymbol('fetchOrder', symbol);
1205
+ if (symbol === undefined) {
1206
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1207
+ }
1204
1208
  await this.loadMarkets();
1205
1209
  const market = this.market(symbol);
1206
1210
  const request = {
@@ -1256,9 +1260,11 @@ class bitvavo extends bitvavo$1 {
1256
1260
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1257
1261
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1258
1262
  * @param {int} [params.until] the latest time in ms to fetch entries for
1259
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1263
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1260
1264
  */
1261
- this.checkRequiredSymbol('fetchOrders', symbol);
1265
+ if (symbol === undefined) {
1266
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
1267
+ }
1262
1268
  await this.loadMarkets();
1263
1269
  let paginate = false;
1264
1270
  [paginate, params] = this.handleOptionAndParams(params, 'fetchOrders', 'paginate');
@@ -1329,7 +1335,7 @@ class bitvavo extends bitvavo$1 {
1329
1335
  * @param {int} [since] the earliest time in ms to fetch open orders for
1330
1336
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1331
1337
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1332
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1338
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1333
1339
  */
1334
1340
  await this.loadMarkets();
1335
1341
  const request = {
@@ -1513,9 +1519,11 @@ class bitvavo extends bitvavo$1 {
1513
1519
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1514
1520
  * @param {int} [params.until] the latest time in ms to fetch entries for
1515
1521
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1516
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1522
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1517
1523
  */
1518
- this.checkRequiredSymbol('fetchMyTrades', symbol);
1524
+ if (symbol === undefined) {
1525
+ throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
1526
+ }
1519
1527
  await this.loadMarkets();
1520
1528
  let paginate = false;
1521
1529
  [paginate, params] = this.handleOptionAndParams(params, 'fetchMyTrades', 'paginate');
@@ -1568,7 +1576,7 @@ class bitvavo extends bitvavo$1 {
1568
1576
  * @param {string} address the address to withdraw to
1569
1577
  * @param {string} tag
1570
1578
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1571
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1579
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1572
1580
  */
1573
1581
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1574
1582
  this.checkAddress(address);
@@ -1603,7 +1611,7 @@ class bitvavo extends bitvavo$1 {
1603
1611
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1604
1612
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1605
1613
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1606
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1614
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1607
1615
  */
1608
1616
  await this.loadMarkets();
1609
1617
  const request = {
@@ -1649,7 +1657,7 @@ class bitvavo extends bitvavo$1 {
1649
1657
  * @param {int} [since] the earliest time in ms to fetch deposits for
1650
1658
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1651
1659
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1652
- * @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}
1653
1661
  */
1654
1662
  await this.loadMarkets();
1655
1663
  const request = {
@@ -1830,7 +1838,7 @@ class bitvavo extends bitvavo$1 {
1830
1838
  * @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
1831
1839
  * @param {string[]|undefined} codes list of unified currency codes
1832
1840
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1833
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1841
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1834
1842
  */
1835
1843
  await this.loadMarkets();
1836
1844
  const response = await this.publicGetAssets(params);
@@ -36,16 +36,17 @@ class bl3p extends bl3p$1 {
36
36
  'createStopMarketOrder': false,
37
37
  'createStopOrder': false,
38
38
  'fetchBalance': true,
39
- 'fetchBorrowRate': false,
40
39
  'fetchBorrowRateHistories': false,
41
40
  'fetchBorrowRateHistory': false,
42
- 'fetchBorrowRates': false,
43
- 'fetchBorrowRatesPerSymbol': false,
41
+ 'fetchCrossBorrowRate': false,
42
+ 'fetchCrossBorrowRates': false,
44
43
  'fetchFundingHistory': false,
45
44
  'fetchFundingRate': false,
46
45
  'fetchFundingRateHistory': false,
47
46
  'fetchFundingRates': false,
48
47
  'fetchIndexOHLCV': false,
48
+ 'fetchIsolatedBorrowRate': false,
49
+ 'fetchIsolatedBorrowRates': false,
49
50
  'fetchLeverage': false,
50
51
  'fetchMarginMode': false,
51
52
  'fetchMarkOHLCV': false,
@@ -137,7 +138,7 @@ class bl3p extends bl3p$1 {
137
138
  * @name bl3p#fetchBalance
138
139
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
139
140
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
140
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
141
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
141
142
  */
142
143
  await this.loadMarkets();
143
144
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -159,7 +160,7 @@ class bl3p extends bl3p$1 {
159
160
  * @param {string} symbol unified symbol of the market to fetch the order book for
160
161
  * @param {int} [limit] the maximum amount of order book entries to return
161
162
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
162
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
163
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
163
164
  */
164
165
  const market = this.market(symbol);
165
166
  const request = {
@@ -219,7 +220,7 @@ class bl3p extends bl3p$1 {
219
220
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
220
221
  * @param {string} symbol unified symbol of the market to fetch the ticker for
221
222
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
222
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
223
224
  */
224
225
  const market = this.market(symbol);
225
226
  const request = {
@@ -284,7 +285,7 @@ class bl3p extends bl3p$1 {
284
285
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
285
286
  * @param {int} [limit] the maximum amount of trades to fetch
286
287
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
287
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
288
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
288
289
  */
289
290
  const market = this.market(symbol);
290
291
  const response = await this.publicGetMarketTrades(this.extend({
@@ -313,7 +314,7 @@ class bl3p extends bl3p$1 {
313
314
  * @name bl3p#fetchTradingFees
314
315
  * @description fetch the trading fees for multiple markets
315
316
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
316
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
317
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
317
318
  */
318
319
  await this.loadMarkets();
319
320
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -378,7 +379,7 @@ class bl3p extends bl3p$1 {
378
379
  * EXCHANGE SPECIFIC PARAMETERS
379
380
  * @param {int} [params.amount_funds] maximal EUR amount to spend (*1e5)
380
381
  * @param {string} [params.fee_currency] 'EUR' or 'BTC'
381
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
382
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
382
383
  */
383
384
  const market = this.market(symbol);
384
385
  const amountString = this.numberToString(amount);
@@ -407,7 +408,7 @@ class bl3p extends bl3p$1 {
407
408
  * @param {string} id order id
408
409
  * @param {string} symbol unified symbol of the market the order was made in
409
410
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
410
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
411
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
411
412
  */
412
413
  const request = {
413
414
  'order_id': id,