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/bl3p.js CHANGED
@@ -137,7 +137,7 @@ export default class bl3p extends Exchange {
137
137
  * @name bl3p#fetchBalance
138
138
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
139
139
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
140
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
140
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
141
141
  */
142
142
  await this.loadMarkets();
143
143
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -159,7 +159,7 @@ export default class bl3p extends Exchange {
159
159
  * @param {string} symbol unified symbol of the market to fetch the order book for
160
160
  * @param {int} [limit] the maximum amount of order book entries to return
161
161
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
162
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
162
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
163
163
  */
164
164
  const market = this.market(symbol);
165
165
  const request = {
@@ -219,7 +219,7 @@ export default class bl3p extends Exchange {
219
219
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
220
220
  * @param {string} symbol unified symbol of the market to fetch the ticker for
221
221
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
222
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
222
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223
223
  */
224
224
  const market = this.market(symbol);
225
225
  const request = {
@@ -274,7 +274,7 @@ export default class bl3p extends Exchange {
274
274
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
275
275
  * @param {int} [limit] the maximum amount of trades to fetch
276
276
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
277
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
277
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
278
278
  */
279
279
  const market = this.market(symbol);
280
280
  const response = await this.publicGetMarketTrades(this.extend({
@@ -289,7 +289,7 @@ export default class bl3p extends Exchange {
289
289
  * @name bl3p#fetchTradingFees
290
290
  * @description fetch the trading fees for multiple markets
291
291
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
292
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
292
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
293
293
  */
294
294
  await this.loadMarkets();
295
295
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -347,9 +347,9 @@ export default class bl3p extends Exchange {
347
347
  * @param {string} type 'market' or 'limit'
348
348
  * @param {string} side 'buy' or 'sell'
349
349
  * @param {float} amount how much of currency you want to trade in units of base currency
350
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
350
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
351
351
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
352
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
352
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
353
353
  */
354
354
  const market = this.market(symbol);
355
355
  const amountString = this.numberToString(amount);
@@ -378,7 +378,7 @@ export default class bl3p extends Exchange {
378
378
  * @param {string} id order id
379
379
  * @param {string} symbol unified symbol of the market the order was made in
380
380
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
381
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
381
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
382
382
  */
383
383
  const request = {
384
384
  'order_id': id,
@@ -361,7 +361,7 @@ export default class blockchaincom extends Exchange {
361
361
  * @param {string} symbol unified symbol of the market to fetch the order book for
362
362
  * @param {int} [limit] the maximum amount of order book entries to return
363
363
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
364
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
364
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
365
365
  */
366
366
  return await this.fetchL3OrderBook(symbol, limit, params);
367
367
  }
@@ -373,7 +373,7 @@ export default class blockchaincom extends Exchange {
373
373
  * @param {string} symbol unified market symbol
374
374
  * @param {int} [limit] max number of orders to return, default is undefined
375
375
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
376
- * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
376
+ * @returns {object} an [order book structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure}
377
377
  */
378
378
  await this.loadMarkets();
379
379
  const market = this.market(symbol);
@@ -442,7 +442,7 @@ export default class blockchaincom extends Exchange {
442
442
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
443
443
  * @param {string} symbol unified symbol of the market to fetch the ticker for
444
444
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
445
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
445
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
446
446
  */
447
447
  await this.loadMarkets();
448
448
  const market = this.market(symbol);
@@ -459,7 +459,7 @@ export default class blockchaincom extends Exchange {
459
459
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
460
460
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
461
461
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
462
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
462
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
463
463
  */
464
464
  await this.loadMarkets();
465
465
  const tickers = await this.publicGetTickers(params);
@@ -541,9 +541,9 @@ export default class blockchaincom extends Exchange {
541
541
  * @param {string} type 'market' or 'limit'
542
542
  * @param {string} side 'buy' or 'sell'
543
543
  * @param {float} amount how much of currency you want to trade in units of base currency
544
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
544
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
545
545
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
546
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
546
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
547
547
  */
548
548
  await this.loadMarkets();
549
549
  const market = this.market(symbol);
@@ -602,7 +602,7 @@ export default class blockchaincom extends Exchange {
602
602
  * @param {string} id order id
603
603
  * @param {string} symbol unified symbol of the market the order was made in
604
604
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
605
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
605
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
606
606
  */
607
607
  const request = {
608
608
  'orderId': id,
@@ -620,7 +620,7 @@ export default class blockchaincom extends Exchange {
620
620
  * @description cancel all open orders
621
621
  * @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
622
622
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
623
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
623
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
624
624
  */
625
625
  // cancels all open orders if no symbol specified
626
626
  // cancels all open orders of specified symbol, if symbol is specified
@@ -644,7 +644,7 @@ export default class blockchaincom extends Exchange {
644
644
  * @name blockchaincom#fetchTradingFees
645
645
  * @description fetch the trading fees for multiple markets
646
646
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
647
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
647
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
648
648
  */
649
649
  await this.loadMarkets();
650
650
  const response = await this.privateGetFees(params);
@@ -678,7 +678,7 @@ export default class blockchaincom extends Exchange {
678
678
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
679
679
  * @param {int} [limit] max number of orders to return, default is undefined
680
680
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
681
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
681
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
682
682
  */
683
683
  const state = 'CANCELED';
684
684
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -692,7 +692,7 @@ export default class blockchaincom extends Exchange {
692
692
  * @param {int} [since] the earliest time in ms to fetch orders for
693
693
  * @param {int} [limit] the maximum number of orde structures to retrieve
694
694
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
695
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
695
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
696
696
  */
697
697
  const state = 'FILLED';
698
698
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -706,7 +706,7 @@ export default class blockchaincom extends Exchange {
706
706
  * @param {int} [since] the earliest time in ms to fetch open orders for
707
707
  * @param {int} [limit] the maximum number of open orders structures to retrieve
708
708
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
709
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
709
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
710
710
  */
711
711
  const state = 'OPEN';
712
712
  return await this.fetchOrdersByState(state, symbol, since, limit, params);
@@ -782,7 +782,7 @@ export default class blockchaincom extends Exchange {
782
782
  * @param {int} [since] the earliest time in ms to fetch trades for
783
783
  * @param {int} [limit] the maximum number of trades structures to retrieve
784
784
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
785
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
785
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
786
786
  */
787
787
  await this.loadMarkets();
788
788
  const request = {};
@@ -804,7 +804,7 @@ export default class blockchaincom extends Exchange {
804
804
  * @description fetch the deposit address for a currency associated with this account
805
805
  * @param {string} code unified currency code
806
806
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
807
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
807
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
808
808
  */
809
809
  await this.loadMarkets();
810
810
  const currency = this.currency(code);
@@ -959,7 +959,7 @@ export default class blockchaincom extends Exchange {
959
959
  * @param {string} address the address to withdraw to
960
960
  * @param {string} tag
961
961
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
962
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
962
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
963
963
  */
964
964
  await this.loadMarkets();
965
965
  const currency = this.currency(code);
@@ -992,7 +992,7 @@ export default class blockchaincom extends Exchange {
992
992
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
993
993
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
994
994
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
995
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
995
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
996
996
  */
997
997
  await this.loadMarkets();
998
998
  const request = {
@@ -1017,7 +1017,7 @@ export default class blockchaincom extends Exchange {
1017
1017
  * @param {string} id withdrawal id
1018
1018
  * @param {string} code not used by blockchaincom.fetchWithdrawal
1019
1019
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1020
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1020
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1021
1021
  */
1022
1022
  await this.loadMarkets();
1023
1023
  const request = {
@@ -1035,7 +1035,7 @@ export default class blockchaincom extends Exchange {
1035
1035
  * @param {int} [since] the earliest time in ms to fetch deposits for
1036
1036
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1037
1037
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1038
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1038
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1039
1039
  */
1040
1040
  await this.loadMarkets();
1041
1041
  const request = {
@@ -1060,7 +1060,7 @@ export default class blockchaincom extends Exchange {
1060
1060
  * @param {string} id deposit id
1061
1061
  * @param {string} code not used by blockchaincom fetchDeposit ()
1062
1062
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1063
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1063
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1064
1064
  */
1065
1065
  await this.loadMarkets();
1066
1066
  const depositId = this.safeString(params, 'depositId', id);
@@ -1076,7 +1076,7 @@ export default class blockchaincom extends Exchange {
1076
1076
  * @name blockchaincom#fetchBalance
1077
1077
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1078
1078
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1079
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1079
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1080
1080
  */
1081
1081
  await this.loadMarkets();
1082
1082
  const accountName = this.safeString(params, 'account', 'primary');
@@ -1123,7 +1123,7 @@ export default class blockchaincom extends Exchange {
1123
1123
  * @description fetches information on an order made by the user
1124
1124
  * @param {string} symbol not used by blockchaincom fetchOrder
1125
1125
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
1126
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1126
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1127
1127
  */
1128
1128
  // note: only works with exchange-order-id
1129
1129
  // does not work with clientOrderId
@@ -242,7 +242,7 @@ export default class btcalpha extends Exchange {
242
242
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
243
243
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
244
244
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
245
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
245
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
246
246
  */
247
247
  await this.loadMarkets();
248
248
  const response = await this.publicGetTicker(params);
@@ -272,7 +272,7 @@ export default class btcalpha extends Exchange {
272
272
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
273
273
  * @param {string} symbol unified symbol of the market to fetch the ticker for
274
274
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
275
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
275
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
276
276
  */
277
277
  await this.loadMarkets();
278
278
  const market = this.market(symbol);
@@ -344,7 +344,7 @@ export default class btcalpha extends Exchange {
344
344
  * @param {string} symbol unified symbol of the market to fetch the order book for
345
345
  * @param {int} [limit] the maximum amount of order book entries to return
346
346
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
347
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
347
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
348
348
  */
349
349
  await this.loadMarkets();
350
350
  const market = this.market(symbol);
@@ -426,7 +426,7 @@ export default class btcalpha extends Exchange {
426
426
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
427
427
  * @param {int} [limit] the maximum amount of trades to fetch
428
428
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
429
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
429
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
430
430
  */
431
431
  await this.loadMarkets();
432
432
  let market = undefined;
@@ -450,7 +450,7 @@ export default class btcalpha extends Exchange {
450
450
  * @param {int} [since] the earliest time in ms to fetch deposits for
451
451
  * @param {int} [limit] the maximum number of deposits structures to retrieve
452
452
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
453
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
453
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
454
454
  */
455
455
  await this.loadMarkets();
456
456
  let currency = undefined;
@@ -479,7 +479,7 @@ export default class btcalpha extends Exchange {
479
479
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
480
480
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
481
481
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
482
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
482
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
483
483
  */
484
484
  await this.loadMarkets();
485
485
  let currency = undefined;
@@ -629,7 +629,7 @@ export default class btcalpha extends Exchange {
629
629
  * @name btcalpha#fetchBalance
630
630
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
631
631
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
632
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
632
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
633
633
  */
634
634
  await this.loadMarkets();
635
635
  const response = await this.privateGetWallets(params);
@@ -725,9 +725,9 @@ export default class btcalpha extends Exchange {
725
725
  * @param {string} type 'market' or 'limit'
726
726
  * @param {string} side 'buy' or 'sell'
727
727
  * @param {float} amount how much of currency you want to trade in units of base currency
728
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
728
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
729
729
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
730
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
730
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
731
731
  */
732
732
  await this.loadMarkets();
733
733
  const market = this.market(symbol);
@@ -756,7 +756,7 @@ export default class btcalpha extends Exchange {
756
756
  * @param {string} id order id
757
757
  * @param {string} symbol unified symbol of the market the order was made in
758
758
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
759
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
759
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
760
760
  */
761
761
  const request = {
762
762
  'order': id,
@@ -771,7 +771,7 @@ export default class btcalpha extends Exchange {
771
771
  * @description fetches information on an order made by the user
772
772
  * @param {string} symbol not used by btcalpha fetchOrder
773
773
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
774
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
774
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
775
775
  */
776
776
  await this.loadMarkets();
777
777
  const request = {
@@ -789,7 +789,7 @@ export default class btcalpha extends Exchange {
789
789
  * @param {int} [since] the earliest time in ms to fetch orders for
790
790
  * @param {int} [limit] the maximum number of orde structures to retrieve
791
791
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
792
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
792
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
793
793
  */
794
794
  await this.loadMarkets();
795
795
  const request = {};
@@ -813,7 +813,7 @@ export default class btcalpha extends Exchange {
813
813
  * @param {int} [since] the earliest time in ms to fetch open orders for
814
814
  * @param {int} [limit] the maximum number of open orders structures to retrieve
815
815
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
816
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
816
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
817
817
  */
818
818
  const request = {
819
819
  'status': '1',
@@ -829,7 +829,7 @@ export default class btcalpha extends Exchange {
829
829
  * @param {int} [since] the earliest time in ms to fetch orders for
830
830
  * @param {int} [limit] the maximum number of orde structures to retrieve
831
831
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
832
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
832
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
833
833
  */
834
834
  const request = {
835
835
  'status': '3',
@@ -845,7 +845,7 @@ export default class btcalpha extends Exchange {
845
845
  * @param {int} [since] the earliest time in ms to fetch trades for
846
846
  * @param {int} [limit] the maximum number of trades structures to retrieve
847
847
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
848
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
848
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
849
849
  */
850
850
  await this.loadMarkets();
851
851
  const request = {};
package/js/src/btcbox.js CHANGED
@@ -147,7 +147,7 @@ export default class btcbox extends Exchange {
147
147
  * @name btcbox#fetchBalance
148
148
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
149
149
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
150
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
150
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
151
151
  */
152
152
  await this.loadMarkets();
153
153
  const response = await this.privatePostBalance(params);
@@ -161,7 +161,7 @@ export default class btcbox extends Exchange {
161
161
  * @param {string} symbol unified symbol of the market to fetch the order book for
162
162
  * @param {int} [limit] the maximum amount of order book entries to return
163
163
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
164
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
164
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
165
165
  */
166
166
  await this.loadMarkets();
167
167
  const market = this.market(symbol);
@@ -207,7 +207,7 @@ export default class btcbox extends Exchange {
207
207
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
208
208
  * @param {string} symbol unified symbol of the market to fetch the ticker for
209
209
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
210
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
210
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
211
211
  */
212
212
  await this.loadMarkets();
213
213
  const market = this.market(symbol);
@@ -263,7 +263,7 @@ export default class btcbox extends Exchange {
263
263
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
264
264
  * @param {int} [limit] the maximum amount of trades to fetch
265
265
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
266
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
266
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
267
267
  */
268
268
  await this.loadMarkets();
269
269
  const market = this.market(symbol);
@@ -295,9 +295,9 @@ export default class btcbox extends Exchange {
295
295
  * @param {string} type 'market' or 'limit'
296
296
  * @param {string} side 'buy' or 'sell'
297
297
  * @param {float} amount how much of currency you want to trade in units of base currency
298
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
298
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
299
299
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
300
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
300
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
301
301
  */
302
302
  await this.loadMarkets();
303
303
  const market = this.market(symbol);
@@ -324,7 +324,7 @@ export default class btcbox extends Exchange {
324
324
  * @param {string} id order id
325
325
  * @param {string} symbol unified symbol of the market the order was made in
326
326
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
327
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
327
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
328
328
  */
329
329
  await this.loadMarkets();
330
330
  // a special case for btcbox – default symbol is BTC/JPY
@@ -418,7 +418,7 @@ export default class btcbox extends Exchange {
418
418
  * @description fetches information on an order made by the user
419
419
  * @param {string} symbol unified symbol of the market the order was made in
420
420
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
421
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
421
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
422
422
  */
423
423
  await this.loadMarkets();
424
424
  // a special case for btcbox – default symbol is BTC/JPY
@@ -488,7 +488,7 @@ export default class btcbox extends Exchange {
488
488
  * @param {int} [since] the earliest time in ms to fetch orders for
489
489
  * @param {int} [limit] the maximum number of orde structures to retrieve
490
490
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
491
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
491
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
492
492
  */
493
493
  return await this.fetchOrdersByType('all', symbol, since, limit, params);
494
494
  }
@@ -501,7 +501,7 @@ export default class btcbox extends Exchange {
501
501
  * @param {int} [since] the earliest time in ms to fetch open orders for
502
502
  * @param {int} [limit] the maximum number of open orders structures to retrieve
503
503
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
504
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
504
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
505
505
  */
506
506
  return await this.fetchOrdersByType('open', symbol, since, limit, params);
507
507
  }
@@ -198,7 +198,7 @@ export default class btcmarkets extends Exchange {
198
198
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
199
199
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
200
200
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
201
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
201
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
202
202
  */
203
203
  return await this.fetchTransactionsWithMethod('privateGetTransfers', code, since, limit, params);
204
204
  }
@@ -211,7 +211,7 @@ export default class btcmarkets extends Exchange {
211
211
  * @param {int} [since] the earliest time in ms to fetch deposits for
212
212
  * @param {int} [limit] the maximum number of deposits structures to retrieve
213
213
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
214
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
214
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
215
215
  */
216
216
  return await this.fetchTransactionsWithMethod('privateGetDeposits', code, since, limit, params);
217
217
  }
@@ -224,7 +224,7 @@ export default class btcmarkets extends Exchange {
224
224
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
225
225
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
226
226
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
227
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
227
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
228
228
  */
229
229
  return await this.fetchTransactionsWithMethod('privateGetWithdrawals', code, since, limit, params);
230
230
  }
@@ -474,7 +474,7 @@ export default class btcmarkets extends Exchange {
474
474
  * @name btcmarkets#fetchBalance
475
475
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
476
476
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
477
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
477
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
478
478
  */
479
479
  await this.loadMarkets();
480
480
  const response = await this.privateGetAccountsMeBalances(params);
@@ -547,7 +547,7 @@ export default class btcmarkets extends Exchange {
547
547
  * @param {string} symbol unified symbol of the market to fetch the order book for
548
548
  * @param {int} [limit] the maximum amount of order book entries to return
549
549
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
550
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
550
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
551
551
  */
552
552
  await this.loadMarkets();
553
553
  const market = this.market(symbol);
@@ -633,7 +633,7 @@ export default class btcmarkets extends Exchange {
633
633
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
634
634
  * @param {string} symbol unified symbol of the market to fetch the ticker for
635
635
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
636
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
636
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
637
637
  */
638
638
  await this.loadMarkets();
639
639
  const market = this.market(symbol);
@@ -743,7 +743,7 @@ export default class btcmarkets extends Exchange {
743
743
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
744
744
  * @param {int} [limit] the maximum amount of trades to fetch
745
745
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
746
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
746
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
747
747
  */
748
748
  await this.loadMarkets();
749
749
  const market = this.market(symbol);
@@ -770,9 +770,9 @@ export default class btcmarkets extends Exchange {
770
770
  * @param {string} type 'market' or 'limit'
771
771
  * @param {string} side 'buy' or 'sell'
772
772
  * @param {float} amount how much of currency you want to trade in units of base currency
773
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
773
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
774
774
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
775
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
775
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
776
776
  */
777
777
  await this.loadMarkets();
778
778
  const market = this.market(symbol);
@@ -869,7 +869,7 @@ export default class btcmarkets extends Exchange {
869
869
  * @param {string[]} ids order ids
870
870
  * @param {string} symbol not used by btcmarkets cancelOrders ()
871
871
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
872
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
872
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
873
873
  */
874
874
  await this.loadMarkets();
875
875
  for (let i = 0; i < ids.length; i++) {
@@ -888,7 +888,7 @@ export default class btcmarkets extends Exchange {
888
888
  * @param {string} id order id
889
889
  * @param {string} symbol not used by btcmarket cancelOrder ()
890
890
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
891
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
891
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
892
892
  */
893
893
  await this.loadMarkets();
894
894
  const request = {
@@ -1006,7 +1006,7 @@ export default class btcmarkets extends Exchange {
1006
1006
  * @description fetches information on an order made by the user
1007
1007
  * @param {string} symbol not used by btcmarkets fetchOrder
1008
1008
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1009
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1009
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1010
1010
  */
1011
1011
  await this.loadMarkets();
1012
1012
  const request = {
@@ -1024,7 +1024,7 @@ export default class btcmarkets extends Exchange {
1024
1024
  * @param {int} [since] the earliest time in ms to fetch orders for
1025
1025
  * @param {int} [limit] the maximum number of orde structures to retrieve
1026
1026
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1027
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1027
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1028
1028
  */
1029
1029
  await this.loadMarkets();
1030
1030
  const request = {
@@ -1053,7 +1053,7 @@ export default class btcmarkets extends Exchange {
1053
1053
  * @param {int} [since] the earliest time in ms to fetch open orders for
1054
1054
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1055
1055
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1056
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1056
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1057
1057
  */
1058
1058
  const request = { 'status': 'open' };
1059
1059
  return await this.fetchOrders(symbol, since, limit, this.extend(request, params));
@@ -1067,7 +1067,7 @@ export default class btcmarkets extends Exchange {
1067
1067
  * @param {int} [since] the earliest time in ms to fetch orders for
1068
1068
  * @param {int} [limit] the maximum number of orde structures to retrieve
1069
1069
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1070
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1070
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1071
1071
  */
1072
1072
  const orders = await this.fetchOrders(symbol, since, limit, params);
1073
1073
  return this.filterBy(orders, 'status', 'closed');
@@ -1081,7 +1081,7 @@ export default class btcmarkets extends Exchange {
1081
1081
  * @param {int} [since] the earliest time in ms to fetch trades for
1082
1082
  * @param {int} [limit] the maximum number of trades structures to retrieve
1083
1083
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1084
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1084
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1085
1085
  */
1086
1086
  await this.loadMarkets();
1087
1087
  const request = {};
@@ -1136,7 +1136,7 @@ export default class btcmarkets extends Exchange {
1136
1136
  * @param {string} address the address to withdraw to
1137
1137
  * @param {string} tag
1138
1138
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
1139
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1139
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1140
1140
  */
1141
1141
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1142
1142
  await this.loadMarkets();