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
package/js/src/phemex.js CHANGED
@@ -977,7 +977,7 @@ export default class phemex extends Exchange {
977
977
  * @param {string} symbol unified symbol of the market to fetch the order book for
978
978
  * @param {int} [limit] the maximum amount of order book entries to return
979
979
  * @param {object} [params] extra parameters specific to the phemex api endpoint
980
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
980
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
981
981
  */
982
982
  await this.loadMarkets();
983
983
  const market = this.market(symbol);
@@ -1264,7 +1264,7 @@ export default class phemex extends Exchange {
1264
1264
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1265
1265
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1266
1266
  * @param {object} [params] extra parameters specific to the phemex api endpoint
1267
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1267
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1268
1268
  */
1269
1269
  await this.loadMarkets();
1270
1270
  const market = this.market(symbol);
@@ -1339,7 +1339,7 @@ export default class phemex extends Exchange {
1339
1339
  * @see https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols // inverse
1340
1340
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1341
1341
  * @param {object} [params] extra parameters specific to the phemex api endpoint
1342
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1342
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1343
1343
  */
1344
1344
  await this.loadMarkets();
1345
1345
  let market = undefined;
@@ -2285,13 +2285,13 @@ export default class phemex extends Exchange {
2285
2285
  * @param {string} type 'market' or 'limit'
2286
2286
  * @param {string} side 'buy' or 'sell'
2287
2287
  * @param {float} amount how much of currency you want to trade in units of base currency
2288
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2288
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2289
2289
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2290
2290
  * @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)
2291
2291
  * @param {float} [params.takeProfit.triggerPrice] take profit trigger price
2292
2292
  * @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)
2293
2293
  * @param {float} [params.stopLoss.triggerPrice] stop loss trigger price
2294
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2294
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2295
2295
  */
2296
2296
  await this.loadMarkets();
2297
2297
  const market = this.market(symbol);
@@ -2585,10 +2585,10 @@ export default class phemex extends Exchange {
2585
2585
  * @param {string} type 'market' or 'limit'
2586
2586
  * @param {string} side 'buy' or 'sell'
2587
2587
  * @param {float} amount how much of currency you want to trade in units of base currency
2588
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2588
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2589
2589
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2590
2590
  * @param {string} [params.posSide] either 'Merged' or 'Long' or 'Short'
2591
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2591
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2592
2592
  */
2593
2593
  if (symbol === undefined) {
2594
2594
  throw new ArgumentsRequired(this.id + ' editOrder() requires a symbol argument');
@@ -2664,7 +2664,7 @@ export default class phemex extends Exchange {
2664
2664
  * @param {string} symbol unified symbol of the market the order was made in
2665
2665
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2666
2666
  * @param {string} [params.posSide] either 'Merged' or 'Long' or 'Short'
2667
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2667
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2668
2668
  */
2669
2669
  if (symbol === undefined) {
2670
2670
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -2705,7 +2705,7 @@ export default class phemex extends Exchange {
2705
2705
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2706
2706
  * @param {string} symbol unified market symbol of the market to cancel orders in
2707
2707
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2708
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2708
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2709
2709
  */
2710
2710
  if (symbol === undefined) {
2711
2711
  throw new ArgumentsRequired(this.id + ' cancelAllOrders() requires a symbol argument');
@@ -2734,7 +2734,7 @@ export default class phemex extends Exchange {
2734
2734
  * @description fetches information on an order made by the user
2735
2735
  * @param {string} symbol unified symbol of the market the order was made in
2736
2736
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2737
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2737
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2738
2738
  */
2739
2739
  if (symbol === undefined) {
2740
2740
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -2783,7 +2783,7 @@ export default class phemex extends Exchange {
2783
2783
  * @param {int} [since] the earliest time in ms to fetch orders for
2784
2784
  * @param {int} [limit] the maximum number of orde structures to retrieve
2785
2785
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2786
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2786
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2787
2787
  */
2788
2788
  if (symbol === undefined) {
2789
2789
  throw new ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
@@ -2823,7 +2823,7 @@ export default class phemex extends Exchange {
2823
2823
  * @param {int} [since] the earliest time in ms to fetch open orders for
2824
2824
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2825
2825
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2826
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2826
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2827
2827
  */
2828
2828
  if (symbol === undefined) {
2829
2829
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -2869,7 +2869,7 @@ export default class phemex extends Exchange {
2869
2869
  * @param {int} [since] the earliest time in ms to fetch orders for
2870
2870
  * @param {int} [limit] the maximum number of orde structures to retrieve
2871
2871
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2872
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2872
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2873
2873
  */
2874
2874
  if (symbol === undefined) {
2875
2875
  throw new ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -2950,7 +2950,7 @@ export default class phemex extends Exchange {
2950
2950
  * @param {int} [since] the earliest time in ms to fetch trades for
2951
2951
  * @param {int} [limit] the maximum number of trades structures to retrieve
2952
2952
  * @param {object} [params] extra parameters specific to the phemex api endpoint
2953
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2953
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2954
2954
  */
2955
2955
  if (symbol === undefined) {
2956
2956
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -3104,7 +3104,7 @@ export default class phemex extends Exchange {
3104
3104
  * @description fetch the deposit address for a currency associated with this account
3105
3105
  * @param {string} code unified currency code
3106
3106
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3107
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
3107
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
3108
3108
  */
3109
3109
  await this.loadMarkets();
3110
3110
  const currency = this.currency(code);
@@ -3154,7 +3154,7 @@ export default class phemex extends Exchange {
3154
3154
  * @param {int} [since] the earliest time in ms to fetch deposits for
3155
3155
  * @param {int} [limit] the maximum number of deposits structures to retrieve
3156
3156
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3157
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
3157
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3158
3158
  */
3159
3159
  await this.loadMarkets();
3160
3160
  let currency = undefined;
@@ -3194,7 +3194,7 @@ export default class phemex extends Exchange {
3194
3194
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
3195
3195
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
3196
3196
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3197
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
3197
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3198
3198
  */
3199
3199
  await this.loadMarkets();
3200
3200
  let currency = undefined;
@@ -3318,7 +3318,7 @@ export default class phemex extends Exchange {
3318
3318
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3319
3319
  * @param {string[]|undefined} symbols list of unified market symbols
3320
3320
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3321
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3321
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
3322
3322
  */
3323
3323
  await this.loadMarkets();
3324
3324
  symbols = this.marketSymbols(symbols);
@@ -3592,7 +3592,7 @@ export default class phemex extends Exchange {
3592
3592
  * @param {int} [since] the earliest time in ms to fetch funding history for
3593
3593
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3594
3594
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3595
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3595
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
3596
3596
  */
3597
3597
  await this.loadMarkets();
3598
3598
  if (symbol === undefined) {
@@ -3662,7 +3662,7 @@ export default class phemex extends Exchange {
3662
3662
  * @description fetch the current funding rate
3663
3663
  * @param {string} symbol unified market symbol
3664
3664
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3665
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3665
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
3666
3666
  */
3667
3667
  await this.loadMarkets();
3668
3668
  const market = this.market(symbol);
@@ -3775,7 +3775,7 @@ export default class phemex extends Exchange {
3775
3775
  * @param {string} symbol unified market symbol of the market to set margin in
3776
3776
  * @param {float} amount the amount to set the margin to
3777
3777
  * @param {object} [params] parameters specific to the phemex api endpoint
3778
- * @returns {object} A [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3778
+ * @returns {object} A [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
3779
3779
  */
3780
3780
  await this.loadMarkets();
3781
3781
  const market = this.market(symbol);
@@ -3890,7 +3890,7 @@ export default class phemex extends Exchange {
3890
3890
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3891
3891
  * @param {string[]|undefined} symbols list of unified market symbols
3892
3892
  * @param {object} [params] extra parameters specific to the phemex api endpoint
3893
- * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
3893
+ * @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
3894
3894
  */
3895
3895
  await this.loadMarkets();
3896
3896
  if (symbols !== undefined) {
@@ -4112,7 +4112,7 @@ export default class phemex extends Exchange {
4112
4112
  * @param {string} toAccount account to transfer to
4113
4113
  * @param {object} [params] extra parameters specific to the phemex api endpoint
4114
4114
  * @param {string} [params.bizType] for transferring between main and sub-acounts either 'SPOT' or 'PERPETUAL' default is 'SPOT'
4115
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4115
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4116
4116
  */
4117
4117
  await this.loadMarkets();
4118
4118
  const currency = this.currency(code);
@@ -4197,7 +4197,7 @@ export default class phemex extends Exchange {
4197
4197
  * @param {int} [since] the earliest time in ms to fetch transfers for
4198
4198
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4199
4199
  * @param {object} [params] extra parameters specific to the phemex api endpoint
4200
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4200
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4201
4201
  */
4202
4202
  await this.loadMarkets();
4203
4203
  if (code === undefined) {
@@ -554,26 +554,33 @@ export default class poloniex extends Exchange {
554
554
  //
555
555
  // {
556
556
  // "symbol" : "BTC_USDT",
557
- // "open" : "22814.93",
558
- // "low" : "22441.90",
559
- // "high" : "23413.00",
560
- // "close" : "23148.66",
561
- // "quantity" : "71.743706",
562
- // "amount" : "1638994.52683452",
563
- // "tradeCount" : 3893,
564
- // "startTime" : 1659605760000,
565
- // "closeTime" : 1659692161077,
557
+ // "open" : "26053.33",
558
+ // "low" : "26053.33",
559
+ // "high" : "26798.02",
560
+ // "close" : "26447.58",
561
+ // "quantity" : "6116.210188",
562
+ // "amount" : "161082122.88450926",
563
+ // "tradeCount" : "134709",
564
+ // "startTime" : "1692784440000",
565
+ // "closeTime" : "1692870839630",
566
566
  // "displayName" : "BTC/USDT",
567
- // "dailyChange" : "0.0152",
568
- // "ts" : 1659692169838
567
+ // "dailyChange" : "0.0151",
568
+ // "bid" : "26447.57",
569
+ // "bidQuantity" : "0.016313",
570
+ // "ask" : "26447.58",
571
+ // "askQuantity" : "0.068307",
572
+ // "ts" : "1692870845446",
573
+ // "markPrice" : "26444.11"
569
574
  // }
570
575
  //
571
576
  const timestamp = this.safeInteger(ticker, 'ts');
572
577
  const marketId = this.safeString(ticker, 'symbol');
573
578
  market = this.safeMarket(marketId);
574
579
  const close = this.safeString(ticker, 'close');
575
- const relativeChange = this.safeString(ticker, 'percentChange');
580
+ const relativeChange = this.safeString(ticker, 'dailyChange');
576
581
  const percentage = Precise.stringMul(relativeChange, '100');
582
+ const bidVolume = this.safeString(ticker, 'bidQuantity');
583
+ const askVolume = this.safeString(ticker, 'askQuantity');
577
584
  return this.safeTicker({
578
585
  'id': marketId,
579
586
  'symbol': market['symbol'],
@@ -581,10 +588,10 @@ export default class poloniex extends Exchange {
581
588
  'datetime': this.iso8601(timestamp),
582
589
  'high': this.safeString(ticker, 'high'),
583
590
  'low': this.safeString(ticker, 'low'),
584
- 'bid': undefined,
585
- 'bidVolume': undefined,
586
- 'ask': undefined,
587
- 'askVolume': undefined,
591
+ 'bid': this.safeString(ticker, 'bid'),
592
+ 'bidVolume': bidVolume,
593
+ 'ask': this.safeString(ticker, 'ask'),
594
+ 'askVolume': askVolume,
588
595
  'vwap': undefined,
589
596
  'open': this.safeString(ticker, 'open'),
590
597
  'close': close,
@@ -606,7 +613,7 @@ export default class poloniex extends Exchange {
606
613
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
607
614
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
608
615
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
609
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
616
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
610
617
  */
611
618
  await this.loadMarkets();
612
619
  symbols = this.marketSymbols(symbols);
@@ -614,19 +621,24 @@ export default class poloniex extends Exchange {
614
621
  //
615
622
  // [
616
623
  // {
617
- // "symbol" : "KUB_USDD",
618
- // "open" : "0",
619
- // "low" : "0",
620
- // "high" : "0",
621
- // "close" : "0",
622
- // "quantity" : "0",
623
- // "amount" : "0",
624
- // "tradeCount" : 0,
625
- // "startTime" : 1659606240000,
626
- // "closeTime" : 1659692648742,
627
- // "displayName" : "KUB/USDD",
628
- // "dailyChange" : "0.00",
629
- // "ts" : 1659692648742
624
+ // "symbol" : "BTC_USDT",
625
+ // "open" : "26053.33",
626
+ // "low" : "26053.33",
627
+ // "high" : "26798.02",
628
+ // "close" : "26447.58",
629
+ // "quantity" : "6116.210188",
630
+ // "amount" : "161082122.88450926",
631
+ // "tradeCount" : "134709",
632
+ // "startTime" : "1692784440000",
633
+ // "closeTime" : "1692870839630",
634
+ // "displayName" : "BTC/USDT",
635
+ // "dailyChange" : "0.0151",
636
+ // "bid" : "26447.57",
637
+ // "bidQuantity" : "0.016313",
638
+ // "ask" : "26447.58",
639
+ // "askQuantity" : "0.068307",
640
+ // "ts" : "1692870845446",
641
+ // "markPrice" : "26444.11"
630
642
  // }
631
643
  // ]
632
644
  //
@@ -773,7 +785,7 @@ export default class poloniex extends Exchange {
773
785
  * @see https://docs.poloniex.com/#public-endpoints-market-data-ticker
774
786
  * @param {string} symbol unified symbol of the market to fetch the ticker for
775
787
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
776
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
788
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
777
789
  */
778
790
  await this.loadMarkets();
779
791
  const market = this.market(symbol);
@@ -784,18 +796,23 @@ export default class poloniex extends Exchange {
784
796
  //
785
797
  // {
786
798
  // "symbol" : "BTC_USDT",
787
- // "open" : "22814.93",
788
- // "low" : "22441.90",
789
- // "high" : "23413.00",
790
- // "close" : "23148.66",
791
- // "quantity" : "71.743706",
792
- // "amount" : "1638994.52683452",
793
- // "tradeCount" : 3893,
794
- // "startTime" : 1659605760000,
795
- // "closeTime" : 1659692161077,
799
+ // "open" : "26053.33",
800
+ // "low" : "26053.33",
801
+ // "high" : "26798.02",
802
+ // "close" : "26447.58",
803
+ // "quantity" : "6116.210188",
804
+ // "amount" : "161082122.88450926",
805
+ // "tradeCount" : "134709",
806
+ // "startTime" : "1692784440000",
807
+ // "closeTime" : "1692870839630",
796
808
  // "displayName" : "BTC/USDT",
797
- // "dailyChange" : "0.0152",
798
- // "ts" : 1659692169838
809
+ // "dailyChange" : "0.0151",
810
+ // "bid" : "26447.57",
811
+ // "bidQuantity" : "0.016313",
812
+ // "ask" : "26447.58",
813
+ // "askQuantity" : "0.068307",
814
+ // "ts" : "1692870845446",
815
+ // "markPrice" : "26444.11"
799
816
  // }
800
817
  //
801
818
  return this.parseTicker(response, market);
@@ -937,7 +954,7 @@ export default class poloniex extends Exchange {
937
954
  * @param {int} [since] the earliest time in ms to fetch trades for
938
955
  * @param {int} [limit] the maximum number of trades structures to retrieve
939
956
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
940
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
957
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
941
958
  */
942
959
  await this.loadMarkets();
943
960
  let market = undefined;
@@ -1139,7 +1156,7 @@ export default class poloniex extends Exchange {
1139
1156
  * @param {int} [since] the earliest time in ms to fetch open orders for
1140
1157
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1141
1158
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1142
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1159
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1143
1160
  */
1144
1161
  await this.loadMarkets();
1145
1162
  let market = undefined;
@@ -1189,7 +1206,7 @@ export default class poloniex extends Exchange {
1189
1206
  * @param {float} amount how much of currency you want to trade in units of base currency
1190
1207
  * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1191
1208
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1192
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1209
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1193
1210
  */
1194
1211
  // if (type === 'market') {
1195
1212
  // throw new ExchangeError (this.id + ' createOrder() does not accept market orders');
@@ -1262,7 +1279,7 @@ export default class poloniex extends Exchange {
1262
1279
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1263
1280
  * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1264
1281
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1265
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1282
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1266
1283
  */
1267
1284
  await this.loadMarkets();
1268
1285
  const market = this.market(symbol);
@@ -1295,7 +1312,7 @@ export default class poloniex extends Exchange {
1295
1312
  * @param {string} id order id
1296
1313
  * @param {string} symbol unified symbol of the market the order was made in
1297
1314
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1298
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1315
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1299
1316
  */
1300
1317
  await this.loadMarkets();
1301
1318
  const request = {};
@@ -1325,7 +1342,7 @@ export default class poloniex extends Exchange {
1325
1342
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1326
1343
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1327
1344
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1328
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1345
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1329
1346
  */
1330
1347
  await this.loadMarkets();
1331
1348
  const request = {
@@ -1367,7 +1384,7 @@ export default class poloniex extends Exchange {
1367
1384
  * @param {string} id order id
1368
1385
  * @param {string} symbol unified market symbol, default is undefined
1369
1386
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1370
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1387
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1371
1388
  */
1372
1389
  await this.loadMarkets();
1373
1390
  id = id.toString();
@@ -1416,7 +1433,7 @@ export default class poloniex extends Exchange {
1416
1433
  * @param {int} [since] the earliest time in ms to fetch trades for
1417
1434
  * @param {int} [limit] the maximum number of trades to retrieve
1418
1435
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1419
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1436
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1420
1437
  */
1421
1438
  await this.loadMarkets();
1422
1439
  const request = {
@@ -1506,7 +1523,7 @@ export default class poloniex extends Exchange {
1506
1523
  * @description fetch the trading fees for multiple markets
1507
1524
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1508
1525
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1509
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1526
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1510
1527
  */
1511
1528
  await this.loadMarkets();
1512
1529
  const response = await this.privateGetFeeinfo(params);
@@ -1541,7 +1558,7 @@ export default class poloniex extends Exchange {
1541
1558
  * @param {string} symbol unified symbol of the market to fetch the order book for
1542
1559
  * @param {int} [limit] the maximum amount of order book entries to return
1543
1560
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1544
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1561
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1545
1562
  */
1546
1563
  await this.loadMarkets();
1547
1564
  const market = this.market(symbol);
@@ -1597,7 +1614,7 @@ export default class poloniex extends Exchange {
1597
1614
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1598
1615
  * @param {string} code unified currency code of the currency for the deposit address
1599
1616
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1600
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1617
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1601
1618
  */
1602
1619
  await this.loadMarkets();
1603
1620
  const currency = this.currency(code);
@@ -1648,7 +1665,7 @@ export default class poloniex extends Exchange {
1648
1665
  * @see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1649
1666
  * @param {string} code unified currency code
1650
1667
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1651
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1668
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1652
1669
  */
1653
1670
  await this.loadMarkets();
1654
1671
  const currency = this.currency(code);
@@ -1702,7 +1719,7 @@ export default class poloniex extends Exchange {
1702
1719
  * @param {string} fromAccount account to transfer from
1703
1720
  * @param {string} toAccount account to transfer to
1704
1721
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1705
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1722
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1706
1723
  */
1707
1724
  await this.loadMarkets();
1708
1725
  const currency = this.currency(code);
@@ -1753,7 +1770,7 @@ export default class poloniex extends Exchange {
1753
1770
  * @param {string} address the address to withdraw to
1754
1771
  * @param {string} tag
1755
1772
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1756
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1773
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1757
1774
  */
1758
1775
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1759
1776
  this.checkAddress(address);
@@ -1877,7 +1894,7 @@ export default class poloniex extends Exchange {
1877
1894
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1878
1895
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1879
1896
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1880
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1897
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1881
1898
  */
1882
1899
  await this.loadMarkets();
1883
1900
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
@@ -1902,7 +1919,7 @@ export default class poloniex extends Exchange {
1902
1919
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1903
1920
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1904
1921
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1905
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1922
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1906
1923
  */
1907
1924
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
1908
1925
  let currency = undefined;
@@ -1921,7 +1938,7 @@ export default class poloniex extends Exchange {
1921
1938
  * @see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
1922
1939
  * @param {string[]|undefined} codes list of unified currency codes
1923
1940
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1924
- * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1941
+ * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1925
1942
  */
1926
1943
  await this.loadMarkets();
1927
1944
  const response = await this.publicGetCurrencies(this.extend(params, { 'includeMultiChainCurrencies': true }));
@@ -2047,7 +2064,7 @@ export default class poloniex extends Exchange {
2047
2064
  * @param {int} [since] the earliest time in ms to fetch deposits for
2048
2065
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2049
2066
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
2050
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2067
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2051
2068
  */
2052
2069
  const response = await this.fetchTransactionsHelper(code, since, limit, params);
2053
2070
  let currency = undefined;