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
@@ -162,7 +162,7 @@ class bybit extends bybit$1 {
162
162
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
163
163
  * @param {string} symbol unified symbol of the market to fetch the ticker for
164
164
  * @param {object} [params] extra parameters specific to the bybit api endpoint
165
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
165
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
166
166
  */
167
167
  await this.loadMarkets();
168
168
  const market = this.market(symbol);
@@ -423,7 +423,7 @@ class bybit extends bybit$1 {
423
423
  * @param {string} symbol unified symbol of the market to fetch the order book for
424
424
  * @param {int} [limit] the maximum amount of order book entries to return.
425
425
  * @param {object} [params] extra parameters specific to the bybit api endpoint
426
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
426
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
427
427
  */
428
428
  await this.loadMarkets();
429
429
  const market = this.market(symbol);
@@ -533,7 +533,7 @@ class bybit extends bybit$1 {
533
533
  * @param {int} [since] the earliest time in ms to fetch trades for
534
534
  * @param {int} [limit] the maximum number of trade structures to retrieve
535
535
  * @param {object} [params] extra parameters specific to the bybit api endpoint
536
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
536
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
537
537
  */
538
538
  await this.loadMarkets();
539
539
  const market = this.market(symbol);
@@ -683,7 +683,7 @@ class bybit extends bybit$1 {
683
683
  * @param {int} [limit] the maximum number of orde structures to retrieve
684
684
  * @param {object} [params] extra parameters specific to the bybit api endpoint
685
685
  * @param {boolean} [params.unifiedMargin] use unified margin account
686
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
686
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
687
687
  */
688
688
  const method = 'watchMyTrades';
689
689
  let messageHash = 'myTrades';
@@ -808,7 +808,7 @@ class bybit extends bybit$1 {
808
808
  * @param {int} [since] the earliest time in ms to fetch orders for
809
809
  * @param {int} [limit] the maximum number of orde structures to retrieve
810
810
  * @param {object} [params] extra parameters specific to the bybit api endpoint
811
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
811
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
812
812
  */
813
813
  await this.loadMarkets();
814
814
  const method = 'watchOrders';
@@ -225,7 +225,7 @@ class cex extends cex$1 {
225
225
  * @param {string} symbol unified symbol of the market to fetch the ticker for
226
226
  * @param {object} [params] extra parameters specific to the cex api endpoint
227
227
  * @param {string} [params.method] public or private
228
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
228
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
229
229
  */
230
230
  await this.loadMarkets();
231
231
  const market = this.market(symbol);
@@ -262,7 +262,7 @@ class cex extends cex$1 {
262
262
  * @description watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
263
263
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
264
264
  * @param {object} [params] extra parameters specific to the cex api endpoint
265
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
265
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
266
266
  */
267
267
  await this.loadMarkets();
268
268
  symbols = this.marketSymbols(symbols);
@@ -852,7 +852,7 @@ class cex extends cex$1 {
852
852
  * @param {string} symbol unified symbol of the market to fetch the order book for
853
853
  * @param {int} [limit] the maximum amount of order book entries to return
854
854
  * @param {object} [params] extra parameters specific to the cex api endpoint
855
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
855
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
856
856
  */
857
857
  await this.loadMarkets();
858
858
  await this.authenticate();
@@ -108,7 +108,7 @@ class coinbasepro extends coinbasepro$1 {
108
108
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
109
109
  * @param {string} symbol unified symbol of the market to fetch the ticker for
110
110
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
111
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
111
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
112
112
  */
113
113
  const name = 'ticker';
114
114
  return await this.subscribe(name, symbol, name, params);
@@ -122,7 +122,7 @@ class coinbasepro extends coinbasepro$1 {
122
122
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
123
123
  * @param {object} [params] extra parameters specific to the okx api endpoint
124
124
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
125
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
125
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
126
126
  */
127
127
  await this.loadMarkets();
128
128
  const symbolsLength = symbols.length;
@@ -166,7 +166,7 @@ class coinbasepro extends coinbasepro$1 {
166
166
  * @param {int} [since] the earliest time in ms to fetch trades for
167
167
  * @param {int} [limit] the maximum number of trade structures to retrieve
168
168
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
169
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
169
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
170
170
  */
171
171
  this.checkRequiredSymbol('watchMyTrades', symbol);
172
172
  await this.loadMarkets();
@@ -189,7 +189,7 @@ class coinbasepro extends coinbasepro$1 {
189
189
  * @param {int} [since] the earliest time in ms to fetch orders for
190
190
  * @param {int} [limit] the maximum number of orde structures to retrieve
191
191
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
192
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
192
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
193
193
  */
194
194
  if (symbol === undefined) {
195
195
  throw new errors.BadSymbol(this.id + ' watchMyTrades requires a symbol');
@@ -213,7 +213,7 @@ class coinbasepro extends coinbasepro$1 {
213
213
  * @param {string} symbol unified symbol of the market to fetch the order book for
214
214
  * @param {int} [limit] the maximum amount of order book entries to return
215
215
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
216
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
216
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
217
217
  */
218
218
  const name = 'level2';
219
219
  await this.loadMarkets();
@@ -406,7 +406,7 @@ class coinex extends coinex$1 {
406
406
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
407
407
  * @param {string} symbol unified symbol of the market to fetch the ticker for
408
408
  * @param {object} [params] extra parameters specific to the coinex api endpoint
409
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
409
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
410
410
  */
411
411
  return await this.watchTickers([symbol], params);
412
412
  }
@@ -418,7 +418,7 @@ class coinex extends coinex$1 {
418
418
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
419
419
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
420
420
  * @param {object} [params] extra parameters specific to the coinex api endpoint
421
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
421
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
422
422
  */
423
423
  await this.loadMarkets();
424
424
  symbols = this.marketSymbols(symbols);
@@ -483,7 +483,7 @@ class coinex extends coinex$1 {
483
483
  * @param {string} symbol unified symbol of the market to fetch the order book for
484
484
  * @param {int} [limit] the maximum amount of order book entries to return
485
485
  * @param {object} [params] extra parameters specific to the coinex api endpoint
486
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
486
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
487
487
  */
488
488
  await this.loadMarkets();
489
489
  const market = this.market(symbol);
@@ -63,7 +63,7 @@ class cryptocom extends cryptocom$1 {
63
63
  * @param {string} symbol unified symbol of the market to fetch the order book for
64
64
  * @param {int} [limit] the maximum amount of order book entries to return
65
65
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
66
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
66
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
67
67
  */
68
68
  await this.loadMarkets();
69
69
  const market = this.market(symbol);
@@ -190,7 +190,7 @@ class cryptocom extends cryptocom$1 {
190
190
  * @param {int} [since] the earliest time in ms to fetch trades for
191
191
  * @param {int} [limit] the maximum number of trade structures to retrieve
192
192
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
193
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
193
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
194
194
  */
195
195
  await this.loadMarkets();
196
196
  let market = undefined;
@@ -214,7 +214,7 @@ class cryptocom extends cryptocom$1 {
214
214
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#ticker-instrument_name
215
215
  * @param {string} symbol unified symbol of the market to fetch the ticker for
216
216
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
217
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
217
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
218
218
  */
219
219
  await this.loadMarkets();
220
220
  const market = this.market(symbol);
@@ -322,7 +322,7 @@ class cryptocom extends cryptocom$1 {
322
322
  * @param {int} [since] the earliest time in ms to fetch orders for
323
323
  * @param {int} [limit] the maximum number of order structures to retrieve
324
324
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
325
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
325
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
326
326
  */
327
327
  await this.loadMarkets();
328
328
  let market = undefined;
@@ -475,7 +475,7 @@ class cryptocom extends cryptocom$1 {
475
475
  * @param {string} type 'market' or 'limit'
476
476
  * @param {string} side 'buy' or 'sell'
477
477
  * @param {float} amount how much of currency you want to trade in units of base currency
478
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
478
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
479
479
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
480
480
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
481
481
  */
@@ -514,7 +514,7 @@ class cryptocom extends cryptocom$1 {
514
514
  * @param {string} id the order id of the order to cancel
515
515
  * @param {string} [symbol] unified symbol of the market the order was made in
516
516
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
517
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
517
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
518
518
  */
519
519
  await this.loadMarkets();
520
520
  params = this.extend({
@@ -535,7 +535,7 @@ class cryptocom extends cryptocom$1 {
535
535
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
536
536
  * @param {string} symbol unified market symbol of the orders to cancel
537
537
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
538
- * @returns {object} Returns exchange raw message {@link https://docs.ccxt.com/#/?id=order-structure}
538
+ * @returns {object} Returns exchange raw message {@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
539
539
  */
540
540
  await this.loadMarkets();
541
541
  let market = undefined;
@@ -341,7 +341,7 @@ class currencycom extends currencycom$1 {
341
341
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
342
342
  * @param {string} symbol unified symbol of the market to fetch the ticker for
343
343
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
344
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
344
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
345
345
  */
346
346
  await this.loadMarkets();
347
347
  const market = this.market(symbol);
@@ -390,7 +390,7 @@ class currencycom extends currencycom$1 {
390
390
  * @param {string} symbol unified symbol of the market to fetch the order book for
391
391
  * @param {int} [limit] the maximum amount of order book entries to return
392
392
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
393
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
393
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
394
394
  */
395
395
  await this.loadMarkets();
396
396
  symbol = this.symbol(symbol);
@@ -146,7 +146,7 @@ class deribit extends deribit$1 {
146
146
  * @param {string} symbol unified symbol of the market to fetch the ticker for
147
147
  * @param {object} [params] extra parameters specific to the deribit api endpoint
148
148
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
149
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
149
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
150
150
  */
151
151
  await this.loadMarkets();
152
152
  const market = this.market(symbol);
@@ -381,7 +381,7 @@ class deribit extends deribit$1 {
381
381
  * @param {int} [limit] the maximum amount of order book entries to return
382
382
  * @param {object} [params] extra parameters specific to the deribit api endpoint
383
383
  * @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
384
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
384
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
385
385
  */
386
386
  await this.loadMarkets();
387
387
  const market = this.market(symbol);
@@ -511,7 +511,7 @@ class deribit extends deribit$1 {
511
511
  * @param {int} [since] the earliest time in ms to fetch orders for
512
512
  * @param {int} [limit] the maximum number of orde structures to retrieve
513
513
  * @param {object} [params] extra parameters specific to the deribit api endpoint
514
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
514
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
515
515
  */
516
516
  await this.loadMarkets();
517
517
  await this.authenticate(params);
@@ -204,7 +204,7 @@ class exmo extends exmo$1 {
204
204
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
205
205
  * @param {string} symbol unified symbol of the market to fetch the ticker for
206
206
  * @param {object} [params] extra parameters specific to the exmo api endpoint
207
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
207
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
208
208
  */
209
209
  await this.loadMarkets();
210
210
  const market = this.market(symbol);
@@ -454,7 +454,7 @@ class exmo extends exmo$1 {
454
454
  * @param {string} symbol unified symbol of the market to fetch the order book for
455
455
  * @param {int} [limit] the maximum amount of order book entries to return
456
456
  * @param {object} [params] extra parameters specific to the exmo api endpoint
457
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
457
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
458
458
  */
459
459
  await this.loadMarkets();
460
460
  const market = this.market(symbol);
@@ -92,7 +92,7 @@ class gate extends gate$1 {
92
92
  * @param {string} symbol unified symbol of the market to fetch the order book for
93
93
  * @param {int} [limit] the maximum amount of order book entries to return
94
94
  * @param {object} [params] extra parameters specific to the gate api endpoint
95
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
95
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
96
96
  */
97
97
  await this.loadMarkets();
98
98
  const market = this.market(symbol);
@@ -269,7 +269,7 @@ class gate extends gate$1 {
269
269
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
270
270
  * @param {string} symbol unified symbol of the market to fetch the ticker for
271
271
  * @param {object} [params] extra parameters specific to the gate api endpoint
272
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
272
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
273
273
  */
274
274
  await this.loadMarkets();
275
275
  const market = this.market(symbol);
@@ -290,7 +290,7 @@ class gate extends gate$1 {
290
290
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
291
291
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
292
292
  * @param {object} [params] extra parameters specific to the gate api endpoint
293
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
293
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
294
294
  */
295
295
  await this.loadMarkets();
296
296
  symbols = this.marketSymbols(symbols);
@@ -521,7 +521,7 @@ class gate extends gate$1 {
521
521
  * @param {int} [since] the earliest time in ms to fetch trades for
522
522
  * @param {int} [limit] the maximum number of trade structures to retrieve
523
523
  * @param {object} [params] extra parameters specific to the gate api endpoint
524
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
524
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
525
525
  */
526
526
  await this.loadMarkets();
527
527
  let subType = undefined;
@@ -730,7 +730,7 @@ class gate extends gate$1 {
730
730
  * @param {object} [params] extra parameters specific to the gate api endpoint
731
731
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
732
732
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
733
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
733
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
734
734
  */
735
735
  await this.loadMarkets();
736
736
  let market = undefined;
@@ -283,7 +283,7 @@ class gemini extends gemini$1 {
283
283
  * @param {string} symbol unified symbol of the market to fetch the order book for
284
284
  * @param {int} [limit] the maximum amount of order book entries to return
285
285
  * @param {object} [params] extra parameters specific to the gemini api endpoint
286
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
286
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
287
287
  */
288
288
  await this.loadMarkets();
289
289
  const market = this.market(symbol);
@@ -379,7 +379,7 @@ class gemini extends gemini$1 {
379
379
  * @param {int} [since] the earliest time in ms to fetch orders for
380
380
  * @param {int} [limit] the maximum number of orde structures to retrieve
381
381
  * @param {object} [params] extra parameters specific to the gemini api endpoint
382
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
382
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
383
383
  */
384
384
  const url = this.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked';
385
385
  await this.loadMarkets();
@@ -62,7 +62,7 @@ class hitbtc extends hitbtc$1 {
62
62
  * @param {string} symbol unified symbol of the market to fetch the order book for
63
63
  * @param {int} [limit] the maximum amount of order book entries to return
64
64
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
65
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
65
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
66
66
  */
67
67
  const orderbook = await this.watchPublic(symbol, 'orderbook', undefined, params);
68
68
  return orderbook.limit();
@@ -164,7 +164,7 @@ class hitbtc extends hitbtc$1 {
164
164
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
165
165
  * @param {string} symbol unified symbol of the market to fetch the ticker for
166
166
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
167
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
167
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
168
168
  */
169
169
  return await this.watchPublic(symbol, 'ticker', undefined, params);
170
170
  }
@@ -58,7 +58,7 @@ class hollaex extends hollaex$1 {
58
58
  * @param {string} symbol unified symbol of the market to fetch the order book for
59
59
  * @param {int} [limit] the maximum amount of order book entries to return
60
60
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
61
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
61
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
62
62
  */
63
63
  await this.loadMarkets();
64
64
  const market = this.market(symbol);
@@ -173,7 +173,7 @@ class hollaex extends hollaex$1 {
173
173
  * @param {int} [since] the earliest time in ms to fetch trades for
174
174
  * @param {int} [limit] the maximum number of trade structures to retrieve
175
175
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
176
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
176
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
177
177
  */
178
178
  await this.loadMarkets();
179
179
  let messageHash = 'usertrade';
@@ -253,7 +253,7 @@ class hollaex extends hollaex$1 {
253
253
  * @param {int} [since] the earliest time in ms to fetch orders for
254
254
  * @param {int} [limit] the maximum number of orde structures to retrieve
255
255
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
256
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
256
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
257
257
  */
258
258
  await this.loadMarkets();
259
259
  let messageHash = 'order';
@@ -120,7 +120,7 @@ class huobi extends huobi$1 {
120
120
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
121
121
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122
122
  * @param {object} [params] extra parameters specific to the huobi api endpoint
123
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
123
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
124
124
  */
125
125
  await this.loadMarkets();
126
126
  const market = this.market(symbol);
@@ -315,7 +315,7 @@ class huobi extends huobi$1 {
315
315
  * @param {string} symbol unified symbol of the market to fetch the order book for
316
316
  * @param {int} [limit] the maximum amount of order book entries to return
317
317
  * @param {object} [params] extra parameters specific to the huobi api endpoint
318
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
318
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
319
319
  */
320
320
  await this.loadMarkets();
321
321
  const market = this.market(symbol);
@@ -639,7 +639,7 @@ class huobi extends huobi$1 {
639
639
  * @param {int} [since] the earliest time in ms to fetch trades for
640
640
  * @param {int} [limit] the maximum number of trade structures to retrieve
641
641
  * @param {object} [params] extra parameters specific to the huobi api endpoint
642
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
642
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
643
643
  */
644
644
  this.checkRequiredCredentials();
645
645
  await this.loadMarkets();
@@ -742,7 +742,7 @@ class huobi extends huobi$1 {
742
742
  * @param {int} [since] the earliest time in ms to fetch orders for
743
743
  * @param {int} [limit] the maximum number of orde structures to retrieve
744
744
  * @param {object} [params] extra parameters specific to the huobi api endpoint
745
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
745
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
746
746
  */
747
747
  await this.loadMarkets();
748
748
  let type = undefined;
@@ -50,7 +50,7 @@ class huobijp extends huobijp$1 {
50
50
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
51
51
  * @param {string} symbol unified symbol of the market to fetch the ticker for
52
52
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
53
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
53
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
54
54
  */
55
55
  await this.loadMarkets();
56
56
  const market = this.market(symbol);
@@ -264,7 +264,7 @@ class huobijp extends huobijp$1 {
264
264
  * @param {string} symbol unified symbol of the market to fetch the order book for
265
265
  * @param {int} [limit] the maximum amount of order book entries to return
266
266
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
267
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
267
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
268
268
  */
269
269
  if ((limit !== undefined) && (limit !== 150)) {
270
270
  throw new errors.ExchangeError(this.id + ' watchOrderBook accepts limit = 150 only');
@@ -70,7 +70,7 @@ class idex extends idex$1 {
70
70
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
71
71
  * @param {string} symbol unified symbol of the market to fetch the ticker for
72
72
  * @param {object} [params] extra parameters specific to the idex api endpoint
73
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
73
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
74
74
  */
75
75
  await this.loadMarkets();
76
76
  const market = this.market(symbol);
@@ -407,7 +407,7 @@ class idex extends idex$1 {
407
407
  * @param {string} symbol unified symbol of the market to fetch the order book for
408
408
  * @param {int} [limit] the maximum amount of order book entries to return
409
409
  * @param {object} [params] extra parameters specific to the idex api endpoint
410
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
410
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
411
411
  */
412
412
  await this.loadMarkets();
413
413
  const market = this.market(symbol);
@@ -511,7 +511,7 @@ class idex extends idex$1 {
511
511
  * @param {int} [since] the earliest time in ms to fetch orders for
512
512
  * @param {int} [limit] the maximum number of orde structures to retrieve
513
513
  * @param {object} [params] extra parameters specific to the idex api endpoint
514
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
514
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
515
515
  */
516
516
  await this.loadMarkets();
517
517
  const name = 'orders';
@@ -124,7 +124,7 @@ class independentreserve extends independentreserve$1 {
124
124
  * @param {string} symbol unified symbol of the market to fetch the order book for
125
125
  * @param {int} [limit] the maximum amount of order book entries to return
126
126
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
127
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
127
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
128
128
  */
129
129
  await this.loadMarkets();
130
130
  const market = this.market(symbol);
@@ -113,7 +113,7 @@ class kraken extends kraken$1 {
113
113
  * @param {string} type 'market' or 'limit'
114
114
  * @param {string} side 'buy' or 'sell'
115
115
  * @param {float} amount how much of currency you want to trade in units of base currency
116
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
116
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
117
117
  * @param {object} [params] extra parameters specific to the kraken api endpoint
118
118
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
119
119
  */
@@ -170,7 +170,7 @@ class kraken extends kraken$1 {
170
170
  * @param {string} type 'market' or 'limit'
171
171
  * @param {string} side 'buy' or 'sell'
172
172
  * @param {float} amount how much of the currency you want to trade in units of the base currency
173
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
173
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
174
174
  * @param {object} [params] extra parameters specific to the kraken api endpoint
175
175
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
176
176
  */
@@ -466,7 +466,7 @@ class kraken extends kraken$1 {
466
466
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
467
467
  * @param {string} symbol unified symbol of the market to fetch the ticker for
468
468
  * @param {object} [params] extra parameters specific to the kraken api endpoint
469
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
469
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
470
470
  */
471
471
  return await this.watchPublic('ticker', symbol, params);
472
472
  }
@@ -498,7 +498,7 @@ class kraken extends kraken$1 {
498
498
  * @param {string} symbol unified symbol of the market to fetch the order book for
499
499
  * @param {int} [limit] the maximum amount of order book entries to return
500
500
  * @param {object} [params] extra parameters specific to the kraken api endpoint
501
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
501
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
502
502
  */
503
503
  const name = 'book';
504
504
  const request = {};
@@ -830,7 +830,7 @@ class kraken extends kraken$1 {
830
830
  * @param {int} [since] the earliest time in ms to fetch trades for
831
831
  * @param {int} [limit] the maximum number of trade structures to retrieve
832
832
  * @param {object} [params] extra parameters specific to the kraken api endpoint
833
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
833
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
834
834
  */
835
835
  return await this.watchPrivate('ownTrades', symbol, since, limit, params);
836
836
  }
@@ -992,7 +992,7 @@ class kraken extends kraken$1 {
992
992
  * @param {int} [since] the earliest time in ms to fetch orders for
993
993
  * @param {int} [limit] the maximum number of orde structures to retrieve
994
994
  * @param {object} [params] extra parameters specific to the kraken api endpoint
995
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
995
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
996
996
  */
997
997
  return await this.watchPrivate('openOrders', symbol, since, limit, params);
998
998
  }
@@ -235,7 +235,7 @@ class krakenfutures extends krakenfutures$1 {
235
235
  * @param {int} [since] the earliest time in ms to fetch orders for
236
236
  * @param {int} [limit] the maximum number of orde structures to retrieve
237
237
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
238
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
238
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
239
239
  */
240
240
  await this.loadMarkets();
241
241
  const name = 'fills';
@@ -261,7 +261,7 @@ class krakenfutures extends krakenfutures$1 {
261
261
  * @param {int} [limit] not used by krakenfutures watchBalance
262
262
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
263
263
  * @param {string} [params.account] can be either 'futures' or 'flex_futures'
264
- * @returns {object[]} a list of [balance structures]{@link https://docs.ccxt.com/#/?id=balance-structure}
264
+ * @returns {object[]} a list of [balance structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
265
265
  */
266
266
  await this.loadMarkets();
267
267
  const name = 'balances';
@@ -119,7 +119,7 @@ class kucoin extends kucoin$1 {
119
119
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
120
120
  * @param {string} symbol unified symbol of the market to fetch the ticker for
121
121
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
122
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
122
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
123
123
  */
124
124
  await this.loadMarkets();
125
125
  const market = this.market(symbol);
@@ -332,7 +332,7 @@ class kucoin extends kucoin$1 {
332
332
  * @param {string} symbol unified symbol of the market to fetch the order book for
333
333
  * @param {int} [limit] the maximum amount of order book entries to return
334
334
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
335
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
335
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
336
336
  */
337
337
  //
338
338
  // https://docs.kucoin.com/#level-2-market-data
@@ -496,7 +496,7 @@ class kucoin extends kucoin$1 {
496
496
  * @param {int} [since] the earliest time in ms to fetch orders for
497
497
  * @param {int} [limit] the maximum number of orde structures to retrieve
498
498
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
499
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
499
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
500
500
  */
501
501
  await this.loadMarkets();
502
502
  const url = await this.negotiate(true);
@@ -619,7 +619,7 @@ class kucoin extends kucoin$1 {
619
619
  * @param {int} [since] the earliest time in ms to fetch trades for
620
620
  * @param {int} [limit] the maximum number of trade structures to retrieve
621
621
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
622
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
622
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
623
623
  */
624
624
  await this.loadMarkets();
625
625
  const url = await this.negotiate(true);