ccxt 4.0.74 → 4.0.75

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 (282) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2047 -1932
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +21 -21
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +5 -5
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +21 -21
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.js +5 -5
  241. package/js/src/pro/cex.js +3 -3
  242. package/js/src/pro/coinbasepro.js +5 -5
  243. package/js/src/pro/coinex.js +3 -3
  244. package/js/src/pro/cryptocom.js +7 -7
  245. package/js/src/pro/currencycom.js +2 -2
  246. package/js/src/pro/deribit.js +3 -3
  247. package/js/src/pro/exmo.js +2 -2
  248. package/js/src/pro/gate.js +5 -5
  249. package/js/src/pro/gemini.js +2 -2
  250. package/js/src/pro/hitbtc.js +2 -2
  251. package/js/src/pro/hollaex.js +3 -3
  252. package/js/src/pro/huobi.js +4 -4
  253. package/js/src/pro/huobijp.js +2 -2
  254. package/js/src/pro/idex.js +3 -3
  255. package/js/src/pro/independentreserve.js +1 -1
  256. package/js/src/pro/kraken.js +6 -6
  257. package/js/src/pro/krakenfutures.js +2 -2
  258. package/js/src/pro/kucoin.js +4 -4
  259. package/js/src/pro/kucoinfutures.js +3 -3
  260. package/js/src/pro/luno.js +1 -1
  261. package/js/src/pro/ndax.js +2 -2
  262. package/js/src/pro/okcoin.js +3 -3
  263. package/js/src/pro/okx.d.ts +1 -1
  264. package/js/src/pro/okx.js +12 -11
  265. package/js/src/pro/phemex.js +4 -4
  266. package/js/src/pro/poloniex.js +1 -1
  267. package/js/src/pro/upbit.js +2 -2
  268. package/js/src/pro/wazirx.js +3 -3
  269. package/js/src/pro/whitebit.js +4 -4
  270. package/js/src/probit.js +17 -17
  271. package/js/src/tidex.js +11 -11
  272. package/js/src/timex.js +14 -14
  273. package/js/src/tokocrypto.js +16 -16
  274. package/js/src/upbit.js +18 -18
  275. package/js/src/wavesexchange.js +13 -13
  276. package/js/src/wazirx.js +10 -10
  277. package/js/src/whitebit.js +21 -21
  278. package/js/src/woo.js +28 -22
  279. package/js/src/yobit.js +14 -14
  280. package/js/src/zaif.js +8 -8
  281. package/js/src/zonda.js +13 -13
  282. package/package.json +1 -1
@@ -537,7 +537,7 @@ class latoken extends latoken$1 {
537
537
  * @param {string} symbol unified symbol of the market to fetch the order book for
538
538
  * @param {int} [limit] the maximum amount of order book entries to return
539
539
  * @param {object} [params] extra parameters specific to the latoken api endpoint
540
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
540
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
541
541
  */
542
542
  await this.loadMarkets();
543
543
  const market = this.market(symbol);
@@ -615,7 +615,7 @@ class latoken extends latoken$1 {
615
615
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
616
616
  * @param {string} symbol unified symbol of the market to fetch the ticker for
617
617
  * @param {object} [params] extra parameters specific to the latoken api endpoint
618
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
618
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
619
619
  */
620
620
  await this.loadMarkets();
621
621
  const market = this.market(symbol);
@@ -645,7 +645,7 @@ class latoken extends latoken$1 {
645
645
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
646
646
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
647
647
  * @param {object} [params] extra parameters specific to the latoken api endpoint
648
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
648
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
649
649
  */
650
650
  await this.loadMarkets();
651
651
  const response = await this.publicGetTicker(params);
@@ -791,7 +791,7 @@ class latoken extends latoken$1 {
791
791
  * @description fetch the trading fees for a market
792
792
  * @param {string} symbol unified market symbol
793
793
  * @param {object} [params] extra parameters specific to the latoken api endpoint
794
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
794
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
795
795
  */
796
796
  let method = this.safeString(params, 'method');
797
797
  params = this.omit(params, 'method');
@@ -856,7 +856,7 @@ class latoken extends latoken$1 {
856
856
  * @param {int} [since] the earliest time in ms to fetch trades for
857
857
  * @param {int} [limit] the maximum number of trades structures to retrieve
858
858
  * @param {object} [params] extra parameters specific to the latoken api endpoint
859
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
859
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
860
860
  */
861
861
  await this.loadMarkets();
862
862
  const request = {
@@ -1035,7 +1035,7 @@ class latoken extends latoken$1 {
1035
1035
  * @param {int} [since] the earliest time in ms to fetch open orders for
1036
1036
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1037
1037
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1038
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1038
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1039
1039
  */
1040
1040
  if (symbol === undefined) {
1041
1041
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -1080,7 +1080,7 @@ class latoken extends latoken$1 {
1080
1080
  * @param {int} [since] the earliest time in ms to fetch orders for
1081
1081
  * @param {int} [limit] the maximum number of orde structures to retrieve
1082
1082
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1083
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1083
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1084
1084
  */
1085
1085
  await this.loadMarkets();
1086
1086
  const request = {
@@ -1132,7 +1132,7 @@ class latoken extends latoken$1 {
1132
1132
  * @description fetches information on an order made by the user
1133
1133
  * @param {string} symbol not used by latoken fetchOrder
1134
1134
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1135
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1135
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1136
1136
  */
1137
1137
  await this.loadMarkets();
1138
1138
  const request = {
@@ -1170,9 +1170,9 @@ class latoken extends latoken$1 {
1170
1170
  * @param {string} type 'market' or 'limit'
1171
1171
  * @param {string} side 'buy' or 'sell'
1172
1172
  * @param {float} amount how much of currency you want to trade in units of base currency
1173
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1173
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1174
1174
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1175
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1175
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1176
1176
  */
1177
1177
  await this.loadMarkets();
1178
1178
  const market = this.market(symbol);
@@ -1215,7 +1215,7 @@ class latoken extends latoken$1 {
1215
1215
  * @param {string} id order id
1216
1216
  * @param {string} symbol not used by latoken cancelOrder ()
1217
1217
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1218
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1218
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1219
1219
  */
1220
1220
  await this.loadMarkets();
1221
1221
  const request = {
@@ -1240,7 +1240,7 @@ class latoken extends latoken$1 {
1240
1240
  * @description cancel all open orders in a market
1241
1241
  * @param {string} symbol unified market symbol of the market to cancel orders in
1242
1242
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1243
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1243
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1244
1244
  */
1245
1245
  await this.loadMarkets();
1246
1246
  const request = {
@@ -1274,7 +1274,7 @@ class latoken extends latoken$1 {
1274
1274
  * @param {int} [since] timestamp in ms of the earliest transaction, default is undefined
1275
1275
  * @param {int} [limit] max number of transactions to return, default is undefined
1276
1276
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1277
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1277
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1278
1278
  */
1279
1279
  await this.loadMarkets();
1280
1280
  const request = {
@@ -1401,7 +1401,7 @@ class latoken extends latoken$1 {
1401
1401
  * @param {int} [since] the earliest time in ms to fetch transfers for
1402
1402
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1403
1403
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1404
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1404
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1405
1405
  */
1406
1406
  await this.loadMarkets();
1407
1407
  const currency = this.currency(code);
@@ -1450,7 +1450,7 @@ class latoken extends latoken$1 {
1450
1450
  * @param {string} fromAccount account to transfer from
1451
1451
  * @param {string} toAccount account to transfer to
1452
1452
  * @param {object} [params] extra parameters specific to the latoken api endpoint
1453
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1453
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1454
1454
  */
1455
1455
  await this.loadMarkets();
1456
1456
  const currency = this.currency(code);
@@ -287,7 +287,7 @@ class lbank extends lbank$1 {
287
287
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
288
288
  * @param {string} symbol unified symbol of the market to fetch the ticker for
289
289
  * @param {object} [params] extra parameters specific to the lbank api endpoint
290
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
290
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
291
291
  */
292
292
  await this.loadMarkets();
293
293
  const market = this.market(symbol);
@@ -316,7 +316,7 @@ class lbank extends lbank$1 {
316
316
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
317
317
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
318
318
  * @param {object} [params] extra parameters specific to the lbank api endpoint
319
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
319
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
320
320
  */
321
321
  await this.loadMarkets();
322
322
  symbols = this.marketSymbols(symbols);
@@ -340,7 +340,7 @@ class lbank extends lbank$1 {
340
340
  * @param {string} symbol unified symbol of the market to fetch the order book for
341
341
  * @param {int} [limit] the maximum amount of order book entries to return
342
342
  * @param {object} [params] extra parameters specific to the lbank api endpoint
343
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
343
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
344
344
  */
345
345
  await this.loadMarkets();
346
346
  let size = 60;
@@ -595,9 +595,9 @@ class lbank extends lbank$1 {
595
595
  * @param {string} type 'market' or 'limit'
596
596
  * @param {string} side 'buy' or 'sell'
597
597
  * @param {float} amount how much of currency you want to trade in units of base currency
598
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
598
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
599
599
  * @param {object} [params] extra parameters specific to the lbank api endpoint
600
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
600
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
601
601
  */
602
602
  await this.loadMarkets();
603
603
  const market = this.market(symbol);
@@ -629,7 +629,7 @@ class lbank extends lbank$1 {
629
629
  * @param {string} id order id
630
630
  * @param {string} symbol unified symbol of the market the order was made in
631
631
  * @param {object} [params] extra parameters specific to the lbank api endpoint
632
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
632
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
633
633
  */
634
634
  await this.loadMarkets();
635
635
  const market = this.market(symbol);
@@ -647,7 +647,7 @@ class lbank extends lbank$1 {
647
647
  * @description fetches information on an order made by the user
648
648
  * @param {string} symbol unified symbol of the market the order was made in
649
649
  * @param {object} [params] extra parameters specific to the lbank api endpoint
650
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
650
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
651
651
  */
652
652
  // Id can be a list of ids delimited by a comma
653
653
  await this.loadMarkets();
@@ -676,7 +676,7 @@ class lbank extends lbank$1 {
676
676
  * @param {int} [since] the earliest time in ms to fetch orders for
677
677
  * @param {int} [limit] the maximum number of orde structures to retrieve
678
678
  * @param {object} [params] extra parameters specific to the lbank api endpoint
679
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
679
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
680
680
  */
681
681
  await this.loadMarkets();
682
682
  if (limit === undefined) {
@@ -701,7 +701,7 @@ class lbank extends lbank$1 {
701
701
  * @param {int} [since] the earliest time in ms to fetch orders for
702
702
  * @param {int} [limit] the maximum number of orde structures to retrieve
703
703
  * @param {object} [params] extra parameters specific to the lbank api endpoint
704
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
704
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
705
705
  */
706
706
  await this.loadMarkets();
707
707
  if (symbol !== undefined) {
@@ -724,7 +724,7 @@ class lbank extends lbank$1 {
724
724
  * @param {string} address the address to withdraw to
725
725
  * @param {string} tag
726
726
  * @param {object} [params] extra parameters specific to the lbank api endpoint
727
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
727
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
728
728
  */
729
729
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
730
730
  // mark and fee are optional params, mark is a note and must be less than 255 characters
@@ -590,7 +590,7 @@ class lbank2 extends lbank2$1 {
590
590
  * @see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
591
591
  * @param {string} symbol unified symbol of the market to fetch the ticker for
592
592
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
593
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
593
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
594
594
  */
595
595
  await this.loadMarkets();
596
596
  const market = this.market(symbol);
@@ -636,7 +636,7 @@ class lbank2 extends lbank2$1 {
636
636
  * @see https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
637
637
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
638
638
  * @param {object} [params] extra parameters specific to the lbank api endpoint
639
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
639
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
640
640
  */
641
641
  await this.loadMarkets();
642
642
  let market = undefined;
@@ -717,7 +717,7 @@ class lbank2 extends lbank2$1 {
717
717
  * @param {string} symbol unified symbol of the market to fetch the order book for
718
718
  * @param {int} [limit] the maximum amount of order book entries to return
719
719
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
720
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
720
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
721
721
  */
722
722
  await this.loadMarkets();
723
723
  const market = this.market(symbol);
@@ -1229,7 +1229,7 @@ class lbank2 extends lbank2$1 {
1229
1229
  * @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
1230
1230
  * @param {string} symbol unified market symbol
1231
1231
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1232
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1232
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1233
1233
  */
1234
1234
  const market = this.market(symbol);
1235
1235
  const result = await this.fetchTradingFees(this.extend(params, { 'category': market['id'] }));
@@ -1242,7 +1242,7 @@ class lbank2 extends lbank2$1 {
1242
1242
  * @description fetch the trading fees for multiple markets
1243
1243
  * @see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
1244
1244
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1245
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1245
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1246
1246
  */
1247
1247
  await this.loadMarkets();
1248
1248
  const request = {};
@@ -1267,9 +1267,9 @@ class lbank2 extends lbank2$1 {
1267
1267
  * @param {string} type 'market' or 'limit'
1268
1268
  * @param {string} side 'buy' or 'sell'
1269
1269
  * @param {float} amount how much of currency you want to trade in units of base currency
1270
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1270
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1271
1271
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1272
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1272
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1273
1273
  */
1274
1274
  await this.loadMarkets();
1275
1275
  const market = this.market(symbol);
@@ -1497,7 +1497,7 @@ class lbank2 extends lbank2$1 {
1497
1497
  * @see https://www.lbank.info/en-US/docs/index.html#query-order-new
1498
1498
  * @param {string} symbol unified symbol of the market the order was made in
1499
1499
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1500
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1500
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1501
1501
  */
1502
1502
  await this.loadMarkets();
1503
1503
  let method = this.safeString(params, 'method');
@@ -1595,7 +1595,7 @@ class lbank2 extends lbank2$1 {
1595
1595
  * @param {int} [since] the earliest time in ms to fetch trades for
1596
1596
  * @param {int} [limit] the maximum number of trade structures to retrieve
1597
1597
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1598
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1598
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1599
1599
  */
1600
1600
  this.checkRequiredSymbol('fetchMyTrades', symbol);
1601
1601
  await this.loadMarkets();
@@ -1652,7 +1652,7 @@ class lbank2 extends lbank2$1 {
1652
1652
  * @param {int} [since] the earliest time in ms to fetch orders for
1653
1653
  * @param {int} [limit] the maximum number of order structures to retrieve
1654
1654
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1655
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1655
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1656
1656
  */
1657
1657
  // default query is for canceled and completely filled orders
1658
1658
  // does not return open orders unless specified explicitly
@@ -1710,7 +1710,7 @@ class lbank2 extends lbank2$1 {
1710
1710
  * @param {int} [since] the earliest time in ms to fetch open orders for
1711
1711
  * @param {int} [limit] the maximum number of open order structures to retrieve
1712
1712
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1713
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1713
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1714
1714
  */
1715
1715
  this.checkRequiredSymbol('fetchOpenOrders', symbol);
1716
1716
  await this.loadMarkets();
@@ -1764,7 +1764,7 @@ class lbank2 extends lbank2$1 {
1764
1764
  * @param {string} id order id
1765
1765
  * @param {string} symbol unified symbol of the market the order was made in
1766
1766
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1767
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1767
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1768
1768
  */
1769
1769
  this.checkRequiredSymbol('cancelOrder', symbol);
1770
1770
  await this.loadMarkets();
@@ -1803,7 +1803,7 @@ class lbank2 extends lbank2$1 {
1803
1803
  * @see https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
1804
1804
  * @param {string} symbol unified market symbol of the market to cancel orders in
1805
1805
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1806
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1806
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1807
1807
  */
1808
1808
  this.checkRequiredSymbol('cancelAllOrders', symbol);
1809
1809
  await this.loadMarkets();
@@ -1849,7 +1849,7 @@ class lbank2 extends lbank2$1 {
1849
1849
  * @see https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
1850
1850
  * @param {string} code unified currency code
1851
1851
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1852
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1852
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1853
1853
  */
1854
1854
  await this.loadMarkets();
1855
1855
  let method = this.safeString(params, 'method');
@@ -1950,7 +1950,7 @@ class lbank2 extends lbank2$1 {
1950
1950
  * @param {string} address the address to withdraw to
1951
1951
  * @param {string} tag
1952
1952
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
1953
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1953
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1954
1954
  */
1955
1955
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1956
1956
  this.checkAddress(address);
@@ -2115,7 +2115,7 @@ class lbank2 extends lbank2$1 {
2115
2115
  * @param {int} [since] the earliest time in ms to fetch deposits for
2116
2116
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2117
2117
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2118
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2118
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2119
2119
  */
2120
2120
  await this.loadMarkets();
2121
2121
  const request = {
@@ -2168,7 +2168,7 @@ class lbank2 extends lbank2$1 {
2168
2168
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2169
2169
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2170
2170
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2171
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2171
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2172
2172
  */
2173
2173
  await this.loadMarkets();
2174
2174
  const request = {
@@ -2223,7 +2223,7 @@ class lbank2 extends lbank2$1 {
2223
2223
  * @description please use fetchDepositWithdrawFees instead
2224
2224
  * @param {string[]|undefined} codes not used by lbank2 fetchTransactionFees ()
2225
2225
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2226
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2226
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2227
2227
  */
2228
2228
  // private only returns information for currencies with non-zero balance
2229
2229
  await this.loadMarkets();
@@ -2370,7 +2370,7 @@ class lbank2 extends lbank2$1 {
2370
2370
  * @see https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
2371
2371
  * @param {string[]|undefined} codes array of unified currency codes
2372
2372
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
2373
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2373
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2374
2374
  */
2375
2375
  await this.loadMarkets();
2376
2376
  const isAuthorized = this.checkRequiredCredentials(false);
@@ -2656,8 +2656,8 @@ class lbank2 extends lbank2$1 {
2656
2656
  if (response === undefined) {
2657
2657
  return undefined;
2658
2658
  }
2659
- const success = this.safeString(response, 'result');
2660
- if (success === 'false') {
2659
+ const success = this.safeValue(response, 'result');
2660
+ if (success === 'false' || !success) {
2661
2661
  const errorCode = this.safeString(response, 'error_code');
2662
2662
  const message = this.safeString({
2663
2663
  '10000': 'Internal error',
@@ -251,7 +251,7 @@ class luno extends luno$1 {
251
251
  * @name luno#fetchAccounts
252
252
  * @description fetch all the accounts associated with a profile
253
253
  * @param {object} [params] extra parameters specific to the luno api endpoint
254
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
254
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
255
255
  */
256
256
  const response = await this.privateGetBalance(params);
257
257
  const wallets = this.safeValue(response, 'balance', []);
@@ -329,7 +329,7 @@ class luno extends luno$1 {
329
329
  * @param {string} symbol unified symbol of the market to fetch the order book for
330
330
  * @param {int} [limit] the maximum amount of order book entries to return
331
331
  * @param {object} [params] extra parameters specific to the luno api endpoint
332
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
332
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
333
333
  */
334
334
  await this.loadMarkets();
335
335
  let method = 'publicGetOrderbook';
@@ -436,7 +436,7 @@ class luno extends luno$1 {
436
436
  * @description fetches information on an order made by the user
437
437
  * @param {string} symbol not used by luno fetchOrder
438
438
  * @param {object} [params] extra parameters specific to the luno api endpoint
439
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
439
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
440
440
  */
441
441
  await this.loadMarkets();
442
442
  const request = {
@@ -469,7 +469,7 @@ class luno extends luno$1 {
469
469
  * @param {int} [since] the earliest time in ms to fetch orders for
470
470
  * @param {int} [limit] the maximum number of orde structures to retrieve
471
471
  * @param {object} [params] extra parameters specific to the luno api endpoint
472
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
472
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
473
473
  */
474
474
  return await this.fetchOrdersByState(undefined, symbol, since, limit, params);
475
475
  }
@@ -482,7 +482,7 @@ class luno extends luno$1 {
482
482
  * @param {int} [since] the earliest time in ms to fetch open orders for
483
483
  * @param {int} [limit] the maximum number of open orders structures to retrieve
484
484
  * @param {object} [params] extra parameters specific to the luno api endpoint
485
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
485
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
486
486
  */
487
487
  return await this.fetchOrdersByState('PENDING', symbol, since, limit, params);
488
488
  }
@@ -495,7 +495,7 @@ class luno extends luno$1 {
495
495
  * @param {int} [since] the earliest time in ms to fetch orders for
496
496
  * @param {int} [limit] the maximum number of orde structures to retrieve
497
497
  * @param {object} [params] extra parameters specific to the luno api endpoint
498
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
498
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
499
499
  */
500
500
  return await this.fetchOrdersByState('COMPLETE', symbol, since, limit, params);
501
501
  }
@@ -543,7 +543,7 @@ class luno extends luno$1 {
543
543
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
544
544
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
545
545
  * @param {object} [params] extra parameters specific to the luno api endpoint
546
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
546
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
547
547
  */
548
548
  await this.loadMarkets();
549
549
  symbols = this.marketSymbols(symbols);
@@ -567,7 +567,7 @@ class luno extends luno$1 {
567
567
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
568
568
  * @param {string} symbol unified symbol of the market to fetch the ticker for
569
569
  * @param {object} [params] extra parameters specific to the luno api endpoint
570
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
570
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
571
571
  */
572
572
  await this.loadMarkets();
573
573
  const market = this.market(symbol);
@@ -726,7 +726,7 @@ class luno extends luno$1 {
726
726
  * @param {int} [since] the earliest time in ms to fetch trades for
727
727
  * @param {int} [limit] the maximum number of trades structures to retrieve
728
728
  * @param {object} [params] extra parameters specific to the luno api endpoint
729
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
729
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
730
730
  */
731
731
  if (symbol === undefined) {
732
732
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -774,7 +774,7 @@ class luno extends luno$1 {
774
774
  * @description fetch the trading fees for a market
775
775
  * @param {string} symbol unified market symbol
776
776
  * @param {object} [params] extra parameters specific to the luno api endpoint
777
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
777
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
778
778
  */
779
779
  await this.loadMarkets();
780
780
  const market = this.market(symbol);
@@ -805,9 +805,9 @@ class luno extends luno$1 {
805
805
  * @param {string} type 'market' or 'limit'
806
806
  * @param {string} side 'buy' or 'sell'
807
807
  * @param {float} amount how much of currency you want to trade in units of base currency
808
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
808
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
809
809
  * @param {object} [params] extra parameters specific to the luno api endpoint
810
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
810
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
811
811
  */
812
812
  await this.loadMarkets();
813
813
  let method = 'privatePost';
@@ -846,7 +846,7 @@ class luno extends luno$1 {
846
846
  * @param {string} id order id
847
847
  * @param {string} symbol unified symbol of the market the order was made in
848
848
  * @param {object} [params] extra parameters specific to the luno api endpoint
849
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
849
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
850
850
  */
851
851
  await this.loadMarkets();
852
852
  const request = {
@@ -878,7 +878,7 @@ class luno extends luno$1 {
878
878
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
879
879
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
880
880
  * @param {object} [params] extra parameters specific to the luno api endpoint
881
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
881
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
882
882
  */
883
883
  await this.loadMarkets();
884
884
  await this.loadAccounts();
@@ -419,7 +419,7 @@ class lykke extends lykke$1 {
419
419
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
420
420
  * @param {string} symbol unified symbol of the market to fetch the ticker for
421
421
  * @param {object} [params] extra parameters specific to the lykke api endpoint
422
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
422
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
423
423
  */
424
424
  await this.loadMarkets();
425
425
  const market = this.market(symbol);
@@ -472,7 +472,7 @@ class lykke extends lykke$1 {
472
472
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
473
473
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
474
474
  * @param {object} [params] extra parameters specific to the lykke api endpoint
475
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
475
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
476
476
  */
477
477
  await this.loadMarkets();
478
478
  const response = await this.publicGetTickers(params);
@@ -504,7 +504,7 @@ class lykke extends lykke$1 {
504
504
  * @param {string} symbol unified symbol of the market to fetch the order book for
505
505
  * @param {int} [limit] the maximum amount of order book entries to return
506
506
  * @param {object} [params] extra parameters specific to the lykke api endpoint
507
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
507
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
508
508
  */
509
509
  await this.loadMarkets();
510
510
  const market = this.market(symbol);
@@ -768,9 +768,9 @@ class lykke extends lykke$1 {
768
768
  * @param {string} type 'market' or 'limit'
769
769
  * @param {string} side 'buy' or 'sell'
770
770
  * @param {float} amount how much of currency you want to trade in units of base currency
771
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
771
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
772
772
  * @param {object} [params] extra parameters specific to the lykke api endpoint
773
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
773
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
774
774
  */
775
775
  await this.loadMarkets();
776
776
  const market = this.market(symbol);
@@ -838,7 +838,7 @@ class lykke extends lykke$1 {
838
838
  * @param {string} id order id
839
839
  * @param {string} symbol unified symbol of the market the order was made in
840
840
  * @param {object} [params] extra parameters specific to the lykke api endpoint
841
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
841
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
842
842
  */
843
843
  const request = {
844
844
  'orderId': id,
@@ -858,7 +858,7 @@ class lykke extends lykke$1 {
858
858
  * @description cancel all open orders
859
859
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
860
860
  * @param {object} [params] extra parameters specific to the lykke api endpoint
861
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
861
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
862
862
  */
863
863
  await this.loadMarkets();
864
864
  const request = {
@@ -884,7 +884,7 @@ class lykke extends lykke$1 {
884
884
  * @description fetches information on an order made by the user
885
885
  * @param {string} symbol not used by lykke fetchOrder
886
886
  * @param {object} [params] extra parameters specific to the lykke api endpoint
887
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
887
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
888
888
  */
889
889
  await this.loadMarkets();
890
890
  const request = {
@@ -922,7 +922,7 @@ class lykke extends lykke$1 {
922
922
  * @param {int} [since] the earliest time in ms to fetch open orders for
923
923
  * @param {int} [limit] the maximum number of open orders structures to retrieve
924
924
  * @param {object} [params] extra parameters specific to the lykke api endpoint
925
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
925
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
926
926
  */
927
927
  await this.loadMarkets();
928
928
  let market = undefined;
@@ -970,7 +970,7 @@ class lykke extends lykke$1 {
970
970
  * @param {int} [since] the earliest time in ms to fetch orders for
971
971
  * @param {int} [limit] the maximum number of orde structures to retrieve
972
972
  * @param {object} [params] extra parameters specific to the lykke api endpoint
973
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
973
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
974
974
  */
975
975
  await this.loadMarkets();
976
976
  let market = undefined;
@@ -1018,7 +1018,7 @@ class lykke extends lykke$1 {
1018
1018
  * @param {int} [since] the earliest time in ms to fetch trades for
1019
1019
  * @param {int} [limit] the maximum number of trades structures to retrieve
1020
1020
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1021
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1021
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1022
1022
  */
1023
1023
  await this.loadMarkets();
1024
1024
  const request = {
@@ -1075,7 +1075,7 @@ class lykke extends lykke$1 {
1075
1075
  * @description fetch the deposit address for a currency associated with this account
1076
1076
  * @param {string} code unified currency code
1077
1077
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1078
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1078
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1079
1079
  */
1080
1080
  await this.loadMarkets();
1081
1081
  const currency = this.currency(code);
@@ -1172,7 +1172,7 @@ class lykke extends lykke$1 {
1172
1172
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1173
1173
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1174
1174
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1175
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1175
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1176
1176
  */
1177
1177
  await this.loadMarkets();
1178
1178
  const request = {
@@ -1215,7 +1215,7 @@ class lykke extends lykke$1 {
1215
1215
  * @param {string} address the address to withdraw to
1216
1216
  * @param {string} tag
1217
1217
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1218
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1218
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1219
1219
  */
1220
1220
  await this.loadMarkets();
1221
1221
  this.checkAddress(address);