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
@@ -359,7 +359,7 @@ class blockchaincom extends blockchaincom$1 {
359
359
  * @param {string} symbol unified symbol of the market to fetch the order book for
360
360
  * @param {int} [limit] the maximum amount of order book entries to return
361
361
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
362
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
362
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
363
363
  */
364
364
  return await this.fetchL3OrderBook(symbol, limit, params);
365
365
  }
@@ -371,7 +371,7 @@ class blockchaincom extends blockchaincom$1 {
371
371
  * @param {string} symbol unified market symbol
372
372
  * @param {int} [limit] max number of orders to return, default is undefined
373
373
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
374
- * @returns {object} an [order book structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure}
374
+ * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
375
375
  */
376
376
  await this.loadMarkets();
377
377
  const market = this.market(symbol);
@@ -440,7 +440,7 @@ class blockchaincom extends blockchaincom$1 {
440
440
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
441
441
  * @param {string} symbol unified symbol of the market to fetch the ticker for
442
442
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
443
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
443
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
444
444
  */
445
445
  await this.loadMarkets();
446
446
  const market = this.market(symbol);
@@ -457,7 +457,7 @@ class blockchaincom extends blockchaincom$1 {
457
457
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
458
458
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
459
459
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
460
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
460
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
461
461
  */
462
462
  await this.loadMarkets();
463
463
  const tickers = await this.publicGetTickers(params);
@@ -541,7 +541,7 @@ class blockchaincom extends blockchaincom$1 {
541
541
  * @param {float} amount how much of currency you want to trade in units of base currency
542
542
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
543
543
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
544
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
544
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
545
545
  */
546
546
  await this.loadMarkets();
547
547
  const market = this.market(symbol);
@@ -600,7 +600,7 @@ class blockchaincom extends blockchaincom$1 {
600
600
  * @param {string} id order id
601
601
  * @param {string} symbol unified symbol of the market the order was made in
602
602
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
603
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
603
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
604
604
  */
605
605
  const request = {
606
606
  'orderId': id,
@@ -618,7 +618,7 @@ class blockchaincom extends blockchaincom$1 {
618
618
  * @description cancel all open orders
619
619
  * @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
620
620
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
621
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
621
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
622
622
  */
623
623
  // cancels all open orders if no symbol specified
624
624
  // cancels all open orders of specified symbol, if symbol is specified
@@ -642,7 +642,7 @@ class blockchaincom extends blockchaincom$1 {
642
642
  * @name blockchaincom#fetchTradingFees
643
643
  * @description fetch the trading fees for multiple markets
644
644
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
645
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
645
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
646
646
  */
647
647
  await this.loadMarkets();
648
648
  const response = await this.privateGetFees(params);
@@ -676,7 +676,7 @@ class blockchaincom extends blockchaincom$1 {
676
676
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
677
677
  * @param {int} [limit] max number of orders to return, default is undefined
678
678
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
679
- * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
679
+ * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
680
680
  */
681
681
  const state = 'CANCELED';
682
682
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -690,7 +690,7 @@ class blockchaincom extends blockchaincom$1 {
690
690
  * @param {int} [since] the earliest time in ms to fetch orders for
691
691
  * @param {int} [limit] the maximum number of orde structures to retrieve
692
692
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
693
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
693
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
694
694
  */
695
695
  const state = 'FILLED';
696
696
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -704,7 +704,7 @@ class blockchaincom extends blockchaincom$1 {
704
704
  * @param {int} [since] the earliest time in ms to fetch open orders for
705
705
  * @param {int} [limit] the maximum number of open orders structures to retrieve
706
706
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
707
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
707
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
708
708
  */
709
709
  const state = 'OPEN';
710
710
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -780,7 +780,7 @@ class blockchaincom extends blockchaincom$1 {
780
780
  * @param {int} [since] the earliest time in ms to fetch trades for
781
781
  * @param {int} [limit] the maximum number of trades structures to retrieve
782
782
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
783
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
783
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
784
784
  */
785
785
  await this.loadMarkets();
786
786
  const request = {};
@@ -802,7 +802,7 @@ class blockchaincom extends blockchaincom$1 {
802
802
  * @description fetch the deposit address for a currency associated with this account
803
803
  * @param {string} code unified currency code
804
804
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
805
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
805
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
806
806
  */
807
807
  await this.loadMarkets();
808
808
  const currency = this.currency(code);
@@ -957,7 +957,7 @@ class blockchaincom extends blockchaincom$1 {
957
957
  * @param {string} address the address to withdraw to
958
958
  * @param {string} tag
959
959
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
960
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
960
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
961
961
  */
962
962
  await this.loadMarkets();
963
963
  const currency = this.currency(code);
@@ -990,7 +990,7 @@ class blockchaincom extends blockchaincom$1 {
990
990
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
991
991
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
992
992
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
993
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
993
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
994
994
  */
995
995
  await this.loadMarkets();
996
996
  const request = {
@@ -1015,7 +1015,7 @@ class blockchaincom extends blockchaincom$1 {
1015
1015
  * @param {string} id withdrawal id
1016
1016
  * @param {string} code not used by blockchaincom.fetchWithdrawal
1017
1017
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1018
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1018
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1019
1019
  */
1020
1020
  await this.loadMarkets();
1021
1021
  const request = {
@@ -1033,7 +1033,7 @@ class blockchaincom extends blockchaincom$1 {
1033
1033
  * @param {int} [since] the earliest time in ms to fetch deposits for
1034
1034
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1035
1035
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1036
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1036
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1037
1037
  */
1038
1038
  await this.loadMarkets();
1039
1039
  const request = {
@@ -1058,7 +1058,7 @@ class blockchaincom extends blockchaincom$1 {
1058
1058
  * @param {string} id deposit id
1059
1059
  * @param {string} code not used by blockchaincom fetchDeposit ()
1060
1060
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1061
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1061
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1062
1062
  */
1063
1063
  await this.loadMarkets();
1064
1064
  const depositId = this.safeString(params, 'depositId', id);
@@ -1074,7 +1074,7 @@ class blockchaincom extends blockchaincom$1 {
1074
1074
  * @name blockchaincom#fetchBalance
1075
1075
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1076
1076
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1077
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1077
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1078
1078
  */
1079
1079
  await this.loadMarkets();
1080
1080
  const accountName = this.safeString(params, 'account', 'primary');
@@ -1121,7 +1121,7 @@ class blockchaincom extends blockchaincom$1 {
1121
1121
  * @description fetches information on an order made by the user
1122
1122
  * @param {string} symbol not used by blockchaincom fetchOrder
1123
1123
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1124
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1124
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1125
1125
  */
1126
1126
  // note: only works with exchange-order-id
1127
1127
  // does not work with clientOrderId
@@ -34,12 +34,11 @@ class btcalpha extends btcalpha$1 {
34
34
  'createStopMarketOrder': false,
35
35
  'createStopOrder': false,
36
36
  'fetchBalance': true,
37
- 'fetchBorrowRate': false,
38
37
  'fetchBorrowRateHistories': false,
39
38
  'fetchBorrowRateHistory': false,
40
- 'fetchBorrowRates': false,
41
- 'fetchBorrowRatesPerSymbol': false,
42
39
  'fetchClosedOrders': true,
40
+ 'fetchCrossBorrowRate': false,
41
+ 'fetchCrossBorrowRates': false,
43
42
  'fetchDeposit': false,
44
43
  'fetchDeposits': true,
45
44
  'fetchFundingHistory': false,
@@ -47,6 +46,8 @@ class btcalpha extends btcalpha$1 {
47
46
  'fetchFundingRateHistory': false,
48
47
  'fetchFundingRates': false,
49
48
  'fetchIndexOHLCV': false,
49
+ 'fetchIsolatedBorrowRate': false,
50
+ 'fetchIsolatedBorrowRates': false,
50
51
  'fetchL2OrderBook': true,
51
52
  'fetchLeverage': false,
52
53
  'fetchMarginMode': false,
@@ -238,7 +239,7 @@ class btcalpha extends btcalpha$1 {
238
239
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
239
240
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
240
241
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
241
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
242
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
242
243
  */
243
244
  await this.loadMarkets();
244
245
  const response = await this.publicGetTicker(params);
@@ -268,7 +269,7 @@ class btcalpha extends btcalpha$1 {
268
269
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
269
270
  * @param {string} symbol unified symbol of the market to fetch the ticker for
270
271
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
271
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
272
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
272
273
  */
273
274
  await this.loadMarkets();
274
275
  const market = this.market(symbol);
@@ -342,7 +343,7 @@ class btcalpha extends btcalpha$1 {
342
343
  * @param {string} symbol unified symbol of the market to fetch the order book for
343
344
  * @param {int} [limit] the maximum amount of order book entries to return
344
345
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
345
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
346
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
346
347
  */
347
348
  await this.loadMarkets();
348
349
  const market = this.market(symbol);
@@ -424,7 +425,7 @@ class btcalpha extends btcalpha$1 {
424
425
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
425
426
  * @param {int} [limit] the maximum amount of trades to fetch
426
427
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
427
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
428
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
428
429
  */
429
430
  await this.loadMarkets();
430
431
  let market = undefined;
@@ -448,7 +449,7 @@ class btcalpha extends btcalpha$1 {
448
449
  * @param {int} [since] the earliest time in ms to fetch deposits for
449
450
  * @param {int} [limit] the maximum number of deposits structures to retrieve
450
451
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
451
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
452
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
452
453
  */
453
454
  await this.loadMarkets();
454
455
  let currency = undefined;
@@ -477,7 +478,7 @@ class btcalpha extends btcalpha$1 {
477
478
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
478
479
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
479
480
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
480
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
481
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
481
482
  */
482
483
  await this.loadMarkets();
483
484
  let currency = undefined;
@@ -628,7 +629,7 @@ class btcalpha extends btcalpha$1 {
628
629
  * @name btcalpha#fetchBalance
629
630
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
630
631
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
631
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
632
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
632
633
  */
633
634
  await this.loadMarkets();
634
635
  const response = await this.privateGetWallets(params);
@@ -727,7 +728,7 @@ class btcalpha extends btcalpha$1 {
727
728
  * @param {float} amount how much of currency you want to trade in units of base currency
728
729
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
729
730
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
730
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
731
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
731
732
  */
732
733
  if (type === 'market') {
733
734
  throw new errors.InvalidOrder(this.id + ' only limits orders are supported');
@@ -759,7 +760,7 @@ class btcalpha extends btcalpha$1 {
759
760
  * @param {string} id order id
760
761
  * @param {string} symbol unified symbol of the market the order was made in
761
762
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
762
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
763
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
763
764
  */
764
765
  const request = {
765
766
  'order': id,
@@ -775,7 +776,7 @@ class btcalpha extends btcalpha$1 {
775
776
  * @description fetches information on an order made by the user
776
777
  * @param {string} symbol not used by btcalpha fetchOrder
777
778
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
778
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
779
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
779
780
  */
780
781
  await this.loadMarkets();
781
782
  const request = {
@@ -794,7 +795,7 @@ class btcalpha extends btcalpha$1 {
794
795
  * @param {int} [since] the earliest time in ms to fetch orders for
795
796
  * @param {int} [limit] the maximum number of orde structures to retrieve
796
797
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
797
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
798
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
798
799
  */
799
800
  await this.loadMarkets();
800
801
  const request = {};
@@ -818,7 +819,7 @@ class btcalpha extends btcalpha$1 {
818
819
  * @param {int} [since] the earliest time in ms to fetch open orders for
819
820
  * @param {int} [limit] the maximum number of open orders structures to retrieve
820
821
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
821
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
822
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
822
823
  */
823
824
  const request = {
824
825
  'status': '1',
@@ -834,7 +835,7 @@ class btcalpha extends btcalpha$1 {
834
835
  * @param {int} [since] the earliest time in ms to fetch orders for
835
836
  * @param {int} [limit] the maximum number of orde structures to retrieve
836
837
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
837
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
838
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
838
839
  */
839
840
  const request = {
840
841
  'status': '3',
@@ -850,7 +851,7 @@ class btcalpha extends btcalpha$1 {
850
851
  * @param {int} [since] the earliest time in ms to fetch trades for
851
852
  * @param {int} [limit] the maximum number of trades structures to retrieve
852
853
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
853
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
854
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
854
855
  */
855
856
  await this.loadMarkets();
856
857
  const request = {};
@@ -33,16 +33,17 @@ class btcbox extends btcbox$1 {
33
33
  'createOrder': true,
34
34
  'createReduceOnlyOrder': false,
35
35
  'fetchBalance': true,
36
- 'fetchBorrowRate': false,
37
36
  'fetchBorrowRateHistories': false,
38
37
  'fetchBorrowRateHistory': false,
39
- 'fetchBorrowRates': false,
40
- 'fetchBorrowRatesPerSymbol': false,
38
+ 'fetchCrossBorrowRate': false,
39
+ 'fetchCrossBorrowRates': false,
41
40
  'fetchFundingHistory': false,
42
41
  'fetchFundingRate': false,
43
42
  'fetchFundingRateHistory': false,
44
43
  'fetchFundingRates': false,
45
44
  'fetchIndexOHLCV': false,
45
+ 'fetchIsolatedBorrowRate': false,
46
+ 'fetchIsolatedBorrowRates': false,
46
47
  'fetchLeverage': false,
47
48
  'fetchMarginMode': false,
48
49
  'fetchMarkOHLCV': false,
@@ -144,7 +145,7 @@ class btcbox extends btcbox$1 {
144
145
  * @name btcbox#fetchBalance
145
146
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
146
147
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
147
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
148
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
148
149
  */
149
150
  await this.loadMarkets();
150
151
  const response = await this.privatePostBalance(params);
@@ -158,7 +159,7 @@ class btcbox extends btcbox$1 {
158
159
  * @param {string} symbol unified symbol of the market to fetch the order book for
159
160
  * @param {int} [limit] the maximum amount of order book entries to return
160
161
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
161
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
162
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
162
163
  */
163
164
  await this.loadMarkets();
164
165
  const market = this.market(symbol);
@@ -204,7 +205,7 @@ class btcbox extends btcbox$1 {
204
205
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
205
206
  * @param {string} symbol unified symbol of the market to fetch the ticker for
206
207
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
207
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
208
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
208
209
  */
209
210
  await this.loadMarkets();
210
211
  const market = this.market(symbol);
@@ -260,7 +261,7 @@ class btcbox extends btcbox$1 {
260
261
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
261
262
  * @param {int} [limit] the maximum amount of trades to fetch
262
263
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
263
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
264
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
264
265
  */
265
266
  await this.loadMarkets();
266
267
  const market = this.market(symbol);
@@ -294,7 +295,7 @@ class btcbox extends btcbox$1 {
294
295
  * @param {float} amount how much of currency you want to trade in units of base currency
295
296
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
296
297
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
297
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
298
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
298
299
  */
299
300
  await this.loadMarkets();
300
301
  const market = this.market(symbol);
@@ -321,7 +322,7 @@ class btcbox extends btcbox$1 {
321
322
  * @param {string} id order id
322
323
  * @param {string} symbol unified symbol of the market the order was made in
323
324
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
324
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
325
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
325
326
  */
326
327
  await this.loadMarkets();
327
328
  // a special case for btcbox – default symbol is BTC/JPY
@@ -415,7 +416,7 @@ class btcbox extends btcbox$1 {
415
416
  * @description fetches information on an order made by the user
416
417
  * @param {string} symbol unified symbol of the market the order was made in
417
418
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
418
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
419
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
419
420
  */
420
421
  await this.loadMarkets();
421
422
  // a special case for btcbox – default symbol is BTC/JPY
@@ -485,7 +486,7 @@ class btcbox extends btcbox$1 {
485
486
  * @param {int} [since] the earliest time in ms to fetch orders for
486
487
  * @param {int} [limit] the maximum number of orde structures to retrieve
487
488
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
488
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
489
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
489
490
  */
490
491
  return await this.fetchOrdersByType('all', symbol, since, limit, params);
491
492
  }
@@ -498,7 +499,7 @@ class btcbox extends btcbox$1 {
498
499
  * @param {int} [since] the earliest time in ms to fetch open orders for
499
500
  * @param {int} [limit] the maximum number of open orders structures to retrieve
500
501
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
501
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
502
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
502
503
  */
503
504
  return await this.fetchOrdersByType('open', symbol, since, limit, params);
504
505
  }
@@ -33,12 +33,11 @@ class btcmarkets extends btcmarkets$1 {
33
33
  'createOrder': true,
34
34
  'createReduceOnlyOrder': false,
35
35
  'fetchBalance': true,
36
- 'fetchBorrowRate': false,
37
36
  'fetchBorrowRateHistories': false,
38
37
  'fetchBorrowRateHistory': false,
39
- 'fetchBorrowRates': false,
40
- 'fetchBorrowRatesPerSymbol': false,
41
38
  'fetchClosedOrders': 'emulated',
39
+ 'fetchCrossBorrowRate': false,
40
+ 'fetchCrossBorrowRates': false,
42
41
  'fetchDeposits': true,
43
42
  'fetchDepositsWithdrawals': true,
44
43
  'fetchFundingHistory': false,
@@ -46,6 +45,8 @@ class btcmarkets extends btcmarkets$1 {
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
  'fetchMarkets': true,
@@ -195,7 +196,7 @@ class btcmarkets extends btcmarkets$1 {
195
196
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
196
197
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
197
198
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
198
- * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
199
+ * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
199
200
  */
200
201
  return await this.fetchTransactionsWithMethod('privateGetTransfers', code, since, limit, params);
201
202
  }
@@ -208,7 +209,7 @@ class btcmarkets extends btcmarkets$1 {
208
209
  * @param {int} [since] the earliest time in ms to fetch deposits for
209
210
  * @param {int} [limit] the maximum number of deposits structures to retrieve
210
211
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
211
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
212
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
212
213
  */
213
214
  return await this.fetchTransactionsWithMethod('privateGetDeposits', code, since, limit, params);
214
215
  }
@@ -221,7 +222,7 @@ class btcmarkets extends btcmarkets$1 {
221
222
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
222
223
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
223
224
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
224
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
225
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
225
226
  */
226
227
  return await this.fetchTransactionsWithMethod('privateGetWithdrawals', code, since, limit, params);
227
228
  }
@@ -471,7 +472,7 @@ class btcmarkets extends btcmarkets$1 {
471
472
  * @name btcmarkets#fetchBalance
472
473
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
473
474
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
474
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
475
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
475
476
  */
476
477
  await this.loadMarkets();
477
478
  const response = await this.privateGetAccountsMeBalances(params);
@@ -544,7 +545,7 @@ class btcmarkets extends btcmarkets$1 {
544
545
  * @param {string} symbol unified symbol of the market to fetch the order book for
545
546
  * @param {int} [limit] the maximum amount of order book entries to return
546
547
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
547
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
548
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
548
549
  */
549
550
  await this.loadMarkets();
550
551
  const market = this.market(symbol);
@@ -630,7 +631,7 @@ class btcmarkets extends btcmarkets$1 {
630
631
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
631
632
  * @param {string} symbol unified symbol of the market to fetch the ticker for
632
633
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
633
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
634
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
634
635
  */
635
636
  await this.loadMarkets();
636
637
  const market = this.market(symbol);
@@ -740,7 +741,7 @@ class btcmarkets extends btcmarkets$1 {
740
741
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
741
742
  * @param {int} [limit] the maximum amount of trades to fetch
742
743
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
743
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
744
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
744
745
  */
745
746
  await this.loadMarkets();
746
747
  const market = this.market(symbol);
@@ -769,7 +770,7 @@ class btcmarkets extends btcmarkets$1 {
769
770
  * @param {float} amount how much of currency you want to trade in units of base currency
770
771
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
771
772
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
772
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
773
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
773
774
  */
774
775
  await this.loadMarkets();
775
776
  const market = this.market(symbol);
@@ -866,7 +867,7 @@ class btcmarkets extends btcmarkets$1 {
866
867
  * @param {string[]} ids order ids
867
868
  * @param {string} symbol not used by btcmarkets cancelOrders ()
868
869
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
869
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
870
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
870
871
  */
871
872
  await this.loadMarkets();
872
873
  for (let i = 0; i < ids.length; i++) {
@@ -885,7 +886,7 @@ class btcmarkets extends btcmarkets$1 {
885
886
  * @param {string} id order id
886
887
  * @param {string} symbol not used by btcmarket cancelOrder ()
887
888
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
888
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
889
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
889
890
  */
890
891
  await this.loadMarkets();
891
892
  const request = {
@@ -1003,7 +1004,7 @@ class btcmarkets extends btcmarkets$1 {
1003
1004
  * @description fetches information on an order made by the user
1004
1005
  * @param {string} symbol not used by btcmarkets fetchOrder
1005
1006
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1006
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1007
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1007
1008
  */
1008
1009
  await this.loadMarkets();
1009
1010
  const request = {
@@ -1021,7 +1022,7 @@ class btcmarkets extends btcmarkets$1 {
1021
1022
  * @param {int} [since] the earliest time in ms to fetch orders for
1022
1023
  * @param {int} [limit] the maximum number of orde structures to retrieve
1023
1024
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1024
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1025
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1025
1026
  */
1026
1027
  await this.loadMarkets();
1027
1028
  const request = {
@@ -1050,7 +1051,7 @@ class btcmarkets extends btcmarkets$1 {
1050
1051
  * @param {int} [since] the earliest time in ms to fetch open orders for
1051
1052
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1052
1053
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1053
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1054
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1054
1055
  */
1055
1056
  const request = { 'status': 'open' };
1056
1057
  return await this.fetchOrders(symbol, since, limit, this.extend(request, params));
@@ -1064,7 +1065,7 @@ class btcmarkets extends btcmarkets$1 {
1064
1065
  * @param {int} [since] the earliest time in ms to fetch orders for
1065
1066
  * @param {int} [limit] the maximum number of orde structures to retrieve
1066
1067
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1067
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1068
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1068
1069
  */
1069
1070
  const orders = await this.fetchOrders(symbol, since, limit, params);
1070
1071
  return this.filterBy(orders, 'status', 'closed');
@@ -1078,7 +1079,7 @@ class btcmarkets extends btcmarkets$1 {
1078
1079
  * @param {int} [since] the earliest time in ms to fetch trades for
1079
1080
  * @param {int} [limit] the maximum number of trades structures to retrieve
1080
1081
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1081
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1082
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1082
1083
  */
1083
1084
  await this.loadMarkets();
1084
1085
  const request = {};
@@ -1133,7 +1134,7 @@ class btcmarkets extends btcmarkets$1 {
1133
1134
  * @param {string} address the address to withdraw to
1134
1135
  * @param {string} tag
1135
1136
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1136
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1137
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1137
1138
  */
1138
1139
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1139
1140
  await this.loadMarkets();