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
@@ -1809,7 +1809,7 @@ class binance extends binance$1 {
1809
1809
  * @see https://binance-docs.github.io/apidocs/spot/en/#check-server-time // spot
1810
1810
  * @see https://binance-docs.github.io/apidocs/futures/en/#check-server-time // swap
1811
1811
  * @see https://binance-docs.github.io/apidocs/delivery/en/#check-server-time // future
1812
- * @param {object} [params] extra parameters specific to the binance api endpoint
1812
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1813
1813
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1814
1814
  */
1815
1815
  const defaultType = this.safeString2(this.options, 'fetchTime', 'defaultType', 'spot');
@@ -1835,7 +1835,7 @@ class binance extends binance$1 {
1835
1835
  * @name binance#fetchCurrencies
1836
1836
  * @description fetches all available currencies on an exchange
1837
1837
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
1838
- * @param {object} [params] extra parameters specific to the binance api endpoint
1838
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1839
1839
  * @returns {object} an associative dictionary of currencies
1840
1840
  */
1841
1841
  const fetchCurrenciesEnabled = this.safeValue(this.options, 'fetchCurrencies');
@@ -2015,7 +2015,7 @@ class binance extends binance$1 {
2015
2015
  * @see https://binance-docs.github.io/apidocs/futures/en/#exchange-information // swap
2016
2016
  * @see https://binance-docs.github.io/apidocs/delivery/en/#exchange-information // future
2017
2017
  * @see https://binance-docs.github.io/apidocs/voptions/en/#exchange-information // option
2018
- * @param {object} [params] extra parameters specific to the exchange api endpoint
2018
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2019
2019
  * @returns {object[]} an array of objects representing market data
2020
2020
  */
2021
2021
  const promisesRaw = [];
@@ -2547,7 +2547,7 @@ class binance extends binance$1 {
2547
2547
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data // swap
2548
2548
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data // future
2549
2549
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-account-information-trade // option
2550
- * @param {object} [params] extra parameters specific to the binance api endpoint
2550
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2551
2551
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
2552
2552
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
2553
2553
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
@@ -2801,7 +2801,7 @@ class binance extends binance$1 {
2801
2801
  * @see https://binance-docs.github.io/apidocs/voptions/en/#order-book // option
2802
2802
  * @param {string} symbol unified symbol of the market to fetch the order book for
2803
2803
  * @param {int} [limit] the maximum amount of order book entries to return
2804
- * @param {object} [params] extra parameters specific to the binance api endpoint
2804
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2805
2805
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
2806
2806
  */
2807
2807
  await this.loadMarkets();
@@ -3021,7 +3021,7 @@ class binance extends binance$1 {
3021
3021
  * @name binance#fetchStatus
3022
3022
  * @description the latest known information on the availability of the exchange API
3023
3023
  * @see https://binance-docs.github.io/apidocs/spot/en/#system-status-system
3024
- * @param {object} [params] extra parameters specific to the binance api endpoint
3024
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3025
3025
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
3026
3026
  */
3027
3027
  const response = await this.sapiGetSystemStatus(params);
@@ -3051,7 +3051,7 @@ class binance extends binance$1 {
3051
3051
  * @see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics // future
3052
3052
  * @see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics // option
3053
3053
  * @param {string} symbol unified symbol of the market to fetch the ticker for
3054
- * @param {object} [params] extra parameters specific to the binance api endpoint
3054
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3055
3055
  * @param {boolean} [params.rolling] (spot only) default false, if true, uses the rolling 24 hour ticker endpoint /api/v3/ticker
3056
3056
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3057
3057
  */
@@ -3095,7 +3095,7 @@ class binance extends binance$1 {
3095
3095
  * @see https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker // swap
3096
3096
  * @see https://binance-docs.github.io/apidocs/delivery/en/#symbol-order-book-ticker // future
3097
3097
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3098
- * @param {object} [params] extra parameters specific to the binance api endpoint
3098
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3099
3099
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3100
3100
  */
3101
3101
  await this.loadMarkets();
@@ -3130,7 +3130,7 @@ class binance extends binance$1 {
3130
3130
  * @see https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker // swap
3131
3131
  * @see https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker // future
3132
3132
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the last prices
3133
- * @param {object} [params] extra parameters specific to the binance api endpoint
3133
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3134
3134
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3135
3135
  */
3136
3136
  await this.loadMarkets();
@@ -3229,13 +3229,13 @@ class binance extends binance$1 {
3229
3229
  /**
3230
3230
  * @method
3231
3231
  * @name binance#fetchTickers
3232
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
3232
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
3233
3233
  * @see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics // spot
3234
3234
  * @see https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics // swap
3235
3235
  * @see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics // future
3236
3236
  * @see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics // option
3237
3237
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
3238
- * @param {object} [params] extra parameters specific to the binance api endpoint
3238
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3239
3239
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3240
3240
  */
3241
3241
  await this.loadMarkets();
@@ -3346,7 +3346,7 @@ class binance extends binance$1 {
3346
3346
  * @param {string} timeframe the length of time each candle represents
3347
3347
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
3348
3348
  * @param {int} [limit] the maximum amount of candles to fetch
3349
- * @param {object} [params] extra parameters specific to the binance api endpoint
3349
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3350
3350
  * @param {string} [params.price] "mark" or "index" for mark price and index price candles
3351
3351
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
3352
3352
  * @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)
@@ -3689,7 +3689,7 @@ class binance extends binance$1 {
3689
3689
  * @param {string} symbol unified symbol of the market to fetch trades for
3690
3690
  * @param {int} [since] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
3691
3691
  * @param {int} [limit] default 500, max 1000
3692
- * @param {object} [params] extra parameters specific to the binance api endpoint
3692
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3693
3693
  * @param {int} [params.until] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
3694
3694
  * @param {int} [params.fetchTradesMethod] 'publicGetAggTrades' (spot default), 'fapiPublicGetAggTrades' (swap default), 'dapiPublicGetAggTrades' (future default), 'eapiPublicGetTrades' (option default), 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', 'publicGetHistoricalTrades', 'fapiPublicGetHistoricalTrades', 'dapiPublicGetHistoricalTrades', 'eapiPublicGetHistoricalTrades'
3695
3695
  * @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)
@@ -3827,7 +3827,7 @@ class binance extends binance$1 {
3827
3827
  * @param {float} amount how much of currency you want to trade in units of base currency
3828
3828
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3829
3829
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
3830
- * @param {object} [params] extra parameters specific to the binance api endpoint
3830
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3831
3831
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3832
3832
  */
3833
3833
  await this.loadMarkets();
@@ -3891,7 +3891,7 @@ class binance extends binance$1 {
3891
3891
  * @param {string} side 'buy' or 'sell'
3892
3892
  * @param {float} amount how much of currency you want to trade in units of base currency
3893
3893
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
3894
- * @param {object} params extra parameters specific to the binance api endpoint
3894
+ * @param {object} params extra parameters specific to the exchange API endpoint
3895
3895
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
3896
3896
  * @returns {object} request to be sent to the exchange
3897
3897
  */
@@ -4029,7 +4029,7 @@ class binance extends binance$1 {
4029
4029
  * @param {string} side 'buy' or 'sell'
4030
4030
  * @param {float} amount how much of currency you want to trade in units of base currency
4031
4031
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4032
- * @param {object} [params] extra parameters specific to the binance api endpoint
4032
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4033
4033
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4034
4034
  */
4035
4035
  await this.loadMarkets();
@@ -4101,7 +4101,7 @@ class binance extends binance$1 {
4101
4101
  * @param {string} side 'buy' or 'sell'
4102
4102
  * @param {float} amount how much of currency you want to trade in units of base currency
4103
4103
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4104
- * @param {object} [params] extra parameters specific to the binance api endpoint
4104
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4105
4105
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4106
4106
  */
4107
4107
  await this.loadMarkets();
@@ -4478,7 +4478,7 @@ class binance extends binance$1 {
4478
4478
  * @param {string} side 'buy' or 'sell'
4479
4479
  * @param {float} amount how much of currency you want to trade in units of base currency
4480
4480
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4481
- * @param {object} [params] extra parameters specific to the binance api endpoint
4481
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4482
4482
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4483
4483
  * @param {boolean} [params.sor] *spot only* whether to use SOR (Smart Order Routing) or not, default is false
4484
4484
  * @param {boolean} [params.test] *spot only* whether to use the test endpoint or not, default is false
@@ -4528,7 +4528,7 @@ class binance extends binance$1 {
4528
4528
  * @param {string} side 'buy' or 'sell'
4529
4529
  * @param {float} amount how much of currency you want to trade in units of base currency
4530
4530
  * @param {float|undefined} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4531
- * @param {object} params extra parameters specific to the binance api endpoint
4531
+ * @param {object} params extra parameters specific to the exchange API endpoint
4532
4532
  * @param {string|undefined} params.marginMode 'cross' or 'isolated', for spot margin trading
4533
4533
  * @returns {object} request to be sent to the exchange
4534
4534
  */
@@ -4764,7 +4764,7 @@ class binance extends binance$1 {
4764
4764
  * @see https://binance-docs.github.io/apidocs/voptions/en/#query-single-order-trade
4765
4765
  * @see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-order-user_data
4766
4766
  * @param {string} symbol unified symbol of the market the order was made in
4767
- * @param {object} [params] extra parameters specific to the binance api endpoint
4767
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4768
4768
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4769
4769
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4770
4770
  */
@@ -4824,7 +4824,7 @@ class binance extends binance$1 {
4824
4824
  * @param {string} symbol unified market symbol of the market orders were made in
4825
4825
  * @param {int} [since] the earliest time in ms to fetch orders for
4826
4826
  * @param {int} [limit] the maximum number of order structures to retrieve
4827
- * @param {object} [params] extra parameters specific to the binance api endpoint
4827
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4828
4828
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4829
4829
  * @param {int} [params.until] the latest time in ms to fetch orders for
4830
4830
  * @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)
@@ -4967,7 +4967,7 @@ class binance extends binance$1 {
4967
4967
  * @param {string} symbol unified market symbol
4968
4968
  * @param {int} [since] the earliest time in ms to fetch open orders for
4969
4969
  * @param {int} [limit] the maximum number of open orders structures to retrieve
4970
- * @param {object} [params] extra parameters specific to the binance api endpoint
4970
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4971
4971
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4972
4972
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
4973
4973
  */
@@ -5039,7 +5039,7 @@ class binance extends binance$1 {
5039
5039
  * @param {string} symbol unified market symbol of the market orders were made in
5040
5040
  * @param {int} [since] the earliest time in ms to fetch orders for
5041
5041
  * @param {int} [limit] the maximum number of order structures to retrieve
5042
- * @param {object} [params] extra parameters specific to the binance api endpoint
5042
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5043
5043
  * @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)
5044
5044
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5045
5045
  */
@@ -5057,7 +5057,7 @@ class binance extends binance$1 {
5057
5057
  * @param {string} symbol unified market symbol of the market the orders were made in
5058
5058
  * @param {int} [since] the earliest time in ms to fetch orders for
5059
5059
  * @param {int} [limit] the maximum number of order structures to retrieve
5060
- * @param {object} [params] extra parameters specific to the binance api endpoint
5060
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5061
5061
  * @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)
5062
5062
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5063
5063
  */
@@ -5086,7 +5086,7 @@ class binance extends binance$1 {
5086
5086
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
5087
5087
  * @param {string} id order id
5088
5088
  * @param {string} symbol unified symbol of the market the order was made in
5089
- * @param {object} [params] extra parameters specific to the binance api endpoint
5089
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5090
5090
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5091
5091
  */
5092
5092
  if (symbol === undefined) {
@@ -5145,7 +5145,7 @@ class binance extends binance$1 {
5145
5145
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
5146
5146
  * @description cancel all open orders in a market
5147
5147
  * @param {string} symbol unified market symbol of the market to cancel orders in
5148
- * @param {object} [params] extra parameters specific to the binance api endpoint
5148
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5149
5149
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
5150
5150
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5151
5151
  */
@@ -5193,7 +5193,7 @@ class binance extends binance$1 {
5193
5193
  * @see https://binance-docs.github.io/apidocs/delivery/en/#cancel-multiple-orders-trade
5194
5194
  * @param {string[]} ids order ids
5195
5195
  * @param {string} [symbol] unified market symbol
5196
- * @param {object} [params] extra parameters specific to the bingx api endpoint
5196
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5197
5197
  *
5198
5198
  * EXCHANGE SPECIFIC PARAMETERS
5199
5199
  * @param {string[]} [params.origClientOrderIdList] max length 10 e.g. ["my_id_1","my_id_2"], encode the double quotes. No space after comma
@@ -5269,7 +5269,7 @@ class binance extends binance$1 {
5269
5269
  * @param {string} symbol unified market symbol
5270
5270
  * @param {int} [since] the earliest time in ms to fetch trades for
5271
5271
  * @param {int} [limit] the maximum number of trades to retrieve
5272
- * @param {object} [params] extra parameters specific to the binance api endpoint
5272
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5273
5273
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
5274
5274
  */
5275
5275
  if (symbol === undefined) {
@@ -5299,7 +5299,7 @@ class binance extends binance$1 {
5299
5299
  * @param {string} symbol unified market symbol
5300
5300
  * @param {int} [since] the earliest time in ms to fetch trades for
5301
5301
  * @param {int} [limit] the maximum number of trades structures to retrieve
5302
- * @param {object} [params] extra parameters specific to the binance api endpoint
5302
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5303
5303
  * @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)
5304
5304
  * @param {int} [params.until] the latest time in ms to fetch entries for
5305
5305
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -5448,7 +5448,7 @@ class binance extends binance$1 {
5448
5448
  * @param {string} symbol not used by binance fetchMyDustTrades ()
5449
5449
  * @param {int} [since] the earliest time in ms to fetch my dust trades for
5450
5450
  * @param {int} [limit] the maximum number of dust trades to retrieve
5451
- * @param {object} [params] extra parameters specific to the binance api endpoint
5451
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5452
5452
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
5453
5453
  */
5454
5454
  //
@@ -5589,7 +5589,7 @@ class binance extends binance$1 {
5589
5589
  * @param {string} code unified currency code
5590
5590
  * @param {int} [since] the earliest time in ms to fetch deposits for
5591
5591
  * @param {int} [limit] the maximum number of deposits structures to retrieve
5592
- * @param {object} [params] extra parameters specific to the binance api endpoint
5592
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5593
5593
  * @param {bool} [params.fiat] if true, only fiat deposits will be returned
5594
5594
  * @param {int} [params.until] the latest time in ms to fetch entries for
5595
5595
  * @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)
@@ -5704,7 +5704,7 @@ class binance extends binance$1 {
5704
5704
  * @param {string} code unified currency code
5705
5705
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
5706
5706
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
5707
- * @param {object} [params] extra parameters specific to the binance api endpoint
5707
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5708
5708
  * @param {bool} [params.fiat] if true, only fiat withdrawals will be returned
5709
5709
  * @param {int} [params.until] the latest time in ms to fetch withdrawals for
5710
5710
  * @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)
@@ -6088,7 +6088,7 @@ class binance extends binance$1 {
6088
6088
  * @param {float} amount amount to transfer
6089
6089
  * @param {string} fromAccount account to transfer from
6090
6090
  * @param {string} toAccount account to transfer to
6091
- * @param {object} [params] extra parameters specific to the binance api endpoint
6091
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6092
6092
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
6093
6093
  */
6094
6094
  await this.loadMarkets();
@@ -6184,7 +6184,7 @@ class binance extends binance$1 {
6184
6184
  * @param {string} code unified currency code of the currency transferred
6185
6185
  * @param {int} [since] the earliest time in ms to fetch transfers for
6186
6186
  * @param {int} [limit] the maximum number of transfers structures to retrieve
6187
- * @param {object} [params] extra parameters specific to the binance api endpoint
6187
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6188
6188
  * @param {int} [params.until] the latest time in ms to fetch transfers for
6189
6189
  * @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)
6190
6190
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
@@ -6258,7 +6258,7 @@ class binance extends binance$1 {
6258
6258
  * @description fetch the deposit address for a currency associated with this account
6259
6259
  * @see https://binance-docs.github.io/apidocs/spot/en/#deposit-address-supporting-network-user_data
6260
6260
  * @param {string} code unified currency code
6261
- * @param {object} [params] extra parameters specific to the binance api endpoint
6261
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6262
6262
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
6263
6263
  */
6264
6264
  await this.loadMarkets();
@@ -6334,7 +6334,7 @@ class binance extends binance$1 {
6334
6334
  * @description please use fetchDepositWithdrawFees instead
6335
6335
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
6336
6336
  * @param {string[]|undefined} codes not used by binance fetchTransactionFees ()
6337
- * @param {object} [params] extra parameters specific to the binance api endpoint
6337
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6338
6338
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
6339
6339
  */
6340
6340
  await this.loadMarkets();
@@ -6448,7 +6448,7 @@ class binance extends binance$1 {
6448
6448
  * @description fetch deposit and withdraw fees
6449
6449
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
6450
6450
  * @param {string[]|undefined} codes not used by binance fetchDepositWithdrawFees ()
6451
- * @param {object} [params] extra parameters specific to the binance api endpoint
6451
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6452
6452
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
6453
6453
  */
6454
6454
  await this.loadMarkets();
@@ -6575,7 +6575,7 @@ class binance extends binance$1 {
6575
6575
  * @param {float} amount the amount to withdraw
6576
6576
  * @param {string} address the address to withdraw to
6577
6577
  * @param {string} tag
6578
- * @param {object} [params] extra parameters specific to the binance api endpoint
6578
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6579
6579
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
6580
6580
  */
6581
6581
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -6640,7 +6640,7 @@ class binance extends binance$1 {
6640
6640
  * @see https://binance-docs.github.io/apidocs/futures/en/#user-commission-rate-user_data
6641
6641
  * @see https://binance-docs.github.io/apidocs/delivery/en/#user-commission-rate-user_data
6642
6642
  * @param {string} symbol unified market symbol
6643
- * @param {object} [params] extra parameters specific to the binance api endpoint
6643
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6644
6644
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
6645
6645
  */
6646
6646
  await this.loadMarkets();
@@ -6697,7 +6697,7 @@ class binance extends binance$1 {
6697
6697
  * @see https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6698
6698
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
6699
6699
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
6700
- * @param {object} [params] extra parameters specific to the binance api endpoint
6700
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6701
6701
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
6702
6702
  */
6703
6703
  await this.loadMarkets();
@@ -6877,7 +6877,7 @@ class binance extends binance$1 {
6877
6877
  * @param {string} code unified currency code
6878
6878
  * @param {float} amount the amount to transfer
6879
6879
  * @param {string} type 1 - transfer from spot account to USDT-Ⓜ futures account, 2 - transfer from USDT-Ⓜ futures account to spot account, 3 - transfer from spot account to COIN-Ⓜ futures account, 4 - transfer from COIN-Ⓜ futures account to spot account
6880
- * @param {object} [params] extra parameters specific to the binance api endpoint
6880
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6881
6881
  * @param {float} params.recvWindow
6882
6882
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=futures-transfer-structure}
6883
6883
  */
@@ -6907,7 +6907,7 @@ class binance extends binance$1 {
6907
6907
  * @see https://binance-docs.github.io/apidocs/futures/en/#mark-price
6908
6908
  * @see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6909
6909
  * @param {string} symbol unified market symbol
6910
- * @param {object} [params] extra parameters specific to the binance api endpoint
6910
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6911
6911
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
6912
6912
  */
6913
6913
  await this.loadMarkets();
@@ -6953,7 +6953,7 @@ class binance extends binance$1 {
6953
6953
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
6954
6954
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
6955
6955
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
6956
- * @param {object} [params] extra parameters specific to the binance api endpoint
6956
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6957
6957
  * @param {int} [params.until] timestamp in ms of the latest funding rate
6958
6958
  * @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)
6959
6959
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
@@ -7029,7 +7029,7 @@ class binance extends binance$1 {
7029
7029
  * @see https://binance-docs.github.io/apidocs/futures/en/#mark-price
7030
7030
  * @see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
7031
7031
  * @param {string[]|undefined} symbols list of unified market symbols
7032
- * @param {object} [params] extra parameters specific to the binance api endpoint
7032
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7033
7033
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
7034
7034
  */
7035
7035
  await this.loadMarkets();
@@ -7559,7 +7559,7 @@ class binance extends binance$1 {
7559
7559
  * @see https://binance-docs.github.io/apidocs/futures/en/#notional-and-leverage-brackets-user_data
7560
7560
  * @see https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket-for-symbol-user_data
7561
7561
  * @param {string[]|undefined} symbols list of unified market symbols
7562
- * @param {object} [params] extra parameters specific to the binance api endpoint
7562
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7563
7563
  * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
7564
7564
  */
7565
7565
  await this.loadMarkets();
@@ -7665,7 +7665,7 @@ class binance extends binance$1 {
7665
7665
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7666
7666
  * @description fetch data on an open position
7667
7667
  * @param {string} symbol unified market symbol of the market the position is held in
7668
- * @param {object} [params] extra parameters specific to the binance api endpoint
7668
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7669
7669
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
7670
7670
  */
7671
7671
  await this.loadMarkets();
@@ -7709,7 +7709,7 @@ class binance extends binance$1 {
7709
7709
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7710
7710
  * @description fetch data on open options positions
7711
7711
  * @param {string[]|undefined} symbols list of unified market symbols
7712
- * @param {object} [params] extra parameters specific to the binance api endpoint
7712
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7713
7713
  * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/#/?id=position-structure}
7714
7714
  */
7715
7715
  await this.loadMarkets();
@@ -7824,7 +7824,7 @@ class binance extends binance$1 {
7824
7824
  * @name binance#fetchPositions
7825
7825
  * @description fetch all open positions
7826
7826
  * @param {string[]|undefined} symbols list of unified market symbols
7827
- * @param {object} [params] extra parameters specific to the binance api endpoint
7827
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7828
7828
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
7829
7829
  */
7830
7830
  const defaultMethod = this.safeString(this.options, 'fetchPositions', 'positionRisk');
@@ -7849,7 +7849,7 @@ class binance extends binance$1 {
7849
7849
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
7850
7850
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
7851
7851
  * @param {string[]|undefined} symbols list of unified market symbols
7852
- * @param {object} [params] extra parameters specific to the binance api endpoint
7852
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7853
7853
  * @returns {object} data on account positions
7854
7854
  */
7855
7855
  if (symbols !== undefined) {
@@ -7887,7 +7887,7 @@ class binance extends binance$1 {
7887
7887
  * @see https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
7888
7888
  * @see https://binance-docs.github.io/apidocs/delivery/en/#position-information-user_data
7889
7889
  * @param {string[]|undefined} symbols list of unified market symbols
7890
- * @param {object} [params] extra parameters specific to the binance api endpoint
7890
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7891
7891
  * @returns {object} data on the positions risk
7892
7892
  */
7893
7893
  if (symbols !== undefined) {
@@ -7987,7 +7987,7 @@ class binance extends binance$1 {
7987
7987
  * @param {string} symbol unified market symbol
7988
7988
  * @param {int} [since] the earliest time in ms to fetch funding history for
7989
7989
  * @param {int} [limit] the maximum number of funding history structures to retrieve
7990
- * @param {object} [params] extra parameters specific to the binance api endpoint
7990
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7991
7991
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
7992
7992
  */
7993
7993
  await this.loadMarkets();
@@ -8035,7 +8035,7 @@ class binance extends binance$1 {
8035
8035
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-initial-leverage-trade
8036
8036
  * @param {float} leverage the rate of leverage
8037
8037
  * @param {string} symbol unified market symbol
8038
- * @param {object} [params] extra parameters specific to the binance api endpoint
8038
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8039
8039
  * @returns {object} response from the exchange
8040
8040
  */
8041
8041
  if (symbol === undefined) {
@@ -8073,7 +8073,7 @@ class binance extends binance$1 {
8073
8073
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-margin-type-trade
8074
8074
  * @param {string} marginMode 'cross' or 'isolated'
8075
8075
  * @param {string} symbol unified market symbol
8076
- * @param {object} [params] extra parameters specific to the binance api endpoint
8076
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8077
8077
  * @returns {object} response from the exchange
8078
8078
  */
8079
8079
  if (symbol === undefined) {
@@ -8143,7 +8143,7 @@ class binance extends binance$1 {
8143
8143
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-position-mode-trade
8144
8144
  * @param {bool} hedged set to true to use dualSidePosition
8145
8145
  * @param {string} symbol not used by binance setPositionMode ()
8146
- * @param {object} [params] extra parameters specific to the binance api endpoint
8146
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8147
8147
  * @returns {object} response from the exchange
8148
8148
  */
8149
8149
  const defaultType = this.safeString(this.options, 'defaultType', 'future');
@@ -8368,7 +8368,7 @@ class binance extends binance$1 {
8368
8368
  * @param {string} code unified currency code
8369
8369
  * @param {int} [since] timestamp in ms of the earliest ledger entry
8370
8370
  * @param {int} [limit] max number of ledger entrys to return
8371
- * @param {object} [params] extra parameters specific to the binance api endpoint
8371
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8372
8372
  * @param {int} [params.until] timestamp in ms of the latest ledger entry
8373
8373
  * @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)
8374
8374
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
@@ -8826,7 +8826,7 @@ class binance extends binance$1 {
8826
8826
  * @description remove margin from a position
8827
8827
  * @param {string} symbol unified market symbol
8828
8828
  * @param {float} amount the amount of margin to remove
8829
- * @param {object} [params] extra parameters specific to the binance api endpoint
8829
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8830
8830
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
8831
8831
  */
8832
8832
  return await this.modifyMarginHelper(symbol, amount, 2, params);
@@ -8840,7 +8840,7 @@ class binance extends binance$1 {
8840
8840
  * @description add margin
8841
8841
  * @param {string} symbol unified market symbol
8842
8842
  * @param {float} amount amount of margin to add
8843
- * @param {object} [params] extra parameters specific to the binance api endpoint
8843
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8844
8844
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
8845
8845
  */
8846
8846
  return await this.modifyMarginHelper(symbol, amount, 1, params);
@@ -8852,7 +8852,7 @@ class binance extends binance$1 {
8852
8852
  * @description fetch the rate of interest to borrow a currency for margin trading
8853
8853
  * @see https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8854
8854
  * @param {string} code unified currency code
8855
- * @param {object} [params] extra parameters specific to the binance api endpoint
8855
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8856
8856
  * @returns {object} a [borrow rate structure]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
8857
8857
  */
8858
8858
  await this.loadMarkets();
@@ -8884,7 +8884,7 @@ class binance extends binance$1 {
8884
8884
  * @param {string} code unified currency code
8885
8885
  * @param {int} [since] timestamp for the earliest borrow rate
8886
8886
  * @param {int} [limit] the maximum number of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure} to retrieve
8887
- * @param {object} [params] extra parameters specific to the exchange api endpoint
8887
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8888
8888
  * @returns {object[]} an array of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
8889
8889
  */
8890
8890
  await this.loadMarkets();
@@ -8957,7 +8957,7 @@ class binance extends binance$1 {
8957
8957
  * @see https://binance-docs.github.io/apidocs/spot/en/#create-a-single-token-gift-card-user_data
8958
8958
  * @param {string} code gift code
8959
8959
  * @param {float} amount amount of currency for the gift
8960
- * @param {object} [params] extra parameters specific to the binance api endpoint
8960
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8961
8961
  * @returns {object} The gift code id, code, currency and amount
8962
8962
  */
8963
8963
  await this.loadMarkets();
@@ -8994,7 +8994,7 @@ class binance extends binance$1 {
8994
8994
  * @description redeem gift code
8995
8995
  * @see https://binance-docs.github.io/apidocs/spot/en/#redeem-a-binance-gift-card-user_data
8996
8996
  * @param {string} giftcardCode
8997
- * @param {object} [params] extra parameters specific to the binance api endpoint
8997
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8998
8998
  * @returns {object} response from the exchange
8999
8999
  */
9000
9000
  const request = {
@@ -9021,7 +9021,7 @@ class binance extends binance$1 {
9021
9021
  * @description verify gift code
9022
9022
  * @see https://binance-docs.github.io/apidocs/spot/en/#verify-binance-gift-card-by-gift-card-number-user_data
9023
9023
  * @param {string} id reference number id
9024
- * @param {object} [params] extra parameters specific to the binance api endpoint
9024
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9025
9025
  * @returns {object} response from the exchange
9026
9026
  */
9027
9027
  const request = {
@@ -9048,7 +9048,7 @@ class binance extends binance$1 {
9048
9048
  * @param {string} symbol unified market symbol when fetch interest in isolated markets
9049
9049
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
9050
9050
  * @param {int} [limit] the maximum number of structures to retrieve
9051
- * @param {object} [params] extra parameters specific to the binance api endpoint
9051
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9052
9052
  * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
9053
9053
  */
9054
9054
  await this.loadMarkets();
@@ -9114,7 +9114,7 @@ class binance extends binance$1 {
9114
9114
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-repay-margin
9115
9115
  * @param {string} code unified currency code of the currency to repay
9116
9116
  * @param {float} amount the amount to repay
9117
- * @param {object} [params] extra parameters specific to the binance api endpoint
9117
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9118
9118
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9119
9119
  */
9120
9120
  await this.loadMarkets();
@@ -9142,7 +9142,7 @@ class binance extends binance$1 {
9142
9142
  * @param {string} symbol unified market symbol, required for isolated margin
9143
9143
  * @param {string} code unified currency code of the currency to repay
9144
9144
  * @param {float} amount the amount to repay
9145
- * @param {object} [params] extra parameters specific to the binance api endpoint
9145
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9146
9146
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9147
9147
  */
9148
9148
  await this.loadMarkets();
@@ -9171,7 +9171,7 @@ class binance extends binance$1 {
9171
9171
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-borrow-margin
9172
9172
  * @param {string} code unified currency code of the currency to borrow
9173
9173
  * @param {float} amount the amount to borrow
9174
- * @param {object} [params] extra parameters specific to the binance api endpoint
9174
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9175
9175
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9176
9176
  */
9177
9177
  await this.loadMarkets();
@@ -9199,7 +9199,7 @@ class binance extends binance$1 {
9199
9199
  * @param {string} symbol unified market symbol, required for isolated margin
9200
9200
  * @param {string} code unified currency code of the currency to borrow
9201
9201
  * @param {float} amount the amount to borrow
9202
- * @param {object} [params] extra parameters specific to the binance api endpoint
9202
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9203
9203
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9204
9204
  */
9205
9205
  await this.loadMarkets();
@@ -9631,7 +9631,7 @@ class binance extends binance$1 {
9631
9631
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
9632
9632
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-mark-price
9633
9633
  * @param {string} symbol unified symbol of the market to fetch greeks for
9634
- * @param {object} [params] extra parameters specific to the binance api endpoint
9634
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9635
9635
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
9636
9636
  */
9637
9637
  await this.loadMarkets();
@@ -44,6 +44,7 @@ class binanceus extends binance {
44
44
  'spot': true,
45
45
  'margin': false,
46
46
  'swap': false,
47
+ 'future': undefined,
47
48
  'option': false,
48
49
  'addMargin': false,
49
50
  'borrowMargin': false,