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
@@ -57,7 +57,7 @@ export default class bitmex extends bitmexRest {
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 bitmex 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
  await this.loadMarkets();
63
63
  const market = this.market(symbol);
@@ -321,7 +321,7 @@ export default class bitmex extends bitmexRest {
321
321
  * @name bitmex#watchBalance
322
322
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
323
323
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
324
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
324
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
325
325
  */
326
326
  await this.loadMarkets();
327
327
  await this.authenticate();
@@ -531,7 +531,7 @@ export default class bitmex extends bitmexRest {
531
531
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
532
532
  * @param {int} [limit] the maximum amount of trades to fetch
533
533
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
534
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
534
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
535
535
  */
536
536
  await this.loadMarkets();
537
537
  const market = this.market(symbol);
@@ -600,7 +600,7 @@ export default class bitmex extends bitmexRest {
600
600
  * @param {int} [since] the earliest time in ms to fetch orders for
601
601
  * @param {int} [limit] the maximum number of orde structures to retrieve
602
602
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
603
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
603
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
604
604
  */
605
605
  await this.loadMarkets();
606
606
  await this.authenticate();
@@ -815,7 +815,7 @@ export default class bitmex extends bitmexRest {
815
815
  * @param {int} [since] the earliest time in ms to fetch trades for
816
816
  * @param {int} [limit] the maximum number of trade structures to retrieve
817
817
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
818
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
818
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
819
819
  */
820
820
  await this.loadMarkets();
821
821
  await this.authenticate();
@@ -931,7 +931,7 @@ export default class bitmex extends bitmexRest {
931
931
  * @param {string} symbol unified symbol of the market to fetch the order book for
932
932
  * @param {int} [limit] the maximum amount of order book entries to return
933
933
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
934
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
934
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
935
935
  */
936
936
  let table = undefined;
937
937
  if (limit === undefined) {
@@ -59,7 +59,7 @@ export default class bitopro extends bitoproRest {
59
59
  * @param {string} symbol unified symbol of the market to fetch the order book for
60
60
  * @param {int} [limit] the maximum amount of order book entries to return
61
61
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
62
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
62
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
63
63
  */
64
64
  if (limit !== undefined) {
65
65
  if ((limit !== 5) && (limit !== 10) && (limit !== 20) && (limit !== 50) && (limit !== 100) && (limit !== 500) && (limit !== 1000)) {
@@ -125,7 +125,7 @@ export default class bitopro extends bitoproRest {
125
125
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
126
126
  * @param {int} [limit] the maximum amount of trades to fetch
127
127
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
128
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
128
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
129
129
  */
130
130
  await this.loadMarkets();
131
131
  const market = this.market(symbol);
@@ -182,7 +182,7 @@ export default class bitopro extends bitoproRest {
182
182
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
183
183
  * @param {string} symbol unified symbol of the market to fetch the ticker for
184
184
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
185
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
185
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
186
186
  */
187
187
  await this.loadMarkets();
188
188
  const market = this.market(symbol);
@@ -260,7 +260,7 @@ export default class bitopro extends bitoproRest {
260
260
  * @name bitopro#watchBalance
261
261
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
262
262
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
263
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
263
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
264
264
  */
265
265
  this.checkRequiredCredentials();
266
266
  await this.loadMarkets();
@@ -83,7 +83,7 @@ export default class bitpanda extends bitpandaRest {
83
83
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
84
84
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
85
85
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
86
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
86
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
87
87
  */
88
88
  await this.authenticate(params);
89
89
  const url = this.urls['api']['ws'];
@@ -143,7 +143,7 @@ export default class bitpanda extends bitpandaRest {
143
143
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
144
144
  * @param {string} symbol unified symbol of the market to fetch the ticker for
145
145
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
146
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
146
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
147
147
  */
148
148
  await this.loadMarkets();
149
149
  const market = this.market(symbol);
@@ -169,7 +169,7 @@ export default class bitpanda extends bitpandaRest {
169
169
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
170
170
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
171
171
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
172
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
172
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
173
173
  */
174
174
  await this.loadMarkets();
175
175
  symbols = this.marketSymbols(symbols);
@@ -267,7 +267,7 @@ export default class bitpanda extends bitpandaRest {
267
267
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
268
268
  * @param {int} [limit] the maximum amount of trades to fetch
269
269
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
270
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
270
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
271
271
  */
272
272
  await this.loadMarkets();
273
273
  let messageHash = 'myTrades';
@@ -310,7 +310,7 @@ export default class bitpanda extends bitpandaRest {
310
310
  * @param {string} symbol unified symbol of the market to fetch the order book for
311
311
  * @param {int} [limit] the maximum amount of order book entries to return
312
312
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
313
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
313
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
314
314
  */
315
315
  await this.loadMarkets();
316
316
  const market = this.market(symbol);
@@ -429,7 +429,7 @@ export default class bitpanda extends bitpandaRest {
429
429
  * @param {int} [limit] the maximum number of orde structures to retrieve
430
430
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
431
431
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
432
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
432
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
433
433
  */
434
434
  await this.loadMarkets();
435
435
  let messageHash = 'orders';
@@ -62,7 +62,7 @@ export default class bitrue extends bitrueRest {
62
62
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
63
63
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
64
64
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
65
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
65
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
66
66
  */
67
67
  const url = await this.authenticate();
68
68
  const messageHash = 'balance';
@@ -177,7 +177,7 @@ export default class bitrue extends bitrueRest {
177
177
  * @param {int} [since] timestamp in ms of the earliest order
178
178
  * @param {int} [limit] the maximum amount of orders to return
179
179
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
180
- * @returns {object} A dictionary of [order structure]{@link https://docs.ccxt.com/#/?id=order-structure} indexed by market symbols
180
+ * @returns {object} A dictionary of [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure} indexed by market symbols
181
181
  */
182
182
  await this.loadMarkets();
183
183
  if (symbol !== undefined) {
@@ -52,7 +52,7 @@ export default class bitstamp extends bitstampRest {
52
52
  * @param {string} symbol unified symbol of the market to fetch the order book for
53
53
  * @param {int} [limit] the maximum amount of order book entries to return
54
54
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
55
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
55
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
56
56
  */
57
57
  await this.loadMarkets();
58
58
  const market = this.market(symbol);
@@ -164,7 +164,7 @@ export default class bitstamp extends bitstampRest {
164
164
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
165
165
  * @param {int} [limit] the maximum amount of trades to fetch
166
166
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
167
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
167
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
168
168
  */
169
169
  await this.loadMarkets();
170
170
  const market = this.market(symbol);
@@ -271,7 +271,7 @@ export default class bitstamp extends bitstampRest {
271
271
  * @param {int} [since] the earliest time in ms to fetch orders for
272
272
  * @param {int} [limit] the maximum number of orde structures to retrieve
273
273
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
274
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
274
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
275
275
  */
276
276
  if (symbol === undefined) {
277
277
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -211,7 +211,7 @@ export default class bittrex extends bittrexRest {
211
211
  * @param {int} [since] the earliest time in ms to fetch orders for
212
212
  * @param {int} [limit] the maximum number of orde structures to retrieve
213
213
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
214
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
214
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
215
215
  */
216
216
  await this.loadMarkets();
217
217
  if (symbol !== undefined) {
@@ -267,7 +267,7 @@ export default class bittrex extends bittrexRest {
267
267
  * @name bittrex#watchBalance
268
268
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
269
269
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
270
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
270
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
271
271
  */
272
272
  await this.loadMarkets();
273
273
  const authentication = await this.authenticate();
@@ -336,7 +336,7 @@ export default class bittrex extends bittrexRest {
336
336
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
337
337
  * @param {string} symbol unified symbol of the market to fetch the ticker for
338
338
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
339
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
339
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
340
340
  */
341
341
  await this.loadMarkets();
342
342
  const negotiation = await this.negotiate();
@@ -457,7 +457,7 @@ export default class bittrex extends bittrexRest {
457
457
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
458
458
  * @param {int} [limit] the maximum amount of trades to fetch
459
459
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
460
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
460
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
461
461
  */
462
462
  await this.loadMarkets();
463
463
  symbol = this.symbol(symbol);
@@ -523,7 +523,7 @@ export default class bittrex extends bittrexRest {
523
523
  * @param {int} [since] the earliest time in ms to fetch trades for
524
524
  * @param {int} [limit] the maximum number of trade structures to retrieve
525
525
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
526
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
526
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
527
527
  */
528
528
  await this.loadMarkets();
529
529
  symbol = this.symbol(symbol);
@@ -579,7 +579,7 @@ export default class bittrex extends bittrexRest {
579
579
  * @param {string} symbol unified symbol of the market to fetch the order book for
580
580
  * @param {int} [limit] the maximum amount of order book entries to return
581
581
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
582
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
582
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
583
583
  */
584
584
  limit = (limit === undefined) ? 25 : limit; // 25 by default
585
585
  if ((limit !== 1) && (limit !== 25) && (limit !== 500)) {
@@ -60,7 +60,7 @@ export default class bitvavo extends bitvavoRest {
60
60
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
61
61
  * @param {string} symbol unified symbol of the market to fetch the ticker for
62
62
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
63
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
63
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
64
64
  */
65
65
  return await this.watchPublic('ticker24h', symbol, params);
66
66
  }
@@ -109,7 +109,7 @@ export default class bitvavo extends bitvavoRest {
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 bitvavo 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
  symbol = this.symbol(symbol);
@@ -232,7 +232,7 @@ export default class bitvavo extends bitvavoRest {
232
232
  * @param {string} symbol unified symbol of the market to fetch the order book for
233
233
  * @param {int} [limit] the maximum amount of order book entries to return
234
234
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
235
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
235
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
236
236
  */
237
237
  await this.loadMarkets();
238
238
  const market = this.market(symbol);
@@ -423,7 +423,7 @@ export default class bitvavo extends bitvavoRest {
423
423
  * @param {int} [since] the earliest time in ms to fetch orders for
424
424
  * @param {int} [limit] the maximum number of orde structures to retrieve
425
425
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
426
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
426
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
427
427
  */
428
428
  if (symbol === undefined) {
429
429
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -460,7 +460,7 @@ export default class bitvavo extends bitvavoRest {
460
460
  * @param {int} [since] the earliest time in ms to fetch trades for
461
461
  * @param {int} [limit] the maximum number of trade structures to retrieve
462
462
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
463
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=ortradeder-structure
463
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ortradeder-structure
464
464
  */
465
465
  if (symbol === undefined) {
466
466
  throw new ArgumentsRequired(this.id + ' watchMyTrades requires a symbol argument');
@@ -58,7 +58,7 @@ export default class blockchaincom extends blockchaincomRest {
58
58
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
59
59
  * @see https://exchange.blockchain.com/api/#balances
60
60
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
61
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
61
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
62
62
  */
63
63
  await this.authenticate(params);
64
64
  const messageHash = 'balance';
@@ -208,7 +208,7 @@ export default class blockchaincom extends blockchaincomRest {
208
208
  * @see https://exchange.blockchain.com/api/#ticker
209
209
  * @param {string} symbol unified symbol of the market to fetch the ticker for
210
210
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
211
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
211
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
212
212
  */
213
213
  await this.loadMarkets();
214
214
  const market = this.market(symbol);
@@ -317,7 +317,7 @@ export default class blockchaincom extends blockchaincomRest {
317
317
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
318
318
  * @param {int} [limit] the maximum amount of trades to fetch
319
319
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
320
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
320
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
321
321
  */
322
322
  await this.loadMarkets();
323
323
  const market = this.market(symbol);
@@ -416,7 +416,7 @@ export default class blockchaincom extends blockchaincomRest {
416
416
  * @param {int} [since] the earliest time in ms to fetch orders for
417
417
  * @param {int} [limit] the maximum number of orde structures to retrieve
418
418
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
419
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
419
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
420
420
  */
421
421
  await this.loadMarkets();
422
422
  await this.authenticate();
@@ -630,7 +630,7 @@ export default class blockchaincom extends blockchaincomRest {
630
630
  * @param {int} [limit] the maximum amount of order book entries to return
631
631
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
632
632
  * @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
633
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
633
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
634
634
  */
635
635
  await this.loadMarkets();
636
636
  const market = this.market(symbol);
@@ -165,7 +165,7 @@ export default class bybit extends bybitRest {
165
165
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
166
166
  * @param {string} symbol unified symbol of the market to fetch the ticker for
167
167
  * @param {object} [params] extra parameters specific to the bybit api endpoint
168
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
168
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
169
169
  */
170
170
  await this.loadMarkets();
171
171
  const market = this.market(symbol);
@@ -426,7 +426,7 @@ export default class bybit extends bybitRest {
426
426
  * @param {string} symbol unified symbol of the market to fetch the order book for
427
427
  * @param {int} [limit] the maximum amount of order book entries to return.
428
428
  * @param {object} [params] extra parameters specific to the bybit api endpoint
429
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
429
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
430
430
  */
431
431
  await this.loadMarkets();
432
432
  const market = this.market(symbol);
@@ -536,7 +536,7 @@ export default class bybit extends bybitRest {
536
536
  * @param {int} [since] the earliest time in ms to fetch trades for
537
537
  * @param {int} [limit] the maximum number of trade structures to retrieve
538
538
  * @param {object} [params] extra parameters specific to the bybit api endpoint
539
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
539
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
540
540
  */
541
541
  await this.loadMarkets();
542
542
  const market = this.market(symbol);
@@ -686,7 +686,7 @@ export default class bybit extends bybitRest {
686
686
  * @param {int} [limit] the maximum number of orde structures to retrieve
687
687
  * @param {object} [params] extra parameters specific to the bybit api endpoint
688
688
  * @param {boolean} [params.unifiedMargin] use unified margin account
689
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
689
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
690
690
  */
691
691
  const method = 'watchMyTrades';
692
692
  let messageHash = 'myTrades';
@@ -811,7 +811,7 @@ export default class bybit extends bybitRest {
811
811
  * @param {int} [since] the earliest time in ms to fetch orders for
812
812
  * @param {int} [limit] the maximum number of orde structures to retrieve
813
813
  * @param {object} [params] extra parameters specific to the bybit api endpoint
814
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
814
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
815
815
  */
816
816
  await this.loadMarkets();
817
817
  const method = 'watchOrders';
@@ -1093,7 +1093,7 @@ export default class bybit extends bybitRest {
1093
1093
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1094
1094
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1095
1095
  * @param {object} [params] extra parameters specific to the bybit api endpoint
1096
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1096
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1097
1097
  */
1098
1098
  await this.loadMarkets();
1099
1099
  const method = 'watchBalance';
package/js/src/pro/cex.js CHANGED
@@ -50,7 +50,7 @@ export default class cex extends cexRest {
50
50
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
51
51
  * @see https://cex.io/websocket-api#get-balance
52
52
  * @param {object} [params] extra parameters specific to the cex api endpoint
53
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
53
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
54
54
  */
55
55
  await this.authenticate(params);
56
56
  const messageHash = 'balance';
@@ -112,7 +112,7 @@ export default class cex extends cexRest {
112
112
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
113
113
  * @param {int} [limit] the maximum amount of trades to fetch
114
114
  * @param {object} [params] extra parameters specific to the cex api endpoint
115
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
115
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
116
116
  */
117
117
  await this.loadMarkets();
118
118
  const market = this.market(symbol);
@@ -228,7 +228,7 @@ export default class cex extends cexRest {
228
228
  * @param {string} symbol unified symbol of the market to fetch the ticker for
229
229
  * @param {object} [params] extra parameters specific to the cex api endpoint
230
230
  * @param {string} [params.method] public or private
231
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
231
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232
232
  */
233
233
  await this.loadMarkets();
234
234
  const market = this.market(symbol);
@@ -265,7 +265,7 @@ export default class cex extends cexRest {
265
265
  * @description watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
266
266
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
267
267
  * @param {object} [params] extra parameters specific to the cex api endpoint
268
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
268
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
269
269
  */
270
270
  await this.loadMarkets();
271
271
  symbols = this.marketSymbols(symbols);
@@ -384,7 +384,7 @@ export default class cex extends cexRest {
384
384
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
385
385
  * @param {int} [limit] the maximum amount of trades to fetch
386
386
  * @param {object} [params] extra parameters specific to the cex api endpoint
387
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
387
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
388
388
  */
389
389
  if (symbol === undefined) {
390
390
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -422,7 +422,7 @@ export default class cex extends cexRest {
422
422
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
423
423
  * @param {int} [limit] the maximum amount of trades to fetch
424
424
  * @param {object} [params] extra parameters specific to the cex api endpoint
425
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
425
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
426
426
  */
427
427
  if (symbol === undefined) {
428
428
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -855,7 +855,7 @@ export default class cex extends cexRest {
855
855
  * @param {string} symbol unified symbol of the market to fetch the order book for
856
856
  * @param {int} [limit] the maximum amount of order book entries to return
857
857
  * @param {object} [params] extra parameters specific to the cex api endpoint
858
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
858
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
859
859
  */
860
860
  await this.loadMarkets();
861
861
  await this.authenticate();
@@ -88,7 +88,7 @@ export default class coinbase extends coinbaseRest {
88
88
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
89
89
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
90
90
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
91
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
91
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
92
92
  */
93
93
  const name = 'ticker';
94
94
  return await this.subscribe(name, symbol, params);
@@ -101,7 +101,7 @@ export default class coinbase extends coinbaseRest {
101
101
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
102
102
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
103
103
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
104
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
104
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
105
105
  */
106
106
  if (symbols === undefined) {
107
107
  throw new ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -242,7 +242,7 @@ export default class coinbase extends coinbaseRest {
242
242
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
243
243
  * @param {int} [limit] the maximum amount of trades to fetch
244
244
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
245
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
245
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
246
246
  */
247
247
  await this.loadMarkets();
248
248
  symbol = this.symbol(symbol);
@@ -263,7 +263,7 @@ export default class coinbase extends coinbaseRest {
263
263
  * @param {int} [since] the earliest time in ms to fetch orders for
264
264
  * @param {int} [limit] the maximum number of orde structures to retrieve
265
265
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
266
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
266
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
267
267
  */
268
268
  await this.loadMarkets();
269
269
  const name = 'user';
@@ -282,7 +282,7 @@ export default class coinbase extends coinbaseRest {
282
282
  * @param {string} symbol unified symbol of the market to fetch the order book for
283
283
  * @param {int} [limit] the maximum amount of order book entries to return
284
284
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
285
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
285
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
286
286
  */
287
287
  await this.loadMarkets();
288
288
  const name = 'level2';
@@ -111,7 +111,7 @@ export default class coinbasepro extends coinbaseproRest {
111
111
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
112
112
  * @param {string} symbol unified symbol of the market to fetch the ticker for
113
113
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
114
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
114
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
115
115
  */
116
116
  const name = 'ticker';
117
117
  return await this.subscribe(name, symbol, name, params);
@@ -125,7 +125,7 @@ export default class coinbasepro extends coinbaseproRest {
125
125
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
126
126
  * @param {object} [params] extra parameters specific to the okx api endpoint
127
127
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
128
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
128
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
129
129
  */
130
130
  await this.loadMarkets();
131
131
  const symbolsLength = symbols.length;
@@ -149,7 +149,7 @@ export default class coinbasepro extends coinbaseproRest {
149
149
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
150
150
  * @param {int} [limit] the maximum amount of trades to fetch
151
151
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
152
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
152
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
153
153
  */
154
154
  await this.loadMarkets();
155
155
  symbol = this.symbol(symbol);
@@ -169,7 +169,7 @@ export default class coinbasepro extends coinbaseproRest {
169
169
  * @param {int} [since] the earliest time in ms to fetch trades for
170
170
  * @param {int} [limit] the maximum number of trade structures to retrieve
171
171
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
172
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
172
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
173
173
  */
174
174
  this.checkRequiredSymbol('watchMyTrades', symbol);
175
175
  await this.loadMarkets();
@@ -192,7 +192,7 @@ export default class coinbasepro extends coinbaseproRest {
192
192
  * @param {int} [since] the earliest time in ms to fetch orders for
193
193
  * @param {int} [limit] the maximum number of orde structures to retrieve
194
194
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
195
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
195
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
196
196
  */
197
197
  if (symbol === undefined) {
198
198
  throw new BadSymbol(this.id + ' watchMyTrades requires a symbol');
@@ -216,7 +216,7 @@ export default class coinbasepro extends coinbaseproRest {
216
216
  * @param {string} symbol unified symbol of the market to fetch the order book for
217
217
  * @param {int} [limit] the maximum amount of order book entries to return
218
218
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
219
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
219
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
220
220
  */
221
221
  const name = 'level2';
222
222
  await this.loadMarkets();
@@ -227,7 +227,7 @@ export default class coinex extends coinexRest {
227
227
  * @name coinex#watchBalance
228
228
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229
229
  * @param {object} [params] extra parameters specific to the coinex api endpoint
230
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
230
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
231
231
  */
232
232
  await this.loadMarkets();
233
233
  await this.authenticate(params);
@@ -409,7 +409,7 @@ export default class coinex extends coinexRest {
409
409
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
410
410
  * @param {string} symbol unified symbol of the market to fetch the ticker for
411
411
  * @param {object} [params] extra parameters specific to the coinex api endpoint
412
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
412
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
413
413
  */
414
414
  return await this.watchTickers([symbol], params);
415
415
  }
@@ -421,7 +421,7 @@ export default class coinex extends coinexRest {
421
421
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
422
422
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
423
423
  * @param {object} [params] extra parameters specific to the coinex api endpoint
424
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
424
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
425
425
  */
426
426
  await this.loadMarkets();
427
427
  symbols = this.marketSymbols(symbols);
@@ -455,7 +455,7 @@ export default class coinex extends coinexRest {
455
455
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
456
456
  * @param {int} [limit] the maximum amount of trades to fetch
457
457
  * @param {object} [params] extra parameters specific to the coinex api endpoint
458
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
458
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
459
459
  */
460
460
  await this.loadMarkets();
461
461
  const market = this.market(symbol);
@@ -486,7 +486,7 @@ export default class coinex extends coinexRest {
486
486
  * @param {string} symbol unified symbol of the market to fetch the order book for
487
487
  * @param {int} [limit] the maximum amount of order book entries to return
488
488
  * @param {object} [params] extra parameters specific to the coinex api endpoint
489
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
489
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
490
490
  */
491
491
  await this.loadMarkets();
492
492
  const market = this.market(symbol);