ccxt 4.0.73 → 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 (283) hide show
  1. package/README.md +11 -11
  2. package/dist/ccxt.browser.js +2058 -1943
  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 +25 -26
  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 +12 -11
  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 +25 -26
  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.d.ts +1 -1
  241. package/js/src/pro/bybit.js +12 -11
  242. package/js/src/pro/cex.js +3 -3
  243. package/js/src/pro/coinbasepro.js +5 -5
  244. package/js/src/pro/coinex.js +3 -3
  245. package/js/src/pro/cryptocom.js +7 -7
  246. package/js/src/pro/currencycom.js +2 -2
  247. package/js/src/pro/deribit.js +3 -3
  248. package/js/src/pro/exmo.js +2 -2
  249. package/js/src/pro/gate.js +5 -5
  250. package/js/src/pro/gemini.js +2 -2
  251. package/js/src/pro/hitbtc.js +2 -2
  252. package/js/src/pro/hollaex.js +3 -3
  253. package/js/src/pro/huobi.js +4 -4
  254. package/js/src/pro/huobijp.js +2 -2
  255. package/js/src/pro/idex.js +3 -3
  256. package/js/src/pro/independentreserve.js +1 -1
  257. package/js/src/pro/kraken.js +6 -6
  258. package/js/src/pro/krakenfutures.js +2 -2
  259. package/js/src/pro/kucoin.js +4 -4
  260. package/js/src/pro/kucoinfutures.js +3 -3
  261. package/js/src/pro/luno.js +1 -1
  262. package/js/src/pro/ndax.js +2 -2
  263. package/js/src/pro/okcoin.js +3 -3
  264. package/js/src/pro/okx.d.ts +1 -1
  265. package/js/src/pro/okx.js +12 -11
  266. package/js/src/pro/phemex.js +4 -4
  267. package/js/src/pro/poloniex.js +1 -1
  268. package/js/src/pro/upbit.js +2 -2
  269. package/js/src/pro/wazirx.js +3 -3
  270. package/js/src/pro/whitebit.js +4 -4
  271. package/js/src/probit.js +17 -17
  272. package/js/src/tidex.js +11 -11
  273. package/js/src/timex.js +14 -14
  274. package/js/src/tokocrypto.js +16 -16
  275. package/js/src/upbit.js +18 -18
  276. package/js/src/wavesexchange.js +13 -13
  277. package/js/src/wazirx.js +10 -10
  278. package/js/src/whitebit.js +21 -21
  279. package/js/src/woo.js +28 -22
  280. package/js/src/yobit.js +14 -14
  281. package/js/src/zaif.js +8 -8
  282. package/js/src/zonda.js +13 -13
  283. package/package.json +1 -1
@@ -441,7 +441,7 @@ class bitpanda extends bitpanda$1 {
441
441
  * @name bitpanda#fetchTradingFees
442
442
  * @description fetch the trading fees for multiple markets
443
443
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
444
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
444
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
445
445
  */
446
446
  let method = this.safeString(params, 'method');
447
447
  params = this.omit(params, 'method');
@@ -615,7 +615,7 @@ class bitpanda extends bitpanda$1 {
615
615
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
616
616
  * @param {string} symbol unified symbol of the market to fetch the ticker for
617
617
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
618
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
618
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
619
619
  */
620
620
  await this.loadMarkets();
621
621
  const market = this.market(symbol);
@@ -650,7 +650,7 @@ class bitpanda extends bitpanda$1 {
650
650
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
651
651
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
652
652
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
653
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
653
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
654
654
  */
655
655
  await this.loadMarkets();
656
656
  symbols = this.marketSymbols(symbols);
@@ -691,7 +691,7 @@ class bitpanda extends bitpanda$1 {
691
691
  * @param {string} symbol unified symbol of the market to fetch the order book for
692
692
  * @param {int} [limit] the maximum amount of order book entries to return
693
693
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
694
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
694
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
695
695
  */
696
696
  await this.loadMarkets();
697
697
  const market = this.market(symbol);
@@ -1042,7 +1042,7 @@ class bitpanda extends bitpanda$1 {
1042
1042
  * @description create a currency deposit address
1043
1043
  * @param {string} code unified currency code of the currency for the deposit address
1044
1044
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1045
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1045
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1046
1046
  */
1047
1047
  await this.loadMarkets();
1048
1048
  const currency = this.currency(code);
@@ -1067,7 +1067,7 @@ class bitpanda extends bitpanda$1 {
1067
1067
  * @description fetch the deposit address for a currency associated with this account
1068
1068
  * @param {string} code unified currency code
1069
1069
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1070
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1070
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1071
1071
  */
1072
1072
  await this.loadMarkets();
1073
1073
  const currency = this.currency(code);
@@ -1095,7 +1095,7 @@ class bitpanda extends bitpanda$1 {
1095
1095
  * @param {int} [since] the earliest time in ms to fetch deposits for
1096
1096
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1097
1097
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1098
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1098
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1099
1099
  */
1100
1100
  await this.loadMarkets();
1101
1101
  const request = {
@@ -1159,7 +1159,7 @@ class bitpanda extends bitpanda$1 {
1159
1159
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1160
1160
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1161
1161
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1162
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1162
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1163
1163
  */
1164
1164
  await this.loadMarkets();
1165
1165
  const request = {
@@ -1225,7 +1225,7 @@ class bitpanda extends bitpanda$1 {
1225
1225
  * @param {string} address the address to withdraw to
1226
1226
  * @param {string} tag
1227
1227
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1228
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1228
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1229
1229
  */
1230
1230
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1231
1231
  this.checkAddress(address);
@@ -1494,10 +1494,10 @@ class bitpanda extends bitpanda$1 {
1494
1494
  * @param {string} type 'market' or 'limit'
1495
1495
  * @param {string} side 'buy' or 'sell'
1496
1496
  * @param {float} amount how much of currency you want to trade in units of base currency
1497
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1497
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1498
1498
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1499
1499
  * @param {float} [params.triggerPrice] bitpanda only does stop limit orders and does not do stop market
1500
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1500
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1501
1501
  */
1502
1502
  await this.loadMarkets();
1503
1503
  const market = this.market(symbol);
@@ -1564,7 +1564,7 @@ class bitpanda extends bitpanda$1 {
1564
1564
  * @param {string} id order id
1565
1565
  * @param {string} symbol not used by bitmex cancelOrder ()
1566
1566
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1567
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1567
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1568
1568
  */
1569
1569
  await this.loadMarkets();
1570
1570
  const clientOrderId = this.safeString2(params, 'clientOrderId', 'client_id');
@@ -1591,7 +1591,7 @@ class bitpanda extends bitpanda$1 {
1591
1591
  * @description cancel all open orders
1592
1592
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1593
1593
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1594
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1594
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1595
1595
  */
1596
1596
  await this.loadMarkets();
1597
1597
  const request = {};
@@ -1615,7 +1615,7 @@ class bitpanda extends bitpanda$1 {
1615
1615
  * @param {string[]} ids order ids
1616
1616
  * @param {string} symbol unified market symbol, default is undefined
1617
1617
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1618
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1618
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1619
1619
  */
1620
1620
  await this.loadMarkets();
1621
1621
  const request = {
@@ -1636,7 +1636,7 @@ class bitpanda extends bitpanda$1 {
1636
1636
  * @description fetches information on an order made by the user
1637
1637
  * @param {string} symbol not used by bitpanda fetchOrder
1638
1638
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1639
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1639
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1640
1640
  */
1641
1641
  await this.loadMarkets();
1642
1642
  const request = {
@@ -1695,7 +1695,7 @@ class bitpanda extends bitpanda$1 {
1695
1695
  * @param {int} [since] the earliest time in ms to fetch open orders for
1696
1696
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1697
1697
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1698
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1698
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1699
1699
  */
1700
1700
  await this.loadMarkets();
1701
1701
  const request = {
@@ -1815,7 +1815,7 @@ class bitpanda extends bitpanda$1 {
1815
1815
  * @param {int} [since] the earliest time in ms to fetch orders for
1816
1816
  * @param {int} [limit] the maximum number of orde structures to retrieve
1817
1817
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1818
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1818
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1819
1819
  */
1820
1820
  const request = {
1821
1821
  'with_cancelled_and_rejected': true, // default is false, orders which have been cancelled by the user before being filled or rejected by the system as invalid, additionally, all inactive filled orders which would return with "with_just_filled_inactive"
@@ -1832,7 +1832,7 @@ class bitpanda extends bitpanda$1 {
1832
1832
  * @param {int} [since] the earliest time in ms to fetch trades for
1833
1833
  * @param {int} [limit] the maximum number of trades to retrieve
1834
1834
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1835
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1835
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1836
1836
  */
1837
1837
  await this.loadMarkets();
1838
1838
  const request = {
@@ -1890,7 +1890,7 @@ class bitpanda extends bitpanda$1 {
1890
1890
  * @param {int} [since] the earliest time in ms to fetch trades for
1891
1891
  * @param {int} [limit] the maximum number of trades structures to retrieve
1892
1892
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
1893
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1893
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1894
1894
  */
1895
1895
  await this.loadMarkets();
1896
1896
  const request = {
@@ -347,7 +347,7 @@ class bitrue extends bitrue$1 {
347
347
  * @name bitrue#fetchStatus
348
348
  * @description the latest known information on the availability of the exchange API
349
349
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
350
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
350
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
351
351
  */
352
352
  const response = await this.v1PublicGetPing(params);
353
353
  //
@@ -764,7 +764,7 @@ class bitrue extends bitrue$1 {
764
764
  * @param {string} symbol unified symbol of the market to fetch the order book for
765
765
  * @param {int} [limit] the maximum amount of order book entries to return
766
766
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
767
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
767
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
768
768
  */
769
769
  await this.loadMarkets();
770
770
  const market = this.market(symbol);
@@ -843,7 +843,7 @@ class bitrue extends bitrue$1 {
843
843
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
844
844
  * @param {string} symbol unified symbol of the market to fetch the ticker for
845
845
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
846
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
846
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
847
847
  */
848
848
  await this.loadMarkets();
849
849
  const market = this.market(symbol);
@@ -952,7 +952,7 @@ class bitrue extends bitrue$1 {
952
952
  * @description fetches the bid and ask price and volume for multiple markets
953
953
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
954
954
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
955
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
955
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
956
956
  */
957
957
  await this.loadMarkets();
958
958
  const defaultType = this.safeString2(this.options, 'fetchBidsAsks', 'defaultType', 'spot');
@@ -978,7 +978,7 @@ class bitrue extends bitrue$1 {
978
978
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
979
979
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
980
980
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
981
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
981
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
982
982
  */
983
983
  await this.loadMarkets();
984
984
  const request = {
@@ -1288,9 +1288,9 @@ class bitrue extends bitrue$1 {
1288
1288
  * @param {string} type 'market' or 'limit'
1289
1289
  * @param {string} side 'buy' or 'sell'
1290
1290
  * @param {float} amount how much of currency you want to trade in units of base currency
1291
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1291
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1292
1292
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1293
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1293
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1294
1294
  */
1295
1295
  await this.loadMarkets();
1296
1296
  const market = this.market(symbol);
@@ -1344,7 +1344,7 @@ class bitrue extends bitrue$1 {
1344
1344
  * @description fetches information on an order made by the user
1345
1345
  * @param {string} symbol unified symbol of the market the order was made in
1346
1346
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1347
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1347
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1348
1348
  */
1349
1349
  if (symbol === undefined) {
1350
1350
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -1374,7 +1374,7 @@ class bitrue extends bitrue$1 {
1374
1374
  * @param {int} [since] the earliest time in ms to fetch orders for
1375
1375
  * @param {int} [limit] the maximum number of orde structures to retrieve
1376
1376
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1377
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1377
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1378
1378
  */
1379
1379
  if (symbol === undefined) {
1380
1380
  throw new errors.ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -1428,7 +1428,7 @@ class bitrue extends bitrue$1 {
1428
1428
  * @param {int} [since] the earliest time in ms to fetch open orders for
1429
1429
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1430
1430
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1431
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1431
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1432
1432
  */
1433
1433
  if (symbol === undefined) {
1434
1434
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -1471,7 +1471,7 @@ class bitrue extends bitrue$1 {
1471
1471
  * @param {string} id order id
1472
1472
  * @param {string} symbol unified symbol of the market the order was made in
1473
1473
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1474
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1474
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1475
1475
  */
1476
1476
  if (symbol === undefined) {
1477
1477
  throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -1512,7 +1512,7 @@ class bitrue extends bitrue$1 {
1512
1512
  * @param {int} [since] the earliest time in ms to fetch trades for
1513
1513
  * @param {int} [limit] the maximum number of trades structures to retrieve
1514
1514
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1515
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1515
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1516
1516
  */
1517
1517
  const method = this.safeString(this.options, 'fetchMyTradesMethod', 'v2PrivateGetMyTrades');
1518
1518
  if ((symbol === undefined) && (method === 'v2PrivateGetMyTrades')) {
@@ -1567,7 +1567,7 @@ class bitrue extends bitrue$1 {
1567
1567
  * @param {int} [since] the earliest time in ms to fetch deposits for
1568
1568
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1569
1569
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1570
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1570
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1571
1571
  */
1572
1572
  if (code === undefined) {
1573
1573
  throw new errors.ArgumentsRequired(this.id + ' fetchDeposits() requires a code argument');
@@ -1638,7 +1638,7 @@ class bitrue extends bitrue$1 {
1638
1638
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1639
1639
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1640
1640
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1641
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1641
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1642
1642
  */
1643
1643
  if (code === undefined) {
1644
1644
  throw new errors.ArgumentsRequired(this.id + ' fetchWithdrawals() requires a code argument');
@@ -1828,7 +1828,7 @@ class bitrue extends bitrue$1 {
1828
1828
  * @param {string} address the address to withdraw to
1829
1829
  * @param {string} tag
1830
1830
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
1831
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1831
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1832
1832
  */
1833
1833
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1834
1834
  this.checkAddress(address);
@@ -187,7 +187,7 @@ class bitso extends bitso$1 {
187
187
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
188
188
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
189
189
  * @param {object} [params] extra parameters specific to the bitso api endpoint
190
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
190
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
191
191
  */
192
192
  const request = {};
193
193
  if (limit !== undefined) {
@@ -538,7 +538,7 @@ class bitso extends bitso$1 {
538
538
  * @param {string} symbol unified symbol of the market to fetch the order book for
539
539
  * @param {int} [limit] the maximum amount of order book entries to return
540
540
  * @param {object} [params] extra parameters specific to the bitso api endpoint
541
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
541
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
542
542
  */
543
543
  await this.loadMarkets();
544
544
  const market = this.market(symbol);
@@ -601,7 +601,7 @@ class bitso extends bitso$1 {
601
601
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
602
602
  * @param {string} symbol unified symbol of the market to fetch the ticker for
603
603
  * @param {object} [params] extra parameters specific to the bitso api endpoint
604
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
604
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
605
605
  */
606
606
  await this.loadMarkets();
607
607
  const market = this.market(symbol);
@@ -829,7 +829,7 @@ class bitso extends bitso$1 {
829
829
  * @name bitso#fetchTradingFees
830
830
  * @description fetch the trading fees for multiple markets
831
831
  * @param {object} [params] extra parameters specific to the bitso api endpoint
832
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
832
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
833
833
  */
834
834
  await this.loadMarkets();
835
835
  const response = await this.privateGetFees(params);
@@ -903,7 +903,7 @@ class bitso extends bitso$1 {
903
903
  * @param {int} [since] the earliest time in ms to fetch trades for
904
904
  * @param {int} [limit] the maximum number of trades structures to retrieve
905
905
  * @param {object} [params] extra parameters specific to the bitso api endpoint
906
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
906
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
907
907
  */
908
908
  await this.loadMarkets();
909
909
  const market = this.market(symbol);
@@ -940,9 +940,9 @@ class bitso extends bitso$1 {
940
940
  * @param {string} type 'market' or 'limit'
941
941
  * @param {string} side 'buy' or 'sell'
942
942
  * @param {float} amount how much of currency you want to trade in units of base currency
943
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
943
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
944
944
  * @param {object} [params] extra parameters specific to the bitso api endpoint
945
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
945
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
946
946
  */
947
947
  await this.loadMarkets();
948
948
  const market = this.market(symbol);
@@ -970,7 +970,7 @@ class bitso extends bitso$1 {
970
970
  * @param {string} id order id
971
971
  * @param {string} symbol not used by bitso cancelOrder ()
972
972
  * @param {object} [params] extra parameters specific to the bitso api endpoint
973
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
973
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
974
974
  */
975
975
  await this.loadMarkets();
976
976
  const request = {
@@ -986,7 +986,7 @@ class bitso extends bitso$1 {
986
986
  * @param {string[]} ids order ids
987
987
  * @param {string} symbol unified market symbol
988
988
  * @param {object} [params] extra parameters specific to the bitso api endpoint
989
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
989
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
990
990
  */
991
991
  if (!Array.isArray(ids)) {
992
992
  throw new errors.ArgumentsRequired(this.id + ' cancelOrders() ids argument should be an array');
@@ -1021,7 +1021,7 @@ class bitso extends bitso$1 {
1021
1021
  * @description cancel all open orders
1022
1022
  * @param {undefined} symbol bitso does not support canceling orders for only a specific market
1023
1023
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1024
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1024
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1025
1025
  */
1026
1026
  if (symbol !== undefined) {
1027
1027
  throw new errors.NotSupported(this.id + ' cancelAllOrders() deletes all orders for user, it does not support filtering by symbol.');
@@ -1107,7 +1107,7 @@ class bitso extends bitso$1 {
1107
1107
  * @param {int} [since] the earliest time in ms to fetch open orders for
1108
1108
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1109
1109
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1110
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1110
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1111
1111
  */
1112
1112
  await this.loadMarkets();
1113
1113
  const market = this.market(symbol);
@@ -1143,7 +1143,7 @@ class bitso extends bitso$1 {
1143
1143
  * @description fetches information on an order made by the user
1144
1144
  * @param {string} symbol not used by bitso fetchOrder
1145
1145
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1146
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1146
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1147
1147
  */
1148
1148
  await this.loadMarkets();
1149
1149
  const response = await this.privateGetOrdersOid({
@@ -1168,7 +1168,7 @@ class bitso extends bitso$1 {
1168
1168
  * @param {int} [since] the earliest time in ms to fetch trades for
1169
1169
  * @param {int} [limit] the maximum number of trades to retrieve
1170
1170
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1171
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1171
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1172
1172
  */
1173
1173
  await this.loadMarkets();
1174
1174
  const market = this.market(symbol);
@@ -1186,7 +1186,7 @@ class bitso extends bitso$1 {
1186
1186
  * @param {string} id deposit id
1187
1187
  * @param {string} code bitso does not support filtering by currency code and will ignore this argument
1188
1188
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1189
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1189
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1190
1190
  */
1191
1191
  await this.loadMarkets();
1192
1192
  const request = {
@@ -1229,7 +1229,7 @@ class bitso extends bitso$1 {
1229
1229
  * @param {int} [since] the earliest time in ms to fetch deposits for
1230
1230
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1231
1231
  * @param {object} [params] extra parameters specific to the exmo api endpoint
1232
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1232
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1233
1233
  */
1234
1234
  await this.loadMarkets();
1235
1235
  let currency = undefined;
@@ -1270,7 +1270,7 @@ class bitso extends bitso$1 {
1270
1270
  * @description fetch the deposit address for a currency associated with this account
1271
1271
  * @param {string} code unified currency code
1272
1272
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1273
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1273
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1274
1274
  */
1275
1275
  await this.loadMarkets();
1276
1276
  const currency = this.currency(code);
@@ -1303,7 +1303,7 @@ class bitso extends bitso$1 {
1303
1303
  * @see https://bitso.com/api_info#fees
1304
1304
  * @param {string[]|undefined} codes list of unified currency codes
1305
1305
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1306
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1306
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1307
1307
  */
1308
1308
  await this.loadMarkets();
1309
1309
  const response = await this.privateGetFees(params);
@@ -1396,7 +1396,7 @@ class bitso extends bitso$1 {
1396
1396
  * @see https://bitso.com/api_info#fees
1397
1397
  * @param {string[]|undefined} codes list of unified currency codes
1398
1398
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1399
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1399
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1400
1400
  */
1401
1401
  await this.loadMarkets();
1402
1402
  const response = await this.privateGetFees(params);
@@ -1535,7 +1535,7 @@ class bitso extends bitso$1 {
1535
1535
  * @param {string} address the address to withdraw to
1536
1536
  * @param {string} tag
1537
1537
  * @param {object} [params] extra parameters specific to the bitso api endpoint
1538
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1538
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1539
1539
  */
1540
1540
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1541
1541
  this.checkAddress(address);
@@ -621,7 +621,7 @@ class bitstamp extends bitstamp$1 {
621
621
  * @param {string} symbol unified symbol of the market to fetch the order book for
622
622
  * @param {int} [limit] the maximum amount of order book entries to return
623
623
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
624
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
624
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
625
625
  */
626
626
  await this.loadMarkets();
627
627
  const market = this.market(symbol);
@@ -705,7 +705,7 @@ class bitstamp extends bitstamp$1 {
705
705
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
706
706
  * @param {string} symbol unified symbol of the market to fetch the ticker for
707
707
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
708
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
708
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
709
709
  */
710
710
  await this.loadMarkets();
711
711
  const market = this.market(symbol);
@@ -738,7 +738,7 @@ class bitstamp extends bitstamp$1 {
738
738
  * @see https://www.bitstamp.net/api/#all-tickers
739
739
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
740
740
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
741
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
741
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
742
742
  */
743
743
  await this.loadMarkets();
744
744
  const response = await this.publicGetTicker(params);
@@ -1130,7 +1130,7 @@ class bitstamp extends bitstamp$1 {
1130
1130
  * @description fetch the trading fees for a market
1131
1131
  * @param {string} symbol unified market symbol
1132
1132
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1133
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1133
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1134
1134
  */
1135
1135
  await this.loadMarkets();
1136
1136
  const market = this.market(symbol);
@@ -1169,7 +1169,7 @@ class bitstamp extends bitstamp$1 {
1169
1169
  * @name bitstamp#fetchTradingFees
1170
1170
  * @description fetch the trading fees for multiple markets
1171
1171
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1172
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1172
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1173
1173
  */
1174
1174
  await this.loadMarkets();
1175
1175
  const response = await this.privatePostBalance(params);
@@ -1184,7 +1184,7 @@ class bitstamp extends bitstamp$1 {
1184
1184
  * @see https://www.bitstamp.net/api/#balance
1185
1185
  * @param {string[]|undefined} codes list of unified currency codes
1186
1186
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1187
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1187
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1188
1188
  */
1189
1189
  await this.loadMarkets();
1190
1190
  const balance = await this.privatePostBalance(params);
@@ -1246,7 +1246,7 @@ class bitstamp extends bitstamp$1 {
1246
1246
  * @see https://www.bitstamp.net/api/#balance
1247
1247
  * @param {string[]|undefined} codes list of unified currency codes
1248
1248
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1249
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1249
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1250
1250
  */
1251
1251
  await this.loadMarkets();
1252
1252
  const response = await this.privatePostBalance(params);
@@ -1319,9 +1319,9 @@ class bitstamp extends bitstamp$1 {
1319
1319
  * @param {string} type 'market' or 'limit'
1320
1320
  * @param {string} side 'buy' or 'sell'
1321
1321
  * @param {float} amount how much of currency you want to trade in units of base currency
1322
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1322
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1323
1323
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1324
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1324
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1325
1325
  */
1326
1326
  await this.loadMarkets();
1327
1327
  const market = this.market(symbol);
@@ -1359,7 +1359,7 @@ class bitstamp extends bitstamp$1 {
1359
1359
  * @param {string} id order id
1360
1360
  * @param {string} symbol unified symbol of the market the order was made in
1361
1361
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1362
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1362
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1363
1363
  */
1364
1364
  await this.loadMarkets();
1365
1365
  const request = {
@@ -1374,7 +1374,7 @@ class bitstamp extends bitstamp$1 {
1374
1374
  * @description cancel all open orders
1375
1375
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1376
1376
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1377
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1377
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1378
1378
  */
1379
1379
  await this.loadMarkets();
1380
1380
  let market = undefined;
@@ -1417,7 +1417,7 @@ class bitstamp extends bitstamp$1 {
1417
1417
  * @description fetches information on an order made by the user
1418
1418
  * @param {string} symbol unified symbol of the market the order was made in
1419
1419
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1420
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1420
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1421
1421
  */
1422
1422
  await this.loadMarkets();
1423
1423
  let market = undefined;
@@ -1463,7 +1463,7 @@ class bitstamp extends bitstamp$1 {
1463
1463
  * @param {int} [since] the earliest time in ms to fetch trades for
1464
1464
  * @param {int} [limit] the maximum number of trades structures to retrieve
1465
1465
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1466
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1466
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1467
1467
  */
1468
1468
  await this.loadMarkets();
1469
1469
  const request = {};
@@ -1490,7 +1490,7 @@ class bitstamp extends bitstamp$1 {
1490
1490
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1491
1491
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1492
1492
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1493
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1493
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1494
1494
  */
1495
1495
  await this.loadMarkets();
1496
1496
  const request = {};
@@ -1540,7 +1540,7 @@ class bitstamp extends bitstamp$1 {
1540
1540
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1541
1541
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1542
1542
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1543
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1543
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1544
1544
  */
1545
1545
  await this.loadMarkets();
1546
1546
  const request = {};
@@ -1907,7 +1907,7 @@ class bitstamp extends bitstamp$1 {
1907
1907
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1908
1908
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1909
1909
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1910
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1910
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1911
1911
  */
1912
1912
  await this.loadMarkets();
1913
1913
  const request = {};
@@ -1930,7 +1930,7 @@ class bitstamp extends bitstamp$1 {
1930
1930
  * @param {int} [since] the earliest time in ms to fetch open orders for
1931
1931
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1932
1932
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1933
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1933
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1934
1934
  */
1935
1935
  let market = undefined;
1936
1936
  await this.loadMarkets();
@@ -1975,7 +1975,7 @@ class bitstamp extends bitstamp$1 {
1975
1975
  * @description fetch the deposit address for a currency associated with this account
1976
1976
  * @param {string} code unified currency code
1977
1977
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
1978
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1978
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1979
1979
  */
1980
1980
  if (this.isFiat(code)) {
1981
1981
  throw new errors.NotSupported(this.id + ' fiat fetchDepositAddress() for ' + code + ' is not supported!');
@@ -2004,7 +2004,7 @@ class bitstamp extends bitstamp$1 {
2004
2004
  * @param {string} address the address to withdraw to
2005
2005
  * @param {string} tag
2006
2006
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
2007
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2007
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2008
2008
  */
2009
2009
  // For fiat withdrawals please provide all required additional parameters in the 'params'
2010
2010
  // Check https://www.bitstamp.net/api/ under 'Open bank withdrawal' for list and description.