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
@@ -974,7 +974,7 @@ class phemex extends phemex$1 {
974
974
  * @param {string} symbol unified symbol of the market to fetch the order book for
975
975
  * @param {int} [limit] the maximum amount of order book entries to return
976
976
  * @param {object} [params] extra parameters specific to the phemex api endpoint
977
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
977
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
978
978
  */
979
979
  await this.loadMarkets();
980
980
  const market = this.market(symbol);
@@ -1261,7 +1261,7 @@ class phemex extends phemex$1 {
1261
1261
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1262
1262
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1263
1263
  * @param {object} [params] extra parameters specific to the phemex api endpoint
1264
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1264
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1265
1265
  */
1266
1266
  await this.loadMarkets();
1267
1267
  const market = this.market(symbol);
@@ -1336,7 +1336,7 @@ class phemex extends phemex$1 {
1336
1336
  * @see https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols // inverse
1337
1337
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1338
1338
  * @param {object} [params] extra parameters specific to the phemex api endpoint
1339
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1339
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1340
1340
  */
1341
1341
  await this.loadMarkets();
1342
1342
  let market = undefined;
@@ -2282,13 +2282,13 @@ class phemex extends phemex$1 {
2282
2282
  * @param {string} type 'market' or 'limit'
2283
2283
  * @param {string} side 'buy' or 'sell'
2284
2284
  * @param {float} amount how much of currency you want to trade in units of base currency
2285
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2285
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2286
2286
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2287
2287
  * @param {object} [params.takeProfit] *swap only* *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered (perpetual swap markets only)
2288
2288
  * @param {float} [params.takeProfit.triggerPrice] take profit trigger price
2289
2289
  * @param {object} [params.stopLoss] *swap only* *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered (perpetual swap markets only)
2290
2290
  * @param {float} [params.stopLoss.triggerPrice] stop loss trigger price
2291
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2291
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2292
2292
  */
2293
2293
  await this.loadMarkets();
2294
2294
  const market = this.market(symbol);
@@ -2582,10 +2582,10 @@ class phemex extends phemex$1 {
2582
2582
  * @param {string} type 'market' or 'limit'
2583
2583
  * @param {string} side 'buy' or 'sell'
2584
2584
  * @param {float} amount how much of currency you want to trade in units of base currency
2585
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2585
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2586
2586
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2587
2587
  * @param {string} [params.posSide] either 'Merged' or 'Long' or 'Short'
2588
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2588
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2589
2589
  */
2590
2590
  if (symbol === undefined) {
2591
2591
  throw new errors.ArgumentsRequired(this.id + ' editOrder() requires a symbol argument');
@@ -2661,7 +2661,7 @@ class phemex extends phemex$1 {
2661
2661
  * @param {string} symbol unified symbol of the market the order was made in
2662
2662
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2663
2663
  * @param {string} [params.posSide] either 'Merged' or 'Long' or 'Short'
2664
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2664
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2665
2665
  */
2666
2666
  if (symbol === undefined) {
2667
2667
  throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -2702,7 +2702,7 @@ class phemex extends phemex$1 {
2702
2702
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2703
2703
  * @param {string} symbol unified market symbol of the market to cancel orders in
2704
2704
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2705
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2705
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2706
2706
  */
2707
2707
  if (symbol === undefined) {
2708
2708
  throw new errors.ArgumentsRequired(this.id + ' cancelAllOrders() requires a symbol argument');
@@ -2731,7 +2731,7 @@ class phemex extends phemex$1 {
2731
2731
  * @description fetches information on an order made by the user
2732
2732
  * @param {string} symbol unified symbol of the market the order was made in
2733
2733
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2734
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2734
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2735
2735
  */
2736
2736
  if (symbol === undefined) {
2737
2737
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -2780,7 +2780,7 @@ class phemex extends phemex$1 {
2780
2780
  * @param {int} [since] the earliest time in ms to fetch orders for
2781
2781
  * @param {int} [limit] the maximum number of orde structures to retrieve
2782
2782
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2783
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2783
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2784
2784
  */
2785
2785
  if (symbol === undefined) {
2786
2786
  throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
@@ -2820,7 +2820,7 @@ class phemex extends phemex$1 {
2820
2820
  * @param {int} [since] the earliest time in ms to fetch open orders for
2821
2821
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2822
2822
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2823
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2823
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2824
2824
  */
2825
2825
  if (symbol === undefined) {
2826
2826
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -2866,7 +2866,7 @@ class phemex extends phemex$1 {
2866
2866
  * @param {int} [since] the earliest time in ms to fetch orders for
2867
2867
  * @param {int} [limit] the maximum number of orde structures to retrieve
2868
2868
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2869
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2869
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2870
2870
  */
2871
2871
  if (symbol === undefined) {
2872
2872
  throw new errors.ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -2947,7 +2947,7 @@ class phemex extends phemex$1 {
2947
2947
  * @param {int} [since] the earliest time in ms to fetch trades for
2948
2948
  * @param {int} [limit] the maximum number of trades structures to retrieve
2949
2949
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2950
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2950
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2951
2951
  */
2952
2952
  if (symbol === undefined) {
2953
2953
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -3101,7 +3101,7 @@ class phemex extends phemex$1 {
3101
3101
  * @description fetch the deposit address for a currency associated with this account
3102
3102
  * @param {string} code unified currency code
3103
3103
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3104
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
3104
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
3105
3105
  */
3106
3106
  await this.loadMarkets();
3107
3107
  const currency = this.currency(code);
@@ -3151,7 +3151,7 @@ class phemex extends phemex$1 {
3151
3151
  * @param {int} [since] the earliest time in ms to fetch deposits for
3152
3152
  * @param {int} [limit] the maximum number of deposits structures to retrieve
3153
3153
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3154
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
3154
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3155
3155
  */
3156
3156
  await this.loadMarkets();
3157
3157
  let currency = undefined;
@@ -3191,7 +3191,7 @@ class phemex extends phemex$1 {
3191
3191
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
3192
3192
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
3193
3193
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3194
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
3194
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3195
3195
  */
3196
3196
  await this.loadMarkets();
3197
3197
  let currency = undefined;
@@ -3315,7 +3315,7 @@ class phemex extends phemex$1 {
3315
3315
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3316
3316
  * @param {string[]|undefined} symbols list of unified market symbols
3317
3317
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3318
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3318
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3319
3319
  */
3320
3320
  await this.loadMarkets();
3321
3321
  symbols = this.marketSymbols(symbols);
@@ -3589,7 +3589,7 @@ class phemex extends phemex$1 {
3589
3589
  * @param {int} [since] the earliest time in ms to fetch funding history for
3590
3590
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3591
3591
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3592
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3592
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
3593
3593
  */
3594
3594
  await this.loadMarkets();
3595
3595
  if (symbol === undefined) {
@@ -3659,7 +3659,7 @@ class phemex extends phemex$1 {
3659
3659
  * @description fetch the current funding rate
3660
3660
  * @param {string} symbol unified market symbol
3661
3661
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3662
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3662
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
3663
3663
  */
3664
3664
  await this.loadMarkets();
3665
3665
  const market = this.market(symbol);
@@ -3772,7 +3772,7 @@ class phemex extends phemex$1 {
3772
3772
  * @param {string} symbol unified market symbol of the market to set margin in
3773
3773
  * @param {float} amount the amount to set the margin to
3774
3774
  * @param {object} [params] parameters specific to the phemex api endpoint
3775
- * @returns {object} A [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3775
+ * @returns {object} A [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
3776
3776
  */
3777
3777
  await this.loadMarkets();
3778
3778
  const market = this.market(symbol);
@@ -3887,7 +3887,7 @@ class phemex extends phemex$1 {
3887
3887
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3888
3888
  * @param {string[]|undefined} symbols list of unified market symbols
3889
3889
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3890
- * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
3890
+ * @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
3891
3891
  */
3892
3892
  await this.loadMarkets();
3893
3893
  if (symbols !== undefined) {
@@ -4109,7 +4109,7 @@ class phemex extends phemex$1 {
4109
4109
  * @param {string} toAccount account to transfer to
4110
4110
  * @param {object} [params] extra parameters specific to the phemex api endpoint
4111
4111
  * @param {string} [params.bizType] for transferring between main and sub-acounts either 'SPOT' or 'PERPETUAL' default is 'SPOT'
4112
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4112
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4113
4113
  */
4114
4114
  await this.loadMarkets();
4115
4115
  const currency = this.currency(code);
@@ -4194,7 +4194,7 @@ class phemex extends phemex$1 {
4194
4194
  * @param {int} [since] the earliest time in ms to fetch transfers for
4195
4195
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4196
4196
  * @param {object} [params] extra parameters specific to the phemex api endpoint
4197
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4197
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4198
4198
  */
4199
4199
  await this.loadMarkets();
4200
4200
  if (code === undefined) {
@@ -551,26 +551,33 @@ class poloniex extends poloniex$1 {
551
551
  //
552
552
  // {
553
553
  // "symbol" : "BTC_USDT",
554
- // "open" : "22814.93",
555
- // "low" : "22441.90",
556
- // "high" : "23413.00",
557
- // "close" : "23148.66",
558
- // "quantity" : "71.743706",
559
- // "amount" : "1638994.52683452",
560
- // "tradeCount" : 3893,
561
- // "startTime" : 1659605760000,
562
- // "closeTime" : 1659692161077,
554
+ // "open" : "26053.33",
555
+ // "low" : "26053.33",
556
+ // "high" : "26798.02",
557
+ // "close" : "26447.58",
558
+ // "quantity" : "6116.210188",
559
+ // "amount" : "161082122.88450926",
560
+ // "tradeCount" : "134709",
561
+ // "startTime" : "1692784440000",
562
+ // "closeTime" : "1692870839630",
563
563
  // "displayName" : "BTC/USDT",
564
- // "dailyChange" : "0.0152",
565
- // "ts" : 1659692169838
564
+ // "dailyChange" : "0.0151",
565
+ // "bid" : "26447.57",
566
+ // "bidQuantity" : "0.016313",
567
+ // "ask" : "26447.58",
568
+ // "askQuantity" : "0.068307",
569
+ // "ts" : "1692870845446",
570
+ // "markPrice" : "26444.11"
566
571
  // }
567
572
  //
568
573
  const timestamp = this.safeInteger(ticker, 'ts');
569
574
  const marketId = this.safeString(ticker, 'symbol');
570
575
  market = this.safeMarket(marketId);
571
576
  const close = this.safeString(ticker, 'close');
572
- const relativeChange = this.safeString(ticker, 'percentChange');
577
+ const relativeChange = this.safeString(ticker, 'dailyChange');
573
578
  const percentage = Precise["default"].stringMul(relativeChange, '100');
579
+ const bidVolume = this.safeString(ticker, 'bidQuantity');
580
+ const askVolume = this.safeString(ticker, 'askQuantity');
574
581
  return this.safeTicker({
575
582
  'id': marketId,
576
583
  'symbol': market['symbol'],
@@ -578,10 +585,10 @@ class poloniex extends poloniex$1 {
578
585
  'datetime': this.iso8601(timestamp),
579
586
  'high': this.safeString(ticker, 'high'),
580
587
  'low': this.safeString(ticker, 'low'),
581
- 'bid': undefined,
582
- 'bidVolume': undefined,
583
- 'ask': undefined,
584
- 'askVolume': undefined,
588
+ 'bid': this.safeString(ticker, 'bid'),
589
+ 'bidVolume': bidVolume,
590
+ 'ask': this.safeString(ticker, 'ask'),
591
+ 'askVolume': askVolume,
585
592
  'vwap': undefined,
586
593
  'open': this.safeString(ticker, 'open'),
587
594
  'close': close,
@@ -603,7 +610,7 @@ class poloniex extends poloniex$1 {
603
610
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
604
611
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
605
612
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
606
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
613
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
607
614
  */
608
615
  await this.loadMarkets();
609
616
  symbols = this.marketSymbols(symbols);
@@ -611,19 +618,24 @@ class poloniex extends poloniex$1 {
611
618
  //
612
619
  // [
613
620
  // {
614
- // "symbol" : "KUB_USDD",
615
- // "open" : "0",
616
- // "low" : "0",
617
- // "high" : "0",
618
- // "close" : "0",
619
- // "quantity" : "0",
620
- // "amount" : "0",
621
- // "tradeCount" : 0,
622
- // "startTime" : 1659606240000,
623
- // "closeTime" : 1659692648742,
624
- // "displayName" : "KUB/USDD",
625
- // "dailyChange" : "0.00",
626
- // "ts" : 1659692648742
621
+ // "symbol" : "BTC_USDT",
622
+ // "open" : "26053.33",
623
+ // "low" : "26053.33",
624
+ // "high" : "26798.02",
625
+ // "close" : "26447.58",
626
+ // "quantity" : "6116.210188",
627
+ // "amount" : "161082122.88450926",
628
+ // "tradeCount" : "134709",
629
+ // "startTime" : "1692784440000",
630
+ // "closeTime" : "1692870839630",
631
+ // "displayName" : "BTC/USDT",
632
+ // "dailyChange" : "0.0151",
633
+ // "bid" : "26447.57",
634
+ // "bidQuantity" : "0.016313",
635
+ // "ask" : "26447.58",
636
+ // "askQuantity" : "0.068307",
637
+ // "ts" : "1692870845446",
638
+ // "markPrice" : "26444.11"
627
639
  // }
628
640
  // ]
629
641
  //
@@ -770,7 +782,7 @@ class poloniex extends poloniex$1 {
770
782
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
771
783
  * @param {string} symbol unified symbol of the market to fetch the ticker for
772
784
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
773
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
785
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
774
786
  */
775
787
  await this.loadMarkets();
776
788
  const market = this.market(symbol);
@@ -781,18 +793,23 @@ class poloniex extends poloniex$1 {
781
793
  //
782
794
  // {
783
795
  // "symbol" : "BTC_USDT",
784
- // "open" : "22814.93",
785
- // "low" : "22441.90",
786
- // "high" : "23413.00",
787
- // "close" : "23148.66",
788
- // "quantity" : "71.743706",
789
- // "amount" : "1638994.52683452",
790
- // "tradeCount" : 3893,
791
- // "startTime" : 1659605760000,
792
- // "closeTime" : 1659692161077,
796
+ // "open" : "26053.33",
797
+ // "low" : "26053.33",
798
+ // "high" : "26798.02",
799
+ // "close" : "26447.58",
800
+ // "quantity" : "6116.210188",
801
+ // "amount" : "161082122.88450926",
802
+ // "tradeCount" : "134709",
803
+ // "startTime" : "1692784440000",
804
+ // "closeTime" : "1692870839630",
793
805
  // "displayName" : "BTC/USDT",
794
- // "dailyChange" : "0.0152",
795
- // "ts" : 1659692169838
806
+ // "dailyChange" : "0.0151",
807
+ // "bid" : "26447.57",
808
+ // "bidQuantity" : "0.016313",
809
+ // "ask" : "26447.58",
810
+ // "askQuantity" : "0.068307",
811
+ // "ts" : "1692870845446",
812
+ // "markPrice" : "26444.11"
796
813
  // }
797
814
  //
798
815
  return this.parseTicker(response, market);
@@ -934,7 +951,7 @@ class poloniex extends poloniex$1 {
934
951
  * @param {int} [since] the earliest time in ms to fetch trades for
935
952
  * @param {int} [limit] the maximum number of trades structures to retrieve
936
953
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
937
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
954
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
938
955
  */
939
956
  await this.loadMarkets();
940
957
  let market = undefined;
@@ -1136,7 +1153,7 @@ class poloniex extends poloniex$1 {
1136
1153
  * @param {int} [since] the earliest time in ms to fetch open orders for
1137
1154
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1138
1155
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1139
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1156
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1140
1157
  */
1141
1158
  await this.loadMarkets();
1142
1159
  let market = undefined;
@@ -1186,7 +1203,7 @@ class poloniex extends poloniex$1 {
1186
1203
  * @param {float} amount how much of currency you want to trade in units of base currency
1187
1204
  * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1188
1205
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1189
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1206
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1190
1207
  */
1191
1208
  // if (type === 'market') {
1192
1209
  // throw new ExchangeError (this.id + ' createOrder() does not accept market orders');
@@ -1259,7 +1276,7 @@ class poloniex extends poloniex$1 {
1259
1276
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1260
1277
  * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1261
1278
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1262
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1279
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1263
1280
  */
1264
1281
  await this.loadMarkets();
1265
1282
  const market = this.market(symbol);
@@ -1292,7 +1309,7 @@ class poloniex extends poloniex$1 {
1292
1309
  * @param {string} id order id
1293
1310
  * @param {string} symbol unified symbol of the market the order was made in
1294
1311
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1295
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1312
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1296
1313
  */
1297
1314
  await this.loadMarkets();
1298
1315
  const request = {};
@@ -1322,7 +1339,7 @@ class poloniex extends poloniex$1 {
1322
1339
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1323
1340
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1324
1341
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1325
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1342
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1326
1343
  */
1327
1344
  await this.loadMarkets();
1328
1345
  const request = {
@@ -1364,7 +1381,7 @@ class poloniex extends poloniex$1 {
1364
1381
  * @param {string} id order id
1365
1382
  * @param {string} symbol unified market symbol, default is undefined
1366
1383
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1367
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1384
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1368
1385
  */
1369
1386
  await this.loadMarkets();
1370
1387
  id = id.toString();
@@ -1413,7 +1430,7 @@ class poloniex extends poloniex$1 {
1413
1430
  * @param {int} [since] the earliest time in ms to fetch trades for
1414
1431
  * @param {int} [limit] the maximum number of trades to retrieve
1415
1432
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1416
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1433
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1417
1434
  */
1418
1435
  await this.loadMarkets();
1419
1436
  const request = {
@@ -1503,7 +1520,7 @@ class poloniex extends poloniex$1 {
1503
1520
  * @description fetch the trading fees for multiple markets
1504
1521
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1505
1522
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1506
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1523
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1507
1524
  */
1508
1525
  await this.loadMarkets();
1509
1526
  const response = await this.privateGetFeeinfo(params);
@@ -1538,7 +1555,7 @@ class poloniex extends poloniex$1 {
1538
1555
  * @param {string} symbol unified symbol of the market to fetch the order book for
1539
1556
  * @param {int} [limit] the maximum amount of order book entries to return
1540
1557
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1541
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1558
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1542
1559
  */
1543
1560
  await this.loadMarkets();
1544
1561
  const market = this.market(symbol);
@@ -1594,7 +1611,7 @@ class poloniex extends poloniex$1 {
1594
1611
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1595
1612
  * @param {string} code unified currency code of the currency for the deposit address
1596
1613
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1597
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1614
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1598
1615
  */
1599
1616
  await this.loadMarkets();
1600
1617
  const currency = this.currency(code);
@@ -1645,7 +1662,7 @@ class poloniex extends poloniex$1 {
1645
1662
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1646
1663
  * @param {string} code unified currency code
1647
1664
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1648
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1665
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1649
1666
  */
1650
1667
  await this.loadMarkets();
1651
1668
  const currency = this.currency(code);
@@ -1699,7 +1716,7 @@ class poloniex extends poloniex$1 {
1699
1716
  * @param {string} fromAccount account to transfer from
1700
1717
  * @param {string} toAccount account to transfer to
1701
1718
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1702
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1719
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1703
1720
  */
1704
1721
  await this.loadMarkets();
1705
1722
  const currency = this.currency(code);
@@ -1750,7 +1767,7 @@ class poloniex extends poloniex$1 {
1750
1767
  * @param {string} address the address to withdraw to
1751
1768
  * @param {string} tag
1752
1769
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1753
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1770
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1754
1771
  */
1755
1772
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1756
1773
  this.checkAddress(address);
@@ -1874,7 +1891,7 @@ class poloniex extends poloniex$1 {
1874
1891
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1875
1892
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1876
1893
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1877
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1894
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1878
1895
  */
1879
1896
  await this.loadMarkets();
1880
1897
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -1899,7 +1916,7 @@ class poloniex extends poloniex$1 {
1899
1916
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1900
1917
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1901
1918
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1902
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1919
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1903
1920
  */
1904
1921
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
1905
1922
  let currency = undefined;
@@ -1918,7 +1935,7 @@ class poloniex extends poloniex$1 {
1918
1935
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
1919
1936
  * @param {string[]|undefined} codes list of unified currency codes
1920
1937
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1921
- * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1938
+ * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1922
1939
  */
1923
1940
  await this.loadMarkets();
1924
1941
  const response = await this.publicGetCurrencies(this.extend(params, { 'includeMultiChainCurrencies': true }));
@@ -2044,7 +2061,7 @@ class poloniex extends poloniex$1 {
2044
2061
  * @param {int} [since] the earliest time in ms to fetch deposits for
2045
2062
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2046
2063
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
2047
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2064
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2048
2065
  */
2049
2066
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
2050
2067
  let currency = undefined;