ccxt 4.1.56 → 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 (316) 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 +3872 -3202
  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/bigone.js +24 -20
  13. package/dist/cjs/src/binance.js +97 -76
  14. package/dist/cjs/src/bingx.js +63 -44
  15. package/dist/cjs/src/bit2c.js +18 -15
  16. package/dist/cjs/src/bitbank.js +16 -15
  17. package/dist/cjs/src/bitbns.js +28 -18
  18. package/dist/cjs/src/bitfinex.js +23 -21
  19. package/dist/cjs/src/bitfinex2.js +32 -28
  20. package/dist/cjs/src/bitflyer.js +28 -20
  21. package/dist/cjs/src/bitforex.js +25 -18
  22. package/dist/cjs/src/bitget.js +184 -147
  23. package/dist/cjs/src/bithumb.js +23 -16
  24. package/dist/cjs/src/bitmart.js +106 -85
  25. package/dist/cjs/src/bitmex.js +104 -64
  26. package/dist/cjs/src/bitopro.js +38 -26
  27. package/dist/cjs/src/bitpanda.js +24 -23
  28. package/dist/cjs/src/bitrue.js +33 -24
  29. package/dist/cjs/src/bitso.js +24 -23
  30. package/dist/cjs/src/bitstamp.js +24 -23
  31. package/dist/cjs/src/bittrex.js +30 -29
  32. package/dist/cjs/src/bitvavo.js +38 -30
  33. package/dist/cjs/src/bl3p.js +11 -10
  34. package/dist/cjs/src/blockchaincom.js +20 -20
  35. package/dist/cjs/src/btcalpha.js +18 -17
  36. package/dist/cjs/src/btcbox.js +13 -12
  37. package/dist/cjs/src/btcmarkets.js +20 -19
  38. package/dist/cjs/src/btcturk.js +14 -13
  39. package/dist/cjs/src/bybit.js +84 -54
  40. package/dist/cjs/src/cex.js +16 -14
  41. package/dist/cjs/src/coinbase.js +29 -27
  42. package/dist/cjs/src/coinbasepro.js +27 -25
  43. package/dist/cjs/src/coincheck.js +15 -14
  44. package/dist/cjs/src/coinex.js +100 -77
  45. package/dist/cjs/src/coinlist.js +28 -27
  46. package/dist/cjs/src/coinmate.js +20 -17
  47. package/dist/cjs/src/coinone.js +21 -16
  48. package/dist/cjs/src/coinsph.js +37 -28
  49. package/dist/cjs/src/coinspot.js +12 -11
  50. package/dist/cjs/src/cryptocom.js +40 -202
  51. package/dist/cjs/src/currencycom.js +32 -25
  52. package/dist/cjs/src/delta.js +34 -28
  53. package/dist/cjs/src/deribit.js +39 -36
  54. package/dist/cjs/src/digifinex.js +64 -44
  55. package/dist/cjs/src/exmo.js +29 -27
  56. package/dist/cjs/src/gate.js +67 -53
  57. package/dist/cjs/src/gemini.js +23 -20
  58. package/dist/cjs/src/hitbtc.js +65 -56
  59. package/dist/cjs/src/hollaex.js +30 -27
  60. package/dist/cjs/src/htx.js +132 -143
  61. package/dist/cjs/src/huobijp.js +22 -20
  62. package/dist/cjs/src/idex.js +22 -21
  63. package/dist/cjs/src/independentreserve.js +15 -14
  64. package/dist/cjs/src/indodax.js +30 -26
  65. package/dist/cjs/src/kraken.js +29 -27
  66. package/dist/cjs/src/krakenfutures.js +29 -22
  67. package/dist/cjs/src/kucoin.js +48 -43
  68. package/dist/cjs/src/kucoinfutures.js +33 -28
  69. package/dist/cjs/src/kuna.js +25 -24
  70. package/dist/cjs/src/latoken.js +24 -22
  71. package/dist/cjs/src/lbank.js +45 -30
  72. package/dist/cjs/src/luno.js +22 -19
  73. package/dist/cjs/src/lykke.js +19 -17
  74. package/dist/cjs/src/mercado.js +30 -19
  75. package/dist/cjs/src/mexc.js +60 -49
  76. package/dist/cjs/src/ndax.js +23 -22
  77. package/dist/cjs/src/novadax.js +23 -22
  78. package/dist/cjs/src/oceanex.js +22 -19
  79. package/dist/cjs/src/okcoin.js +29 -23
  80. package/dist/cjs/src/okx.js +87 -82
  81. package/dist/cjs/src/p2b.js +79 -82
  82. package/dist/cjs/src/paymium.js +10 -10
  83. package/dist/cjs/src/phemex.js +63 -40
  84. package/dist/cjs/src/poloniex.js +22 -22
  85. package/dist/cjs/src/poloniexfutures.js +23 -19
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bingx.js +1 -1
  90. package/dist/cjs/src/pro/bitfinex.js +4 -4
  91. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  92. package/dist/cjs/src/pro/bitget.js +7 -7
  93. package/dist/cjs/src/pro/bitmart.js +7 -5
  94. package/dist/cjs/src/pro/bitmex.js +6 -6
  95. package/dist/cjs/src/pro/bitopro.js +4 -4
  96. package/dist/cjs/src/pro/bitpanda.js +6 -6
  97. package/dist/cjs/src/pro/bitrue.js +2 -2
  98. package/dist/cjs/src/pro/bitstamp.js +6 -4
  99. package/dist/cjs/src/pro/bittrex.js +6 -6
  100. package/dist/cjs/src/pro/bitvavo.js +11 -7
  101. package/dist/cjs/src/pro/blockchaincom.js +8 -8
  102. package/dist/cjs/src/pro/bybit.js +7 -7
  103. package/dist/cjs/src/pro/cex.js +13 -9
  104. package/dist/cjs/src/pro/coinbase.js +5 -5
  105. package/dist/cjs/src/pro/coinbasepro.js +11 -10
  106. package/dist/cjs/src/pro/coinex.js +7 -9
  107. package/dist/cjs/src/pro/cryptocom.js +9 -9
  108. package/dist/cjs/src/pro/currencycom.js +4 -4
  109. package/dist/cjs/src/pro/deribit.js +6 -6
  110. package/dist/cjs/src/pro/exmo.js +12 -14
  111. package/dist/cjs/src/pro/gate.js +7 -7
  112. package/dist/cjs/src/pro/gemini.js +3 -3
  113. package/dist/cjs/src/pro/hitbtc.js +263 -4
  114. package/dist/cjs/src/pro/hollaex.js +5 -5
  115. package/dist/cjs/src/pro/htx.js +6 -6
  116. package/dist/cjs/src/pro/huobijp.js +3 -3
  117. package/dist/cjs/src/pro/idex.js +4 -4
  118. package/dist/cjs/src/pro/independentreserve.js +2 -2
  119. package/dist/cjs/src/pro/kraken.js +10 -10
  120. package/dist/cjs/src/pro/krakenfutures.js +41 -17
  121. package/dist/cjs/src/pro/kucoin.js +7 -7
  122. package/dist/cjs/src/pro/kucoinfutures.js +8 -6
  123. package/dist/cjs/src/pro/luno.js +2 -2
  124. package/dist/cjs/src/pro/mexc.js +6 -6
  125. package/dist/cjs/src/pro/ndax.js +3 -3
  126. package/dist/cjs/src/pro/okcoin.js +5 -5
  127. package/dist/cjs/src/pro/okx.js +12 -12
  128. package/dist/cjs/src/pro/phemex.js +6 -6
  129. package/dist/cjs/src/pro/poloniex.js +7 -7
  130. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  131. package/dist/cjs/src/pro/probit.js +6 -6
  132. package/dist/cjs/src/pro/upbit.js +3 -3
  133. package/dist/cjs/src/pro/wazirx.js +8 -8
  134. package/dist/cjs/src/pro/whitebit.js +12 -8
  135. package/dist/cjs/src/pro/woo.js +1 -1
  136. package/dist/cjs/src/probit.js +28 -23
  137. package/dist/cjs/src/tidex.js +16 -15
  138. package/dist/cjs/src/timex.js +19 -18
  139. package/dist/cjs/src/tokocrypto.js +27 -22
  140. package/dist/cjs/src/upbit.js +19 -19
  141. package/dist/cjs/src/wavesexchange.js +22 -19
  142. package/dist/cjs/src/wazirx.js +24 -17
  143. package/dist/cjs/src/whitebit.js +33 -27
  144. package/dist/cjs/src/woo.js +44 -34
  145. package/dist/cjs/src/yobit.js +25 -20
  146. package/dist/cjs/src/zaif.js +9 -9
  147. package/dist/cjs/src/zonda.js +18 -17
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/bybit.d.ts +1 -0
  151. package/js/src/abstract/cryptocom.d.ts +0 -20
  152. package/js/src/ace.js +18 -14
  153. package/js/src/alpaca.js +6 -6
  154. package/js/src/ascendex.js +35 -29
  155. package/js/src/base/Exchange.d.ts +37 -34
  156. package/js/src/base/Exchange.js +39 -26
  157. package/js/src/base/Precise.d.ts +4 -4
  158. package/js/src/base/Precise.js +1 -3
  159. package/js/src/base/functions/type.d.ts +25 -25
  160. package/js/src/base/types.d.ts +21 -14
  161. package/js/src/bigone.js +25 -21
  162. package/js/src/binance.d.ts +2 -2
  163. package/js/src/binance.js +97 -76
  164. package/js/src/bingx.js +63 -44
  165. package/js/src/bit2c.js +19 -16
  166. package/js/src/bitbank.js +16 -15
  167. package/js/src/bitbns.js +28 -18
  168. package/js/src/bitfinex.js +23 -21
  169. package/js/src/bitfinex2.js +32 -28
  170. package/js/src/bitflyer.js +28 -20
  171. package/js/src/bitforex.js +26 -19
  172. package/js/src/bitget.d.ts +25 -3
  173. package/js/src/bitget.js +184 -147
  174. package/js/src/bithumb.js +23 -16
  175. package/js/src/bitmart.d.ts +1 -1
  176. package/js/src/bitmart.js +106 -85
  177. package/js/src/bitmex.d.ts +2 -2
  178. package/js/src/bitmex.js +104 -64
  179. package/js/src/bitopro.js +38 -26
  180. package/js/src/bitpanda.js +24 -23
  181. package/js/src/bitrue.js +33 -24
  182. package/js/src/bitso.js +24 -23
  183. package/js/src/bitstamp.d.ts +2 -2
  184. package/js/src/bitstamp.js +24 -23
  185. package/js/src/bittrex.js +30 -29
  186. package/js/src/bitvavo.js +38 -30
  187. package/js/src/bl3p.js +11 -10
  188. package/js/src/blockchaincom.js +20 -20
  189. package/js/src/btcalpha.js +18 -17
  190. package/js/src/btcbox.js +13 -12
  191. package/js/src/btcmarkets.js +20 -19
  192. package/js/src/btcturk.js +14 -13
  193. package/js/src/bybit.d.ts +1 -1
  194. package/js/src/bybit.js +84 -54
  195. package/js/src/cex.js +16 -14
  196. package/js/src/coinbase.js +29 -27
  197. package/js/src/coinbasepro.js +27 -25
  198. package/js/src/coincheck.js +15 -14
  199. package/js/src/coinex.d.ts +1 -1
  200. package/js/src/coinex.js +100 -77
  201. package/js/src/coinlist.js +28 -27
  202. package/js/src/coinmate.js +21 -18
  203. package/js/src/coinone.js +21 -16
  204. package/js/src/coinsph.js +37 -28
  205. package/js/src/coinspot.js +12 -11
  206. package/js/src/cryptocom.d.ts +0 -23
  207. package/js/src/cryptocom.js +40 -202
  208. package/js/src/currencycom.js +32 -25
  209. package/js/src/delta.js +35 -29
  210. package/js/src/deribit.js +39 -36
  211. package/js/src/digifinex.d.ts +2 -2
  212. package/js/src/digifinex.js +65 -45
  213. package/js/src/exmo.js +29 -27
  214. package/js/src/gate.d.ts +1 -1
  215. package/js/src/gate.js +67 -53
  216. package/js/src/gemini.js +23 -20
  217. package/js/src/hitbtc.d.ts +1 -0
  218. package/js/src/hitbtc.js +65 -56
  219. package/js/src/hollaex.js +30 -27
  220. package/js/src/htx.d.ts +11 -3
  221. package/js/src/htx.js +132 -143
  222. package/js/src/huobijp.js +23 -21
  223. package/js/src/idex.js +22 -21
  224. package/js/src/independentreserve.js +15 -14
  225. package/js/src/indodax.js +30 -26
  226. package/js/src/kraken.js +29 -27
  227. package/js/src/krakenfutures.js +29 -22
  228. package/js/src/kucoin.d.ts +1 -1
  229. package/js/src/kucoin.js +48 -43
  230. package/js/src/kucoinfutures.js +33 -28
  231. package/js/src/kuna.js +25 -24
  232. package/js/src/latoken.js +25 -23
  233. package/js/src/lbank.js +46 -31
  234. package/js/src/luno.js +22 -19
  235. package/js/src/lykke.js +19 -17
  236. package/js/src/mercado.js +30 -19
  237. package/js/src/mexc.d.ts +1 -1
  238. package/js/src/mexc.js +60 -49
  239. package/js/src/ndax.js +23 -22
  240. package/js/src/novadax.js +23 -22
  241. package/js/src/oceanex.js +22 -19
  242. package/js/src/okcoin.js +29 -23
  243. package/js/src/okx.d.ts +2 -2
  244. package/js/src/okx.js +87 -82
  245. package/js/src/p2b.d.ts +8 -7
  246. package/js/src/p2b.js +79 -81
  247. package/js/src/paymium.js +10 -10
  248. package/js/src/phemex.js +63 -40
  249. package/js/src/poloniex.js +22 -22
  250. package/js/src/poloniexfutures.js +23 -19
  251. package/js/src/pro/alpaca.js +5 -5
  252. package/js/src/pro/ascendex.js +4 -4
  253. package/js/src/pro/binance.js +16 -16
  254. package/js/src/pro/bingx.js +1 -1
  255. package/js/src/pro/bitfinex.js +4 -4
  256. package/js/src/pro/bitfinex2.d.ts +1 -1
  257. package/js/src/pro/bitfinex2.js +6 -6
  258. package/js/src/pro/bitget.js +7 -7
  259. package/js/src/pro/bitmart.js +7 -5
  260. package/js/src/pro/bitmex.js +6 -6
  261. package/js/src/pro/bitopro.js +4 -4
  262. package/js/src/pro/bitpanda.js +6 -6
  263. package/js/src/pro/bitrue.js +2 -2
  264. package/js/src/pro/bitstamp.js +7 -5
  265. package/js/src/pro/bittrex.js +6 -6
  266. package/js/src/pro/bitvavo.js +12 -8
  267. package/js/src/pro/blockchaincom.js +8 -8
  268. package/js/src/pro/bybit.js +7 -7
  269. package/js/src/pro/cex.js +14 -10
  270. package/js/src/pro/coinbase.js +5 -5
  271. package/js/src/pro/coinbasepro.js +12 -11
  272. package/js/src/pro/coinex.js +7 -9
  273. package/js/src/pro/cryptocom.js +9 -9
  274. package/js/src/pro/currencycom.js +4 -4
  275. package/js/src/pro/deribit.js +6 -6
  276. package/js/src/pro/exmo.js +12 -14
  277. package/js/src/pro/gate.js +7 -7
  278. package/js/src/pro/gemini.js +3 -3
  279. package/js/src/pro/hitbtc.d.ts +8 -1
  280. package/js/src/pro/hitbtc.js +264 -5
  281. package/js/src/pro/hollaex.js +5 -5
  282. package/js/src/pro/htx.js +6 -6
  283. package/js/src/pro/huobijp.js +3 -3
  284. package/js/src/pro/idex.js +4 -4
  285. package/js/src/pro/independentreserve.js +2 -2
  286. package/js/src/pro/kraken.js +10 -10
  287. package/js/src/pro/krakenfutures.d.ts +1 -0
  288. package/js/src/pro/krakenfutures.js +42 -18
  289. package/js/src/pro/kucoin.js +7 -7
  290. package/js/src/pro/kucoinfutures.js +8 -6
  291. package/js/src/pro/luno.js +2 -2
  292. package/js/src/pro/mexc.js +6 -6
  293. package/js/src/pro/ndax.js +3 -3
  294. package/js/src/pro/okcoin.js +5 -5
  295. package/js/src/pro/okx.js +12 -12
  296. package/js/src/pro/phemex.js +6 -6
  297. package/js/src/pro/poloniex.js +7 -7
  298. package/js/src/pro/poloniexfutures.js +5 -5
  299. package/js/src/pro/probit.js +6 -6
  300. package/js/src/pro/upbit.js +3 -3
  301. package/js/src/pro/wazirx.js +8 -8
  302. package/js/src/pro/whitebit.js +13 -9
  303. package/js/src/pro/woo.js +1 -1
  304. package/js/src/probit.js +29 -24
  305. package/js/src/tidex.js +16 -15
  306. package/js/src/timex.js +19 -18
  307. package/js/src/tokocrypto.js +28 -23
  308. package/js/src/upbit.js +19 -19
  309. package/js/src/wavesexchange.js +23 -20
  310. package/js/src/wazirx.js +25 -18
  311. package/js/src/whitebit.js +33 -27
  312. package/js/src/woo.js +45 -35
  313. package/js/src/yobit.js +25 -20
  314. package/js/src/zaif.js +9 -9
  315. package/js/src/zonda.js +18 -17
  316. package/package.json +1 -1
package/js/src/lbank.js CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  // ---------------------------------------------------------------------------
8
8
  import Exchange from './abstract/lbank.js';
9
- import { ExchangeError, InvalidAddress, DuplicateOrderId, InsufficientFunds, InvalidOrder, InvalidNonce, AuthenticationError, RateLimitExceeded, PermissionDenied, BadRequest, BadSymbol } from './base/errors.js';
9
+ import { ExchangeError, InvalidAddress, DuplicateOrderId, InsufficientFunds, InvalidOrder, InvalidNonce, AuthenticationError, RateLimitExceeded, PermissionDenied, BadRequest, BadSymbol, ArgumentsRequired } from './base/errors.js';
10
10
  import { TICK_SIZE } from './base/functions/number.js';
11
11
  import { Precise } from './base/Precise.js';
12
12
  import { md5 } from './static_dependencies/noble-hashes/md5.js';
@@ -43,12 +43,11 @@ export default class lbank extends Exchange {
43
43
  'createStopMarketOrder': false,
44
44
  'createStopOrder': false,
45
45
  'fetchBalance': true,
46
- 'fetchBorrowRate': false,
47
46
  'fetchBorrowRateHistories': false,
48
47
  'fetchBorrowRateHistory': false,
49
- 'fetchBorrowRates': false,
50
- 'fetchBorrowRatesPerSymbol': false,
51
48
  'fetchClosedOrders': false,
49
+ 'fetchCrossBorrowRate': false,
50
+ 'fetchCrossBorrowRates': false,
52
51
  'fetchDepositWithdrawFee': 'emulated',
53
52
  'fetchDepositWithdrawFees': true,
54
53
  'fetchFundingHistory': false,
@@ -56,6 +55,8 @@ export default class lbank extends Exchange {
56
55
  'fetchFundingRateHistory': false,
57
56
  'fetchFundingRates': false,
58
57
  'fetchIndexOHLCV': false,
58
+ 'fetchIsolatedBorrowRate': false,
59
+ 'fetchIsolatedBorrowRates': false,
59
60
  'fetchIsolatedPositions': false,
60
61
  'fetchLeverage': false,
61
62
  'fetchLeverageTiers': false,
@@ -595,7 +596,7 @@ export default class lbank extends Exchange {
595
596
  * @see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
596
597
  * @param {string} symbol unified symbol of the market to fetch the ticker for
597
598
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
598
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
599
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
599
600
  */
600
601
  await this.loadMarkets();
601
602
  const market = this.market(symbol);
@@ -641,7 +642,7 @@ export default class lbank extends Exchange {
641
642
  * @see https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
642
643
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
643
644
  * @param {object} [params] extra parameters specific to the lbank api endpoint
644
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
645
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
645
646
  */
646
647
  await this.loadMarkets();
647
648
  let market = undefined;
@@ -722,7 +723,7 @@ export default class lbank extends Exchange {
722
723
  * @param {string} symbol unified symbol of the market to fetch the order book for
723
724
  * @param {int} [limit] the maximum amount of order book entries to return
724
725
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
725
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
726
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
726
727
  */
727
728
  await this.loadMarkets();
728
729
  const market = this.market(symbol);
@@ -912,7 +913,7 @@ export default class lbank extends Exchange {
912
913
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
913
914
  * @param {int} [limit] the maximum amount of trades to fetch
914
915
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
915
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
916
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
916
917
  */
917
918
  await this.loadMarkets();
918
919
  const market = this.market(symbol);
@@ -1168,7 +1169,7 @@ export default class lbank extends Exchange {
1168
1169
  * @see https://www.lbank.info/en-US/docs/index.html#account-information
1169
1170
  * @see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
1170
1171
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1171
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1172
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1172
1173
  */
1173
1174
  await this.loadMarkets();
1174
1175
  let method = this.safeString(params, 'method');
@@ -1234,7 +1235,7 @@ export default class lbank extends Exchange {
1234
1235
  * @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
1235
1236
  * @param {string} symbol unified market symbol
1236
1237
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1237
- * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1238
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1238
1239
  */
1239
1240
  const market = this.market(symbol);
1240
1241
  const result = await this.fetchTradingFees(this.extend(params, { 'category': market['id'] }));
@@ -1247,7 +1248,7 @@ export default class lbank extends Exchange {
1247
1248
  * @description fetch the trading fees for multiple markets
1248
1249
  * @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
1249
1250
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1250
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1251
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1251
1252
  */
1252
1253
  await this.loadMarkets();
1253
1254
  const request = {};
@@ -1274,7 +1275,7 @@ export default class lbank extends Exchange {
1274
1275
  * @param {float} amount how much of currency you want to trade in units of base currency
1275
1276
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1276
1277
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1277
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1278
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1278
1279
  */
1279
1280
  await this.loadMarkets();
1280
1281
  const market = this.market(symbol);
@@ -1502,7 +1503,7 @@ export default class lbank extends Exchange {
1502
1503
  * @see https://www.lbank.info/en-US/docs/index.html#query-order-new
1503
1504
  * @param {string} symbol unified symbol of the market the order was made in
1504
1505
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1505
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1506
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1506
1507
  */
1507
1508
  await this.loadMarkets();
1508
1509
  let method = this.safeString(params, 'method');
@@ -1516,7 +1517,9 @@ export default class lbank extends Exchange {
1516
1517
  return await this.fetchOrderDefault(id, symbol, params);
1517
1518
  }
1518
1519
  async fetchOrderSupplement(id, symbol = undefined, params = {}) {
1519
- this.checkRequiredSymbol('fetchOrder', symbol);
1520
+ if (symbol === undefined) {
1521
+ throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1522
+ }
1520
1523
  await this.loadMarkets();
1521
1524
  const market = this.market(symbol);
1522
1525
  const request = {
@@ -1550,7 +1553,9 @@ export default class lbank extends Exchange {
1550
1553
  }
1551
1554
  async fetchOrderDefault(id, symbol = undefined, params = {}) {
1552
1555
  // Id can be a list of ids delimited by a comma
1553
- this.checkRequiredSymbol('fetchOrder', symbol);
1556
+ if (symbol === undefined) {
1557
+ throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1558
+ }
1554
1559
  await this.loadMarkets();
1555
1560
  const market = this.market(symbol);
1556
1561
  const request = {
@@ -1603,9 +1608,11 @@ export default class lbank extends Exchange {
1603
1608
  * @param {int} [since] the earliest time in ms to fetch trades for
1604
1609
  * @param {int} [limit] the maximum number of trade structures to retrieve
1605
1610
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1606
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1611
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1607
1612
  */
1608
- this.checkRequiredSymbol('fetchMyTrades', symbol);
1613
+ if (symbol === undefined) {
1614
+ throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
1615
+ }
1609
1616
  await this.loadMarkets();
1610
1617
  const market = this.market(symbol);
1611
1618
  since = this.safeValue(params, 'start_date', since);
@@ -1660,11 +1667,13 @@ export default class lbank extends Exchange {
1660
1667
  * @param {int} [since] the earliest time in ms to fetch orders for
1661
1668
  * @param {int} [limit] the maximum number of order structures to retrieve
1662
1669
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1663
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1670
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1664
1671
  */
1665
1672
  // default query is for canceled and completely filled orders
1666
1673
  // does not return open orders unless specified explicitly
1667
- this.checkRequiredSymbol('fetchOrders', symbol);
1674
+ if (symbol === undefined) {
1675
+ throw new ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
1676
+ }
1668
1677
  await this.loadMarkets();
1669
1678
  const market = this.market(symbol);
1670
1679
  if (limit === undefined) {
@@ -1718,9 +1727,11 @@ export default class lbank extends Exchange {
1718
1727
  * @param {int} [since] the earliest time in ms to fetch open orders for
1719
1728
  * @param {int} [limit] the maximum number of open order structures to retrieve
1720
1729
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1721
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1730
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1722
1731
  */
1723
- this.checkRequiredSymbol('fetchOpenOrders', symbol);
1732
+ if (symbol === undefined) {
1733
+ throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
1734
+ }
1724
1735
  await this.loadMarkets();
1725
1736
  const market = this.market(symbol);
1726
1737
  if (limit === undefined) {
@@ -1772,9 +1783,11 @@ export default class lbank extends Exchange {
1772
1783
  * @param {string} id order id
1773
1784
  * @param {string} symbol unified symbol of the market the order was made in
1774
1785
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1775
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1786
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1776
1787
  */
1777
- this.checkRequiredSymbol('cancelOrder', symbol);
1788
+ if (symbol === undefined) {
1789
+ throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
1790
+ }
1778
1791
  await this.loadMarkets();
1779
1792
  const clientOrderId = this.safeString2(params, 'origClientOrderId', 'clientOrderId');
1780
1793
  params = this.omit(params, ['origClientOrderId', 'clientOrderId']);
@@ -1811,9 +1824,11 @@ export default class lbank extends Exchange {
1811
1824
  * @see https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
1812
1825
  * @param {string} symbol unified market symbol of the market to cancel orders in
1813
1826
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1814
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1827
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1815
1828
  */
1816
- this.checkRequiredSymbol('cancelAllOrders', symbol);
1829
+ if (symbol === undefined) {
1830
+ throw new ArgumentsRequired(this.id + ' cancelAllOrders() requires a symbol argument');
1831
+ }
1817
1832
  await this.loadMarkets();
1818
1833
  const market = this.market(symbol);
1819
1834
  const request = {
@@ -1857,7 +1872,7 @@ export default class lbank extends Exchange {
1857
1872
  * @see https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
1858
1873
  * @param {string} code unified currency code
1859
1874
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1860
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1875
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1861
1876
  */
1862
1877
  await this.loadMarkets();
1863
1878
  let method = this.safeString(params, 'method');
@@ -1958,7 +1973,7 @@ export default class lbank extends Exchange {
1958
1973
  * @param {string} address the address to withdraw to
1959
1974
  * @param {string} tag
1960
1975
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1961
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1976
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1962
1977
  */
1963
1978
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1964
1979
  this.checkAddress(address);
@@ -2123,7 +2138,7 @@ export default class lbank extends Exchange {
2123
2138
  * @param {int} [since] the earliest time in ms to fetch deposits for
2124
2139
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2125
2140
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2126
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2141
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2127
2142
  */
2128
2143
  await this.loadMarkets();
2129
2144
  const request = {
@@ -2176,7 +2191,7 @@ export default class lbank extends Exchange {
2176
2191
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2177
2192
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2178
2193
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2179
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2194
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2180
2195
  */
2181
2196
  await this.loadMarkets();
2182
2197
  const request = {
@@ -2231,7 +2246,7 @@ export default class lbank extends Exchange {
2231
2246
  * @description please use fetchDepositWithdrawFees instead
2232
2247
  * @param {string[]|undefined} codes not used by lbank2 fetchTransactionFees ()
2233
2248
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2234
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2249
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2235
2250
  */
2236
2251
  // private only returns information for currencies with non-zero balance
2237
2252
  await this.loadMarkets();
@@ -2378,7 +2393,7 @@ export default class lbank extends Exchange {
2378
2393
  * @see https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
2379
2394
  * @param {string[]|undefined} codes array of unified currency codes
2380
2395
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2381
- * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2396
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2382
2397
  */
2383
2398
  await this.loadMarkets();
2384
2399
  const isAuthorized = this.checkRequiredCredentials(false);
package/js/src/luno.js CHANGED
@@ -37,16 +37,17 @@ export default class luno extends Exchange {
37
37
  'createReduceOnlyOrder': false,
38
38
  'fetchAccounts': true,
39
39
  'fetchBalance': true,
40
- 'fetchBorrowRate': false,
41
40
  'fetchBorrowRateHistory': false,
42
- 'fetchBorrowRates': false,
43
- 'fetchBorrowRatesPerSymbol': false,
44
41
  'fetchClosedOrders': true,
42
+ 'fetchCrossBorrowRate': false,
43
+ 'fetchCrossBorrowRates': false,
45
44
  'fetchFundingHistory': false,
46
45
  'fetchFundingRate': false,
47
46
  'fetchFundingRateHistory': false,
48
47
  'fetchFundingRates': false,
49
48
  'fetchIndexOHLCV': false,
49
+ 'fetchIsolatedBorrowRate': false,
50
+ 'fetchIsolatedBorrowRates': false,
50
51
  'fetchLedger': true,
51
52
  'fetchLeverage': false,
52
53
  'fetchLeverageTiers': false,
@@ -255,7 +256,7 @@ export default class luno extends Exchange {
255
256
  * @name luno#fetchAccounts
256
257
  * @description fetch all the accounts associated with a profile
257
258
  * @param {object} [params] extra parameters specific to the luno api endpoint
258
- * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
259
+ * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
259
260
  */
260
261
  const response = await this.privateGetBalance(params);
261
262
  const wallets = this.safeValue(response, 'balance', []);
@@ -309,7 +310,7 @@ export default class luno extends Exchange {
309
310
  * @name luno#fetchBalance
310
311
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
311
312
  * @param {object} [params] extra parameters specific to the luno api endpoint
312
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
313
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
313
314
  */
314
315
  await this.loadMarkets();
315
316
  const response = await this.privateGetBalance(params);
@@ -333,7 +334,7 @@ export default class luno extends Exchange {
333
334
  * @param {string} symbol unified symbol of the market to fetch the order book for
334
335
  * @param {int} [limit] the maximum amount of order book entries to return
335
336
  * @param {object} [params] extra parameters specific to the luno api endpoint
336
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
337
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
337
338
  */
338
339
  await this.loadMarkets();
339
340
  let method = 'publicGetOrderbook';
@@ -440,7 +441,7 @@ export default class luno extends Exchange {
440
441
  * @description fetches information on an order made by the user
441
442
  * @param {string} symbol not used by luno fetchOrder
442
443
  * @param {object} [params] extra parameters specific to the luno api endpoint
443
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
444
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
444
445
  */
445
446
  await this.loadMarkets();
446
447
  const request = {
@@ -473,7 +474,7 @@ export default class luno extends Exchange {
473
474
  * @param {int} [since] the earliest time in ms to fetch orders for
474
475
  * @param {int} [limit] the maximum number of orde structures to retrieve
475
476
  * @param {object} [params] extra parameters specific to the luno api endpoint
476
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
477
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
477
478
  */
478
479
  return await this.fetchOrdersByState(undefined, symbol, since, limit, params);
479
480
  }
@@ -486,7 +487,7 @@ export default class luno extends Exchange {
486
487
  * @param {int} [since] the earliest time in ms to fetch open orders for
487
488
  * @param {int} [limit] the maximum number of open orders structures to retrieve
488
489
  * @param {object} [params] extra parameters specific to the luno api endpoint
489
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
490
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
490
491
  */
491
492
  return await this.fetchOrdersByState('PENDING', symbol, since, limit, params);
492
493
  }
@@ -499,7 +500,7 @@ export default class luno extends Exchange {
499
500
  * @param {int} [since] the earliest time in ms to fetch orders for
500
501
  * @param {int} [limit] the maximum number of orde structures to retrieve
501
502
  * @param {object} [params] extra parameters specific to the luno api endpoint
502
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
503
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
503
504
  */
504
505
  return await this.fetchOrdersByState('COMPLETE', symbol, since, limit, params);
505
506
  }
@@ -547,7 +548,7 @@ export default class luno extends Exchange {
547
548
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
548
549
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
549
550
  * @param {object} [params] extra parameters specific to the luno api endpoint
550
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
551
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
551
552
  */
552
553
  await this.loadMarkets();
553
554
  symbols = this.marketSymbols(symbols);
@@ -571,7 +572,7 @@ export default class luno extends Exchange {
571
572
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
572
573
  * @param {string} symbol unified symbol of the market to fetch the ticker for
573
574
  * @param {object} [params] extra parameters specific to the luno api endpoint
574
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
575
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
575
576
  */
576
577
  await this.loadMarkets();
577
578
  const market = this.market(symbol);
@@ -694,7 +695,7 @@ export default class luno extends Exchange {
694
695
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
695
696
  * @param {int} [limit] the maximum amount of trades to fetch
696
697
  * @param {object} [params] extra parameters specific to the luno api endpoint
697
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
698
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
698
699
  */
699
700
  await this.loadMarkets();
700
701
  const market = this.market(symbol);
@@ -730,9 +731,11 @@ export default class luno extends Exchange {
730
731
  * @param {int} [since] the earliest time in ms to fetch trades for
731
732
  * @param {int} [limit] the maximum number of trades structures to retrieve
732
733
  * @param {object} [params] extra parameters specific to the luno api endpoint
733
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
734
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
734
735
  */
735
- this.checkRequiredSymbol('fetchMyTrades', symbol);
736
+ if (symbol === undefined) {
737
+ throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
738
+ }
736
739
  await this.loadMarkets();
737
740
  const market = this.market(symbol);
738
741
  const request = {
@@ -776,7 +779,7 @@ export default class luno extends Exchange {
776
779
  * @description fetch the trading fees for a market
777
780
  * @param {string} symbol unified market symbol
778
781
  * @param {object} [params] extra parameters specific to the luno api endpoint
779
- * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
782
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
780
783
  */
781
784
  await this.loadMarkets();
782
785
  const market = this.market(symbol);
@@ -809,7 +812,7 @@ export default class luno extends Exchange {
809
812
  * @param {float} amount how much of currency you want to trade in units of base currency
810
813
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
811
814
  * @param {object} [params] extra parameters specific to the luno api endpoint
812
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
815
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
813
816
  */
814
817
  await this.loadMarkets();
815
818
  let method = 'privatePost';
@@ -848,7 +851,7 @@ export default class luno extends Exchange {
848
851
  * @param {string} id order id
849
852
  * @param {string} symbol unified symbol of the market the order was made in
850
853
  * @param {object} [params] extra parameters specific to the luno api endpoint
851
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
854
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
852
855
  */
853
856
  await this.loadMarkets();
854
857
  const request = {
@@ -880,7 +883,7 @@ export default class luno extends Exchange {
880
883
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
881
884
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
882
885
  * @param {object} [params] extra parameters specific to the luno api endpoint
883
- * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
886
+ * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
884
887
  */
885
888
  await this.loadMarkets();
886
889
  await this.loadAccounts();
package/js/src/lykke.js CHANGED
@@ -39,11 +39,11 @@ export default class lykke extends Exchange {
39
39
  'createStopOrder': false,
40
40
  'editOrder': false,
41
41
  'fetchBalance': true,
42
- 'fetchBorrowRate': false,
43
42
  'fetchBorrowRateHistories': false,
44
43
  'fetchBorrowRateHistory': false,
45
- 'fetchBorrowRates': false,
46
44
  'fetchClosedOrders': true,
45
+ 'fetchCrossBorrowRate': false,
46
+ 'fetchCrossBorrowRates': false,
47
47
  'fetchCurrencies': true,
48
48
  'fetchDepositAddress': true,
49
49
  'fetchDeposits': false,
@@ -53,6 +53,8 @@ export default class lykke extends Exchange {
53
53
  'fetchFundingRateHistory': false,
54
54
  'fetchFundingRates': false,
55
55
  'fetchIndexOHLCV': false,
56
+ 'fetchIsolatedBorrowRate': false,
57
+ 'fetchIsolatedBorrowRates': false,
56
58
  'fetchMarginMode': false,
57
59
  'fetchMarkets': true,
58
60
  'fetchMarkOHLCV': false,
@@ -424,7 +426,7 @@ export default class lykke extends Exchange {
424
426
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
425
427
  * @param {string} symbol unified symbol of the market to fetch the ticker for
426
428
  * @param {object} [params] extra parameters specific to the lykke api endpoint
427
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
429
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
428
430
  */
429
431
  await this.loadMarkets();
430
432
  const market = this.market(symbol);
@@ -477,7 +479,7 @@ export default class lykke extends Exchange {
477
479
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
478
480
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
479
481
  * @param {object} [params] extra parameters specific to the lykke api endpoint
480
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
482
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
481
483
  */
482
484
  await this.loadMarkets();
483
485
  const response = await this.publicGetTickers(params);
@@ -509,7 +511,7 @@ export default class lykke extends Exchange {
509
511
  * @param {string} symbol unified symbol of the market to fetch the order book for
510
512
  * @param {int} [limit] the maximum amount of order book entries to return
511
513
  * @param {object} [params] extra parameters specific to the lykke api endpoint
512
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
514
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
513
515
  */
514
516
  await this.loadMarkets();
515
517
  const market = this.market(symbol);
@@ -614,7 +616,7 @@ export default class lykke extends Exchange {
614
616
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
615
617
  * @param {int} [limit] the maximum amount of trades to fetch
616
618
  * @param {object} [params] extra parameters specific to the lykke api endpoint
617
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
619
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
618
620
  */
619
621
  await this.loadMarkets();
620
622
  const market = this.market(symbol);
@@ -675,7 +677,7 @@ export default class lykke extends Exchange {
675
677
  * @name lykke#fetchBalance
676
678
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
677
679
  * @param {object} [params] extra parameters specific to the lykke api endpoint
678
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
680
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
679
681
  */
680
682
  await this.loadMarkets();
681
683
  const response = await this.privateGetBalance(params);
@@ -775,7 +777,7 @@ export default class lykke extends Exchange {
775
777
  * @param {float} amount how much of currency you want to trade in units of base currency
776
778
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
777
779
  * @param {object} [params] extra parameters specific to the lykke api endpoint
778
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
780
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
779
781
  */
780
782
  await this.loadMarkets();
781
783
  const market = this.market(symbol);
@@ -843,7 +845,7 @@ export default class lykke extends Exchange {
843
845
  * @param {string} id order id
844
846
  * @param {string} symbol unified symbol of the market the order was made in
845
847
  * @param {object} [params] extra parameters specific to the lykke api endpoint
846
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
848
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
847
849
  */
848
850
  const request = {
849
851
  'orderId': id,
@@ -863,7 +865,7 @@ export default class lykke extends Exchange {
863
865
  * @description cancel all open orders
864
866
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
865
867
  * @param {object} [params] extra parameters specific to the lykke api endpoint
866
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
868
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
867
869
  */
868
870
  await this.loadMarkets();
869
871
  const request = {
@@ -889,7 +891,7 @@ export default class lykke extends Exchange {
889
891
  * @description fetches information on an order made by the user
890
892
  * @param {string} symbol not used by lykke fetchOrder
891
893
  * @param {object} [params] extra parameters specific to the lykke api endpoint
892
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
894
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
893
895
  */
894
896
  await this.loadMarkets();
895
897
  const request = {
@@ -927,7 +929,7 @@ export default class lykke extends Exchange {
927
929
  * @param {int} [since] the earliest time in ms to fetch open orders for
928
930
  * @param {int} [limit] the maximum number of open orders structures to retrieve
929
931
  * @param {object} [params] extra parameters specific to the lykke api endpoint
930
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
932
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
931
933
  */
932
934
  await this.loadMarkets();
933
935
  let market = undefined;
@@ -975,7 +977,7 @@ export default class lykke extends Exchange {
975
977
  * @param {int} [since] the earliest time in ms to fetch orders for
976
978
  * @param {int} [limit] the maximum number of orde structures to retrieve
977
979
  * @param {object} [params] extra parameters specific to the lykke api endpoint
978
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
980
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
979
981
  */
980
982
  await this.loadMarkets();
981
983
  let market = undefined;
@@ -1023,7 +1025,7 @@ export default class lykke extends Exchange {
1023
1025
  * @param {int} [since] the earliest time in ms to fetch trades for
1024
1026
  * @param {int} [limit] the maximum number of trades structures to retrieve
1025
1027
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1026
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1028
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1027
1029
  */
1028
1030
  await this.loadMarkets();
1029
1031
  const request = {
@@ -1080,7 +1082,7 @@ export default class lykke extends Exchange {
1080
1082
  * @description fetch the deposit address for a currency associated with this account
1081
1083
  * @param {string} code unified currency code
1082
1084
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1083
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1085
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1084
1086
  */
1085
1087
  await this.loadMarkets();
1086
1088
  const currency = this.currency(code);
@@ -1179,7 +1181,7 @@ export default class lykke extends Exchange {
1179
1181
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1180
1182
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1181
1183
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1182
- * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1184
+ * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1183
1185
  */
1184
1186
  await this.loadMarkets();
1185
1187
  const request = {
@@ -1222,7 +1224,7 @@ export default class lykke extends Exchange {
1222
1224
  * @param {string} address the address to withdraw to
1223
1225
  * @param {string} tag
1224
1226
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1225
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1227
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1226
1228
  */
1227
1229
  await this.loadMarkets();
1228
1230
  this.checkAddress(address);