ccxt 4.1.55 → 4.1.57

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 (328) hide show
  1. package/.git-templates/hooks/pre-push +2 -2
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +6 -6
  4. package/build.sh +30 -8
  5. package/dist/ccxt.browser.js +5592 -4907
  6. package/dist/ccxt.browser.min.js +13 -13
  7. package/dist/cjs/ccxt.js +1 -1
  8. package/dist/cjs/src/ace.js +17 -13
  9. package/dist/cjs/src/alpaca.js +6 -6
  10. package/dist/cjs/src/ascendex.js +35 -29
  11. package/dist/cjs/src/base/Exchange.js +39 -26
  12. package/dist/cjs/src/base/Precise.js +1 -3
  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 +17 -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 +129 -94
  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 +101 -78
  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 +135 -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 +92 -84
  82. package/dist/cjs/src/p2b.js +80 -83
  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 +6 -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/bitbank.d.ts +1 -0
  152. package/js/src/abstract/bybit.d.ts +1 -0
  153. package/js/src/abstract/cryptocom.d.ts +0 -20
  154. package/js/src/abstract/htx.d.ts +3 -0
  155. package/js/src/abstract/huobi.d.ts +3 -0
  156. package/js/src/abstract/huobipro.d.ts +3 -0
  157. package/js/src/abstract/okex.d.ts +3 -1
  158. package/js/src/abstract/okex5.d.ts +3 -1
  159. package/js/src/abstract/okx.d.ts +3 -1
  160. package/js/src/ace.js +18 -14
  161. package/js/src/alpaca.js +6 -6
  162. package/js/src/ascendex.js +35 -29
  163. package/js/src/base/Exchange.d.ts +37 -34
  164. package/js/src/base/Exchange.js +39 -26
  165. package/js/src/base/Precise.d.ts +4 -4
  166. package/js/src/base/Precise.js +1 -3
  167. package/js/src/base/functions/type.d.ts +25 -25
  168. package/js/src/base/types.d.ts +21 -14
  169. package/js/src/bigone.js +25 -21
  170. package/js/src/binance.d.ts +2 -2
  171. package/js/src/binance.js +97 -76
  172. package/js/src/bingx.js +63 -44
  173. package/js/src/bit2c.js +19 -16
  174. package/js/src/bitbank.js +17 -15
  175. package/js/src/bitbns.js +28 -18
  176. package/js/src/bitfinex.js +23 -21
  177. package/js/src/bitfinex2.js +32 -28
  178. package/js/src/bitflyer.js +28 -20
  179. package/js/src/bitforex.js +26 -19
  180. package/js/src/bitget.d.ts +25 -3
  181. package/js/src/bitget.js +184 -147
  182. package/js/src/bithumb.js +23 -16
  183. package/js/src/bitmart.d.ts +1 -1
  184. package/js/src/bitmart.js +129 -94
  185. package/js/src/bitmex.d.ts +2 -2
  186. package/js/src/bitmex.js +104 -64
  187. package/js/src/bitopro.js +38 -26
  188. package/js/src/bitpanda.js +24 -23
  189. package/js/src/bitrue.js +33 -24
  190. package/js/src/bitso.js +24 -23
  191. package/js/src/bitstamp.d.ts +2 -2
  192. package/js/src/bitstamp.js +24 -23
  193. package/js/src/bittrex.js +30 -29
  194. package/js/src/bitvavo.js +38 -30
  195. package/js/src/bl3p.js +11 -10
  196. package/js/src/blockchaincom.js +20 -20
  197. package/js/src/btcalpha.js +18 -17
  198. package/js/src/btcbox.js +13 -12
  199. package/js/src/btcmarkets.js +20 -19
  200. package/js/src/btcturk.js +14 -13
  201. package/js/src/bybit.d.ts +1 -1
  202. package/js/src/bybit.js +84 -54
  203. package/js/src/cex.js +16 -14
  204. package/js/src/coinbase.js +29 -27
  205. package/js/src/coinbasepro.js +27 -25
  206. package/js/src/coincheck.js +15 -14
  207. package/js/src/coinex.d.ts +1 -1
  208. package/js/src/coinex.js +101 -78
  209. package/js/src/coinlist.js +28 -27
  210. package/js/src/coinmate.js +21 -18
  211. package/js/src/coinone.js +21 -16
  212. package/js/src/coinsph.js +37 -28
  213. package/js/src/coinspot.js +12 -11
  214. package/js/src/cryptocom.d.ts +0 -23
  215. package/js/src/cryptocom.js +40 -202
  216. package/js/src/currencycom.js +32 -25
  217. package/js/src/delta.js +35 -29
  218. package/js/src/deribit.js +39 -36
  219. package/js/src/digifinex.d.ts +2 -2
  220. package/js/src/digifinex.js +65 -45
  221. package/js/src/exmo.js +29 -27
  222. package/js/src/gate.d.ts +1 -1
  223. package/js/src/gate.js +67 -53
  224. package/js/src/gemini.js +23 -20
  225. package/js/src/hitbtc.d.ts +1 -0
  226. package/js/src/hitbtc.js +65 -56
  227. package/js/src/hollaex.js +30 -27
  228. package/js/src/htx.d.ts +11 -3
  229. package/js/src/htx.js +135 -143
  230. package/js/src/huobijp.js +23 -21
  231. package/js/src/idex.js +22 -21
  232. package/js/src/independentreserve.js +15 -14
  233. package/js/src/indodax.js +30 -26
  234. package/js/src/kraken.js +29 -27
  235. package/js/src/krakenfutures.js +29 -22
  236. package/js/src/kucoin.d.ts +1 -1
  237. package/js/src/kucoin.js +48 -43
  238. package/js/src/kucoinfutures.js +33 -28
  239. package/js/src/kuna.js +25 -24
  240. package/js/src/latoken.js +25 -23
  241. package/js/src/lbank.js +46 -31
  242. package/js/src/luno.js +22 -19
  243. package/js/src/lykke.js +19 -17
  244. package/js/src/mercado.js +30 -19
  245. package/js/src/mexc.d.ts +1 -1
  246. package/js/src/mexc.js +60 -49
  247. package/js/src/ndax.js +23 -22
  248. package/js/src/novadax.js +23 -22
  249. package/js/src/oceanex.js +22 -19
  250. package/js/src/okcoin.js +29 -23
  251. package/js/src/okx.d.ts +2 -2
  252. package/js/src/okx.js +92 -84
  253. package/js/src/p2b.d.ts +8 -7
  254. package/js/src/p2b.js +80 -82
  255. package/js/src/paymium.js +10 -10
  256. package/js/src/phemex.js +63 -40
  257. package/js/src/poloniex.js +22 -22
  258. package/js/src/poloniexfutures.js +23 -19
  259. package/js/src/pro/alpaca.js +5 -5
  260. package/js/src/pro/ascendex.js +4 -4
  261. package/js/src/pro/binance.js +16 -16
  262. package/js/src/pro/bingx.js +1 -1
  263. package/js/src/pro/bitfinex.js +4 -4
  264. package/js/src/pro/bitfinex2.d.ts +1 -1
  265. package/js/src/pro/bitfinex2.js +6 -6
  266. package/js/src/pro/bitget.js +7 -7
  267. package/js/src/pro/bitmart.js +7 -5
  268. package/js/src/pro/bitmex.js +6 -6
  269. package/js/src/pro/bitopro.js +4 -4
  270. package/js/src/pro/bitpanda.js +6 -6
  271. package/js/src/pro/bitrue.js +2 -2
  272. package/js/src/pro/bitstamp.js +7 -5
  273. package/js/src/pro/bittrex.js +6 -6
  274. package/js/src/pro/bitvavo.js +12 -8
  275. package/js/src/pro/blockchaincom.js +8 -8
  276. package/js/src/pro/bybit.js +7 -7
  277. package/js/src/pro/cex.js +14 -10
  278. package/js/src/pro/coinbase.js +5 -5
  279. package/js/src/pro/coinbasepro.js +12 -11
  280. package/js/src/pro/coinex.js +7 -9
  281. package/js/src/pro/cryptocom.js +9 -9
  282. package/js/src/pro/currencycom.js +4 -4
  283. package/js/src/pro/deribit.js +6 -6
  284. package/js/src/pro/exmo.js +12 -14
  285. package/js/src/pro/gate.js +7 -7
  286. package/js/src/pro/gemini.js +3 -3
  287. package/js/src/pro/hitbtc.d.ts +8 -1
  288. package/js/src/pro/hitbtc.js +264 -5
  289. package/js/src/pro/hollaex.js +5 -5
  290. package/js/src/pro/htx.js +6 -6
  291. package/js/src/pro/huobijp.js +3 -3
  292. package/js/src/pro/idex.js +4 -4
  293. package/js/src/pro/independentreserve.js +2 -2
  294. package/js/src/pro/kraken.js +10 -10
  295. package/js/src/pro/krakenfutures.d.ts +1 -0
  296. package/js/src/pro/krakenfutures.js +42 -18
  297. package/js/src/pro/kucoin.js +7 -7
  298. package/js/src/pro/kucoinfutures.js +8 -6
  299. package/js/src/pro/luno.js +2 -2
  300. package/js/src/pro/mexc.js +6 -6
  301. package/js/src/pro/ndax.js +3 -3
  302. package/js/src/pro/okcoin.js +5 -5
  303. package/js/src/pro/okx.js +12 -12
  304. package/js/src/pro/phemex.js +6 -6
  305. package/js/src/pro/poloniex.js +7 -7
  306. package/js/src/pro/poloniexfutures.js +5 -5
  307. package/js/src/pro/probit.js +6 -6
  308. package/js/src/pro/upbit.js +3 -3
  309. package/js/src/pro/wazirx.js +8 -8
  310. package/js/src/pro/whitebit.js +13 -9
  311. package/js/src/pro/woo.js +1 -1
  312. package/js/src/probit.js +29 -24
  313. package/js/src/tidex.js +16 -15
  314. package/js/src/timex.js +19 -18
  315. package/js/src/tokocrypto.js +28 -23
  316. package/js/src/upbit.js +19 -19
  317. package/js/src/wavesexchange.js +23 -20
  318. package/js/src/wazirx.js +25 -18
  319. package/js/src/whitebit.js +33 -27
  320. package/js/src/woo.js +45 -35
  321. package/js/src/yobit.js +25 -20
  322. package/js/src/zaif.js +9 -9
  323. package/js/src/zonda.js +18 -17
  324. package/package.json +2 -2
  325. package/js/src/bitstamp1.d.ts +0 -28
  326. package/js/src/bitstamp1.js +0 -430
  327. package/js/src/lbank2.d.ts +0 -90
  328. package/js/src/lbank2.js +0 -2779
@@ -45,14 +45,13 @@ class coinlist extends coinlist$1 {
45
45
  'fetchBalance': true,
46
46
  'fetchBidsAsks': false,
47
47
  'fetchBorrowInterest': false,
48
- 'fetchBorrowRate': false,
49
48
  'fetchBorrowRateHistories': false,
50
49
  'fetchBorrowRateHistory': false,
51
- 'fetchBorrowRates': false,
52
- 'fetchBorrowRatesPerSymbol': false,
53
50
  'fetchCanceledOrders': true,
54
51
  'fetchClosedOrder': false,
55
52
  'fetchClosedOrders': true,
53
+ 'fetchCrossBorrowRate': false,
54
+ 'fetchCrossBorrowRates': false,
56
55
  'fetchCurrencies': true,
57
56
  'fetchDeposit': false,
58
57
  'fetchDepositAddress': false,
@@ -67,6 +66,8 @@ class coinlist extends coinlist$1 {
67
66
  'fetchFundingRateHistory': false,
68
67
  'fetchFundingRates': false,
69
68
  'fetchIndexOHLCV': false,
69
+ 'fetchIsolatedBorrowRate': false,
70
+ 'fetchIsolatedBorrowRates': false,
70
71
  'fetchL3OrderBook': false,
71
72
  'fetchLedger': true,
72
73
  'fetchLeverage': false,
@@ -481,7 +482,7 @@ class coinlist extends coinlist$1 {
481
482
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#get-symbol-summaries
482
483
  * @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
483
484
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
484
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
485
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
485
486
  */
486
487
  await this.loadMarkets();
487
488
  const request = {};
@@ -518,7 +519,7 @@ class coinlist extends coinlist$1 {
518
519
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#get-market-summary
519
520
  * @param {string} symbol unified symbol of the market to fetch the ticker for
520
521
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
521
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
522
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
522
523
  */
523
524
  await this.loadMarkets();
524
525
  const market = this.market(symbol);
@@ -610,7 +611,7 @@ class coinlist extends coinlist$1 {
610
611
  * @param {string} symbol unified symbol of the market to fetch the order book for
611
612
  * @param {int} [limit] the maximum amount of order book entries to return (default 100, max 200)
612
613
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
613
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
614
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
614
615
  */
615
616
  await this.loadMarkets();
616
617
  const market = this.market(symbol);
@@ -736,7 +737,7 @@ class coinlist extends coinlist$1 {
736
737
  * @param {int} [limit] the maximum amount of trades to fetch (default 200, max 500)
737
738
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
738
739
  * @param {int} [params.until] the latest time in ms to fetch entries for
739
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
740
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
740
741
  */
741
742
  await this.loadMarkets();
742
743
  const market = this.market(symbol);
@@ -867,7 +868,7 @@ class coinlist extends coinlist$1 {
867
868
  * @description fetch the trading fees for multiple markets
868
869
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#list-fees
869
870
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
870
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
871
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
871
872
  */
872
873
  await this.loadMarkets();
873
874
  const response = await this.privateGetV1Fees(params);
@@ -1048,7 +1049,7 @@ class coinlist extends coinlist$1 {
1048
1049
  * @description fetch all the accounts associated with a profile
1049
1050
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#list-accounts
1050
1051
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1051
- * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
1052
+ * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1052
1053
  */
1053
1054
  await this.loadMarkets();
1054
1055
  const response = await this.privateGetV1Accounts(params);
@@ -1086,7 +1087,7 @@ class coinlist extends coinlist$1 {
1086
1087
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1087
1088
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#list-balances
1088
1089
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1089
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1090
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1090
1091
  */
1091
1092
  await this.loadMarkets();
1092
1093
  const response = await this.privateGetV1Balances(params);
@@ -1136,7 +1137,7 @@ class coinlist extends coinlist$1 {
1136
1137
  * @param {int} [limit] the maximum number of trades structures to retrieve (default 200, max 500)
1137
1138
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1138
1139
  * @param {int} [params.until] the latest time in ms to fetch entries for
1139
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1140
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1140
1141
  */
1141
1142
  await this.loadMarkets();
1142
1143
  const request = {};
@@ -1199,7 +1200,7 @@ class coinlist extends coinlist$1 {
1199
1200
  * @param {int} [since] the earliest time in ms to fetch trades for
1200
1201
  * @param {int} [limit] the maximum number of trades to retrieve
1201
1202
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1202
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1203
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1203
1204
  */
1204
1205
  const request = {
1205
1206
  'order_id': id,
@@ -1218,7 +1219,7 @@ class coinlist extends coinlist$1 {
1218
1219
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1219
1220
  * @param {int} [params.until] the latest time in ms to fetch entries for
1220
1221
  * @param {string|string[]} [params.status] the status of the order - 'accepted', 'done', 'canceled', 'rejected', 'pending' (default [ 'accepted', 'done', 'canceled', 'rejected', 'pending' ])
1221
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1222
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1222
1223
  */
1223
1224
  await this.loadMarkets();
1224
1225
  let status = this.safeString(params, 'status');
@@ -1283,7 +1284,7 @@ class coinlist extends coinlist$1 {
1283
1284
  * @param {int|string} id order id
1284
1285
  * @param {string} symbol not used by coinlist fetchOrder ()
1285
1286
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1286
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1287
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1287
1288
  */
1288
1289
  await this.loadMarkets();
1289
1290
  const request = {
@@ -1327,7 +1328,7 @@ class coinlist extends coinlist$1 {
1327
1328
  * @param {int} [limit] the maximum number of open order structures to retrieve (default 200, max 500)
1328
1329
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1329
1330
  * @param {int} [params.until] the latest time in ms to fetch entries for
1330
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1331
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1331
1332
  */
1332
1333
  await this.loadMarkets();
1333
1334
  const request = {
@@ -1346,7 +1347,7 @@ class coinlist extends coinlist$1 {
1346
1347
  * @param {int} [limit] the maximum number of closed order structures to retrieve (default 200, max 500)
1347
1348
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1348
1349
  * @param {int} [params.until] the latest time in ms to fetch entries for
1349
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1350
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1350
1351
  */
1351
1352
  await this.loadMarkets();
1352
1353
  const request = {
@@ -1365,7 +1366,7 @@ class coinlist extends coinlist$1 {
1365
1366
  * @param {int} [limit] the maximum number of canceled order structures to retrieve (default 200, max 500)
1366
1367
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1367
1368
  * @param {int} [params.until] the latest time in ms to fetch entries for
1368
- * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1369
+ * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1369
1370
  */
1370
1371
  await this.loadMarkets();
1371
1372
  const request = {
@@ -1381,7 +1382,7 @@ class coinlist extends coinlist$1 {
1381
1382
  * @see https://trade-docs.coinlist.co/?javascript--nodejs#cancel-all-orders
1382
1383
  * @param {string} symbol unified market symbol
1383
1384
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1384
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1385
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1385
1386
  */
1386
1387
  await this.loadMarkets();
1387
1388
  let market = undefined;
@@ -1409,7 +1410,7 @@ class coinlist extends coinlist$1 {
1409
1410
  * @param {string} id order id
1410
1411
  * @param {string} symbol not used by coinlist cancelOrder ()
1411
1412
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1412
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1413
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1413
1414
  */
1414
1415
  await this.loadMarkets();
1415
1416
  const request = {
@@ -1434,7 +1435,7 @@ class coinlist extends coinlist$1 {
1434
1435
  * @param {string[]} ids order ids
1435
1436
  * @param {string} symbol not used by coinlist cancelOrders ()
1436
1437
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1437
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1438
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1438
1439
  */
1439
1440
  await this.loadMarkets();
1440
1441
  params = ids;
@@ -1456,7 +1457,7 @@ class coinlist extends coinlist$1 {
1456
1457
  * @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately (default false)
1457
1458
  * @param {float} [params.triggerPrice] only for the 'stop_market', 'stop_limit', 'take_market' or 'take_limit' orders (the price at which an order is triggered)
1458
1459
  * @param {string} [params.clientOrderId] client order id (default undefined)
1459
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1460
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1460
1461
  */
1461
1462
  await this.loadMarkets();
1462
1463
  const market = this.market(symbol);
@@ -1530,7 +1531,7 @@ class coinlist extends coinlist$1 {
1530
1531
  * @param {float} amount how much of currency you want to trade in units of base currency
1531
1532
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1532
1533
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1533
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1534
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1534
1535
  */
1535
1536
  await this.loadMarkets();
1536
1537
  if (amount === undefined) {
@@ -1709,7 +1710,7 @@ class coinlist extends coinlist$1 {
1709
1710
  * @param {string} fromAccount account to transfer from
1710
1711
  * @param {string} toAccount account to transfer to
1711
1712
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1712
- * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1713
+ * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1713
1714
  */
1714
1715
  await this.loadMarkets();
1715
1716
  const currency = this.currency(code);
@@ -1761,7 +1762,7 @@ class coinlist extends coinlist$1 {
1761
1762
  * @param {int} [limit] the maximum number of transfer structures to retrieve (default 200, max 500)
1762
1763
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1763
1764
  * @param {int} [params.until] the latest time in ms to fetch entries for
1764
- * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1765
+ * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1765
1766
  */
1766
1767
  await this.loadMarkets();
1767
1768
  let currency = undefined;
@@ -1880,7 +1881,7 @@ class coinlist extends coinlist$1 {
1880
1881
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal
1881
1882
  * @param {int} [limit] max number of deposit/withdrawals to return (default 200, max 500)
1882
1883
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1883
- * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1884
+ * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1884
1885
  */
1885
1886
  if (code === undefined) {
1886
1887
  throw new errors.ArgumentsRequired(this.id + ' fetchDepositsWithdrawals() requires a code argument');
@@ -1958,7 +1959,7 @@ class coinlist extends coinlist$1 {
1958
1959
  * @param {string} address the address to withdraw to
1959
1960
  * @param {string} tag
1960
1961
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
1961
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1962
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1962
1963
  */
1963
1964
  await this.loadMarkets();
1964
1965
  const currency = this.currency(code);
@@ -2057,7 +2058,7 @@ class coinlist extends coinlist$1 {
2057
2058
  * @param {int} [limit] max number of ledger entrys to return (default 200, max 500)
2058
2059
  * @param {object} [params] extra parameters specific to the coinlist api endpoint
2059
2060
  * @param {int} [params.until] the latest time in ms to fetch entries for
2060
- * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
2061
+ * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
2061
2062
  */
2062
2063
  const traderId = this.safeString2(params, 'trader_id', 'traderId');
2063
2064
  if (traderId === undefined) {
@@ -31,17 +31,18 @@ class coinmate extends coinmate$1 {
31
31
  'createOrder': true,
32
32
  'createReduceOnlyOrder': false,
33
33
  'fetchBalance': true,
34
- 'fetchBorrowRate': false,
35
34
  'fetchBorrowRateHistories': false,
36
35
  'fetchBorrowRateHistory': false,
37
- 'fetchBorrowRates': false,
38
- 'fetchBorrowRatesPerSymbol': false,
36
+ 'fetchCrossBorrowRate': false,
37
+ 'fetchCrossBorrowRates': false,
39
38
  'fetchDepositsWithdrawals': true,
40
39
  'fetchFundingHistory': false,
41
40
  'fetchFundingRate': false,
42
41
  'fetchFundingRateHistory': false,
43
42
  'fetchFundingRates': false,
44
43
  'fetchIndexOHLCV': false,
44
+ 'fetchIsolatedBorrowRate': false,
45
+ 'fetchIsolatedBorrowRates': false,
45
46
  'fetchLeverage': false,
46
47
  'fetchLeverageTiers': false,
47
48
  'fetchMarginMode': false,
@@ -316,7 +317,7 @@ class coinmate extends coinmate$1 {
316
317
  * @name coinmate#fetchBalance
317
318
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
318
319
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
319
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
320
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
320
321
  */
321
322
  await this.loadMarkets();
322
323
  const response = await this.privatePostBalances(params);
@@ -330,7 +331,7 @@ class coinmate extends coinmate$1 {
330
331
  * @param {string} symbol unified symbol of the market to fetch the order book for
331
332
  * @param {int} [limit] the maximum amount of order book entries to return
332
333
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
333
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
334
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
334
335
  */
335
336
  await this.loadMarkets();
336
337
  const market = this.market(symbol);
@@ -350,7 +351,7 @@ class coinmate extends coinmate$1 {
350
351
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
351
352
  * @param {string} symbol unified symbol of the market to fetch the ticker for
352
353
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
353
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
354
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
354
355
  */
355
356
  await this.loadMarkets();
356
357
  const market = this.market(symbol);
@@ -393,7 +394,7 @@ class coinmate extends coinmate$1 {
393
394
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
394
395
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
395
396
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
396
- * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
397
+ * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
397
398
  */
398
399
  await this.loadMarkets();
399
400
  const request = {
@@ -506,7 +507,7 @@ class coinmate extends coinmate$1 {
506
507
  * @param {string} address the address to withdraw to
507
508
  * @param {string} tag
508
509
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
509
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
510
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
510
511
  */
511
512
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
512
513
  this.checkAddress(address);
@@ -558,7 +559,7 @@ class coinmate extends coinmate$1 {
558
559
  * @param {int} [since] the earliest time in ms to fetch trades for
559
560
  * @param {int} [limit] the maximum number of trades structures to retrieve
560
561
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
561
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
562
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
562
563
  */
563
564
  await this.loadMarkets();
564
565
  if (limit === undefined) {
@@ -650,7 +651,7 @@ class coinmate extends coinmate$1 {
650
651
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
651
652
  * @param {int} [limit] the maximum amount of trades to fetch
652
653
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
653
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
654
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
654
655
  */
655
656
  await this.loadMarkets();
656
657
  const market = this.market(symbol);
@@ -685,7 +686,7 @@ class coinmate extends coinmate$1 {
685
686
  * @description fetch the trading fees for a market
686
687
  * @param {string} symbol unified market symbol
687
688
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
688
- * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
689
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
689
690
  */
690
691
  await this.loadMarkets();
691
692
  const market = this.market(symbol);
@@ -723,7 +724,7 @@ class coinmate extends coinmate$1 {
723
724
  * @param {int} [since] the earliest time in ms to fetch open orders for
724
725
  * @param {int} [limit] the maximum number of open orders structures to retrieve
725
726
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
726
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
727
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
727
728
  */
728
729
  const response = await this.privatePostOpenOrders(this.extend({}, params));
729
730
  const extension = { 'status': 'open' };
@@ -738,9 +739,11 @@ class coinmate extends coinmate$1 {
738
739
  * @param {int} [since] the earliest time in ms to fetch orders for
739
740
  * @param {int} [limit] the maximum number of order structures to retrieve
740
741
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
741
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
742
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
742
743
  */
743
- this.checkRequiredSymbol('fetchOrders', symbol);
744
+ if (symbol === undefined) {
745
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
746
+ }
744
747
  await this.loadMarkets();
745
748
  const market = this.market(symbol);
746
749
  const request = {
@@ -861,7 +864,7 @@ class coinmate extends coinmate$1 {
861
864
  * @param {float} amount how much of currency you want to trade in units of base currency
862
865
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
863
866
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
864
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
867
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
865
868
  */
866
869
  await this.loadMarkets();
867
870
  let method = 'privatePost' + this.capitalize(side);
@@ -897,7 +900,7 @@ class coinmate extends coinmate$1 {
897
900
  * @description fetches information on an order made by the user
898
901
  * @param {string} symbol unified symbol of the market the order was made in
899
902
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
900
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
903
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
901
904
  */
902
905
  await this.loadMarkets();
903
906
  const request = {
@@ -919,7 +922,7 @@ class coinmate extends coinmate$1 {
919
922
  * @param {string} id order id
920
923
  * @param {string} symbol not used by coinmate cancelOrder ()
921
924
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
922
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
925
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
923
926
  */
924
927
  // {"error":false,"errorMessage":null,"data":{"success":true,"remainingAmount":0.01}}
925
928
  const request = { 'orderId': id };
@@ -38,18 +38,19 @@ class coinone extends coinone$1 {
38
38
  'createStopMarketOrder': false,
39
39
  'createStopOrder': false,
40
40
  'fetchBalance': true,
41
- 'fetchBorrowRate': false,
42
41
  'fetchBorrowRateHistories': false,
43
42
  'fetchBorrowRateHistory': false,
44
- 'fetchBorrowRates': false,
45
- 'fetchBorrowRatesPerSymbol': false,
46
43
  'fetchClosedOrders': false,
44
+ 'fetchCrossBorrowRate': false,
45
+ 'fetchCrossBorrowRates': false,
47
46
  'fetchDepositAddresses': true,
48
47
  'fetchFundingHistory': false,
49
48
  'fetchFundingRate': false,
50
49
  'fetchFundingRateHistory': false,
51
50
  'fetchFundingRates': false,
52
51
  'fetchIndexOHLCV': false,
52
+ 'fetchIsolatedBorrowRate': false,
53
+ 'fetchIsolatedBorrowRates': false,
53
54
  'fetchLeverage': false,
54
55
  'fetchLeverageTiers': false,
55
56
  'fetchMarginMode': false,
@@ -260,7 +261,7 @@ class coinone extends coinone$1 {
260
261
  * @name coinone#fetchBalance
261
262
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
262
263
  * @param {object} [params] extra parameters specific to the coinone api endpoint
263
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
264
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
264
265
  */
265
266
  await this.loadMarkets();
266
267
  const response = await this.privatePostAccountBalance(params);
@@ -274,7 +275,7 @@ class coinone extends coinone$1 {
274
275
  * @param {string} symbol unified symbol of the market to fetch the order book for
275
276
  * @param {int} [limit] the maximum amount of order book entries to return
276
277
  * @param {object} [params] extra parameters specific to the coinone api endpoint
277
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
278
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
278
279
  */
279
280
  await this.loadMarkets();
280
281
  const market = this.market(symbol);
@@ -293,7 +294,7 @@ class coinone extends coinone$1 {
293
294
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
294
295
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
295
296
  * @param {object} [params] extra parameters specific to the coinone api endpoint
296
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
297
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
297
298
  */
298
299
  await this.loadMarkets();
299
300
  symbols = this.marketSymbols(symbols);
@@ -322,7 +323,7 @@ class coinone extends coinone$1 {
322
323
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
323
324
  * @param {string} symbol unified symbol of the market to fetch the ticker for
324
325
  * @param {object} [params] extra parameters specific to the coinone api endpoint
325
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
326
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
326
327
  */
327
328
  await this.loadMarkets();
328
329
  const market = this.market(symbol);
@@ -461,7 +462,7 @@ class coinone extends coinone$1 {
461
462
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
462
463
  * @param {int} [limit] the maximum amount of trades to fetch
463
464
  * @param {object} [params] extra parameters specific to the coinone api endpoint
464
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
465
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
465
466
  */
466
467
  await this.loadMarkets();
467
468
  const market = this.market(symbol);
@@ -502,7 +503,7 @@ class coinone extends coinone$1 {
502
503
  * @param {float} amount how much of currency you want to trade in units of base currency
503
504
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
504
505
  * @param {object} [params] extra parameters specific to the coinone api endpoint
505
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
506
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
506
507
  */
507
508
  if (type !== 'limit') {
508
509
  throw new errors.ExchangeError(this.id + ' createOrder() allows limit orders only');
@@ -532,9 +533,11 @@ class coinone extends coinone$1 {
532
533
  * @description fetches information on an order made by the user
533
534
  * @param {string} symbol unified symbol of the market the order was made in
534
535
  * @param {object} [params] extra parameters specific to the coinone api endpoint
535
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
536
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
536
537
  */
537
- this.checkRequiredSymbol('fetchOrder', symbol);
538
+ if (symbol === undefined) {
539
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
540
+ }
538
541
  await this.loadMarkets();
539
542
  const market = this.market(symbol);
540
543
  const request = {
@@ -700,7 +703,7 @@ class coinone extends coinone$1 {
700
703
  * @param {int} [since] the earliest time in ms to fetch open orders for
701
704
  * @param {int} [limit] the maximum number of open orders structures to retrieve
702
705
  * @param {object} [params] extra parameters specific to the coinone api endpoint
703
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
706
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
704
707
  */
705
708
  // The returned amount might not be same as the ordered amount. If an order is partially filled, the returned amount means the remaining amount.
706
709
  // For the same reason, the returned amount and remaining are always same, and the returned filled and cost are always zero.
@@ -742,9 +745,11 @@ class coinone extends coinone$1 {
742
745
  * @param {int} [since] the earliest time in ms to fetch trades for
743
746
  * @param {int} [limit] the maximum number of trades structures to retrieve
744
747
  * @param {object} [params] extra parameters specific to the coinone api endpoint
745
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
748
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
746
749
  */
747
- this.checkRequiredSymbol('fetchMyTrades', symbol);
750
+ if (symbol === undefined) {
751
+ throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
752
+ }
748
753
  await this.loadMarkets();
749
754
  const market = this.market(symbol);
750
755
  const request = {
@@ -782,7 +787,7 @@ class coinone extends coinone$1 {
782
787
  * @param {string} id order id
783
788
  * @param {string} symbol unified symbol of the market the order was made in
784
789
  * @param {object} [params] extra parameters specific to the coinone api endpoint
785
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
790
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
786
791
  */
787
792
  if (symbol === undefined) {
788
793
  // eslint-disable-next-line quotes
@@ -819,7 +824,7 @@ class coinone extends coinone$1 {
819
824
  * @description fetch deposit addresses for multiple currencies and chain types
820
825
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
821
826
  * @param {object} [params] extra parameters specific to the coinone api endpoint
822
- * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
827
+ * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
823
828
  */
824
829
  await this.loadMarkets();
825
830
  const response = await this.privatePostAccountDepositAddress(params);