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
@@ -318,7 +318,7 @@ export default class bitflyer extends Exchange {
318
318
  * @name bitflyer#fetchBalance
319
319
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
320
320
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
321
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
321
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
322
322
  */
323
323
  await this.loadMarkets();
324
324
  const response = await this.privateGetGetbalance(params);
@@ -351,7 +351,7 @@ export default class bitflyer extends Exchange {
351
351
  * @param {string} symbol unified symbol of the market to fetch the order book for
352
352
  * @param {int} [limit] the maximum amount of order book entries to return
353
353
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
354
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
354
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
355
355
  */
356
356
  await this.loadMarkets();
357
357
  const market = this.market(symbol);
@@ -395,7 +395,7 @@ export default class bitflyer extends Exchange {
395
395
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
396
396
  * @param {string} symbol unified symbol of the market to fetch the ticker for
397
397
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
398
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
398
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
399
399
  */
400
400
  await this.loadMarkets();
401
401
  const market = this.market(symbol);
@@ -476,7 +476,7 @@ export default class bitflyer extends Exchange {
476
476
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
477
477
  * @param {int} [limit] the maximum amount of trades to fetch
478
478
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
479
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
479
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
480
480
  */
481
481
  await this.loadMarkets();
482
482
  const market = this.market(symbol);
@@ -496,7 +496,7 @@ export default class bitflyer extends Exchange {
496
496
  * @description fetch the trading fees for a market
497
497
  * @param {string} symbol unified market symbol
498
498
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
499
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
499
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
500
500
  */
501
501
  await this.loadMarkets();
502
502
  const market = this.market(symbol);
@@ -526,9 +526,9 @@ export default class bitflyer extends Exchange {
526
526
  * @param {string} type 'market' or 'limit'
527
527
  * @param {string} side 'buy' or 'sell'
528
528
  * @param {float} amount how much of currency you want to trade in units of base currency
529
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
529
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
530
530
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
531
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
531
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
532
532
  */
533
533
  await this.loadMarkets();
534
534
  const request = {
@@ -554,7 +554,7 @@ export default class bitflyer extends Exchange {
554
554
  * @param {string} id order id
555
555
  * @param {string} symbol unified symbol of the market the order was made in
556
556
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
557
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
557
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
558
558
  */
559
559
  if (symbol === undefined) {
560
560
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a `symbol` argument');
@@ -631,7 +631,7 @@ export default class bitflyer extends Exchange {
631
631
  * @param {int} [since] the earliest time in ms to fetch orders for
632
632
  * @param {int} [limit] the maximum number of orde structures to retrieve
633
633
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
634
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
634
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
635
635
  */
636
636
  if (symbol === undefined) {
637
637
  throw new ArgumentsRequired(this.id + ' fetchOrders() requires a `symbol` argument');
@@ -658,7 +658,7 @@ export default class bitflyer extends Exchange {
658
658
  * @param {int} [since] the earliest time in ms to fetch open orders for
659
659
  * @param {int} [limit] the maximum number of open orders structures to retrieve
660
660
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
661
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
661
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
662
662
  */
663
663
  const request = {
664
664
  'child_order_state': 'ACTIVE',
@@ -674,7 +674,7 @@ export default class bitflyer extends Exchange {
674
674
  * @param {int} [since] the earliest time in ms to fetch orders for
675
675
  * @param {int} [limit] the maximum number of orde structures to retrieve
676
676
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
677
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
677
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
678
678
  */
679
679
  const request = {
680
680
  'child_order_state': 'COMPLETED',
@@ -688,7 +688,7 @@ export default class bitflyer extends Exchange {
688
688
  * @description fetches information on an order made by the user
689
689
  * @param {string} symbol unified symbol of the market the order was made in
690
690
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
691
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
691
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
692
692
  */
693
693
  if (symbol === undefined) {
694
694
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a `symbol` argument');
@@ -709,7 +709,7 @@ export default class bitflyer extends Exchange {
709
709
  * @param {int} [since] the earliest time in ms to fetch trades for
710
710
  * @param {int} [limit] the maximum number of trades structures to retrieve
711
711
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
712
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
712
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
713
713
  */
714
714
  if (symbol === undefined) {
715
715
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
@@ -732,7 +732,7 @@ export default class bitflyer extends Exchange {
732
732
  * @description fetch all open positions
733
733
  * @param {string[]} symbols list of unified market symbols
734
734
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
735
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
735
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
736
736
  */
737
737
  if (symbols === undefined) {
738
738
  throw new ArgumentsRequired(this.id + ' fetchPositions() requires a `symbols` argument, exactly one symbol in an array');
@@ -772,7 +772,7 @@ export default class bitflyer extends Exchange {
772
772
  * @param {string} address the address to withdraw to
773
773
  * @param {string} tag
774
774
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
775
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
775
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
776
776
  */
777
777
  this.checkAddress(address);
778
778
  await this.loadMarkets();
@@ -802,7 +802,7 @@ export default class bitflyer extends Exchange {
802
802
  * @param {int} [since] the earliest time in ms to fetch deposits for
803
803
  * @param {int} [limit] the maximum number of deposits structures to retrieve
804
804
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
805
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
805
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
806
806
  */
807
807
  await this.loadMarkets();
808
808
  let currency = undefined;
@@ -839,7 +839,7 @@ export default class bitflyer extends Exchange {
839
839
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
840
840
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
841
841
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
842
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
842
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
843
843
  */
844
844
  await this.loadMarkets();
845
845
  let currency = undefined;
@@ -326,7 +326,7 @@ export default class bitforex extends Exchange {
326
326
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
327
327
  * @param {int} [limit] the maximum amount of trades to fetch
328
328
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
329
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
329
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
330
330
  */
331
331
  await this.loadMarkets();
332
332
  const request = {
@@ -365,7 +365,7 @@ export default class bitforex extends Exchange {
365
365
  * @param {int} [since] the earliest time in ms to fetch trades for
366
366
  * @param {int} [limit] the maximum number of trades structures to retrieve
367
367
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
368
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
368
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
369
369
  */
370
370
  this.checkRequiredSymbol('fetchMyTrades', symbol);
371
371
  await this.loadMarkets();
@@ -435,7 +435,7 @@ export default class bitforex extends Exchange {
435
435
  * @name bitforex#fetchBalance
436
436
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
437
437
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
438
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
438
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
439
439
  */
440
440
  await this.loadMarkets();
441
441
  const response = await this.privatePostApiV1FundAllAccount(params);
@@ -485,7 +485,7 @@ export default class bitforex extends Exchange {
485
485
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
486
486
  * @param {string} symbol unified symbol of the market to fetch the ticker for
487
487
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
488
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
488
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
489
489
  */
490
490
  await this.loadMarkets();
491
491
  const market = this.markets[symbol];
@@ -576,7 +576,7 @@ export default class bitforex extends Exchange {
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 bitforex 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
  await this.loadMarkets();
582
582
  const market = this.market(symbol);
@@ -663,7 +663,7 @@ export default class bitforex extends Exchange {
663
663
  * @description fetches information on an order made by the user
664
664
  * @param {string} symbol unified symbol of the market the order was made in
665
665
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
666
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
666
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
667
667
  */
668
668
  await this.loadMarkets();
669
669
  const market = this.market(symbol);
@@ -684,7 +684,7 @@ export default class bitforex extends Exchange {
684
684
  * @param {int} [since] the earliest time in ms to fetch open orders for
685
685
  * @param {int} [limit] the maximum number of open orders structures to retrieve
686
686
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
687
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
687
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
688
688
  */
689
689
  if (symbol === undefined) {
690
690
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -707,7 +707,7 @@ export default class bitforex extends Exchange {
707
707
  * @param {int} [since] the earliest time in ms to fetch orders for
708
708
  * @param {int} [limit] the maximum number of orde structures to retrieve
709
709
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
710
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
710
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
711
711
  */
712
712
  if (symbol === undefined) {
713
713
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -730,9 +730,9 @@ export default class bitforex extends Exchange {
730
730
  * @param {string} type 'market' or 'limit'
731
731
  * @param {string} side 'buy' or 'sell'
732
732
  * @param {float} amount how much of currency you want to trade in units of base currency
733
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
733
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
734
734
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
735
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
735
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
736
736
  */
737
737
  await this.loadMarkets();
738
738
  let sideId = undefined;
@@ -764,7 +764,7 @@ export default class bitforex extends Exchange {
764
764
  * @param {string} id order id
765
765
  * @param {string} symbol unified symbol of the market the order was made in
766
766
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
767
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
767
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
768
768
  */
769
769
  await this.loadMarkets();
770
770
  const request = {
package/js/src/bitget.js CHANGED
@@ -1482,7 +1482,7 @@ export default class bitget extends Exchange {
1482
1482
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-position-tier
1483
1483
  * @param {string} symbol unified market symbol
1484
1484
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1485
- * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}
1485
+ * @returns {object} a [leverage tiers structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}
1486
1486
  */
1487
1487
  await this.loadMarkets();
1488
1488
  const request = {};
@@ -1554,7 +1554,7 @@ export default class bitget extends Exchange {
1554
1554
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1555
1555
  * @param {string} [params.pageNo] pageNo default 1
1556
1556
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1557
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1557
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1558
1558
  */
1559
1559
  await this.loadMarkets();
1560
1560
  if (code === undefined) {
@@ -1609,7 +1609,7 @@ export default class bitget extends Exchange {
1609
1609
  * @param {string} tag
1610
1610
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1611
1611
  * @param {string} [params.chain] the chain to withdraw to
1612
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1612
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1613
1613
  */
1614
1614
  this.checkAddress(address);
1615
1615
  const chain = this.safeString2(params, 'chain', 'network');
@@ -1684,7 +1684,7 @@ export default class bitget extends Exchange {
1684
1684
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1685
1685
  * @param {string} [params.pageNo] pageNo default 1
1686
1686
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1687
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1687
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1688
1688
  */
1689
1689
  await this.loadMarkets();
1690
1690
  if (code === undefined) {
@@ -1798,7 +1798,7 @@ export default class bitget extends Exchange {
1798
1798
  * @description fetch the deposit address for a currency associated with this account
1799
1799
  * @param {string} code unified currency code
1800
1800
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1801
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1801
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1802
1802
  */
1803
1803
  await this.loadMarkets();
1804
1804
  const networkCode = this.safeString(params, 'network');
@@ -1856,7 +1856,7 @@ export default class bitget extends Exchange {
1856
1856
  * @param {string} symbol unified symbol of the market to fetch the order book for
1857
1857
  * @param {int} [limit] the maximum amount of order book entries to return
1858
1858
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1859
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1859
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1860
1860
  */
1861
1861
  await this.loadMarkets();
1862
1862
  const market = this.market(symbol);
@@ -2013,7 +2013,7 @@ export default class bitget extends Exchange {
2013
2013
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
2014
2014
  * @param {string} symbol unified symbol of the market to fetch the ticker for
2015
2015
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2016
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
2016
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
2017
2017
  */
2018
2018
  await this.loadMarkets();
2019
2019
  const market = this.market(symbol);
@@ -2059,7 +2059,7 @@ export default class bitget extends Exchange {
2059
2059
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-all-symbol-ticker
2060
2060
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
2061
2061
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2062
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
2062
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
2063
2063
  */
2064
2064
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
2065
2065
  await this.loadMarkets();
@@ -2238,7 +2238,7 @@ export default class bitget extends Exchange {
2238
2238
  * @param {int} [limit] the maximum amount of trades to fetch
2239
2239
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2240
2240
  * @param {int} [params.until] the latest time in ms to fetch deposits for
2241
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2241
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2242
2242
  */
2243
2243
  await this.loadMarkets();
2244
2244
  const market = this.market(symbol);
@@ -2334,7 +2334,7 @@ export default class bitget extends Exchange {
2334
2334
  * @description fetch the trading fees for a market
2335
2335
  * @param {string} symbol unified market symbol
2336
2336
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2337
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
2337
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2338
2338
  */
2339
2339
  await this.loadMarkets();
2340
2340
  const market = this.market(symbol);
@@ -2371,7 +2371,7 @@ export default class bitget extends Exchange {
2371
2371
  * @name bitget#fetchTradingFees
2372
2372
  * @description fetch the trading fees for multiple markets
2373
2373
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2374
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
2374
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
2375
2375
  */
2376
2376
  await this.loadMarkets();
2377
2377
  const response = await this.publicSpotGetPublicProducts(params);
@@ -2567,7 +2567,7 @@ export default class bitget extends Exchange {
2567
2567
  * @name bitget#fetchBalance
2568
2568
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2569
2569
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2570
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
2570
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
2571
2571
  */
2572
2572
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
2573
2573
  await this.loadMarkets();
@@ -2813,7 +2813,7 @@ export default class bitget extends Exchange {
2813
2813
  * @param {string} type 'market' or 'limit'
2814
2814
  * @param {string} side 'buy' or 'sell' or 'open_long' or 'open_short' or 'close_long' or 'close_short'
2815
2815
  * @param {float} amount how much of currency you want to trade in units of base currency
2816
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2816
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2817
2817
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2818
2818
  * @param {float} [params.triggerPrice] *swap only* The price at which a trigger order is triggered at
2819
2819
  * @param {float} [params.stopLossPrice] *swap only* The price at which a stop loss order is triggered at
@@ -2823,7 +2823,7 @@ export default class bitget extends Exchange {
2823
2823
  * @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)
2824
2824
  * @param {float} [params.stopLoss.triggerPrice] *swap only* stop loss trigger price
2825
2825
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
2826
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2826
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2827
2827
  */
2828
2828
  await this.loadMarkets();
2829
2829
  const market = this.market(symbol);
@@ -3006,9 +3006,9 @@ export default class bitget extends Exchange {
3006
3006
  * @param {string} type 'market' or 'limit'
3007
3007
  * @param {string} side 'buy' or 'sell'
3008
3008
  * @param {float} amount how much of currency you want to trade in units of base currency
3009
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3009
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3010
3010
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3011
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3011
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3012
3012
  */
3013
3013
  await this.loadMarkets();
3014
3014
  const market = this.market(symbol);
@@ -3107,7 +3107,7 @@ export default class bitget extends Exchange {
3107
3107
  * @param {string} id order id
3108
3108
  * @param {string} symbol unified symbol of the market the order was made in
3109
3109
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3110
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3110
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3111
3111
  */
3112
3112
  this.checkRequiredSymbol('cancelOrder', symbol);
3113
3113
  await this.loadMarkets();
@@ -3151,7 +3151,7 @@ export default class bitget extends Exchange {
3151
3151
  * @param {string[]} ids order ids
3152
3152
  * @param {string} symbol unified market symbol, default is undefined
3153
3153
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3154
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3154
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3155
3155
  */
3156
3156
  this.checkRequiredSymbol('cancelOrders', symbol);
3157
3157
  await this.loadMarkets();
@@ -3220,7 +3220,7 @@ export default class bitget extends Exchange {
3220
3220
  * @param {string} symbol unified market symbol
3221
3221
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3222
3222
  * @param {string} [params.code] marginCoin unified currency code
3223
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3223
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3224
3224
  */
3225
3225
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
3226
3226
  await this.loadMarkets();
@@ -3288,7 +3288,7 @@ export default class bitget extends Exchange {
3288
3288
  * @description fetches information on an order made by the user
3289
3289
  * @param {string} symbol unified symbol of the market the order was made in
3290
3290
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3291
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3291
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3292
3292
  */
3293
3293
  this.checkRequiredSymbol('fetchOrder', symbol);
3294
3294
  await this.loadMarkets();
@@ -3376,7 +3376,7 @@ export default class bitget extends Exchange {
3376
3376
  * @param {int} [since] the earliest time in ms to fetch open orders for
3377
3377
  * @param {int} [limit] the maximum number of open order structures to retrieve
3378
3378
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3379
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3379
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3380
3380
  */
3381
3381
  await this.loadMarkets();
3382
3382
  const request = {};
@@ -3547,7 +3547,7 @@ export default class bitget extends Exchange {
3547
3547
  * @param {int} [since] timestamp in ms of the earliest order
3548
3548
  * @param {int} [limit] the max number of closed orders to return
3549
3549
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3550
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3550
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3551
3551
  */
3552
3552
  await this.loadMarkets();
3553
3553
  this.checkRequiredSymbol('fetchClosedOrders', symbol);
@@ -3574,7 +3574,7 @@ export default class bitget extends Exchange {
3574
3574
  * @param {int} [since] timestamp in ms of the earliest order
3575
3575
  * @param {int} [limit] the max number of canceled orders to return
3576
3576
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3577
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3577
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3578
3578
  */
3579
3579
  await this.loadMarkets();
3580
3580
  this.checkRequiredSymbol('fetchCanceledOrders', symbol);
@@ -3757,7 +3757,7 @@ export default class bitget extends Exchange {
3757
3757
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
3758
3758
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3759
3759
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3760
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
3760
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
3761
3761
  */
3762
3762
  await this.loadMarkets();
3763
3763
  let currency = undefined;
@@ -3845,7 +3845,7 @@ export default class bitget extends Exchange {
3845
3845
  * @param {int} [since] the earliest time in ms to fetch trades for
3846
3846
  * @param {int} [limit] the maximum number of trades structures to retrieve
3847
3847
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3848
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3848
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3849
3849
  */
3850
3850
  this.checkRequiredSymbol('fetchMyTrades', symbol);
3851
3851
  await this.loadMarkets();
@@ -3896,7 +3896,7 @@ export default class bitget extends Exchange {
3896
3896
  * @param {int} [since] the earliest time in ms to fetch trades for
3897
3897
  * @param {int} [limit] the maximum number of trades to retrieve
3898
3898
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3899
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3899
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3900
3900
  */
3901
3901
  this.checkRequiredSymbol('fetchOrderTrades', symbol);
3902
3902
  await this.loadMarkets();
@@ -3945,7 +3945,7 @@ export default class bitget extends Exchange {
3945
3945
  * @description fetch data on a single open contract trade position
3946
3946
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
3947
3947
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3948
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3948
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3949
3949
  */
3950
3950
  await this.loadMarkets();
3951
3951
  const market = this.market(symbol);
@@ -3994,7 +3994,7 @@ export default class bitget extends Exchange {
3994
3994
  * @description fetch all open positions
3995
3995
  * @param {string[]|undefined} symbols list of unified market symbols
3996
3996
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3997
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3997
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3998
3998
  */
3999
3999
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
4000
4000
  await this.loadMarkets();
@@ -4253,9 +4253,9 @@ export default class bitget extends Exchange {
4253
4253
  * @description fetches historical funding rate prices
4254
4254
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
4255
4255
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
4256
- * @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
4256
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
4257
4257
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4258
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
4258
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
4259
4259
  */
4260
4260
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
4261
4261
  await this.loadMarkets();
@@ -4309,7 +4309,7 @@ export default class bitget extends Exchange {
4309
4309
  * @description fetch the current funding rate
4310
4310
  * @param {string} symbol unified market symbol
4311
4311
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4312
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
4312
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
4313
4313
  */
4314
4314
  await this.loadMarkets();
4315
4315
  const market = this.market(symbol);
@@ -4373,7 +4373,7 @@ export default class bitget extends Exchange {
4373
4373
  * @param {int} [since] the starting timestamp in milliseconds
4374
4374
  * @param {int} [limit] the number of entries to return
4375
4375
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4376
- * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
4376
+ * @returns {object[]} a list of [funding history structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
4377
4377
  */
4378
4378
  await this.loadMarkets();
4379
4379
  const market = this.market(symbol);
@@ -4513,7 +4513,7 @@ export default class bitget extends Exchange {
4513
4513
  * @param {string} symbol unified market symbol
4514
4514
  * @param {float} amount the amount of margin to remove
4515
4515
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4516
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
4516
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
4517
4517
  */
4518
4518
  if (amount > 0) {
4519
4519
  throw new BadRequest(this.id + ' reduceMargin() amount parameter must be a negative value');
@@ -4532,7 +4532,7 @@ export default class bitget extends Exchange {
4532
4532
  * @param {string} symbol unified market symbol
4533
4533
  * @param {float} amount amount of margin to add
4534
4534
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4535
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
4535
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
4536
4536
  */
4537
4537
  const holdSide = this.safeString(params, 'holdSide');
4538
4538
  if (holdSide === undefined) {
@@ -4547,7 +4547,7 @@ export default class bitget extends Exchange {
4547
4547
  * @description fetch the set leverage for a market
4548
4548
  * @param {string} symbol unified market symbol
4549
4549
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4550
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
4550
+ * @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
4551
4551
  */
4552
4552
  await this.loadMarkets();
4553
4553
  const market = this.market(symbol);
@@ -4682,7 +4682,7 @@ export default class bitget extends Exchange {
4682
4682
  * @see https://bitgetlimited.github.io/apidoc/en/mix/#get-open-interest
4683
4683
  * @param {string} symbol Unified CCXT market symbol
4684
4684
  * @param {object} [params] exchange specific parameters
4685
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=interest-history-structure}
4685
+ * @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
4686
4686
  */
4687
4687
  await this.loadMarkets();
4688
4688
  const market = this.market(symbol);
@@ -4718,7 +4718,7 @@ export default class bitget extends Exchange {
4718
4718
  * @param {int} [since] the earliest time in ms to fetch transfers for
4719
4719
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4720
4720
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4721
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4721
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4722
4722
  */
4723
4723
  await this.loadMarkets();
4724
4724
  let type = undefined;
@@ -4776,7 +4776,7 @@ export default class bitget extends Exchange {
4776
4776
  *
4777
4777
  * EXCHANGE SPECIFIC PARAMS
4778
4778
  * @param {string} [params.clientOid] custom id
4779
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4779
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4780
4780
  */
4781
4781
  await this.loadMarkets();
4782
4782
  const currency = this.currency(code);
@@ -4931,7 +4931,7 @@ export default class bitget extends Exchange {
4931
4931
  * @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
4932
4932
  * @param {string[]|undefined} codes list of unified currency codes
4933
4933
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4934
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
4934
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
4935
4935
  */
4936
4936
  await this.loadMarkets();
4937
4937
  const response = await this.publicSpotGetPublicCurrencies(params);