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
@@ -315,7 +315,7 @@ class bitflyer extends bitflyer$1 {
315
315
  * @name bitflyer#fetchBalance
316
316
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
317
317
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
318
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
318
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
319
319
  */
320
320
  await this.loadMarkets();
321
321
  const response = await this.privateGetGetbalance(params);
@@ -348,7 +348,7 @@ class bitflyer extends bitflyer$1 {
348
348
  * @param {string} symbol unified symbol of the market to fetch the order book for
349
349
  * @param {int} [limit] the maximum amount of order book entries to return
350
350
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
351
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
351
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
352
352
  */
353
353
  await this.loadMarkets();
354
354
  const market = this.market(symbol);
@@ -392,7 +392,7 @@ class bitflyer extends bitflyer$1 {
392
392
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
393
393
  * @param {string} symbol unified symbol of the market to fetch the ticker for
394
394
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
395
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
395
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
396
396
  */
397
397
  await this.loadMarkets();
398
398
  const market = this.market(symbol);
@@ -473,7 +473,7 @@ class bitflyer extends bitflyer$1 {
473
473
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
474
474
  * @param {int} [limit] the maximum amount of trades to fetch
475
475
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
476
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
476
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
477
477
  */
478
478
  await this.loadMarkets();
479
479
  const market = this.market(symbol);
@@ -493,7 +493,7 @@ class bitflyer extends bitflyer$1 {
493
493
  * @description fetch the trading fees for a market
494
494
  * @param {string} symbol unified market symbol
495
495
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
496
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
496
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
497
497
  */
498
498
  await this.loadMarkets();
499
499
  const market = this.market(symbol);
@@ -523,9 +523,9 @@ class bitflyer extends bitflyer$1 {
523
523
  * @param {string} type 'market' or 'limit'
524
524
  * @param {string} side 'buy' or 'sell'
525
525
  * @param {float} amount how much of currency you want to trade in units of base currency
526
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
526
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
527
527
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
528
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
528
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
529
529
  */
530
530
  await this.loadMarkets();
531
531
  const request = {
@@ -551,7 +551,7 @@ class bitflyer extends bitflyer$1 {
551
551
  * @param {string} id order id
552
552
  * @param {string} symbol unified symbol of the market the order was made in
553
553
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
554
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
554
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
555
555
  */
556
556
  if (symbol === undefined) {
557
557
  throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a `symbol` argument');
@@ -628,7 +628,7 @@ class bitflyer extends bitflyer$1 {
628
628
  * @param {int} [since] the earliest time in ms to fetch orders for
629
629
  * @param {int} [limit] the maximum number of orde structures to retrieve
630
630
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
631
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
631
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
632
632
  */
633
633
  if (symbol === undefined) {
634
634
  throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a `symbol` argument');
@@ -655,7 +655,7 @@ class bitflyer extends bitflyer$1 {
655
655
  * @param {int} [since] the earliest time in ms to fetch open orders for
656
656
  * @param {int} [limit] the maximum number of open orders structures to retrieve
657
657
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
658
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
658
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
659
659
  */
660
660
  const request = {
661
661
  'child_order_state': 'ACTIVE',
@@ -671,7 +671,7 @@ class bitflyer extends bitflyer$1 {
671
671
  * @param {int} [since] the earliest time in ms to fetch orders for
672
672
  * @param {int} [limit] the maximum number of orde structures to retrieve
673
673
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
674
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
674
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
675
675
  */
676
676
  const request = {
677
677
  'child_order_state': 'COMPLETED',
@@ -685,7 +685,7 @@ class bitflyer extends bitflyer$1 {
685
685
  * @description fetches information on an order made by the user
686
686
  * @param {string} symbol unified symbol of the market the order was made in
687
687
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
688
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
688
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
689
689
  */
690
690
  if (symbol === undefined) {
691
691
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a `symbol` argument');
@@ -706,7 +706,7 @@ class bitflyer extends bitflyer$1 {
706
706
  * @param {int} [since] the earliest time in ms to fetch trades for
707
707
  * @param {int} [limit] the maximum number of trades structures to retrieve
708
708
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
709
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
709
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
710
710
  */
711
711
  if (symbol === undefined) {
712
712
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
@@ -729,7 +729,7 @@ class bitflyer extends bitflyer$1 {
729
729
  * @description fetch all open positions
730
730
  * @param {string[]} symbols list of unified market symbols
731
731
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
732
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
732
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
733
733
  */
734
734
  if (symbols === undefined) {
735
735
  throw new errors.ArgumentsRequired(this.id + ' fetchPositions() requires a `symbols` argument, exactly one symbol in an array');
@@ -769,7 +769,7 @@ class bitflyer extends bitflyer$1 {
769
769
  * @param {string} address the address to withdraw to
770
770
  * @param {string} tag
771
771
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
772
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
772
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
773
773
  */
774
774
  this.checkAddress(address);
775
775
  await this.loadMarkets();
@@ -799,7 +799,7 @@ class bitflyer extends bitflyer$1 {
799
799
  * @param {int} [since] the earliest time in ms to fetch deposits for
800
800
  * @param {int} [limit] the maximum number of deposits structures to retrieve
801
801
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
802
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
802
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
803
803
  */
804
804
  await this.loadMarkets();
805
805
  let currency = undefined;
@@ -836,7 +836,7 @@ class bitflyer extends bitflyer$1 {
836
836
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
837
837
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
838
838
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
839
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
839
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
840
840
  */
841
841
  await this.loadMarkets();
842
842
  let currency = undefined;
@@ -323,7 +323,7 @@ class bitforex extends bitforex$1 {
323
323
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
324
324
  * @param {int} [limit] the maximum amount of trades to fetch
325
325
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
326
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
326
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
327
327
  */
328
328
  await this.loadMarkets();
329
329
  const request = {
@@ -362,7 +362,7 @@ class bitforex extends bitforex$1 {
362
362
  * @param {int} [since] the earliest time in ms to fetch trades for
363
363
  * @param {int} [limit] the maximum number of trades structures to retrieve
364
364
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
365
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
365
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
366
366
  */
367
367
  this.checkRequiredSymbol('fetchMyTrades', symbol);
368
368
  await this.loadMarkets();
@@ -432,7 +432,7 @@ class bitforex extends bitforex$1 {
432
432
  * @name bitforex#fetchBalance
433
433
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
434
434
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
435
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
435
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
436
436
  */
437
437
  await this.loadMarkets();
438
438
  const response = await this.privatePostApiV1FundAllAccount(params);
@@ -482,7 +482,7 @@ class bitforex extends bitforex$1 {
482
482
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
483
483
  * @param {string} symbol unified symbol of the market to fetch the ticker for
484
484
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
485
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
485
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
486
486
  */
487
487
  await this.loadMarkets();
488
488
  const market = this.markets[symbol];
@@ -573,7 +573,7 @@ class bitforex extends bitforex$1 {
573
573
  * @param {string} symbol unified symbol of the market to fetch the order book for
574
574
  * @param {int} [limit] the maximum amount of order book entries to return
575
575
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
576
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
576
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
577
577
  */
578
578
  await this.loadMarkets();
579
579
  const market = this.market(symbol);
@@ -660,7 +660,7 @@ class bitforex extends bitforex$1 {
660
660
  * @description fetches information on an order made by the user
661
661
  * @param {string} symbol unified symbol of the market the order was made in
662
662
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
663
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
663
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
664
664
  */
665
665
  await this.loadMarkets();
666
666
  const market = this.market(symbol);
@@ -681,7 +681,7 @@ class bitforex extends bitforex$1 {
681
681
  * @param {int} [since] the earliest time in ms to fetch open orders for
682
682
  * @param {int} [limit] the maximum number of open orders structures to retrieve
683
683
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
684
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
684
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
685
685
  */
686
686
  if (symbol === undefined) {
687
687
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -704,7 +704,7 @@ class bitforex extends bitforex$1 {
704
704
  * @param {int} [since] the earliest time in ms to fetch orders for
705
705
  * @param {int} [limit] the maximum number of orde structures to retrieve
706
706
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
707
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
707
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
708
708
  */
709
709
  if (symbol === undefined) {
710
710
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -727,9 +727,9 @@ class bitforex extends bitforex$1 {
727
727
  * @param {string} type 'market' or 'limit'
728
728
  * @param {string} side 'buy' or 'sell'
729
729
  * @param {float} amount how much of currency you want to trade in units of base currency
730
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
730
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
731
731
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
732
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
732
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
733
733
  */
734
734
  await this.loadMarkets();
735
735
  let sideId = undefined;
@@ -761,7 +761,7 @@ class bitforex extends bitforex$1 {
761
761
  * @param {string} id order id
762
762
  * @param {string} symbol unified symbol of the market the order was made in
763
763
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
764
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
764
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
765
765
  */
766
766
  await this.loadMarkets();
767
767
  const request = {
@@ -1479,7 +1479,7 @@ class bitget extends bitget$1 {
1479
1479
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-position-tier
1480
1480
  * @param {string} symbol unified market symbol
1481
1481
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1482
- * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}
1482
+ * @returns {object} a [leverage tiers structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}
1483
1483
  */
1484
1484
  await this.loadMarkets();
1485
1485
  const request = {};
@@ -1551,7 +1551,7 @@ class bitget extends bitget$1 {
1551
1551
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1552
1552
  * @param {string} [params.pageNo] pageNo default 1
1553
1553
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1554
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1554
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1555
1555
  */
1556
1556
  await this.loadMarkets();
1557
1557
  if (code === undefined) {
@@ -1606,7 +1606,7 @@ class bitget extends bitget$1 {
1606
1606
  * @param {string} tag
1607
1607
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1608
1608
  * @param {string} [params.chain] the chain to withdraw to
1609
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1609
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1610
1610
  */
1611
1611
  this.checkAddress(address);
1612
1612
  const chain = this.safeString2(params, 'chain', 'network');
@@ -1681,7 +1681,7 @@ class bitget extends bitget$1 {
1681
1681
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1682
1682
  * @param {string} [params.pageNo] pageNo default 1
1683
1683
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1684
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1684
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1685
1685
  */
1686
1686
  await this.loadMarkets();
1687
1687
  if (code === undefined) {
@@ -1795,7 +1795,7 @@ class bitget extends bitget$1 {
1795
1795
  * @description fetch the deposit address for a currency associated with this account
1796
1796
  * @param {string} code unified currency code
1797
1797
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1798
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1798
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1799
1799
  */
1800
1800
  await this.loadMarkets();
1801
1801
  const networkCode = this.safeString(params, 'network');
@@ -1853,7 +1853,7 @@ class bitget extends bitget$1 {
1853
1853
  * @param {string} symbol unified symbol of the market to fetch the order book for
1854
1854
  * @param {int} [limit] the maximum amount of order book entries to return
1855
1855
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1856
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1856
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1857
1857
  */
1858
1858
  await this.loadMarkets();
1859
1859
  const market = this.market(symbol);
@@ -2010,7 +2010,7 @@ class bitget extends bitget$1 {
2010
2010
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
2011
2011
  * @param {string} symbol unified symbol of the market to fetch the ticker for
2012
2012
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2013
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
2013
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
2014
2014
  */
2015
2015
  await this.loadMarkets();
2016
2016
  const market = this.market(symbol);
@@ -2056,7 +2056,7 @@ class bitget extends bitget$1 {
2056
2056
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-symbol-ticker
2057
2057
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
2058
2058
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2059
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
2059
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
2060
2060
  */
2061
2061
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
2062
2062
  await this.loadMarkets();
@@ -2235,7 +2235,7 @@ class bitget extends bitget$1 {
2235
2235
  * @param {int} [limit] the maximum amount of trades to fetch
2236
2236
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2237
2237
  * @param {int} [params.until] the latest time in ms to fetch deposits for
2238
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2238
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2239
2239
  */
2240
2240
  await this.loadMarkets();
2241
2241
  const market = this.market(symbol);
@@ -2331,7 +2331,7 @@ class bitget extends bitget$1 {
2331
2331
  * @description fetch the trading fees for a market
2332
2332
  * @param {string} symbol unified market symbol
2333
2333
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2334
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
2334
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2335
2335
  */
2336
2336
  await this.loadMarkets();
2337
2337
  const market = this.market(symbol);
@@ -2368,7 +2368,7 @@ class bitget extends bitget$1 {
2368
2368
  * @name bitget#fetchTradingFees
2369
2369
  * @description fetch the trading fees for multiple markets
2370
2370
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2371
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
2371
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
2372
2372
  */
2373
2373
  await this.loadMarkets();
2374
2374
  const response = await this.publicSpotGetPublicProducts(params);
@@ -2564,7 +2564,7 @@ class bitget extends bitget$1 {
2564
2564
  * @name bitget#fetchBalance
2565
2565
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2566
2566
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2567
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
2567
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
2568
2568
  */
2569
2569
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
2570
2570
  await this.loadMarkets();
@@ -2810,7 +2810,7 @@ class bitget extends bitget$1 {
2810
2810
  * @param {string} type 'market' or 'limit'
2811
2811
  * @param {string} side 'buy' or 'sell' or 'open_long' or 'open_short' or 'close_long' or 'close_short'
2812
2812
  * @param {float} amount how much of currency you want to trade in units of base currency
2813
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2813
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2814
2814
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2815
2815
  * @param {float} [params.triggerPrice] *swap only* The price at which a trigger order is triggered at
2816
2816
  * @param {float} [params.stopLossPrice] *swap only* The price at which a stop loss order is triggered at
@@ -2820,7 +2820,7 @@ class bitget extends bitget$1 {
2820
2820
  * @param {object} [params.stopLoss] *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered (perpetual swap markets only)
2821
2821
  * @param {float} [params.stopLoss.triggerPrice] *swap only* stop loss trigger price
2822
2822
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
2823
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2823
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2824
2824
  */
2825
2825
  await this.loadMarkets();
2826
2826
  const market = this.market(symbol);
@@ -3003,9 +3003,9 @@ class bitget extends bitget$1 {
3003
3003
  * @param {string} type 'market' or 'limit'
3004
3004
  * @param {string} side 'buy' or 'sell'
3005
3005
  * @param {float} amount how much of currency you want to trade in units of base currency
3006
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3006
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3007
3007
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3008
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3008
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3009
3009
  */
3010
3010
  await this.loadMarkets();
3011
3011
  const market = this.market(symbol);
@@ -3104,7 +3104,7 @@ class bitget extends bitget$1 {
3104
3104
  * @param {string} id order id
3105
3105
  * @param {string} symbol unified symbol of the market the order was made in
3106
3106
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3107
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3107
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3108
3108
  */
3109
3109
  this.checkRequiredSymbol('cancelOrder', symbol);
3110
3110
  await this.loadMarkets();
@@ -3148,7 +3148,7 @@ class bitget extends bitget$1 {
3148
3148
  * @param {string[]} ids order ids
3149
3149
  * @param {string} symbol unified market symbol, default is undefined
3150
3150
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3151
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3151
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3152
3152
  */
3153
3153
  this.checkRequiredSymbol('cancelOrders', symbol);
3154
3154
  await this.loadMarkets();
@@ -3217,7 +3217,7 @@ class bitget extends bitget$1 {
3217
3217
  * @param {string} symbol unified market symbol
3218
3218
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3219
3219
  * @param {string} [params.code] marginCoin unified currency code
3220
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3220
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3221
3221
  */
3222
3222
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
3223
3223
  await this.loadMarkets();
@@ -3285,7 +3285,7 @@ class bitget extends bitget$1 {
3285
3285
  * @description fetches information on an order made by the user
3286
3286
  * @param {string} symbol unified symbol of the market the order was made in
3287
3287
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3288
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3288
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3289
3289
  */
3290
3290
  this.checkRequiredSymbol('fetchOrder', symbol);
3291
3291
  await this.loadMarkets();
@@ -3373,7 +3373,7 @@ class bitget extends bitget$1 {
3373
3373
  * @param {int} [since] the earliest time in ms to fetch open orders for
3374
3374
  * @param {int} [limit] the maximum number of open order structures to retrieve
3375
3375
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3376
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3376
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3377
3377
  */
3378
3378
  await this.loadMarkets();
3379
3379
  const request = {};
@@ -3544,7 +3544,7 @@ class bitget extends bitget$1 {
3544
3544
  * @param {int} [since] timestamp in ms of the earliest order
3545
3545
  * @param {int} [limit] the max number of closed orders to return
3546
3546
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3547
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3547
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3548
3548
  */
3549
3549
  await this.loadMarkets();
3550
3550
  this.checkRequiredSymbol('fetchClosedOrders', symbol);
@@ -3571,7 +3571,7 @@ class bitget extends bitget$1 {
3571
3571
  * @param {int} [since] timestamp in ms of the earliest order
3572
3572
  * @param {int} [limit] the max number of canceled orders to return
3573
3573
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3574
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3574
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3575
3575
  */
3576
3576
  await this.loadMarkets();
3577
3577
  this.checkRequiredSymbol('fetchCanceledOrders', symbol);
@@ -3754,7 +3754,7 @@ class bitget extends bitget$1 {
3754
3754
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
3755
3755
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3756
3756
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3757
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
3757
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
3758
3758
  */
3759
3759
  await this.loadMarkets();
3760
3760
  let currency = undefined;
@@ -3842,7 +3842,7 @@ class bitget extends bitget$1 {
3842
3842
  * @param {int} [since] the earliest time in ms to fetch trades for
3843
3843
  * @param {int} [limit] the maximum number of trades structures to retrieve
3844
3844
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3845
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3845
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3846
3846
  */
3847
3847
  this.checkRequiredSymbol('fetchMyTrades', symbol);
3848
3848
  await this.loadMarkets();
@@ -3893,7 +3893,7 @@ class bitget extends bitget$1 {
3893
3893
  * @param {int} [since] the earliest time in ms to fetch trades for
3894
3894
  * @param {int} [limit] the maximum number of trades to retrieve
3895
3895
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3896
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3896
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3897
3897
  */
3898
3898
  this.checkRequiredSymbol('fetchOrderTrades', symbol);
3899
3899
  await this.loadMarkets();
@@ -3942,7 +3942,7 @@ class bitget extends bitget$1 {
3942
3942
  * @description fetch data on a single open contract trade position
3943
3943
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
3944
3944
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3945
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3945
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3946
3946
  */
3947
3947
  await this.loadMarkets();
3948
3948
  const market = this.market(symbol);
@@ -3991,7 +3991,7 @@ class bitget extends bitget$1 {
3991
3991
  * @description fetch all open positions
3992
3992
  * @param {string[]|undefined} symbols list of unified market symbols
3993
3993
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3994
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3994
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3995
3995
  */
3996
3996
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
3997
3997
  await this.loadMarkets();
@@ -4250,9 +4250,9 @@ class bitget extends bitget$1 {
4250
4250
  * @description fetches historical funding rate prices
4251
4251
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
4252
4252
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
4253
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
4253
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
4254
4254
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4255
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
4255
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
4256
4256
  */
4257
4257
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
4258
4258
  await this.loadMarkets();
@@ -4306,7 +4306,7 @@ class bitget extends bitget$1 {
4306
4306
  * @description fetch the current funding rate
4307
4307
  * @param {string} symbol unified market symbol
4308
4308
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4309
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
4309
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
4310
4310
  */
4311
4311
  await this.loadMarkets();
4312
4312
  const market = this.market(symbol);
@@ -4370,7 +4370,7 @@ class bitget extends bitget$1 {
4370
4370
  * @param {int} [since] the starting timestamp in milliseconds
4371
4371
  * @param {int} [limit] the number of entries to return
4372
4372
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4373
- * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
4373
+ * @returns {object[]} a list of [funding history structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
4374
4374
  */
4375
4375
  await this.loadMarkets();
4376
4376
  const market = this.market(symbol);
@@ -4510,7 +4510,7 @@ class bitget extends bitget$1 {
4510
4510
  * @param {string} symbol unified market symbol
4511
4511
  * @param {float} amount the amount of margin to remove
4512
4512
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4513
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
4513
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
4514
4514
  */
4515
4515
  if (amount > 0) {
4516
4516
  throw new errors.BadRequest(this.id + ' reduceMargin() amount parameter must be a negative value');
@@ -4529,7 +4529,7 @@ class bitget extends bitget$1 {
4529
4529
  * @param {string} symbol unified market symbol
4530
4530
  * @param {float} amount amount of margin to add
4531
4531
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4532
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
4532
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
4533
4533
  */
4534
4534
  const holdSide = this.safeString(params, 'holdSide');
4535
4535
  if (holdSide === undefined) {
@@ -4544,7 +4544,7 @@ class bitget extends bitget$1 {
4544
4544
  * @description fetch the set leverage for a market
4545
4545
  * @param {string} symbol unified market symbol
4546
4546
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4547
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
4547
+ * @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
4548
4548
  */
4549
4549
  await this.loadMarkets();
4550
4550
  const market = this.market(symbol);
@@ -4679,7 +4679,7 @@ class bitget extends bitget$1 {
4679
4679
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-open-interest
4680
4680
  * @param {string} symbol Unified CCXT market symbol
4681
4681
  * @param {object} [params] exchange specific parameters
4682
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=interest-history-structure}
4682
+ * @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
4683
4683
  */
4684
4684
  await this.loadMarkets();
4685
4685
  const market = this.market(symbol);
@@ -4715,7 +4715,7 @@ class bitget extends bitget$1 {
4715
4715
  * @param {int} [since] the earliest time in ms to fetch transfers for
4716
4716
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4717
4717
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4718
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4718
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4719
4719
  */
4720
4720
  await this.loadMarkets();
4721
4721
  let type = undefined;
@@ -4773,7 +4773,7 @@ class bitget extends bitget$1 {
4773
4773
  *
4774
4774
  * EXCHANGE SPECIFIC PARAMS
4775
4775
  * @param {string} [params.clientOid] custom id
4776
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4776
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4777
4777
  */
4778
4778
  await this.loadMarkets();
4779
4779
  const currency = this.currency(code);
@@ -4928,7 +4928,7 @@ class bitget extends bitget$1 {
4928
4928
  * @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
4929
4929
  * @param {string[]|undefined} codes list of unified currency codes
4930
4930
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4931
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
4931
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
4932
4932
  */
4933
4933
  await this.loadMarkets();
4934
4934
  const response = await this.publicSpotGetPublicCurrencies(params);