ccxt 4.1.64 → 4.1.65

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 (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +2558 -2534
  3. package/dist/ccxt.browser.min.js +2 -2
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +1 -0
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +28 -28
  64. package/dist/cjs/src/krakenfutures.js +9 -9
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +17 -17
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +32 -32
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +8 -8
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +21 -21
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +15 -15
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/mexc.d.ts +2 -0
  149. package/js/src/ace.js +13 -13
  150. package/js/src/alpaca.js +10 -10
  151. package/js/src/ascendex.js +33 -33
  152. package/js/src/base/Exchange.js +6 -6
  153. package/js/src/bigone.js +23 -23
  154. package/js/src/binance.js +68 -68
  155. package/js/src/binanceus.js +1 -0
  156. package/js/src/bingx.js +33 -33
  157. package/js/src/bit2c.js +11 -11
  158. package/js/src/bitbank.js +14 -14
  159. package/js/src/bitbns.js +15 -15
  160. package/js/src/bitfinex.js +24 -24
  161. package/js/src/bitfinex2.js +30 -30
  162. package/js/src/bitflyer.js +17 -17
  163. package/js/src/bitforex.js +12 -12
  164. package/js/src/bitget.js +50 -50
  165. package/js/src/bithumb.js +13 -13
  166. package/js/src/bitmart.js +74 -59
  167. package/js/src/bitmex.js +29 -28
  168. package/js/src/bitopro.js +23 -23
  169. package/js/src/bitpanda.js +25 -25
  170. package/js/src/bitrue.js +26 -26
  171. package/js/src/bitso.js +22 -22
  172. package/js/src/bitstamp.js +24 -24
  173. package/js/src/bittrex.js +31 -31
  174. package/js/src/bitvavo.js +23 -23
  175. package/js/src/bl3p.js +7 -7
  176. package/js/src/blockchaincom.js +23 -23
  177. package/js/src/btcalpha.js +17 -17
  178. package/js/src/btcbox.js +9 -9
  179. package/js/src/btcmarkets.js +19 -19
  180. package/js/src/btcturk.js +13 -13
  181. package/js/src/bybit.js +71 -67
  182. package/js/src/cex.js +17 -17
  183. package/js/src/coinbase.js +28 -28
  184. package/js/src/coinbasepro.js +27 -27
  185. package/js/src/coincheck.js +11 -11
  186. package/js/src/coinex.js +42 -42
  187. package/js/src/coinlist.js +29 -29
  188. package/js/src/coinmate.js +14 -14
  189. package/js/src/coinone.js +13 -13
  190. package/js/src/coinsph.js +25 -25
  191. package/js/src/coinspot.js +9 -9
  192. package/js/src/cryptocom.js +33 -32
  193. package/js/src/currencycom.js +24 -24
  194. package/js/src/delta.js +29 -29
  195. package/js/src/deribit.js +35 -35
  196. package/js/src/digifinex.js +43 -43
  197. package/js/src/exmo.js +30 -30
  198. package/js/src/gate.js +39 -39
  199. package/js/src/gemini.js +18 -18
  200. package/js/src/hitbtc.js +40 -40
  201. package/js/src/hollaex.js +26 -26
  202. package/js/src/htx.js +48 -48
  203. package/js/src/huobijp.js +24 -24
  204. package/js/src/idex.js +23 -23
  205. package/js/src/independentreserve.js +12 -12
  206. package/js/src/indodax.js +16 -16
  207. package/js/src/kraken.js +28 -28
  208. package/js/src/krakenfutures.js +9 -9
  209. package/js/src/kucoin.js +39 -39
  210. package/js/src/kucoinfutures.js +24 -24
  211. package/js/src/kuna.js +25 -25
  212. package/js/src/latoken.js +20 -20
  213. package/js/src/lbank.js +24 -24
  214. package/js/src/luno.js +17 -17
  215. package/js/src/lykke.js +18 -18
  216. package/js/src/mercado.js +13 -13
  217. package/js/src/mexc.js +47 -45
  218. package/js/src/ndax.js +23 -23
  219. package/js/src/novadax.js +23 -23
  220. package/js/src/oceanex.js +19 -19
  221. package/js/src/okcoin.js +25 -25
  222. package/js/src/okx.js +53 -53
  223. package/js/src/p2b.js +14 -14
  224. package/js/src/paymium.js +10 -10
  225. package/js/src/phemex.js +32 -32
  226. package/js/src/poloniex.js +27 -27
  227. package/js/src/poloniexfutures.js +21 -21
  228. package/js/src/pro/alpaca.js +6 -6
  229. package/js/src/pro/ascendex.js +5 -5
  230. package/js/src/pro/binance.js +21 -21
  231. package/js/src/pro/bingx.js +6 -6
  232. package/js/src/pro/bitfinex.js +4 -4
  233. package/js/src/pro/bitfinex2.js +7 -7
  234. package/js/src/pro/bitget.js +12 -12
  235. package/js/src/pro/bitmart.js +5 -5
  236. package/js/src/pro/bitmex.js +8 -8
  237. package/js/src/pro/bitopro.js +4 -4
  238. package/js/src/pro/bitpanda.js +7 -7
  239. package/js/src/pro/bitrue.js +2 -2
  240. package/js/src/pro/bitstamp.js +3 -3
  241. package/js/src/pro/bittrex.js +7 -7
  242. package/js/src/pro/bitvavo.js +6 -6
  243. package/js/src/pro/blockchaincom.js +6 -6
  244. package/js/src/pro/bybit.js +12 -12
  245. package/js/src/pro/cex.js +9 -9
  246. package/js/src/pro/coinbase.js +6 -6
  247. package/js/src/pro/coinbasepro.js +10 -10
  248. package/js/src/pro/coinex.js +7 -7
  249. package/js/src/pro/cryptocom.js +13 -13
  250. package/js/src/pro/currencycom.js +5 -5
  251. package/js/src/pro/deribit.js +7 -7
  252. package/js/src/pro/exmo.js +5 -5
  253. package/js/src/pro/gate.js +10 -10
  254. package/js/src/pro/gemini.js +4 -4
  255. package/js/src/pro/hitbtc.js +11 -11
  256. package/js/src/pro/hollaex.js +5 -5
  257. package/js/src/pro/htx.js +8 -8
  258. package/js/src/pro/huobijp.js +4 -4
  259. package/js/src/pro/idex.js +5 -5
  260. package/js/src/pro/independentreserve.js +2 -2
  261. package/js/src/pro/kraken.js +11 -11
  262. package/js/src/pro/krakenfutures.js +8 -8
  263. package/js/src/pro/kucoin.js +10 -10
  264. package/js/src/pro/kucoinfutures.js +8 -8
  265. package/js/src/pro/luno.js +4 -4
  266. package/js/src/pro/mexc.js +7 -7
  267. package/js/src/pro/ndax.js +4 -4
  268. package/js/src/pro/okcoin.js +6 -6
  269. package/js/src/pro/okx.js +16 -16
  270. package/js/src/pro/phemex.js +7 -7
  271. package/js/src/pro/poloniex.js +7 -7
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +3 -3
  275. package/js/src/pro/wazirx.js +7 -7
  276. package/js/src/pro/whitebit.js +7 -7
  277. package/js/src/pro/woo.js +1 -1
  278. package/js/src/probit.js +24 -24
  279. package/js/src/tidex.js +15 -15
  280. package/js/src/timex.js +19 -19
  281. package/js/src/tokocrypto.js +21 -21
  282. package/js/src/upbit.js +22 -22
  283. package/js/src/wavesexchange.js +19 -19
  284. package/js/src/wazirx.js +15 -15
  285. package/js/src/whitebit.js +29 -29
  286. package/js/src/woo.js +26 -26
  287. package/js/src/yobit.js +17 -17
  288. package/js/src/zaif.js +10 -10
  289. package/js/src/zonda.js +16 -16
  290. package/package.json +1 -1
@@ -155,7 +155,7 @@ class bitbns extends bitbns$1 {
155
155
  * @method
156
156
  * @name bitbns#fetchStatus
157
157
  * @description the latest known information on the availability of the exchange API
158
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
158
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
159
159
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
160
160
  */
161
161
  const response = await this.v1GetPlatformStatus(params);
@@ -185,7 +185,7 @@ class bitbns extends bitbns$1 {
185
185
  * @method
186
186
  * @name bitbns#fetchMarkets
187
187
  * @description retrieves data on all markets for bitbns
188
- * @param {object} [params] extra parameters specific to the exchange api endpoint
188
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
189
189
  * @returns {object[]} an array of objects representing market data
190
190
  */
191
191
  const response = await this.wwwGetOrderFetchMarkets(params);
@@ -288,7 +288,7 @@ class bitbns extends bitbns$1 {
288
288
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
289
289
  * @param {string} symbol unified symbol of the market to fetch the order book for
290
290
  * @param {int} [limit] the maximum amount of order book entries to return
291
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
291
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
292
292
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
293
293
  */
294
294
  await this.loadMarkets();
@@ -382,9 +382,9 @@ class bitbns extends bitbns$1 {
382
382
  /**
383
383
  * @method
384
384
  * @name bitbns#fetchTickers
385
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
385
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
386
386
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
387
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
387
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
388
388
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
389
389
  */
390
390
  await this.loadMarkets();
@@ -456,7 +456,7 @@ class bitbns extends bitbns$1 {
456
456
  * @method
457
457
  * @name bitbns#fetchBalance
458
458
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
459
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
459
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
460
460
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
461
461
  */
462
462
  await this.loadMarkets();
@@ -587,7 +587,7 @@ class bitbns extends bitbns$1 {
587
587
  * @param {string} side 'buy' or 'sell'
588
588
  * @param {float} amount how much of currency you want to trade in units of base currency
589
589
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
590
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
590
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
591
591
  * @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
592
592
  *
593
593
  * EXCHANGE SPECIFIC PARAMETERS
@@ -647,7 +647,7 @@ class bitbns extends bitbns$1 {
647
647
  * @see https://docs.bitbns.com/bitbns/rest-endpoints/order-apis/version-1/cancel-stop-loss-orders
648
648
  * @param {string} id order id
649
649
  * @param {string} symbol unified symbol of the market the order was made in
650
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
650
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
651
651
  * @param {boolean} [params.trigger] true if cancelling a trigger order
652
652
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
653
653
  */
@@ -678,7 +678,7 @@ class bitbns extends bitbns$1 {
678
678
  * @see https://docs.bitbns.com/bitbns/rest-endpoints/order-apis/version-1/order-status
679
679
  * @param {string} id order id
680
680
  * @param {string} symbol unified symbol of the market the order was made in
681
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
681
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
682
682
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
683
683
  */
684
684
  if (symbol === undefined) {
@@ -734,7 +734,7 @@ class bitbns extends bitbns$1 {
734
734
  * @param {string} symbol unified market symbol
735
735
  * @param {int} [since] the earliest time in ms to fetch open orders for
736
736
  * @param {int} [limit] the maximum number of open orders structures to retrieve
737
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
737
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
738
738
  * @param {boolean} [params.trigger] true if fetching trigger orders
739
739
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
740
740
  */
@@ -865,7 +865,7 @@ class bitbns extends bitbns$1 {
865
865
  * @param {string} symbol unified market symbol
866
866
  * @param {int} [since] the earliest time in ms to fetch trades for
867
867
  * @param {int} [limit] the maximum number of trades structures to retrieve
868
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
868
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
869
869
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
870
870
  */
871
871
  if (symbol === undefined) {
@@ -933,7 +933,7 @@ class bitbns extends bitbns$1 {
933
933
  * @param {string} symbol unified symbol of the market to fetch trades for
934
934
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
935
935
  * @param {int} [limit] the maximum amount of trades to fetch
936
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
936
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
937
937
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
938
938
  */
939
939
  if (symbol === undefined) {
@@ -963,7 +963,7 @@ class bitbns extends bitbns$1 {
963
963
  * @param {string} code unified currency code
964
964
  * @param {int} [since] the earliest time in ms to fetch deposits for
965
965
  * @param {int} [limit] the maximum number of deposits structures to retrieve
966
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
966
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
967
967
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
968
968
  */
969
969
  if (code === undefined) {
@@ -1010,7 +1010,7 @@ class bitbns extends bitbns$1 {
1010
1010
  * @param {string} code unified currency code
1011
1011
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1012
1012
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1013
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
1013
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1014
1014
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1015
1015
  */
1016
1016
  if (code === undefined) {
@@ -1122,7 +1122,7 @@ class bitbns extends bitbns$1 {
1122
1122
  * @name bitbns#fetchDepositAddress
1123
1123
  * @description fetch the deposit address for a currency associated with this account
1124
1124
  * @param {string} code unified currency code
1125
- * @param {object} [params] extra parameters specific to the bitbns api endpoint
1125
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1126
1126
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1127
1127
  */
1128
1128
  await this.loadMarkets();
@@ -401,7 +401,7 @@ class bitfinex extends bitfinex$1 {
401
401
  * @description please use fetchDepositWithdrawFees instead
402
402
  * @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
403
403
  * @param {string[]|undefined} codes list of unified currency codes
404
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
404
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
405
405
  * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
406
406
  */
407
407
  await this.loadMarkets();
@@ -437,7 +437,7 @@ class bitfinex extends bitfinex$1 {
437
437
  * @description fetch deposit and withdraw fees
438
438
  * @see https://docs.bitfinex.com/v1/reference/rest-auth-fees
439
439
  * @param {string[]|undefined} codes list of unified currency codes
440
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
440
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
441
441
  * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
442
442
  */
443
443
  await this.loadMarkets();
@@ -475,7 +475,7 @@ class bitfinex extends bitfinex$1 {
475
475
  * @method
476
476
  * @name bitfinex#fetchTradingFees
477
477
  * @description fetch the trading fees for multiple markets
478
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
478
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
479
479
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
480
480
  */
481
481
  await this.loadMarkets();
@@ -557,7 +557,7 @@ class bitfinex extends bitfinex$1 {
557
557
  * @method
558
558
  * @name bitfinex#fetchMarkets
559
559
  * @description retrieves data on all markets for bitfinex
560
- * @param {object} [params] extra parameters specific to the exchange api endpoint
560
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
561
561
  * @returns {object[]} an array of objects representing market data
562
562
  */
563
563
  const ids = await this.publicGetSymbols();
@@ -681,7 +681,7 @@ class bitfinex extends bitfinex$1 {
681
681
  * @method
682
682
  * @name bitfinex#fetchBalance
683
683
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
684
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
684
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
685
685
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
686
686
  */
687
687
  await this.loadMarkets();
@@ -742,7 +742,7 @@ class bitfinex extends bitfinex$1 {
742
742
  * @param {float} amount amount to transfer
743
743
  * @param {string} fromAccount account to transfer from
744
744
  * @param {string} toAccount account to transfer to
745
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
745
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
746
746
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
747
747
  */
748
748
  // transferring between derivatives wallet and regular wallet is not documented in their API
@@ -826,7 +826,7 @@ class bitfinex extends bitfinex$1 {
826
826
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
827
827
  * @param {string} symbol unified symbol of the market to fetch the order book for
828
828
  * @param {int} [limit] the maximum amount of order book entries to return
829
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
829
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
830
830
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
831
831
  */
832
832
  await this.loadMarkets();
@@ -845,9 +845,9 @@ class bitfinex extends bitfinex$1 {
845
845
  /**
846
846
  * @method
847
847
  * @name bitfinex#fetchTickers
848
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
848
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
849
849
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
850
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
850
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
851
851
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
852
852
  */
853
853
  await this.loadMarkets();
@@ -867,7 +867,7 @@ class bitfinex extends bitfinex$1 {
867
867
  * @name bitfinex#fetchTicker
868
868
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
869
869
  * @param {string} symbol unified symbol of the market to fetch the ticker for
870
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
870
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
871
871
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
872
872
  */
873
873
  await this.loadMarkets();
@@ -985,7 +985,7 @@ class bitfinex extends bitfinex$1 {
985
985
  * @param {string} symbol unified symbol of the market to fetch trades for
986
986
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
987
987
  * @param {int} [limit] the maximum amount of trades to fetch
988
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
988
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
989
989
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
990
990
  */
991
991
  await this.loadMarkets();
@@ -1020,7 +1020,7 @@ class bitfinex extends bitfinex$1 {
1020
1020
  * @param {string} symbol unified market symbol
1021
1021
  * @param {int} [since] the earliest time in ms to fetch trades for
1022
1022
  * @param {int} [limit] the maximum number of trades structures to retrieve
1023
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1023
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1024
1024
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1025
1025
  */
1026
1026
  if (symbol === undefined) {
@@ -1050,7 +1050,7 @@ class bitfinex extends bitfinex$1 {
1050
1050
  * @param {string} side 'buy' or 'sell'
1051
1051
  * @param {float} amount how much of currency you want to trade in units of base currency
1052
1052
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1053
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1053
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1054
1054
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1055
1055
  */
1056
1056
  await this.loadMarkets();
@@ -1114,7 +1114,7 @@ class bitfinex extends bitfinex$1 {
1114
1114
  * @description cancels an open order
1115
1115
  * @param {string} id order id
1116
1116
  * @param {string} symbol not used by bitfinex cancelOrder ()
1117
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1117
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1118
1118
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1119
1119
  */
1120
1120
  await this.loadMarkets();
@@ -1129,7 +1129,7 @@ class bitfinex extends bitfinex$1 {
1129
1129
  * @name bitfinex#cancelAllOrders
1130
1130
  * @description cancel all open orders
1131
1131
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1132
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1132
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1133
1133
  * @returns {object} response from exchange
1134
1134
  */
1135
1135
  return await this.privatePostOrderCancelAll(params);
@@ -1215,7 +1215,7 @@ class bitfinex extends bitfinex$1 {
1215
1215
  * @param {string} symbol unified market symbol
1216
1216
  * @param {int} [since] the earliest time in ms to fetch open orders for
1217
1217
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1218
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1218
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1219
1219
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1220
1220
  */
1221
1221
  await this.loadMarkets();
@@ -1239,7 +1239,7 @@ class bitfinex extends bitfinex$1 {
1239
1239
  * @param {string} symbol unified market symbol of the market orders were made in
1240
1240
  * @param {int} [since] the earliest time in ms to fetch orders for
1241
1241
  * @param {int} [limit] the maximum number of orde structures to retrieve
1242
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1242
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1243
1243
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1244
1244
  */
1245
1245
  await this.loadMarkets();
@@ -1262,7 +1262,7 @@ class bitfinex extends bitfinex$1 {
1262
1262
  * @name bitfinex#fetchOrder
1263
1263
  * @description fetches information on an order made by the user
1264
1264
  * @param {string} symbol not used by bitfinex fetchOrder
1265
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1265
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1266
1266
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1267
1267
  */
1268
1268
  await this.loadMarkets();
@@ -1301,7 +1301,7 @@ class bitfinex extends bitfinex$1 {
1301
1301
  * @param {string} timeframe the length of time each candle represents
1302
1302
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1303
1303
  * @param {int} [limit] the maximum amount of candles to fetch
1304
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1304
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1305
1305
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1306
1306
  */
1307
1307
  await this.loadMarkets();
@@ -1342,7 +1342,7 @@ class bitfinex extends bitfinex$1 {
1342
1342
  * @name bitfinex#createDepositAddress
1343
1343
  * @description create a currency deposit address
1344
1344
  * @param {string} code unified currency code of the currency for the deposit address
1345
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1345
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1346
1346
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1347
1347
  */
1348
1348
  await this.loadMarkets();
@@ -1357,7 +1357,7 @@ class bitfinex extends bitfinex$1 {
1357
1357
  * @name bitfinex#fetchDepositAddress
1358
1358
  * @description fetch the deposit address for a currency associated with this account
1359
1359
  * @param {string} code unified currency code
1360
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1360
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1361
1361
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1362
1362
  */
1363
1363
  await this.loadMarkets();
@@ -1392,7 +1392,7 @@ class bitfinex extends bitfinex$1 {
1392
1392
  * @param {string} code unified currency code for the currency of the deposit/withdrawals
1393
1393
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1394
1394
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1395
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1395
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1396
1396
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1397
1397
  */
1398
1398
  await this.loadMarkets();
@@ -1529,7 +1529,7 @@ class bitfinex extends bitfinex$1 {
1529
1529
  * @param {float} amount the amount to withdraw
1530
1530
  * @param {string} address the address to withdraw to
1531
1531
  * @param {string} tag
1532
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1532
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1533
1533
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1534
1534
  */
1535
1535
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1576,7 +1576,7 @@ class bitfinex extends bitfinex$1 {
1576
1576
  * @name bitfinex#fetchPositions
1577
1577
  * @description fetch all open positions
1578
1578
  * @param {string[]|undefined} symbols list of unified market symbols
1579
- * @param {object} [params] extra parameters specific to the bitfinex api endpoint
1579
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1580
1580
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1581
1581
  */
1582
1582
  await this.loadMarkets();
@@ -433,7 +433,7 @@ class bitfinex2 extends bitfinex2$1 {
433
433
  * @name bitfinex2#fetchStatus
434
434
  * @description the latest known information on the availability of the exchange API
435
435
  * @see https://docs.bitfinex.com/reference/rest-public-platform-status
436
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
436
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
437
437
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
438
438
  */
439
439
  //
@@ -456,7 +456,7 @@ class bitfinex2 extends bitfinex2$1 {
456
456
  * @name bitfinex2#fetchMarkets
457
457
  * @description retrieves data on all markets for bitfinex2
458
458
  * @see https://docs.bitfinex.com/reference/rest-public-conf
459
- * @param {object} [params] extra parameters specific to the exchange api endpoint
459
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
460
460
  * @returns {object[]} an array of objects representing market data
461
461
  */
462
462
  let spotMarketsInfo = await this.publicGetConfPubInfoPair(params);
@@ -586,7 +586,7 @@ class bitfinex2 extends bitfinex2$1 {
586
586
  * @name bitfinex2#fetchCurrencies
587
587
  * @description fetches all available currencies on an exchange
588
588
  * @see https://docs.bitfinex.com/reference/rest-public-conf
589
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
589
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
590
590
  * @returns {object} an associative dictionary of currencies
591
591
  */
592
592
  const labels = [
@@ -797,7 +797,7 @@ class bitfinex2 extends bitfinex2$1 {
797
797
  * @name bitfinex2#fetchBalance
798
798
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
799
799
  * @see https://docs.bitfinex.com/reference/rest-auth-wallets
800
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
800
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
801
801
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
802
802
  */
803
803
  // this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
@@ -842,7 +842,7 @@ class bitfinex2 extends bitfinex2$1 {
842
842
  * @param {float} amount amount to transfer
843
843
  * @param {string} fromAccount account to transfer from
844
844
  * @param {string} toAccount account to transfer to
845
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
845
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
846
846
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
847
847
  */
848
848
  // transferring between derivatives wallet and regular wallet is not documented in their API
@@ -986,7 +986,7 @@ class bitfinex2 extends bitfinex2$1 {
986
986
  * @see https://docs.bitfinex.com/reference/rest-public-book
987
987
  * @param {string} symbol unified symbol of the market to fetch the order book for
988
988
  * @param {int} [limit] the maximum amount of order book entries to return
989
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
989
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
990
990
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
991
991
  */
992
992
  await this.loadMarkets();
@@ -1095,10 +1095,10 @@ class bitfinex2 extends bitfinex2$1 {
1095
1095
  /**
1096
1096
  * @method
1097
1097
  * @name bitfinex2#fetchTickers
1098
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1098
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1099
1099
  * @see https://docs.bitfinex.com/reference/rest-public-tickers
1100
1100
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1101
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1101
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1102
1102
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1103
1103
  */
1104
1104
  await this.loadMarkets();
@@ -1168,7 +1168,7 @@ class bitfinex2 extends bitfinex2$1 {
1168
1168
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1169
1169
  * @see https://docs.bitfinex.com/reference/rest-public-ticker
1170
1170
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1171
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1171
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1172
1172
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1173
1173
  */
1174
1174
  await this.loadMarkets();
@@ -1271,7 +1271,7 @@ class bitfinex2 extends bitfinex2$1 {
1271
1271
  * @param {string} symbol unified symbol of the market to fetch trades for
1272
1272
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1273
1273
  * @param {int} [limit] the maximum amount of trades to fetch
1274
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1274
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1275
1275
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1276
1276
  * @param {int} [params.until] the latest time in ms to fetch entries for
1277
1277
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
@@ -1320,7 +1320,7 @@ class bitfinex2 extends bitfinex2$1 {
1320
1320
  * @param {string} timeframe the length of time each candle represents
1321
1321
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1322
1322
  * @param {int} [limit] the maximum amount of candles to fetch
1323
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1323
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1324
1324
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1325
1325
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
1326
1326
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -1492,7 +1492,7 @@ class bitfinex2 extends bitfinex2$1 {
1492
1492
  * @param {string} side 'buy' or 'sell'
1493
1493
  * @param {float} amount the amount of currency to trade
1494
1494
  * @param {float} [price] price of order
1495
- * @param {object} [params] Extra parameters specific to the exchange API endpoint
1495
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1496
1496
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
1497
1497
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
1498
1498
  * @param {bool} params.postOnly
@@ -1653,7 +1653,7 @@ class bitfinex2 extends bitfinex2$1 {
1653
1653
  * @description cancel all open orders
1654
1654
  * @see https://docs.bitfinex.com/reference/rest-auth-cancel-orders-multiple
1655
1655
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1656
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1656
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1657
1657
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1658
1658
  */
1659
1659
  const request = {
@@ -1671,7 +1671,7 @@ class bitfinex2 extends bitfinex2$1 {
1671
1671
  * @see https://docs.bitfinex.com/reference/rest-auth-cancel-order
1672
1672
  * @param {string} id order id
1673
1673
  * @param {string} symbol Not used by bitfinex2 cancelOrder ()
1674
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1674
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1675
1675
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1676
1676
  */
1677
1677
  const cid = this.safeValue2(params, 'cid', 'clientOrderId'); // client order id
@@ -1705,7 +1705,7 @@ class bitfinex2 extends bitfinex2$1 {
1705
1705
  * @see https://docs.bitfinex.com/reference/rest-auth-retrieve-orders-by-symbol
1706
1706
  * @param {string} id order id
1707
1707
  * @param {string} symbol unified market symbol, default is undefined
1708
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1708
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1709
1709
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1710
1710
  */
1711
1711
  const request = {
@@ -1727,7 +1727,7 @@ class bitfinex2 extends bitfinex2$1 {
1727
1727
  * @see https://docs.bitfinex.com/reference/rest-auth-retrieve-orders-by-symbol
1728
1728
  * @param {string} id order id
1729
1729
  * @param {string} symbol unified market symbol, default is undefined
1730
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1730
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1731
1731
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1732
1732
  */
1733
1733
  const request = {
@@ -1750,7 +1750,7 @@ class bitfinex2 extends bitfinex2$1 {
1750
1750
  * @param {string} symbol unified market symbol
1751
1751
  * @param {int} [since] the earliest time in ms to fetch open orders for
1752
1752
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1753
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1753
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1754
1754
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1755
1755
  */
1756
1756
  await this.loadMarkets();
@@ -1815,7 +1815,7 @@ class bitfinex2 extends bitfinex2$1 {
1815
1815
  * @param {string} symbol unified market symbol of the market orders were made in
1816
1816
  * @param {int} [since] the earliest time in ms to fetch orders for
1817
1817
  * @param {int} [limit] the maximum number of orde structures to retrieve
1818
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1818
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1819
1819
  * @param {int} [params.until] the latest time in ms to fetch entries for
1820
1820
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1821
1821
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1895,7 +1895,7 @@ class bitfinex2 extends bitfinex2$1 {
1895
1895
  * @param {string} symbol unified market symbol
1896
1896
  * @param {int} [since] the earliest time in ms to fetch trades for
1897
1897
  * @param {int} [limit] the maximum number of trades to retrieve
1898
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1898
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1899
1899
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1900
1900
  */
1901
1901
  if (symbol === undefined) {
@@ -1922,7 +1922,7 @@ class bitfinex2 extends bitfinex2$1 {
1922
1922
  * @param {string} symbol unified market symbol
1923
1923
  * @param {int} [since] the earliest time in ms to fetch trades for
1924
1924
  * @param {int} [limit] the maximum number of trades structures to retrieve
1925
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1925
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1926
1926
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1927
1927
  */
1928
1928
  await this.loadMarkets();
@@ -1954,7 +1954,7 @@ class bitfinex2 extends bitfinex2$1 {
1954
1954
  * @description create a currency deposit address
1955
1955
  * @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
1956
1956
  * @param {string} code unified currency code of the currency for the deposit address
1957
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1957
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1958
1958
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1959
1959
  */
1960
1960
  await this.loadMarkets();
@@ -1970,7 +1970,7 @@ class bitfinex2 extends bitfinex2$1 {
1970
1970
  * @description fetch the deposit address for a currency associated with this account
1971
1971
  * @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
1972
1972
  * @param {string} code unified currency code
1973
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1973
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1974
1974
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1975
1975
  */
1976
1976
  await this.loadMarkets();
@@ -2185,7 +2185,7 @@ class bitfinex2 extends bitfinex2$1 {
2185
2185
  * @name bitfinex2#fetchTradingFees
2186
2186
  * @description fetch the trading fees for multiple markets
2187
2187
  * @see https://docs.bitfinex.com/reference/rest-auth-summary
2188
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2188
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2189
2189
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
2190
2190
  */
2191
2191
  await this.loadMarkets();
@@ -2303,7 +2303,7 @@ class bitfinex2 extends bitfinex2$1 {
2303
2303
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
2304
2304
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
2305
2305
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
2306
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2306
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2307
2307
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2308
2308
  */
2309
2309
  await this.loadMarkets();
@@ -2364,7 +2364,7 @@ class bitfinex2 extends bitfinex2$1 {
2364
2364
  * @param {float} amount the amount to withdraw
2365
2365
  * @param {string} address the address to withdraw to
2366
2366
  * @param {string} tag
2367
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2367
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2368
2368
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2369
2369
  */
2370
2370
  this.checkAddress(address);
@@ -2451,7 +2451,7 @@ class bitfinex2 extends bitfinex2$1 {
2451
2451
  * @description fetch all open positions
2452
2452
  * @see https://docs.bitfinex.com/reference/rest-auth-positions
2453
2453
  * @param {string[]|undefined} symbols list of unified market symbols
2454
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2454
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2455
2455
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2456
2456
  */
2457
2457
  await this.loadMarkets();
@@ -2706,7 +2706,7 @@ class bitfinex2 extends bitfinex2$1 {
2706
2706
  * @param {string} code unified currency code, default is undefined
2707
2707
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
2708
2708
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
2709
- * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2709
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2710
2710
  * @param {int} [params.until] timestamp in ms of the latest ledger entry
2711
2711
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2712
2712
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
@@ -2760,7 +2760,7 @@ class bitfinex2 extends bitfinex2$1 {
2760
2760
  * @description fetch the current funding rate
2761
2761
  * @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
2762
2762
  * @param {string} symbol unified market symbol
2763
- * @param {object} [params] extra parameters specific to the bingx api endpoint
2763
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2764
2764
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2765
2765
  */
2766
2766
  return this.fetchFundingRates([symbol], params);
@@ -2772,7 +2772,7 @@ class bitfinex2 extends bitfinex2$1 {
2772
2772
  * @description fetch the current funding rate
2773
2773
  * @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
2774
2774
  * @param {string[]} symbols list of unified market symbols
2775
- * @param {object} [params] extra parameters specific to the bingx api endpoint
2775
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2776
2776
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2777
2777
  */
2778
2778
  if (symbols === undefined) {
@@ -2823,7 +2823,7 @@ class bitfinex2 extends bitfinex2$1 {
2823
2823
  * @description fetches historical funding rate prices
2824
2824
  * @see https://docs.bitfinex.com/reference/rest-public-derivatives-status-history
2825
2825
  * @param {string} symbol unified market symbol
2826
- * @param {object} [params] extra parameters specific to the bingx api endpoint
2826
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2827
2827
  * @param {int} [params.until] timestamp in ms of the latest funding rate
2828
2828
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2829
2829
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}