ccxt 4.0.73 → 4.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/README.md +11 -11
  2. package/dist/ccxt.browser.js +2058 -1943
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +25 -26
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +12 -11
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +25 -26
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.d.ts +1 -1
  241. package/js/src/pro/bybit.js +12 -11
  242. package/js/src/pro/cex.js +3 -3
  243. package/js/src/pro/coinbasepro.js +5 -5
  244. package/js/src/pro/coinex.js +3 -3
  245. package/js/src/pro/cryptocom.js +7 -7
  246. package/js/src/pro/currencycom.js +2 -2
  247. package/js/src/pro/deribit.js +3 -3
  248. package/js/src/pro/exmo.js +2 -2
  249. package/js/src/pro/gate.js +5 -5
  250. package/js/src/pro/gemini.js +2 -2
  251. package/js/src/pro/hitbtc.js +2 -2
  252. package/js/src/pro/hollaex.js +3 -3
  253. package/js/src/pro/huobi.js +4 -4
  254. package/js/src/pro/huobijp.js +2 -2
  255. package/js/src/pro/idex.js +3 -3
  256. package/js/src/pro/independentreserve.js +1 -1
  257. package/js/src/pro/kraken.js +6 -6
  258. package/js/src/pro/krakenfutures.js +2 -2
  259. package/js/src/pro/kucoin.js +4 -4
  260. package/js/src/pro/kucoinfutures.js +3 -3
  261. package/js/src/pro/luno.js +1 -1
  262. package/js/src/pro/ndax.js +2 -2
  263. package/js/src/pro/okcoin.js +3 -3
  264. package/js/src/pro/okx.d.ts +1 -1
  265. package/js/src/pro/okx.js +12 -11
  266. package/js/src/pro/phemex.js +4 -4
  267. package/js/src/pro/poloniex.js +1 -1
  268. package/js/src/pro/upbit.js +2 -2
  269. package/js/src/pro/wazirx.js +3 -3
  270. package/js/src/pro/whitebit.js +4 -4
  271. package/js/src/probit.js +17 -17
  272. package/js/src/tidex.js +11 -11
  273. package/js/src/timex.js +14 -14
  274. package/js/src/tokocrypto.js +16 -16
  275. package/js/src/upbit.js +18 -18
  276. package/js/src/wavesexchange.js +13 -13
  277. package/js/src/wazirx.js +10 -10
  278. package/js/src/whitebit.js +21 -21
  279. package/js/src/woo.js +28 -22
  280. package/js/src/yobit.js +14 -14
  281. package/js/src/zaif.js +8 -8
  282. package/js/src/zonda.js +13 -13
  283. package/package.json +1 -1
@@ -399,7 +399,7 @@ class poloniexfutures extends poloniexfutures$1 {
399
399
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-2-0
400
400
  * @param {string} symbol unified symbol of the market to fetch the ticker for
401
401
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
402
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
402
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
403
403
  */
404
404
  await this.loadMarkets();
405
405
  const market = this.market(symbol);
@@ -435,7 +435,7 @@ class poloniexfutures extends poloniexfutures$1 {
435
435
  * @see https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
436
436
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
437
437
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
438
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
438
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
439
439
  */
440
440
  await this.loadMarkets();
441
441
  const response = await this.publicGetTickers(params);
@@ -451,7 +451,7 @@ class poloniexfutures extends poloniexfutures$1 {
451
451
  * @param {string} symbol unified symbol of the market to fetch the order book for
452
452
  * @param {int} [limit] the maximum amount of order book entries to return
453
453
  * @param {object} [params] extra parameters specific to the poloniexfuturesfutures api endpoint
454
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
454
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
455
455
  */
456
456
  await this.loadMarkets();
457
457
  const level = this.safeNumber(params, 'level');
@@ -537,7 +537,7 @@ class poloniexfutures extends poloniexfutures$1 {
537
537
  * @param {string} symbol unified market symbol
538
538
  * @param {int} [limit] max number of orders to return, default is undefined
539
539
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
540
- * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
540
+ * @returns {object} an [order book structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure}
541
541
  */
542
542
  await this.loadMarkets();
543
543
  const market = this.market(symbol);
@@ -806,7 +806,7 @@ class poloniexfutures extends poloniexfutures$1 {
806
806
  * @param {string} type 'limit' or 'market'
807
807
  * @param {string} side 'buy' or 'sell'
808
808
  * @param {float} amount the amount of currency to trade
809
- * @param {float} price *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
809
+ * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
810
810
  * @param {object} [params] Extra parameters specific to the exchange API endpoint
811
811
  * @param {float} [params.leverage] Leverage size of the order
812
812
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
@@ -819,7 +819,7 @@ class poloniexfutures extends poloniexfutures$1 {
819
819
  * @param {string} [params.stopPriceType] TP, IP or MP, defaults to TP
820
820
  * @param {bool} [params.closeOrder] set to true to close position
821
821
  * @param {bool} [params.forceHold] A mark to forcely hold the funds for an order, even though it's an order to reduce the position size. This helps the order stay on the order book and not get canceled when the position size changes. Set to false by default.
822
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
822
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
823
823
  */
824
824
  await this.loadMarkets();
825
825
  const market = this.market(symbol);
@@ -913,7 +913,7 @@ class poloniexfutures extends poloniexfutures$1 {
913
913
  * @param {string} id order id
914
914
  * @param {string} symbol unified symbol of the market the order was made in
915
915
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
916
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
916
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
917
917
  */
918
918
  await this.loadMarkets();
919
919
  const request = {
@@ -952,7 +952,7 @@ class poloniexfutures extends poloniexfutures$1 {
952
952
  * @see https://futures-docs.poloniex.com/#get-position-list
953
953
  * @param {string[]|undefined} symbols list of unified market symbols
954
954
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
955
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
955
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
956
956
  */
957
957
  await this.loadMarkets();
958
958
  const response = await this.privateGetPositions(params);
@@ -1108,7 +1108,7 @@ class poloniexfutures extends poloniexfutures$1 {
1108
1108
  * @param {int} [since] the earliest time in ms to fetch funding history for
1109
1109
  * @param {int} [limit] the maximum number of funding history structures to retrieve
1110
1110
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1111
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
1111
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
1112
1112
  */
1113
1113
  if (symbol === undefined) {
1114
1114
  throw new errors.ArgumentsRequired(this.id + ' fetchFundingHistory() requires a symbol argument');
@@ -1179,7 +1179,7 @@ class poloniexfutures extends poloniexfutures$1 {
1179
1179
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1180
1180
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1181
1181
  * @param {object} [params.stop] When true, all the trigger orders will be cancelled
1182
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1182
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1183
1183
  */
1184
1184
  await this.loadMarkets();
1185
1185
  const request = {};
@@ -1247,7 +1247,7 @@ class poloniexfutures extends poloniexfutures$1 {
1247
1247
  * @param {int} [params.until] End time in ms
1248
1248
  * @param {string} [params.side] buy or sell
1249
1249
  * @param {string} [params.type] limit or market
1250
- * @returns An [array of order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1250
+ * @returns An [array of order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1251
1251
  */
1252
1252
  await this.loadMarkets();
1253
1253
  const stop = this.safeValue(params, 'stop');
@@ -1350,7 +1350,7 @@ class poloniexfutures extends poloniexfutures$1 {
1350
1350
  * @param {int} [params.till] end time in ms
1351
1351
  * @param {string} [params.side] buy or sell
1352
1352
  * @param {string} [params.type] limit, or market
1353
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1353
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1354
1354
  */
1355
1355
  return await this.fetchOrdersByStatus('open', symbol, since, limit, params);
1356
1356
  }
@@ -1368,7 +1368,7 @@ class poloniexfutures extends poloniexfutures$1 {
1368
1368
  * @param {int} [params.till] end time in ms
1369
1369
  * @param {string} [params.side] buy or sell
1370
1370
  * @param {string} [params.type] limit, or market
1371
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1371
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1372
1372
  */
1373
1373
  return await this.fetchOrdersByStatus('closed', symbol, since, limit, params);
1374
1374
  }
@@ -1381,7 +1381,7 @@ class poloniexfutures extends poloniexfutures$1 {
1381
1381
  * @see https://futures-docs.poloniex.com/#get-single-order-by-clientoid
1382
1382
  * @param {string} symbol unified symbol of the market the order was made in
1383
1383
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1384
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1384
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1385
1385
  */
1386
1386
  await this.loadMarkets();
1387
1387
  const request = {};
@@ -1580,7 +1580,7 @@ class poloniexfutures extends poloniexfutures$1 {
1580
1580
  * @see https://futures-docs.poloniex.com/#get-premium-index
1581
1581
  * @param {string} symbol unified market symbol
1582
1582
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
1583
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
1583
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
1584
1584
  */
1585
1585
  await this.loadMarkets();
1586
1586
  const market = this.market(symbol);
@@ -1634,7 +1634,7 @@ class poloniexfutures extends poloniexfutures$1 {
1634
1634
  * @param {string} side buy or sell
1635
1635
  * @param {string} type limit, market, limit_stop or market_stop
1636
1636
  * @param {int} endAt end time (milisecond)
1637
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1637
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1638
1638
  */
1639
1639
  await this.loadMarkets();
1640
1640
  const request = {};
@@ -51,7 +51,7 @@ class alpaca extends alpaca$1 {
51
51
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
52
52
  * @param {string} symbol unified symbol of the market to fetch the ticker for
53
53
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
54
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
54
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
55
55
  */
56
56
  const url = this.urls['api']['ws']['crypto'];
57
57
  await this.authenticate(url);
@@ -183,7 +183,7 @@ class alpaca extends alpaca$1 {
183
183
  * @param {string} symbol unified symbol of the market to fetch the order book for
184
184
  * @param {int} [limit] the maximum amount of order book entries to return.
185
185
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
186
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
186
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
187
187
  */
188
188
  const url = this.urls['api']['ws']['crypto'];
189
189
  await this.authenticate(url);
@@ -263,7 +263,7 @@ class alpaca extends alpaca$1 {
263
263
  * @param {int} [since] the earliest time in ms to fetch orders for
264
264
  * @param {int} [limit] the maximum number of trade structures to retrieve
265
265
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
266
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
266
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
267
267
  */
268
268
  const url = this.urls['api']['ws']['crypto'];
269
269
  await this.authenticate(url);
@@ -316,7 +316,7 @@ class alpaca extends alpaca$1 {
316
316
  * @param {int} [limit] the maximum number of trade structures to retrieve
317
317
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
318
318
  * @param {boolean} [params.unifiedMargin] use unified margin account
319
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
319
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
320
320
  */
321
321
  const url = this.urls['api']['ws']['trading'];
322
322
  await this.authenticate(url);
@@ -347,7 +347,7 @@ class alpaca extends alpaca$1 {
347
347
  * @param {int} [since] the earliest time in ms to fetch orders for
348
348
  * @param {int} [limit] the maximum number of orde structures to retrieve
349
349
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
350
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
350
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
351
351
  */
352
352
  const url = this.urls['api']['ws']['trading'];
353
353
  await this.authenticate(url);
@@ -204,7 +204,7 @@ class ascendex extends ascendex$1 {
204
204
  * @param {string} symbol unified symbol of the market to fetch the order book for
205
205
  * @param {int} [limit] the maximum amount of order book entries to return
206
206
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
207
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
207
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
208
208
  */
209
209
  await this.loadMarkets();
210
210
  const market = this.market(symbol);
@@ -477,7 +477,7 @@ class ascendex extends ascendex$1 {
477
477
  * @param {int} [since] the earliest time in ms to fetch orders for
478
478
  * @param {int} [limit] the maximum number of orde structures to retrieve
479
479
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
480
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
480
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
481
481
  */
482
482
  await this.loadMarkets();
483
483
  let market = undefined;
@@ -129,7 +129,7 @@ class binance extends binance$1 {
129
129
  * @param {string} symbol unified symbol of the market to fetch the order book for
130
130
  * @param {int} [limit] the maximum amount of order book entries to return
131
131
  * @param {object} [params] extra parameters specific to the binance api endpoint
132
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
132
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
133
133
  */
134
134
  //
135
135
  // todo add support for <levels>-snapshots (depth)
@@ -752,7 +752,7 @@ class binance extends binance$1 {
752
752
  * @param {string} symbol unified symbol of the market to fetch the ticker for
753
753
  * @param {object} [params] extra parameters specific to the binance api endpoint
754
754
  * @param {string} [params.name] stream to use can be ticker or bookTicker
755
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
755
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
756
756
  */
757
757
  await this.loadMarkets();
758
758
  const market = this.market(symbol);
@@ -787,7 +787,7 @@ class binance extends binance$1 {
787
787
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
788
788
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
789
789
  * @param {object} [params] extra parameters specific to the binance api endpoint
790
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
790
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
791
791
  */
792
792
  await this.loadMarkets();
793
793
  symbols = this.marketSymbols(symbols);
@@ -1704,7 +1704,7 @@ class binance extends binance$1 {
1704
1704
  * @description cancel all open orders in a market
1705
1705
  * @param {string} symbol unified market symbol of the market to cancel orders in
1706
1706
  * @param {object} [params] extra parameters specific to the binance api endpoint
1707
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1707
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1708
1708
  */
1709
1709
  await this.loadMarkets();
1710
1710
  const url = this.urls['api']['ws']['ws'];
@@ -1734,7 +1734,7 @@ class binance extends binance$1 {
1734
1734
  * @description fetches information on an order made by the user
1735
1735
  * @param {string} symbol unified symbol of the market the order was made in
1736
1736
  * @param {object} params extra parameters specific to the binance api endpoint
1737
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1737
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1738
1738
  */
1739
1739
  await this.loadMarkets();
1740
1740
  if (symbol === undefined) {
@@ -1781,7 +1781,7 @@ class binance extends binance$1 {
1781
1781
  * @param {int} [params.startTime] earliest time in ms to retrieve orders for
1782
1782
  * @param {int} [params.endTime] latest time in ms to retrieve orders for
1783
1783
  * @param {int} [params.limit] the maximum number of order structures to retrieve
1784
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1784
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1785
1785
  */
1786
1786
  await this.loadMarkets();
1787
1787
  if (symbol === undefined) {
@@ -1818,7 +1818,7 @@ class binance extends binance$1 {
1818
1818
  * @param {int|undefined} [since] the earliest time in ms to fetch open orders for
1819
1819
  * @param {int|undefined} [limit] the maximum number of open orders structures to retrieve
1820
1820
  * @param {object} [params] extra parameters specific to the binance api endpoint
1821
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1821
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1822
1822
  */
1823
1823
  await this.loadMarkets();
1824
1824
  this.checkIsSpot('fetchOpenOrdersWs', symbol);
@@ -1853,7 +1853,7 @@ class binance extends binance$1 {
1853
1853
  * @param {int} [since] the earliest time in ms to fetch orders for
1854
1854
  * @param {int} [limit] the maximum number of orde structures to retrieve
1855
1855
  * @param {object} [params] extra parameters specific to the binance api endpoint
1856
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1856
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1857
1857
  */
1858
1858
  await this.loadMarkets();
1859
1859
  let messageHash = 'orders';
@@ -2137,7 +2137,7 @@ class binance extends binance$1 {
2137
2137
  * @param {object} [params] extra parameters specific to the binance api endpoint
2138
2138
  * @param {int} [params.endTime] the latest time in ms to fetch trades for
2139
2139
  * @param {int} [params.fromId] first trade Id to fetch
2140
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2140
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2141
2141
  */
2142
2142
  await this.loadMarkets();
2143
2143
  if (symbol === undefined) {
@@ -2212,7 +2212,7 @@ class binance extends binance$1 {
2212
2212
  * @param {int} [since] the earliest time in ms to fetch orders for
2213
2213
  * @param {int} [limit] the maximum number of orde structures to retrieve
2214
2214
  * @param {object} [params] extra parameters specific to the binance api endpoint
2215
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
2215
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
2216
2216
  */
2217
2217
  await this.loadMarkets();
2218
2218
  const defaultType = this.safeString2(this.options, 'watchMyTrades', 'defaultType', 'spot');
@@ -78,7 +78,7 @@ class bitfinex extends bitfinex$1 {
78
78
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
79
79
  * @param {string} symbol unified symbol of the market to fetch the ticker for
80
80
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
81
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
81
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
82
82
  */
83
83
  return await this.subscribe('ticker', symbol, params);
84
84
  }
@@ -253,7 +253,7 @@ class bitfinex extends bitfinex$1 {
253
253
  * @param {string} symbol unified symbol of the market to fetch the order book for
254
254
  * @param {int} [limit] the maximum amount of order book entries to return
255
255
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
256
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
256
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
257
257
  */
258
258
  if (limit !== undefined) {
259
259
  if ((limit !== 25) && (limit !== 100)) {
@@ -460,7 +460,7 @@ class bitfinex extends bitfinex$1 {
460
460
  * @param {int} [since] the earliest time in ms to fetch orders for
461
461
  * @param {int} [limit] the maximum number of orde structures to retrieve
462
462
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
463
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
463
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
464
464
  */
465
465
  await this.loadMarkets();
466
466
  await this.authenticate();
@@ -210,7 +210,7 @@ class bitfinex2 extends bitfinex2$1 {
210
210
  * @param {int} [since] the earliest time in ms to fetch trades for
211
211
  * @param {int} [limit] the maximum number of trade structures to retrieve
212
212
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
213
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
213
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
214
214
  */
215
215
  await this.loadMarkets();
216
216
  let messageHash = 'myTrade';
@@ -231,7 +231,7 @@ class bitfinex2 extends bitfinex2$1 {
231
231
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
232
232
  * @param {string} symbol unified symbol of the market to fetch the ticker for
233
233
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
234
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
234
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
235
235
  */
236
236
  return await this.subscribe('ticker', symbol, params);
237
237
  }
@@ -521,7 +521,7 @@ class bitfinex2 extends bitfinex2$1 {
521
521
  * @param {string} symbol unified symbol of the market to fetch the order book for
522
522
  * @param {int} [limit] the maximum amount of order book entries to return
523
523
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
524
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
524
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
525
525
  */
526
526
  if (limit !== undefined) {
527
527
  if ((limit !== 25) && (limit !== 100)) {
@@ -880,7 +880,7 @@ class bitfinex2 extends bitfinex2$1 {
880
880
  * @param {int} [since] the earliest time in ms to fetch orders for
881
881
  * @param {int} [limit] the maximum number of orde structures to retrieve
882
882
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
883
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
883
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
884
884
  */
885
885
  await this.loadMarkets();
886
886
  let messageHash = 'orders';
@@ -102,7 +102,7 @@ class bitget extends bitget$1 {
102
102
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
103
103
  * @param {string} symbol unified symbol of the market to fetch the ticker for
104
104
  * @param {object} [params] extra parameters specific to the bitget api endpoint
105
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
105
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
106
106
  */
107
107
  await this.loadMarkets();
108
108
  const market = this.market(symbol);
@@ -345,7 +345,7 @@ class bitget extends bitget$1 {
345
345
  * @param {string} symbol unified symbol of the market to fetch the order book for
346
346
  * @param {int} [limit] the maximum amount of order book entries to return
347
347
  * @param {object} [params] extra parameters specific to the bitget api endpoint
348
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
348
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
349
349
  */
350
350
  await this.loadMarkets();
351
351
  const market = this.market(symbol);
@@ -573,7 +573,7 @@ class bitget extends bitget$1 {
573
573
  * @param {int} [since] the earliest time in ms to fetch orders for
574
574
  * @param {int} [limit] the maximum number of orde structures to retrieve
575
575
  * @param {object} [params] extra parameters specific to the bitget api endpoint
576
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
576
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
577
577
  */
578
578
  await this.loadMarkets();
579
579
  let market = undefined;
@@ -856,7 +856,7 @@ class bitget extends bitget$1 {
856
856
  * @param {int} [since] the earliest time in ms to fetch trades for
857
857
  * @param {int} [limit] the maximum number of trades structures to retrieve
858
858
  * @param {object} [params] extra parameters specific to the bitget api endpoint
859
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
859
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
860
860
  */
861
861
  // only contracts stream provides the trade info consistently in between order updates
862
862
  // the spot stream only provides on limit orders updates so we can't support it for spot
@@ -104,7 +104,7 @@ class bitmart extends bitmart$1 {
104
104
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
105
105
  * @param {string} symbol unified symbol of the market to fetch the ticker for
106
106
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
107
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
107
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
108
108
  */
109
109
  return await this.subscribe('ticker', symbol, params);
110
110
  }
@@ -117,7 +117,7 @@ class bitmart extends bitmart$1 {
117
117
  * @param {int} [since] the earliest time in ms to fetch orders for
118
118
  * @param {int} [limit] the maximum number of orde structures to retrieve
119
119
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
120
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
120
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
121
121
  */
122
122
  if (symbol === undefined) {
123
123
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -384,7 +384,7 @@ class bitmart extends bitmart$1 {
384
384
  * @param {string} symbol unified symbol of the market to fetch the order book for
385
385
  * @param {int} [limit] the maximum amount of order book entries to return
386
386
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
387
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
387
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
388
388
  */
389
389
  const options = this.safeValue(this.options, 'watchOrderBook', {});
390
390
  const depth = this.safeString(options, 'depth', 'depth50');
@@ -54,7 +54,7 @@ class bitmex extends bitmex$1 {
54
54
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
55
55
  * @param {string} symbol unified symbol of the market to fetch the ticker for
56
56
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
57
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
57
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
58
58
  */
59
59
  await this.loadMarkets();
60
60
  const market = this.market(symbol);
@@ -597,7 +597,7 @@ class bitmex extends bitmex$1 {
597
597
  * @param {int} [since] the earliest time in ms to fetch orders for
598
598
  * @param {int} [limit] the maximum number of orde structures to retrieve
599
599
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
600
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
600
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
601
601
  */
602
602
  await this.loadMarkets();
603
603
  await this.authenticate();
@@ -812,7 +812,7 @@ class bitmex extends bitmex$1 {
812
812
  * @param {int} [since] the earliest time in ms to fetch trades for
813
813
  * @param {int} [limit] the maximum number of trade structures to retrieve
814
814
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
815
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
815
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
816
816
  */
817
817
  await this.loadMarkets();
818
818
  await this.authenticate();
@@ -928,7 +928,7 @@ class bitmex extends bitmex$1 {
928
928
  * @param {string} symbol unified symbol of the market to fetch the order book for
929
929
  * @param {int} [limit] the maximum amount of order book entries to return
930
930
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
931
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
931
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
932
932
  */
933
933
  let table = undefined;
934
934
  if (limit === undefined) {
@@ -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)) {
@@ -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);
@@ -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);
@@ -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) {
@@ -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();
@@ -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
  }
@@ -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');