ccxt 4.0.74 → 4.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2047 -1932
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +21 -21
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +5 -5
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +21 -21
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.js +5 -5
  241. package/js/src/pro/cex.js +3 -3
  242. package/js/src/pro/coinbasepro.js +5 -5
  243. package/js/src/pro/coinex.js +3 -3
  244. package/js/src/pro/cryptocom.js +7 -7
  245. package/js/src/pro/currencycom.js +2 -2
  246. package/js/src/pro/deribit.js +3 -3
  247. package/js/src/pro/exmo.js +2 -2
  248. package/js/src/pro/gate.js +5 -5
  249. package/js/src/pro/gemini.js +2 -2
  250. package/js/src/pro/hitbtc.js +2 -2
  251. package/js/src/pro/hollaex.js +3 -3
  252. package/js/src/pro/huobi.js +4 -4
  253. package/js/src/pro/huobijp.js +2 -2
  254. package/js/src/pro/idex.js +3 -3
  255. package/js/src/pro/independentreserve.js +1 -1
  256. package/js/src/pro/kraken.js +6 -6
  257. package/js/src/pro/krakenfutures.js +2 -2
  258. package/js/src/pro/kucoin.js +4 -4
  259. package/js/src/pro/kucoinfutures.js +3 -3
  260. package/js/src/pro/luno.js +1 -1
  261. package/js/src/pro/ndax.js +2 -2
  262. package/js/src/pro/okcoin.js +3 -3
  263. package/js/src/pro/okx.d.ts +1 -1
  264. package/js/src/pro/okx.js +12 -11
  265. package/js/src/pro/phemex.js +4 -4
  266. package/js/src/pro/poloniex.js +1 -1
  267. package/js/src/pro/upbit.js +2 -2
  268. package/js/src/pro/wazirx.js +3 -3
  269. package/js/src/pro/whitebit.js +4 -4
  270. package/js/src/probit.js +17 -17
  271. package/js/src/tidex.js +11 -11
  272. package/js/src/timex.js +14 -14
  273. package/js/src/tokocrypto.js +16 -16
  274. package/js/src/upbit.js +18 -18
  275. package/js/src/wavesexchange.js +13 -13
  276. package/js/src/wazirx.js +10 -10
  277. package/js/src/whitebit.js +21 -21
  278. package/js/src/woo.js +28 -22
  279. package/js/src/yobit.js +14 -14
  280. package/js/src/zaif.js +8 -8
  281. package/js/src/zonda.js +13 -13
  282. package/package.json +1 -1
@@ -261,7 +261,7 @@ class bit2c extends bit2c$1 {
261
261
  * @param {string} symbol unified symbol of the market to fetch the order book for
262
262
  * @param {int} [limit] the maximum amount of order book entries to return
263
263
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
264
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
264
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
265
265
  */
266
266
  await this.loadMarkets();
267
267
  const market = this.market(symbol);
@@ -307,7 +307,7 @@ class bit2c extends bit2c$1 {
307
307
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
308
308
  * @param {string} symbol unified symbol of the market to fetch the ticker for
309
309
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
310
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
310
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
311
311
  */
312
312
  await this.loadMarkets();
313
313
  const market = this.market(symbol);
@@ -359,7 +359,7 @@ class bit2c extends bit2c$1 {
359
359
  * @name bit2c#fetchTradingFees
360
360
  * @description fetch the trading fees for multiple markets
361
361
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
362
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
362
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
363
363
  */
364
364
  await this.loadMarkets();
365
365
  const response = await this.privateGetAccountBalance(params);
@@ -410,9 +410,9 @@ class bit2c extends bit2c$1 {
410
410
  * @param {string} type 'market' or 'limit'
411
411
  * @param {string} side 'buy' or 'sell'
412
412
  * @param {float} amount how much of currency you want to trade in units of base currency
413
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
413
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
414
414
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
415
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
415
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
416
416
  */
417
417
  await this.loadMarkets();
418
418
  let method = 'privatePostOrderAddOrder';
@@ -442,7 +442,7 @@ class bit2c extends bit2c$1 {
442
442
  * @param {string} id order id
443
443
  * @param {string} symbol Not used by bit2c cancelOrder ()
444
444
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
445
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
445
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
446
446
  */
447
447
  const request = {
448
448
  'id': id,
@@ -458,7 +458,7 @@ class bit2c extends bit2c$1 {
458
458
  * @param {int} [since] the earliest time in ms to fetch open orders for
459
459
  * @param {int} [limit] the maximum number of open orders structures to retrieve
460
460
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
461
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
461
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
462
462
  */
463
463
  if (symbol === undefined) {
464
464
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -481,7 +481,7 @@ class bit2c extends bit2c$1 {
481
481
  * @description fetches information on an order made by the user
482
482
  * @param {string} symbol unified market symbol
483
483
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
484
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
484
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
485
485
  */
486
486
  await this.loadMarkets();
487
487
  const market = this.market(symbol);
@@ -635,7 +635,7 @@ class bit2c extends bit2c$1 {
635
635
  * @param {int} [since] the earliest time in ms to fetch trades for
636
636
  * @param {int} [limit] the maximum number of trades structures to retrieve
637
637
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
638
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
638
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
639
639
  */
640
640
  await this.loadMarkets();
641
641
  let market = undefined;
@@ -813,7 +813,7 @@ class bit2c extends bit2c$1 {
813
813
  * @description fetch the deposit address for a currency associated with this account
814
814
  * @param {string} code unified currency code
815
815
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
816
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
816
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
817
817
  */
818
818
  await this.loadMarkets();
819
819
  const currency = this.currency(code);
@@ -284,7 +284,7 @@ class bitbank extends bitbank$1 {
284
284
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
285
285
  * @param {string} symbol unified symbol of the market to fetch the ticker for
286
286
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
287
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
287
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
288
288
  */
289
289
  await this.loadMarkets();
290
290
  const market = this.market(symbol);
@@ -303,7 +303,7 @@ class bitbank extends bitbank$1 {
303
303
  * @param {string} symbol unified symbol of the market to fetch the order book for
304
304
  * @param {int} [limit] the maximum amount of order book entries to return
305
305
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
306
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
306
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
307
307
  */
308
308
  await this.loadMarkets();
309
309
  const market = this.market(symbol);
@@ -376,7 +376,7 @@ class bitbank extends bitbank$1 {
376
376
  * @name bitbank#fetchTradingFees
377
377
  * @description fetch the trading fees for multiple markets
378
378
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
379
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
379
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
380
380
  */
381
381
  await this.loadMarkets();
382
382
  const response = await this.marketsGetSpotPairs(params);
@@ -620,9 +620,9 @@ class bitbank extends bitbank$1 {
620
620
  * @param {string} type 'market' or 'limit'
621
621
  * @param {string} side 'buy' or 'sell'
622
622
  * @param {float} amount how much of currency you want to trade in units of base currency
623
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
623
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
624
624
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
625
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
625
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
626
626
  */
627
627
  await this.loadMarkets();
628
628
  const market = this.market(symbol);
@@ -647,7 +647,7 @@ class bitbank extends bitbank$1 {
647
647
  * @param {string} id order id
648
648
  * @param {string} symbol unified symbol of the market the order was made in
649
649
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
650
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
650
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
651
651
  */
652
652
  await this.loadMarkets();
653
653
  const market = this.market(symbol);
@@ -666,7 +666,7 @@ class bitbank extends bitbank$1 {
666
666
  * @description fetches information on an order made by the user
667
667
  * @param {string} symbol unified symbol of the market the order was made in
668
668
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
669
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
669
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
670
670
  */
671
671
  await this.loadMarkets();
672
672
  const market = this.market(symbol);
@@ -687,7 +687,7 @@ class bitbank extends bitbank$1 {
687
687
  * @param {int} [since] the earliest time in ms to fetch open orders for
688
688
  * @param {int} [limit] the maximum number of open orders structures to retrieve
689
689
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
690
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
690
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
691
691
  */
692
692
  await this.loadMarkets();
693
693
  const market = this.market(symbol);
@@ -714,7 +714,7 @@ class bitbank extends bitbank$1 {
714
714
  * @param {int} [since] the earliest time in ms to fetch trades for
715
715
  * @param {int} [limit] the maximum number of trades structures to retrieve
716
716
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
717
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
717
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
718
718
  */
719
719
  await this.loadMarkets();
720
720
  const request = {};
@@ -741,7 +741,7 @@ class bitbank extends bitbank$1 {
741
741
  * @description fetch the deposit address for a currency associated with this account
742
742
  * @param {string} code unified currency code
743
743
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
744
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
744
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
745
745
  */
746
746
  await this.loadMarkets();
747
747
  const currency = this.currency(code);
@@ -772,7 +772,7 @@ class bitbank extends bitbank$1 {
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 bitbank 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
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
778
778
  if (!('uuid' in params)) {
@@ -156,7 +156,7 @@ class bitbns extends bitbns$1 {
156
156
  * @name bitbns#fetchStatus
157
157
  * @description the latest known information on the availability of the exchange API
158
158
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
159
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
159
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
160
160
  */
161
161
  const response = await this.v1GetPlatformStatus(params);
162
162
  //
@@ -288,7 +288,7 @@ class bitbns extends bitbns$1 {
288
288
  * @param {string} symbol unified symbol of the market to fetch the order book for
289
289
  * @param {int} [limit] the maximum amount of order book entries to return
290
290
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
291
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
291
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
292
292
  */
293
293
  await this.loadMarkets();
294
294
  const market = this.market(symbol);
@@ -384,7 +384,7 @@ class bitbns extends bitbns$1 {
384
384
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
385
385
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
386
386
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
387
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
387
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
388
388
  */
389
389
  await this.loadMarkets();
390
390
  const response = await this.wwwGetOrderFetchTickers(params);
@@ -592,9 +592,9 @@ class bitbns extends bitbns$1 {
592
592
  * @param {string} type 'market' or 'limit'
593
593
  * @param {string} side 'buy' or 'sell'
594
594
  * @param {float} amount how much of currency you want to trade in units of base currency
595
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
595
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
596
596
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
597
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
597
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
598
598
  */
599
599
  if (type !== 'limit' && type !== 'market') {
600
600
  throw new errors.ExchangeError(this.id + ' allows limit and market orders only');
@@ -643,7 +643,7 @@ class bitbns extends bitbns$1 {
643
643
  * @param {string} id order id
644
644
  * @param {string} symbol unified symbol of the market the order was made in
645
645
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
646
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
646
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
647
647
  */
648
648
  if (symbol === undefined) {
649
649
  throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -666,7 +666,7 @@ class bitbns extends bitbns$1 {
666
666
  * @description fetches information on an order made by the user
667
667
  * @param {string} symbol unified symbol of the market the order was made in
668
668
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
669
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
669
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
670
670
  */
671
671
  if (symbol === undefined) {
672
672
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -716,7 +716,7 @@ class bitbns extends bitbns$1 {
716
716
  * @param {int} [since] the earliest time in ms to fetch open orders for
717
717
  * @param {int} [limit] the maximum number of open orders structures to retrieve
718
718
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
719
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
719
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
720
720
  */
721
721
  if (symbol === undefined) {
722
722
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -841,7 +841,7 @@ class bitbns extends bitbns$1 {
841
841
  * @param {int} [since] the earliest time in ms to fetch trades for
842
842
  * @param {int} [limit] the maximum number of trades structures to retrieve
843
843
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
844
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
844
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
845
845
  */
846
846
  if (symbol === undefined) {
847
847
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -939,7 +939,7 @@ class bitbns extends bitbns$1 {
939
939
  * @param {int} [since] the earliest time in ms to fetch deposits for
940
940
  * @param {int} [limit] the maximum number of deposits structures to retrieve
941
941
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
942
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
942
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
943
943
  */
944
944
  if (code === undefined) {
945
945
  throw new errors.ArgumentsRequired(this.id + ' fetchDeposits() requires a currency code argument');
@@ -986,7 +986,7 @@ class bitbns extends bitbns$1 {
986
986
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
987
987
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
988
988
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
989
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
989
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
990
990
  */
991
991
  if (code === undefined) {
992
992
  throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawals() requires a currency code argument');
@@ -1097,7 +1097,7 @@ class bitbns extends bitbns$1 {
1097
1097
  * @description fetch the deposit address for a currency associated with this account
1098
1098
  * @param {string} code unified currency code
1099
1099
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
1100
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1100
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1101
1101
  */
1102
1102
  await this.loadMarkets();
1103
1103
  const currency = this.currency(code);
@@ -402,7 +402,7 @@ class bitfinex extends bitfinex$1 {
402
402
  * @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
403
403
  * @param {string[]|undefined} codes list of unified currency codes
404
404
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
405
- * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
405
+ * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
406
406
  */
407
407
  await this.loadMarkets();
408
408
  const result = {};
@@ -438,7 +438,7 @@ class bitfinex extends bitfinex$1 {
438
438
  * @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
439
439
  * @param {string[]|undefined} codes list of unified currency codes
440
440
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
441
- * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
441
+ * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
442
442
  */
443
443
  await this.loadMarkets();
444
444
  const response = await this.privatePostAccountFees(params);
@@ -476,7 +476,7 @@ class bitfinex extends bitfinex$1 {
476
476
  * @name bitfinex#fetchTradingFees
477
477
  * @description fetch the trading fees for multiple markets
478
478
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
479
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
479
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
480
480
  */
481
481
  await this.loadMarkets();
482
482
  const response = await this.privatePostSummary(params);
@@ -742,7 +742,7 @@ class bitfinex extends bitfinex$1 {
742
742
  * @param {string} fromAccount account to transfer from
743
743
  * @param {string} toAccount account to transfer to
744
744
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
745
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
745
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
746
746
  */
747
747
  // transferring between derivatives wallet and regular wallet is not documented in their API
748
748
  // however we support it in CCXT (from just looking at web inspector)
@@ -826,7 +826,7 @@ class bitfinex extends bitfinex$1 {
826
826
  * @param {string} symbol unified symbol of the market to fetch the order book for
827
827
  * @param {int} [limit] the maximum amount of order book entries to return
828
828
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
829
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
829
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
830
830
  */
831
831
  await this.loadMarkets();
832
832
  const market = this.market(symbol);
@@ -847,7 +847,7 @@ class bitfinex extends bitfinex$1 {
847
847
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
848
848
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
849
849
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
850
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
850
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
851
851
  */
852
852
  await this.loadMarkets();
853
853
  symbols = this.marketSymbols(symbols);
@@ -867,7 +867,7 @@ class bitfinex extends bitfinex$1 {
867
867
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
868
868
  * @param {string} symbol unified symbol of the market to fetch the ticker for
869
869
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
870
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
870
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
871
871
  */
872
872
  await this.loadMarkets();
873
873
  const market = this.market(symbol);
@@ -1016,7 +1016,7 @@ class bitfinex extends bitfinex$1 {
1016
1016
  * @param {int} [since] the earliest time in ms to fetch trades for
1017
1017
  * @param {int} [limit] the maximum number of trades structures to retrieve
1018
1018
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1019
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1019
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1020
1020
  */
1021
1021
  if (symbol === undefined) {
1022
1022
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
@@ -1044,9 +1044,9 @@ class bitfinex extends bitfinex$1 {
1044
1044
  * @param {string} type 'market' or 'limit'
1045
1045
  * @param {string} side 'buy' or 'sell'
1046
1046
  * @param {float} amount how much of currency you want to trade in units of base currency
1047
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1047
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1048
1048
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1049
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1049
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1050
1050
  */
1051
1051
  await this.loadMarkets();
1052
1052
  const market = this.market(symbol);
@@ -1110,7 +1110,7 @@ class bitfinex extends bitfinex$1 {
1110
1110
  * @param {string} id order id
1111
1111
  * @param {string} symbol not used by bitfinex cancelOrder ()
1112
1112
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1113
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1113
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1114
1114
  */
1115
1115
  await this.loadMarkets();
1116
1116
  const request = {
@@ -1211,7 +1211,7 @@ class bitfinex extends bitfinex$1 {
1211
1211
  * @param {int} [since] the earliest time in ms to fetch open orders for
1212
1212
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1213
1213
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1214
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1214
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1215
1215
  */
1216
1216
  await this.loadMarkets();
1217
1217
  if (symbol !== undefined) {
@@ -1235,7 +1235,7 @@ class bitfinex extends bitfinex$1 {
1235
1235
  * @param {int} [since] the earliest time in ms to fetch orders for
1236
1236
  * @param {int} [limit] the maximum number of orde structures to retrieve
1237
1237
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1238
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1238
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1239
1239
  */
1240
1240
  await this.loadMarkets();
1241
1241
  symbol = this.symbol(symbol);
@@ -1258,7 +1258,7 @@ class bitfinex extends bitfinex$1 {
1258
1258
  * @description fetches information on an order made by the user
1259
1259
  * @param {string} symbol not used by bitfinex fetchOrder
1260
1260
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1261
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1261
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1262
1262
  */
1263
1263
  await this.loadMarkets();
1264
1264
  const request = {
@@ -1338,7 +1338,7 @@ class bitfinex extends bitfinex$1 {
1338
1338
  * @description create a currency deposit address
1339
1339
  * @param {string} code unified currency code of the currency for the deposit address
1340
1340
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1341
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1341
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1342
1342
  */
1343
1343
  await this.loadMarkets();
1344
1344
  const request = {
@@ -1353,7 +1353,7 @@ class bitfinex extends bitfinex$1 {
1353
1353
  * @description fetch the deposit address for a currency associated with this account
1354
1354
  * @param {string} code unified currency code
1355
1355
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1356
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1356
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1357
1357
  */
1358
1358
  await this.loadMarkets();
1359
1359
  // todo rewrite for https://api-pub.bitfinex.com//v2/conf/pub:map:tx:method
@@ -1388,7 +1388,7 @@ class bitfinex extends bitfinex$1 {
1388
1388
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1389
1389
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1390
1390
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1391
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1391
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1392
1392
  */
1393
1393
  await this.loadMarkets();
1394
1394
  let currencyId = this.safeString(params, 'currency');
@@ -1524,7 +1524,7 @@ class bitfinex extends bitfinex$1 {
1524
1524
  * @param {string} address the address to withdraw to
1525
1525
  * @param {string} tag
1526
1526
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1527
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1527
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1528
1528
  */
1529
1529
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1530
1530
  this.checkAddress(address);
@@ -1571,7 +1571,7 @@ class bitfinex extends bitfinex$1 {
1571
1571
  * @description fetch all open positions
1572
1572
  * @param {string[]|undefined} symbols list of unified market symbols
1573
1573
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1574
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1574
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
1575
1575
  */
1576
1576
  await this.loadMarkets();
1577
1577
  const response = await this.privatePostPositions(params);