ccxt 4.0.74 → 4.0.76

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 (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
@@ -56,7 +56,7 @@ class bitopro extends bitopro$1 {
56
56
  * @param {string} symbol unified symbol of the market to fetch the order book for
57
57
  * @param {int} [limit] the maximum amount of order book entries to return
58
58
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
59
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
59
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
60
60
  */
61
61
  if (limit !== undefined) {
62
62
  if ((limit !== 5) && (limit !== 10) && (limit !== 20) && (limit !== 50) && (limit !== 100) && (limit !== 500) && (limit !== 1000)) {
@@ -122,7 +122,7 @@ class bitopro extends bitopro$1 {
122
122
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
123
123
  * @param {int} [limit] the maximum amount of trades to fetch
124
124
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
125
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
125
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
126
126
  */
127
127
  await this.loadMarkets();
128
128
  const market = this.market(symbol);
@@ -179,7 +179,7 @@ class bitopro extends bitopro$1 {
179
179
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
180
180
  * @param {string} symbol unified symbol of the market to fetch the ticker for
181
181
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
182
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
182
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
183
183
  */
184
184
  await this.loadMarkets();
185
185
  const market = this.market(symbol);
@@ -257,7 +257,7 @@ class bitopro extends bitopro$1 {
257
257
  * @name bitopro#watchBalance
258
258
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
259
259
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
260
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
260
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
261
261
  */
262
262
  this.checkRequiredCredentials();
263
263
  await this.loadMarkets();
@@ -80,7 +80,7 @@ class bitpanda extends bitpanda$1 {
80
80
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
81
81
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
82
82
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
83
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
83
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
84
84
  */
85
85
  await this.authenticate(params);
86
86
  const url = this.urls['api']['ws'];
@@ -140,7 +140,7 @@ class bitpanda extends bitpanda$1 {
140
140
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
141
141
  * @param {string} symbol unified symbol of the market to fetch the ticker for
142
142
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
143
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
143
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
144
144
  */
145
145
  await this.loadMarkets();
146
146
  const market = this.market(symbol);
@@ -166,7 +166,7 @@ class bitpanda extends bitpanda$1 {
166
166
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
167
167
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
168
168
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
169
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
169
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
170
170
  */
171
171
  await this.loadMarkets();
172
172
  symbols = this.marketSymbols(symbols);
@@ -264,7 +264,7 @@ class bitpanda extends bitpanda$1 {
264
264
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
265
265
  * @param {int} [limit] the maximum amount of trades to fetch
266
266
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
267
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
267
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
268
268
  */
269
269
  await this.loadMarkets();
270
270
  let messageHash = 'myTrades';
@@ -307,7 +307,7 @@ class bitpanda extends bitpanda$1 {
307
307
  * @param {string} symbol unified symbol of the market to fetch the order book for
308
308
  * @param {int} [limit] the maximum amount of order book entries to return
309
309
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
310
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
310
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
311
311
  */
312
312
  await this.loadMarkets();
313
313
  const market = this.market(symbol);
@@ -426,7 +426,7 @@ class bitpanda extends bitpanda$1 {
426
426
  * @param {int} [limit] the maximum number of orde structures to retrieve
427
427
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
428
428
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
429
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
429
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
430
430
  */
431
431
  await this.loadMarkets();
432
432
  let messageHash = 'orders';
@@ -59,7 +59,7 @@ class bitrue extends bitrue$1 {
59
59
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
60
60
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
61
61
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
62
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
62
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
63
63
  */
64
64
  const url = await this.authenticate();
65
65
  const messageHash = 'balance';
@@ -174,7 +174,7 @@ class bitrue extends bitrue$1 {
174
174
  * @param {int} [since] timestamp in ms of the earliest order
175
175
  * @param {int} [limit] the maximum amount of orders to return
176
176
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
177
- * @returns {object} A dictionary of [order structure]{@link https://docs.ccxt.com/#/?id=order-structure} indexed by market symbols
177
+ * @returns {object} A dictionary of [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure} indexed by market symbols
178
178
  */
179
179
  await this.loadMarkets();
180
180
  if (symbol !== undefined) {
@@ -49,7 +49,7 @@ class bitstamp extends bitstamp$1 {
49
49
  * @param {string} symbol unified symbol of the market to fetch the order book for
50
50
  * @param {int} [limit] the maximum amount of order book entries to return
51
51
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
52
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
52
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
53
53
  */
54
54
  await this.loadMarkets();
55
55
  const market = this.market(symbol);
@@ -161,7 +161,7 @@ class bitstamp extends bitstamp$1 {
161
161
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
162
162
  * @param {int} [limit] the maximum amount of trades to fetch
163
163
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
164
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
164
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
165
165
  */
166
166
  await this.loadMarkets();
167
167
  const market = this.market(symbol);
@@ -268,7 +268,7 @@ class bitstamp extends bitstamp$1 {
268
268
  * @param {int} [since] the earliest time in ms to fetch orders for
269
269
  * @param {int} [limit] the maximum number of orde structures to retrieve
270
270
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
271
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
271
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
272
272
  */
273
273
  if (symbol === undefined) {
274
274
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -208,7 +208,7 @@ class bittrex extends bittrex$1 {
208
208
  * @param {int} [since] the earliest time in ms to fetch orders for
209
209
  * @param {int} [limit] the maximum number of orde structures to retrieve
210
210
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
211
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
211
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
212
212
  */
213
213
  await this.loadMarkets();
214
214
  if (symbol !== undefined) {
@@ -264,7 +264,7 @@ class bittrex extends bittrex$1 {
264
264
  * @name bittrex#watchBalance
265
265
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
266
266
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
267
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
267
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
268
268
  */
269
269
  await this.loadMarkets();
270
270
  const authentication = await this.authenticate();
@@ -333,7 +333,7 @@ class bittrex extends bittrex$1 {
333
333
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
334
334
  * @param {string} symbol unified symbol of the market to fetch the ticker for
335
335
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
336
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
336
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
337
337
  */
338
338
  await this.loadMarkets();
339
339
  const negotiation = await this.negotiate();
@@ -454,7 +454,7 @@ class bittrex extends bittrex$1 {
454
454
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
455
455
  * @param {int} [limit] the maximum amount of trades to fetch
456
456
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
457
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
457
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
458
458
  */
459
459
  await this.loadMarkets();
460
460
  symbol = this.symbol(symbol);
@@ -520,7 +520,7 @@ class bittrex extends bittrex$1 {
520
520
  * @param {int} [since] the earliest time in ms to fetch trades for
521
521
  * @param {int} [limit] the maximum number of trade structures to retrieve
522
522
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
523
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
523
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
524
524
  */
525
525
  await this.loadMarkets();
526
526
  symbol = this.symbol(symbol);
@@ -576,7 +576,7 @@ class bittrex extends bittrex$1 {
576
576
  * @param {string} symbol unified symbol of the market to fetch the order book for
577
577
  * @param {int} [limit] the maximum amount of order book entries to return
578
578
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
579
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
579
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
580
580
  */
581
581
  limit = (limit === undefined) ? 25 : limit; // 25 by default
582
582
  if ((limit !== 1) && (limit !== 25) && (limit !== 500)) {
@@ -57,7 +57,7 @@ class bitvavo extends bitvavo$1 {
57
57
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
58
58
  * @param {string} symbol unified symbol of the market to fetch the ticker for
59
59
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
60
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
60
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
61
61
  */
62
62
  return await this.watchPublic('ticker24h', symbol, params);
63
63
  }
@@ -106,7 +106,7 @@ class bitvavo extends bitvavo$1 {
106
106
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
107
107
  * @param {int} [limit] the maximum amount of trades to fetch
108
108
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
109
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
109
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
110
110
  */
111
111
  await this.loadMarkets();
112
112
  symbol = this.symbol(symbol);
@@ -229,7 +229,7 @@ class bitvavo extends bitvavo$1 {
229
229
  * @param {string} symbol unified symbol of the market to fetch the order book for
230
230
  * @param {int} [limit] the maximum amount of order book entries to return
231
231
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
232
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
232
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
233
233
  */
234
234
  await this.loadMarkets();
235
235
  const market = this.market(symbol);
@@ -420,7 +420,7 @@ class bitvavo extends bitvavo$1 {
420
420
  * @param {int} [since] the earliest time in ms to fetch orders for
421
421
  * @param {int} [limit] the maximum number of orde structures to retrieve
422
422
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
423
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
423
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
424
424
  */
425
425
  if (symbol === undefined) {
426
426
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -457,7 +457,7 @@ class bitvavo extends bitvavo$1 {
457
457
  * @param {int} [since] the earliest time in ms to fetch trades for
458
458
  * @param {int} [limit] the maximum number of trade structures to retrieve
459
459
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
460
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=ortradeder-structure
460
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ortradeder-structure
461
461
  */
462
462
  if (symbol === undefined) {
463
463
  throw new errors.ArgumentsRequired(this.id + ' watchMyTrades requires a symbol argument');
@@ -55,7 +55,7 @@ class blockchaincom extends blockchaincom$1 {
55
55
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
56
56
  * @see https://exchange.blockchain.com/api/#balances
57
57
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
58
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
58
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59
59
  */
60
60
  await this.authenticate(params);
61
61
  const messageHash = 'balance';
@@ -205,7 +205,7 @@ class blockchaincom extends blockchaincom$1 {
205
205
  * @see https://exchange.blockchain.com/api/#ticker
206
206
  * @param {string} symbol unified symbol of the market to fetch the ticker for
207
207
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
208
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
208
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
209
209
  */
210
210
  await this.loadMarkets();
211
211
  const market = this.market(symbol);
@@ -314,7 +314,7 @@ class blockchaincom extends blockchaincom$1 {
314
314
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
315
315
  * @param {int} [limit] the maximum amount of trades to fetch
316
316
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
317
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
317
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
318
318
  */
319
319
  await this.loadMarkets();
320
320
  const market = this.market(symbol);
@@ -413,7 +413,7 @@ class blockchaincom extends blockchaincom$1 {
413
413
  * @param {int} [since] the earliest time in ms to fetch orders for
414
414
  * @param {int} [limit] the maximum number of orde structures to retrieve
415
415
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
416
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
416
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
417
417
  */
418
418
  await this.loadMarkets();
419
419
  await this.authenticate();
@@ -627,7 +627,7 @@ class blockchaincom extends blockchaincom$1 {
627
627
  * @param {int} [limit] the maximum amount of order book entries to return
628
628
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
629
629
  * @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
630
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
630
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
631
631
  */
632
632
  await this.loadMarkets();
633
633
  const market = this.market(symbol);
@@ -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';
@@ -1090,7 +1090,7 @@ class bybit extends bybit$1 {
1090
1090
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1091
1091
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1092
1092
  * @param {object} [params] extra parameters specific to the bybit api endpoint
1093
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1093
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1094
1094
  */
1095
1095
  await this.loadMarkets();
1096
1096
  const method = 'watchBalance';
@@ -47,7 +47,7 @@ class cex extends cex$1 {
47
47
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
48
48
  * @see https://cex.io/websocket-api#get-balance
49
49
  * @param {object} [params] extra parameters specific to the cex api endpoint
50
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
50
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
51
51
  */
52
52
  await this.authenticate(params);
53
53
  const messageHash = 'balance';
@@ -109,7 +109,7 @@ class cex extends cex$1 {
109
109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110
110
  * @param {int} [limit] the maximum amount of trades to fetch
111
111
  * @param {object} [params] extra parameters specific to the cex api endpoint
112
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
112
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
113
113
  */
114
114
  await this.loadMarkets();
115
115
  const market = this.market(symbol);
@@ -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);
@@ -381,7 +381,7 @@ class cex extends cex$1 {
381
381
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
382
382
  * @param {int} [limit] the maximum amount of trades to fetch
383
383
  * @param {object} [params] extra parameters specific to the cex api endpoint
384
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
384
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
385
385
  */
386
386
  if (symbol === undefined) {
387
387
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -419,7 +419,7 @@ class cex extends cex$1 {
419
419
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
420
420
  * @param {int} [limit] the maximum amount of trades to fetch
421
421
  * @param {object} [params] extra parameters specific to the cex api endpoint
422
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
422
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
423
423
  */
424
424
  if (symbol === undefined) {
425
425
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -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();
@@ -85,7 +85,7 @@ class coinbase extends coinbase$1 {
85
85
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
86
86
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
87
87
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
88
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
88
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
89
89
  */
90
90
  const name = 'ticker';
91
91
  return await this.subscribe(name, symbol, params);
@@ -98,7 +98,7 @@ class coinbase extends coinbase$1 {
98
98
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
99
99
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
100
100
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
101
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
101
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
102
102
  */
103
103
  if (symbols === undefined) {
104
104
  throw new errors.ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -239,7 +239,7 @@ class coinbase extends coinbase$1 {
239
239
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
240
240
  * @param {int} [limit] the maximum amount of trades to fetch
241
241
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
242
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
242
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
243
243
  */
244
244
  await this.loadMarkets();
245
245
  symbol = this.symbol(symbol);
@@ -260,7 +260,7 @@ class coinbase extends coinbase$1 {
260
260
  * @param {int} [since] the earliest time in ms to fetch orders for
261
261
  * @param {int} [limit] the maximum number of orde structures to retrieve
262
262
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
263
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
263
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
264
264
  */
265
265
  await this.loadMarkets();
266
266
  const name = 'user';
@@ -279,7 +279,7 @@ class coinbase extends coinbase$1 {
279
279
  * @param {string} symbol unified symbol of the market to fetch the order book for
280
280
  * @param {int} [limit] the maximum amount of order book entries to return
281
281
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
282
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
282
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
283
283
  */
284
284
  await this.loadMarkets();
285
285
  const name = 'level2';
@@ -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;
@@ -146,7 +146,7 @@ class coinbasepro extends coinbasepro$1 {
146
146
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
147
147
  * @param {int} [limit] the maximum amount of trades to fetch
148
148
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
149
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
149
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
150
150
  */
151
151
  await this.loadMarkets();
152
152
  symbol = this.symbol(symbol);
@@ -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();
@@ -224,7 +224,7 @@ class coinex extends coinex$1 {
224
224
  * @name coinex#watchBalance
225
225
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
226
226
  * @param {object} [params] extra parameters specific to the coinex api endpoint
227
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
227
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
228
228
  */
229
229
  await this.loadMarkets();
230
230
  await this.authenticate(params);
@@ -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);
@@ -452,7 +452,7 @@ class coinex extends coinex$1 {
452
452
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
453
453
  * @param {int} [limit] the maximum amount of trades to fetch
454
454
  * @param {object} [params] extra parameters specific to the coinex api endpoint
455
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
455
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
456
456
  */
457
457
  await this.loadMarkets();
458
458
  const market = this.market(symbol);
@@ -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);