ccxt 4.0.74 → 4.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
package/js/src/bitso.js CHANGED
@@ -190,7 +190,7 @@ export default class bitso extends Exchange {
190
190
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
191
191
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
192
192
  * @param {object} [params] extra parameters specific to the bitso api endpoint
193
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
193
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
194
194
  */
195
195
  const request = {};
196
196
  if (limit !== undefined) {
@@ -502,7 +502,7 @@ export default class bitso extends Exchange {
502
502
  * @name bitso#fetchBalance
503
503
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
504
504
  * @param {object} [params] extra parameters specific to the bitso api endpoint
505
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
505
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
506
506
  */
507
507
  await this.loadMarkets();
508
508
  const response = await this.privateGetBalance(params);
@@ -541,7 +541,7 @@ export default class bitso extends Exchange {
541
541
  * @param {string} symbol unified symbol of the market to fetch the order book for
542
542
  * @param {int} [limit] the maximum amount of order book entries to return
543
543
  * @param {object} [params] extra parameters specific to the bitso api endpoint
544
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
544
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
545
545
  */
546
546
  await this.loadMarkets();
547
547
  const market = this.market(symbol);
@@ -604,7 +604,7 @@ export default class bitso extends Exchange {
604
604
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
605
605
  * @param {string} symbol unified symbol of the market to fetch the ticker for
606
606
  * @param {object} [params] extra parameters specific to the bitso api endpoint
607
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
607
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
608
608
  */
609
609
  await this.loadMarkets();
610
610
  const market = this.market(symbol);
@@ -816,7 +816,7 @@ export default class bitso extends Exchange {
816
816
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
817
817
  * @param {int} [limit] the maximum amount of trades to fetch
818
818
  * @param {object} [params] extra parameters specific to the bitso api endpoint
819
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
819
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
820
820
  */
821
821
  await this.loadMarkets();
822
822
  const market = this.market(symbol);
@@ -832,7 +832,7 @@ export default class bitso extends Exchange {
832
832
  * @name bitso#fetchTradingFees
833
833
  * @description fetch the trading fees for multiple markets
834
834
  * @param {object} [params] extra parameters specific to the bitso api endpoint
835
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
835
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
836
836
  */
837
837
  await this.loadMarkets();
838
838
  const response = await this.privateGetFees(params);
@@ -906,7 +906,7 @@ export default class bitso extends Exchange {
906
906
  * @param {int} [since] the earliest time in ms to fetch trades for
907
907
  * @param {int} [limit] the maximum number of trades structures to retrieve
908
908
  * @param {object} [params] extra parameters specific to the bitso api endpoint
909
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
909
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
910
910
  */
911
911
  await this.loadMarkets();
912
912
  const market = this.market(symbol);
@@ -943,9 +943,9 @@ export default class bitso extends Exchange {
943
943
  * @param {string} type 'market' or 'limit'
944
944
  * @param {string} side 'buy' or 'sell'
945
945
  * @param {float} amount how much of currency you want to trade in units of base currency
946
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
946
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
947
947
  * @param {object} [params] extra parameters specific to the bitso api endpoint
948
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
948
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
949
949
  */
950
950
  await this.loadMarkets();
951
951
  const market = this.market(symbol);
@@ -973,7 +973,7 @@ export default class bitso extends Exchange {
973
973
  * @param {string} id order id
974
974
  * @param {string} symbol not used by bitso cancelOrder ()
975
975
  * @param {object} [params] extra parameters specific to the bitso api endpoint
976
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
976
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
977
977
  */
978
978
  await this.loadMarkets();
979
979
  const request = {
@@ -989,7 +989,7 @@ export default class bitso extends Exchange {
989
989
  * @param {string[]} ids order ids
990
990
  * @param {string} symbol unified market symbol
991
991
  * @param {object} [params] extra parameters specific to the bitso api endpoint
992
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
992
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
993
993
  */
994
994
  if (!Array.isArray(ids)) {
995
995
  throw new ArgumentsRequired(this.id + ' cancelOrders() ids argument should be an array');
@@ -1024,7 +1024,7 @@ export default class bitso extends Exchange {
1024
1024
  * @description cancel all open orders
1025
1025
  * @param {undefined} symbol bitso does not support canceling orders for only a specific market
1026
1026
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1027
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1027
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1028
1028
  */
1029
1029
  if (symbol !== undefined) {
1030
1030
  throw new NotSupported(this.id + ' cancelAllOrders() deletes all orders for user, it does not support filtering by symbol.');
@@ -1110,7 +1110,7 @@ export default class bitso extends Exchange {
1110
1110
  * @param {int} [since] the earliest time in ms to fetch open orders for
1111
1111
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1112
1112
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1113
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1113
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1114
1114
  */
1115
1115
  await this.loadMarkets();
1116
1116
  const market = this.market(symbol);
@@ -1146,7 +1146,7 @@ export default class bitso extends Exchange {
1146
1146
  * @description fetches information on an order made by the user
1147
1147
  * @param {string} symbol not used by bitso fetchOrder
1148
1148
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1149
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1149
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1150
1150
  */
1151
1151
  await this.loadMarkets();
1152
1152
  const response = await this.privateGetOrdersOid({
@@ -1171,7 +1171,7 @@ export default class bitso extends Exchange {
1171
1171
  * @param {int} [since] the earliest time in ms to fetch trades for
1172
1172
  * @param {int} [limit] the maximum number of trades to retrieve
1173
1173
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1174
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1174
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1175
1175
  */
1176
1176
  await this.loadMarkets();
1177
1177
  const market = this.market(symbol);
@@ -1189,7 +1189,7 @@ export default class bitso extends Exchange {
1189
1189
  * @param {string} id deposit id
1190
1190
  * @param {string} code bitso does not support filtering by currency code and will ignore this argument
1191
1191
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1192
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1192
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1193
1193
  */
1194
1194
  await this.loadMarkets();
1195
1195
  const request = {
@@ -1232,7 +1232,7 @@ export default class bitso extends Exchange {
1232
1232
  * @param {int} [since] the earliest time in ms to fetch deposits for
1233
1233
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1234
1234
  * @param {object} [params] extra parameters specific to the exmo api endpoint
1235
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1235
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1236
1236
  */
1237
1237
  await this.loadMarkets();
1238
1238
  let currency = undefined;
@@ -1273,7 +1273,7 @@ export default class bitso extends Exchange {
1273
1273
  * @description fetch the deposit address for a currency associated with this account
1274
1274
  * @param {string} code unified currency code
1275
1275
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1276
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1276
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1277
1277
  */
1278
1278
  await this.loadMarkets();
1279
1279
  const currency = this.currency(code);
@@ -1306,7 +1306,7 @@ export default class bitso extends Exchange {
1306
1306
  * @see https://bitso.com/api_info#fees
1307
1307
  * @param {string[]|undefined} codes list of unified currency codes
1308
1308
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1309
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1309
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1310
1310
  */
1311
1311
  await this.loadMarkets();
1312
1312
  const response = await this.privateGetFees(params);
@@ -1399,7 +1399,7 @@ export default class bitso extends Exchange {
1399
1399
  * @see https://bitso.com/api_info#fees
1400
1400
  * @param {string[]|undefined} codes list of unified currency codes
1401
1401
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1402
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1402
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1403
1403
  */
1404
1404
  await this.loadMarkets();
1405
1405
  const response = await this.privateGetFees(params);
@@ -1538,7 +1538,7 @@ export default class bitso extends Exchange {
1538
1538
  * @param {string} address the address to withdraw to
1539
1539
  * @param {string} tag
1540
1540
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1541
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1541
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1542
1542
  */
1543
1543
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1544
1544
  this.checkAddress(address);
@@ -624,7 +624,7 @@ export default class bitstamp extends Exchange {
624
624
  * @param {string} symbol unified symbol of the market to fetch the order book for
625
625
  * @param {int} [limit] the maximum amount of order book entries to return
626
626
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
627
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
627
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
628
628
  */
629
629
  await this.loadMarkets();
630
630
  const market = this.market(symbol);
@@ -708,7 +708,7 @@ export default class bitstamp extends Exchange {
708
708
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
709
709
  * @param {string} symbol unified symbol of the market to fetch the ticker for
710
710
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
711
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
711
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
712
712
  */
713
713
  await this.loadMarkets();
714
714
  const market = this.market(symbol);
@@ -741,7 +741,7 @@ export default class bitstamp extends Exchange {
741
741
  * @see https://www.bitstamp.net/api/#all-tickers
742
742
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
743
743
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
744
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
744
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
745
745
  */
746
746
  await this.loadMarkets();
747
747
  const response = await this.publicGetTicker(params);
@@ -972,7 +972,7 @@ export default class bitstamp extends Exchange {
972
972
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
973
973
  * @param {int} [limit] the maximum amount of trades to fetch
974
974
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
975
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
975
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
976
976
  */
977
977
  await this.loadMarkets();
978
978
  const market = this.market(symbol);
@@ -1102,7 +1102,7 @@ export default class bitstamp extends Exchange {
1102
1102
  * @name bitstamp#fetchBalance
1103
1103
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1104
1104
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1105
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1105
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1106
1106
  */
1107
1107
  await this.loadMarkets();
1108
1108
  const response = await this.privatePostBalance(params);
@@ -1133,7 +1133,7 @@ export default class bitstamp extends Exchange {
1133
1133
  * @description fetch the trading fees for a market
1134
1134
  * @param {string} symbol unified market symbol
1135
1135
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1136
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1136
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1137
1137
  */
1138
1138
  await this.loadMarkets();
1139
1139
  const market = this.market(symbol);
@@ -1172,7 +1172,7 @@ export default class bitstamp extends Exchange {
1172
1172
  * @name bitstamp#fetchTradingFees
1173
1173
  * @description fetch the trading fees for multiple markets
1174
1174
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1175
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1175
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1176
1176
  */
1177
1177
  await this.loadMarkets();
1178
1178
  const response = await this.privatePostBalance(params);
@@ -1187,7 +1187,7 @@ export default class bitstamp extends Exchange {
1187
1187
  * @see https://www.bitstamp.net/api/#balance
1188
1188
  * @param {string[]|undefined} codes list of unified currency codes
1189
1189
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1190
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1190
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1191
1191
  */
1192
1192
  await this.loadMarkets();
1193
1193
  const balance = await this.privatePostBalance(params);
@@ -1249,7 +1249,7 @@ export default class bitstamp extends Exchange {
1249
1249
  * @see https://www.bitstamp.net/api/#balance
1250
1250
  * @param {string[]|undefined} codes list of unified currency codes
1251
1251
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1252
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1252
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1253
1253
  */
1254
1254
  await this.loadMarkets();
1255
1255
  const response = await this.privatePostBalance(params);
@@ -1322,9 +1322,9 @@ export default class bitstamp extends Exchange {
1322
1322
  * @param {string} type 'market' or 'limit'
1323
1323
  * @param {string} side 'buy' or 'sell'
1324
1324
  * @param {float} amount how much of currency you want to trade in units of base currency
1325
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1325
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1326
1326
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1327
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1327
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1328
1328
  */
1329
1329
  await this.loadMarkets();
1330
1330
  const market = this.market(symbol);
@@ -1362,7 +1362,7 @@ export default class bitstamp extends Exchange {
1362
1362
  * @param {string} id order id
1363
1363
  * @param {string} symbol unified symbol of the market the order was made in
1364
1364
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1365
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1365
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1366
1366
  */
1367
1367
  await this.loadMarkets();
1368
1368
  const request = {
@@ -1377,7 +1377,7 @@ export default class bitstamp extends Exchange {
1377
1377
  * @description cancel all open orders
1378
1378
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1379
1379
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1380
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1380
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1381
1381
  */
1382
1382
  await this.loadMarkets();
1383
1383
  let market = undefined;
@@ -1420,7 +1420,7 @@ export default class bitstamp extends Exchange {
1420
1420
  * @description fetches information on an order made by the user
1421
1421
  * @param {string} symbol unified symbol of the market the order was made in
1422
1422
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1423
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1423
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1424
1424
  */
1425
1425
  await this.loadMarkets();
1426
1426
  let market = undefined;
@@ -1466,7 +1466,7 @@ export default class bitstamp extends Exchange {
1466
1466
  * @param {int} [since] the earliest time in ms to fetch trades for
1467
1467
  * @param {int} [limit] the maximum number of trades structures to retrieve
1468
1468
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1469
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1469
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1470
1470
  */
1471
1471
  await this.loadMarkets();
1472
1472
  const request = {};
@@ -1493,7 +1493,7 @@ export default class bitstamp extends Exchange {
1493
1493
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1494
1494
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1495
1495
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1496
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1496
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1497
1497
  */
1498
1498
  await this.loadMarkets();
1499
1499
  const request = {};
@@ -1543,7 +1543,7 @@ export default class bitstamp extends Exchange {
1543
1543
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1544
1544
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1545
1545
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1546
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1546
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1547
1547
  */
1548
1548
  await this.loadMarkets();
1549
1549
  const request = {};
@@ -1910,7 +1910,7 @@ export default class bitstamp extends Exchange {
1910
1910
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1911
1911
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1912
1912
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1913
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1913
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1914
1914
  */
1915
1915
  await this.loadMarkets();
1916
1916
  const request = {};
@@ -1933,7 +1933,7 @@ export default class bitstamp extends Exchange {
1933
1933
  * @param {int} [since] the earliest time in ms to fetch open orders for
1934
1934
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1935
1935
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1936
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1936
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1937
1937
  */
1938
1938
  let market = undefined;
1939
1939
  await this.loadMarkets();
@@ -1978,7 +1978,7 @@ export default class bitstamp extends Exchange {
1978
1978
  * @description fetch the deposit address for a currency associated with this account
1979
1979
  * @param {string} code unified currency code
1980
1980
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1981
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1981
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1982
1982
  */
1983
1983
  if (this.isFiat(code)) {
1984
1984
  throw new NotSupported(this.id + ' fiat fetchDepositAddress() for ' + code + ' is not supported!');
@@ -2007,7 +2007,7 @@ export default class bitstamp extends Exchange {
2007
2007
  * @param {string} address the address to withdraw to
2008
2008
  * @param {string} tag
2009
2009
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
2010
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2010
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2011
2011
  */
2012
2012
  // For fiat withdrawals please provide all required additional parameters in the 'params'
2013
2013
  // Check https://www.bitstamp.net/api/ under 'Open bank withdrawal' for list and description.
@@ -134,7 +134,7 @@ export default class bitstamp1 extends Exchange {
134
134
  * @param {string} symbol unified symbol of the market to fetch the order book for
135
135
  * @param {int} [limit] the maximum amount of order book entries to return
136
136
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
137
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
137
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
138
138
  */
139
139
  if (symbol !== 'BTC/USD') {
140
140
  throw new ExchangeError(this.id + ' ' + this.version + " fetchOrderBook doesn't support " + symbol + ', use it for BTC/USD only');
@@ -194,7 +194,7 @@ export default class bitstamp1 extends Exchange {
194
194
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
195
195
  * @param {string} symbol unified symbol of the market to fetch the ticker for
196
196
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
197
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
197
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
198
198
  */
199
199
  if (symbol !== 'BTC/USD') {
200
200
  throw new ExchangeError(this.id + ' ' + this.version + " fetchTicker doesn't support " + symbol + ', use it for BTC/USD only');
@@ -251,7 +251,7 @@ export default class bitstamp1 extends Exchange {
251
251
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
252
252
  * @param {int} [limit] the maximum amount of trades to fetch
253
253
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
254
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
254
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
255
255
  */
256
256
  if (symbol !== 'BTC/USD') {
257
257
  throw new BadSymbol(this.id + ' ' + this.version + " fetchTrades doesn't support " + symbol + ', use it for BTC/USD only');
@@ -285,7 +285,7 @@ export default class bitstamp1 extends Exchange {
285
285
  * @name bitstamp1#fetchBalance
286
286
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
287
287
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
288
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
288
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
289
289
  */
290
290
  const response = await this.privatePostBalance(params);
291
291
  return this.parseBalance(response);
@@ -299,9 +299,9 @@ export default class bitstamp1 extends Exchange {
299
299
  * @param {string} type 'market' or 'limit'
300
300
  * @param {string} side 'buy' or 'sell'
301
301
  * @param {float} amount how much of currency you want to trade in units of base currency
302
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
302
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
303
303
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
304
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
304
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
305
305
  */
306
306
  if (type !== 'limit') {
307
307
  throw new ExchangeError(this.id + ' ' + this.version + ' accepts limit orders only');
@@ -330,7 +330,7 @@ export default class bitstamp1 extends Exchange {
330
330
  * @param {string} id order id
331
331
  * @param {string} symbol unified symbol of the market the order was made in
332
332
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
333
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
333
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
334
334
  */
335
335
  return await this.privatePostCancelOrder({ 'id': id });
336
336
  }
@@ -360,7 +360,7 @@ export default class bitstamp1 extends Exchange {
360
360
  * @param {int} [since] the earliest time in ms to fetch trades for
361
361
  * @param {int} [limit] the maximum number of trades structures to retrieve
362
362
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
363
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
363
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
364
364
  */
365
365
  await this.loadMarkets();
366
366
  let market = undefined;