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
package/js/src/bingx.js CHANGED
@@ -786,10 +786,9 @@ export default class bingx extends Exchange {
786
786
  }
787
787
  const isBuyerMaker = this.safeValue2(trade, 'buyerMaker', 'isBuyerMaker');
788
788
  let takeOrMaker = undefined;
789
- if (isBuyerMaker) {
790
- takeOrMaker = 'maker';
791
- }
792
- else if (isBuyerMaker !== undefined) {
789
+ let side = undefined;
790
+ if (isBuyerMaker !== undefined) {
791
+ side = isBuyerMaker ? 'sell' : 'buy';
793
792
  takeOrMaker = 'taker';
794
793
  }
795
794
  const cost = this.safeString(trade, 'quoteQty');
@@ -804,7 +803,7 @@ export default class bingx extends Exchange {
804
803
  'symbol': this.safeSymbol(undefined, market, '-', type),
805
804
  'order': undefined,
806
805
  'type': undefined,
807
- 'side': undefined,
806
+ 'side': side,
808
807
  'takerOrMaker': takeOrMaker,
809
808
  'price': this.safeString(trade, 'price'),
810
809
  'amount': this.safeString2(trade, 'qty', 'amount'),
@@ -826,7 +825,7 @@ export default class bingx extends Exchange {
826
825
  * @param {string} symbol unified symbol of the market to fetch the order book for
827
826
  * @param {int} [limit] the maximum amount of order book entries to return
828
827
  * @param {object} [params] extra parameters specific to the bingx api endpoint
829
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
828
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
830
829
  */
831
830
  await this.loadMarkets();
832
831
  const market = this.market(symbol);
@@ -914,7 +913,7 @@ export default class bingx extends Exchange {
914
913
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Current%20Funding%20Rate
915
914
  * @param {string} symbol unified market symbol
916
915
  * @param {object} [params] extra parameters specific to the bingx api endpoint
917
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
916
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
918
917
  */
919
918
  await this.loadMarkets();
920
919
  const market = this.market(symbol);
@@ -1038,7 +1037,7 @@ export default class bingx extends Exchange {
1038
1037
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Swap%20Open%20Positions
1039
1038
  * @param {string} symbol Unified CCXT market symbol
1040
1039
  * @param {object} [params] exchange specific parameters
1041
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=interest-history-structure}
1040
+ * @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
1042
1041
  */
1043
1042
  await this.loadMarkets();
1044
1043
  const market = this.market(symbol);
@@ -1089,7 +1088,7 @@ export default class bingx extends Exchange {
1089
1088
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Ticker
1090
1089
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1091
1090
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1092
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1091
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1093
1092
  */
1094
1093
  await this.loadMarkets();
1095
1094
  const market = this.market(symbol);
@@ -1131,7 +1130,7 @@ export default class bingx extends Exchange {
1131
1130
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Ticker
1132
1131
  * @param {[string]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1133
1132
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1134
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1133
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1135
1134
  */
1136
1135
  await this.loadMarkets();
1137
1136
  if (symbols !== undefined) {
@@ -1347,7 +1346,7 @@ export default class bingx extends Exchange {
1347
1346
  * @param {[string]|undefined} symbols list of unified market symbols
1348
1347
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1349
1348
  * @param {boolean} [params.standard] whether to fetch standard contract positions
1350
- * @returns {[object]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1349
+ * @returns {[object]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
1351
1350
  */
1352
1351
  await this.loadMarkets();
1353
1352
  symbols = this.marketSymbols(symbols);
@@ -1463,7 +1462,7 @@ export default class bingx extends Exchange {
1463
1462
  * @param {object} [params.triggerPrice] triggerPrice at which the attached take profit / stop loss order will be triggered (swap markets only)
1464
1463
  * @param {float} [params.stopLossPrice] stop loss trigger price (swap markets only)
1465
1464
  * @param {float} [params.takeProfitPrice] take profit trigger price (swap markets only)
1466
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1465
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1467
1466
  */
1468
1467
  await this.loadMarkets();
1469
1468
  const market = this.market(symbol);
@@ -1755,7 +1754,7 @@ export default class bingx extends Exchange {
1755
1754
  * @param {string} id order id
1756
1755
  * @param {string} symbol unified symbol of the market the order was made in
1757
1756
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1758
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1757
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1759
1758
  */
1760
1759
  this.checkRequiredSymbol('cancelOrder', symbol);
1761
1760
  await this.loadMarkets();
@@ -1830,7 +1829,7 @@ export default class bingx extends Exchange {
1830
1829
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20All%20Orders
1831
1830
  * @param {string} [symbol] unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1832
1831
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1833
- * @returns {[object]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1832
+ * @returns {[object]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1834
1833
  */
1835
1834
  this.checkRequiredSymbol('cancelAllOrders', symbol);
1836
1835
  await this.loadMarkets();
@@ -1882,7 +1881,7 @@ export default class bingx extends Exchange {
1882
1881
  * @param {[string]} ids order ids
1883
1882
  * @param {string} symbol unified market symbol, default is undefined
1884
1883
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1885
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1884
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1886
1885
  */
1887
1886
  this.checkRequiredSymbol('cancelOrders', symbol);
1888
1887
  await this.loadMarkets();
@@ -1935,7 +1934,7 @@ export default class bingx extends Exchange {
1935
1934
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Query%20Order
1936
1935
  * @param {string} symbol unified symbol of the market the order was made in
1937
1936
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1938
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1937
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1939
1938
  */
1940
1939
  this.checkRequiredSymbol('fetchOrders', symbol);
1941
1940
  await this.loadMarkets();
@@ -2018,7 +2017,7 @@ export default class bingx extends Exchange {
2018
2017
  * @param {int} [since] the earliest time in ms to fetch open orders for
2019
2018
  * @param {int} [limit] the maximum number of open order structures to retrieve
2020
2019
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2021
- * @returns {[object]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2020
+ * @returns {[object]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2022
2021
  */
2023
2022
  this.checkRequiredSymbol('fetchOrders', symbol);
2024
2023
  await this.loadMarkets();
@@ -2107,7 +2106,7 @@ export default class bingx extends Exchange {
2107
2106
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2108
2107
  * @param {int} [params.until] the latest time in ms to fetch orders for
2109
2108
  * @param {boolean} [params.standard] whether to fetch standard contract orders
2110
- * @returns {[object]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2109
+ * @returns {[object]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2111
2110
  */
2112
2111
  this.checkRequiredSymbol('fetchClosedOrders', symbol);
2113
2112
  await this.loadMarkets();
@@ -2198,7 +2197,7 @@ export default class bingx extends Exchange {
2198
2197
  * @param {string} fromAccount account to transfer from
2199
2198
  * @param {string} toAccount account to transfer to
2200
2199
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2201
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2200
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2202
2201
  */
2203
2202
  await this.loadMarkets();
2204
2203
  const currency = this.currency(code);
@@ -2238,7 +2237,7 @@ export default class bingx extends Exchange {
2238
2237
  * @param {int} [since] the earliest time in ms to fetch transfers for
2239
2238
  * @param {int} [limit] the maximum number of transfers structures to retrieve
2240
2239
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2241
- * @returns {[object]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2240
+ * @returns {[object]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2242
2241
  */
2243
2242
  await this.loadMarkets();
2244
2243
  let currency = undefined;
@@ -2315,7 +2314,7 @@ export default class bingx extends Exchange {
2315
2314
  * @param {int} [since] the earliest time in ms to fetch deposits for
2316
2315
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2317
2316
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2318
- * @returns {[object]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2317
+ * @returns {[object]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2319
2318
  */
2320
2319
  await this.loadMarkets();
2321
2320
  const request = {};
@@ -2360,7 +2359,7 @@ export default class bingx extends Exchange {
2360
2359
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2361
2360
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2362
2361
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2363
- * @returns {[object]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2362
+ * @returns {[object]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2364
2363
  */
2365
2364
  await this.loadMarkets();
2366
2365
  const request = {};
@@ -2532,7 +2531,7 @@ export default class bingx extends Exchange {
2532
2531
  * @param {string} symbol unified market symbol of the market to set margin in
2533
2532
  * @param {float} amount the amount to set the margin to
2534
2533
  * @param {object} [params] parameters specific to the bingx api endpoint
2535
- * @returns {object} A [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
2534
+ * @returns {object} A [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
2536
2535
  */
2537
2536
  const type = this.safeInteger(params, 'type'); // 1 increase margin 2 decrease margin
2538
2537
  if (type === undefined) {
@@ -2567,7 +2566,7 @@ export default class bingx extends Exchange {
2567
2566
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Query%20Leverage
2568
2567
  * @param {string} symbol unified market symbol
2569
2568
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2570
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
2569
+ * @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
2571
2570
  */
2572
2571
  await this.loadMarkets();
2573
2572
  const market = this.market(symbol);
@@ -2631,7 +2630,7 @@ export default class bingx extends Exchange {
2631
2630
  * @param {int} [limit] the maximum number of trades structures to retrieve
2632
2631
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2633
2632
  * @param {string} params.trandingUnit COIN (directly represent assets such as BTC and ETH) or CONT (represents the number of contract sheets)
2634
- * @returns {[object]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2633
+ * @returns {[object]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2635
2634
  */
2636
2635
  this.checkRequiredArgument('fetchMyTrades', symbol, 'symbol');
2637
2636
  this.checkRequiredArgument('fetchMyTrades', since, 'since');
@@ -2762,7 +2761,7 @@ export default class bingx extends Exchange {
2762
2761
  * @param {string} [tag]
2763
2762
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2764
2763
  * @param {int} [params.walletType] 1 fund account, 2 standard account, 3 perpetual account
2765
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2764
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2766
2765
  */
2767
2766
  await this.loadMarkets();
2768
2767
  const currency = this.currency(code);
package/js/src/bit2c.js CHANGED
@@ -264,7 +264,7 @@ export default class bit2c extends Exchange {
264
264
  * @param {string} symbol unified symbol of the market to fetch the order book for
265
265
  * @param {int} [limit] the maximum amount of order book entries to return
266
266
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
267
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
267
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
268
268
  */
269
269
  await this.loadMarkets();
270
270
  const market = this.market(symbol);
@@ -310,7 +310,7 @@ export default class bit2c extends Exchange {
310
310
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
311
311
  * @param {string} symbol unified symbol of the market to fetch the ticker for
312
312
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
313
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
313
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
314
314
  */
315
315
  await this.loadMarkets();
316
316
  const market = this.market(symbol);
@@ -362,7 +362,7 @@ export default class bit2c extends Exchange {
362
362
  * @name bit2c#fetchTradingFees
363
363
  * @description fetch the trading fees for multiple markets
364
364
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
365
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
365
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
366
366
  */
367
367
  await this.loadMarkets();
368
368
  const response = await this.privateGetAccountBalance(params);
@@ -413,9 +413,9 @@ export default class bit2c extends Exchange {
413
413
  * @param {string} type 'market' or 'limit'
414
414
  * @param {string} side 'buy' or 'sell'
415
415
  * @param {float} amount how much of currency you want to trade in units of base currency
416
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
416
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
417
417
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
418
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
418
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
419
419
  */
420
420
  await this.loadMarkets();
421
421
  let method = 'privatePostOrderAddOrder';
@@ -445,7 +445,7 @@ export default class bit2c extends Exchange {
445
445
  * @param {string} id order id
446
446
  * @param {string} symbol Not used by bit2c cancelOrder ()
447
447
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
448
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
448
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
449
449
  */
450
450
  const request = {
451
451
  'id': id,
@@ -461,7 +461,7 @@ export default class bit2c extends Exchange {
461
461
  * @param {int} [since] the earliest time in ms to fetch open orders for
462
462
  * @param {int} [limit] the maximum number of open orders structures to retrieve
463
463
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
464
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
464
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
465
465
  */
466
466
  if (symbol === undefined) {
467
467
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -484,7 +484,7 @@ export default class bit2c extends Exchange {
484
484
  * @description fetches information on an order made by the user
485
485
  * @param {string} symbol unified market symbol
486
486
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
487
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
487
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
488
488
  */
489
489
  await this.loadMarkets();
490
490
  const market = this.market(symbol);
@@ -638,7 +638,7 @@ export default class bit2c extends Exchange {
638
638
  * @param {int} [since] the earliest time in ms to fetch trades for
639
639
  * @param {int} [limit] the maximum number of trades structures to retrieve
640
640
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
641
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
641
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
642
642
  */
643
643
  await this.loadMarkets();
644
644
  let market = undefined;
@@ -816,7 +816,7 @@ export default class bit2c extends Exchange {
816
816
  * @description fetch the deposit address for a currency associated with this account
817
817
  * @param {string} code unified currency code
818
818
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
819
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
819
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
820
820
  */
821
821
  await this.loadMarkets();
822
822
  const currency = this.currency(code);
package/js/src/bitbank.js CHANGED
@@ -287,7 +287,7 @@ export default class bitbank extends Exchange {
287
287
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
288
288
  * @param {string} symbol unified symbol of the market to fetch the ticker for
289
289
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
290
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
290
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
291
291
  */
292
292
  await this.loadMarkets();
293
293
  const market = this.market(symbol);
@@ -306,7 +306,7 @@ export default class bitbank extends Exchange {
306
306
  * @param {string} symbol unified symbol of the market to fetch the order book for
307
307
  * @param {int} [limit] the maximum amount of order book entries to return
308
308
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
309
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
309
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
310
310
  */
311
311
  await this.loadMarkets();
312
312
  const market = this.market(symbol);
@@ -379,7 +379,7 @@ export default class bitbank extends Exchange {
379
379
  * @name bitbank#fetchTradingFees
380
380
  * @description fetch the trading fees for multiple markets
381
381
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
382
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
382
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
383
383
  */
384
384
  await this.loadMarkets();
385
385
  const response = await this.marketsGetSpotPairs(params);
@@ -623,9 +623,9 @@ export default class bitbank extends Exchange {
623
623
  * @param {string} type 'market' or 'limit'
624
624
  * @param {string} side 'buy' or 'sell'
625
625
  * @param {float} amount how much of currency you want to trade in units of base currency
626
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
626
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
627
627
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
628
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
628
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
629
629
  */
630
630
  await this.loadMarkets();
631
631
  const market = this.market(symbol);
@@ -650,7 +650,7 @@ export default class bitbank extends Exchange {
650
650
  * @param {string} id order id
651
651
  * @param {string} symbol unified symbol of the market the order was made in
652
652
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
653
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
653
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
654
654
  */
655
655
  await this.loadMarkets();
656
656
  const market = this.market(symbol);
@@ -669,7 +669,7 @@ export default class bitbank extends Exchange {
669
669
  * @description fetches information on an order made by the user
670
670
  * @param {string} symbol unified symbol of the market the order was made in
671
671
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
672
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
672
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
673
673
  */
674
674
  await this.loadMarkets();
675
675
  const market = this.market(symbol);
@@ -690,7 +690,7 @@ export default class bitbank extends Exchange {
690
690
  * @param {int} [since] the earliest time in ms to fetch open orders for
691
691
  * @param {int} [limit] the maximum number of open orders structures to retrieve
692
692
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
693
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
693
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
694
694
  */
695
695
  await this.loadMarkets();
696
696
  const market = this.market(symbol);
@@ -717,7 +717,7 @@ export default class bitbank extends Exchange {
717
717
  * @param {int} [since] the earliest time in ms to fetch trades for
718
718
  * @param {int} [limit] the maximum number of trades structures to retrieve
719
719
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
720
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
720
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
721
721
  */
722
722
  await this.loadMarkets();
723
723
  const request = {};
@@ -744,7 +744,7 @@ export default class bitbank extends Exchange {
744
744
  * @description fetch the deposit address for a currency associated with this account
745
745
  * @param {string} code unified currency code
746
746
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
747
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
747
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
748
748
  */
749
749
  await this.loadMarkets();
750
750
  const currency = this.currency(code);
@@ -775,7 +775,7 @@ export default class bitbank extends Exchange {
775
775
  * @param {string} address the address to withdraw to
776
776
  * @param {string} tag
777
777
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
778
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
778
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
779
779
  */
780
780
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
781
781
  if (!('uuid' in params)) {
package/js/src/bitbns.js CHANGED
@@ -159,7 +159,7 @@ export default class bitbns extends Exchange {
159
159
  * @name bitbns#fetchStatus
160
160
  * @description the latest known information on the availability of the exchange API
161
161
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
162
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
162
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
163
163
  */
164
164
  const response = await this.v1GetPlatformStatus(params);
165
165
  //
@@ -291,7 +291,7 @@ export default class bitbns extends Exchange {
291
291
  * @param {string} symbol unified symbol of the market to fetch the order book for
292
292
  * @param {int} [limit] the maximum amount of order book entries to return
293
293
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
294
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
294
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
295
295
  */
296
296
  await this.loadMarkets();
297
297
  const market = this.market(symbol);
@@ -387,7 +387,7 @@ export default class bitbns extends Exchange {
387
387
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
388
388
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
389
389
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
390
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
390
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
391
391
  */
392
392
  await this.loadMarkets();
393
393
  const response = await this.wwwGetOrderFetchTickers(params);
@@ -595,9 +595,9 @@ export default class bitbns extends Exchange {
595
595
  * @param {string} type 'market' or 'limit'
596
596
  * @param {string} side 'buy' or 'sell'
597
597
  * @param {float} amount how much of currency you want to trade in units of base currency
598
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
598
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
599
599
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
600
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
600
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
601
601
  */
602
602
  if (type !== 'limit' && type !== 'market') {
603
603
  throw new ExchangeError(this.id + ' allows limit and market orders only');
@@ -646,7 +646,7 @@ export default class bitbns extends Exchange {
646
646
  * @param {string} id order id
647
647
  * @param {string} symbol unified symbol of the market the order was made in
648
648
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
649
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
649
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
650
650
  */
651
651
  if (symbol === undefined) {
652
652
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -669,7 +669,7 @@ export default class bitbns extends Exchange {
669
669
  * @description fetches information on an order made by the user
670
670
  * @param {string} symbol unified symbol of the market the order was made in
671
671
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
672
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
672
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
673
673
  */
674
674
  if (symbol === undefined) {
675
675
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -719,7 +719,7 @@ export default class bitbns extends Exchange {
719
719
  * @param {int} [since] the earliest time in ms to fetch open orders for
720
720
  * @param {int} [limit] the maximum number of open orders structures to retrieve
721
721
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
722
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
722
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
723
723
  */
724
724
  if (symbol === undefined) {
725
725
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -844,7 +844,7 @@ export default class bitbns extends Exchange {
844
844
  * @param {int} [since] the earliest time in ms to fetch trades for
845
845
  * @param {int} [limit] the maximum number of trades structures to retrieve
846
846
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
847
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
847
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
848
848
  */
849
849
  if (symbol === undefined) {
850
850
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -942,7 +942,7 @@ export default class bitbns extends Exchange {
942
942
  * @param {int} [since] the earliest time in ms to fetch deposits for
943
943
  * @param {int} [limit] the maximum number of deposits structures to retrieve
944
944
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
945
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
945
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
946
946
  */
947
947
  if (code === undefined) {
948
948
  throw new ArgumentsRequired(this.id + ' fetchDeposits() requires a currency code argument');
@@ -989,7 +989,7 @@ export default class bitbns extends Exchange {
989
989
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
990
990
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
991
991
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
992
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
992
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
993
993
  */
994
994
  if (code === undefined) {
995
995
  throw new ArgumentsRequired(this.id + ' fetchWithdrawals() requires a currency code argument');
@@ -1100,7 +1100,7 @@ export default class bitbns extends Exchange {
1100
1100
  * @description fetch the deposit address for a currency associated with this account
1101
1101
  * @param {string} code unified currency code
1102
1102
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
1103
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1103
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1104
1104
  */
1105
1105
  await this.loadMarkets();
1106
1106
  const currency = this.currency(code);