ccxt 4.1.63 → 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 (293) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  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 +33 -3
  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 +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  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 +27 -28
  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 +162 -123
  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 +12 -9
  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 +22 -24
  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 +22 -16
  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/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
package/js/src/binance.js CHANGED
@@ -1812,7 +1812,7 @@ export default class binance extends Exchange {
1812
1812
  * @see https://binance-docs.github.io/apidocs/spot/en/#check-server-time // spot
1813
1813
  * @see https://binance-docs.github.io/apidocs/futures/en/#check-server-time // swap
1814
1814
  * @see https://binance-docs.github.io/apidocs/delivery/en/#check-server-time // future
1815
- * @param {object} [params] extra parameters specific to the binance api endpoint
1815
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1816
1816
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1817
1817
  */
1818
1818
  const defaultType = this.safeString2(this.options, 'fetchTime', 'defaultType', 'spot');
@@ -1838,7 +1838,7 @@ export default class binance extends Exchange {
1838
1838
  * @name binance#fetchCurrencies
1839
1839
  * @description fetches all available currencies on an exchange
1840
1840
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
1841
- * @param {object} [params] extra parameters specific to the binance api endpoint
1841
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1842
1842
  * @returns {object} an associative dictionary of currencies
1843
1843
  */
1844
1844
  const fetchCurrenciesEnabled = this.safeValue(this.options, 'fetchCurrencies');
@@ -2018,7 +2018,7 @@ export default class binance extends Exchange {
2018
2018
  * @see https://binance-docs.github.io/apidocs/futures/en/#exchange-information // swap
2019
2019
  * @see https://binance-docs.github.io/apidocs/delivery/en/#exchange-information // future
2020
2020
  * @see https://binance-docs.github.io/apidocs/voptions/en/#exchange-information // option
2021
- * @param {object} [params] extra parameters specific to the exchange api endpoint
2021
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2022
2022
  * @returns {object[]} an array of objects representing market data
2023
2023
  */
2024
2024
  const promisesRaw = [];
@@ -2550,7 +2550,7 @@ export default class binance extends Exchange {
2550
2550
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data // swap
2551
2551
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data // future
2552
2552
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-account-information-trade // option
2553
- * @param {object} [params] extra parameters specific to the binance api endpoint
2553
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2554
2554
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
2555
2555
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
2556
2556
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
@@ -2804,7 +2804,7 @@ export default class binance extends Exchange {
2804
2804
  * @see https://binance-docs.github.io/apidocs/voptions/en/#order-book // option
2805
2805
  * @param {string} symbol unified symbol of the market to fetch the order book for
2806
2806
  * @param {int} [limit] the maximum amount of order book entries to return
2807
- * @param {object} [params] extra parameters specific to the binance api endpoint
2807
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2808
2808
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
2809
2809
  */
2810
2810
  await this.loadMarkets();
@@ -3024,7 +3024,7 @@ export default class binance extends Exchange {
3024
3024
  * @name binance#fetchStatus
3025
3025
  * @description the latest known information on the availability of the exchange API
3026
3026
  * @see https://binance-docs.github.io/apidocs/spot/en/#system-status-system
3027
- * @param {object} [params] extra parameters specific to the binance api endpoint
3027
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3028
3028
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
3029
3029
  */
3030
3030
  const response = await this.sapiGetSystemStatus(params);
@@ -3054,7 +3054,7 @@ export default class binance extends Exchange {
3054
3054
  * @see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics // future
3055
3055
  * @see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics // option
3056
3056
  * @param {string} symbol unified symbol of the market to fetch the ticker for
3057
- * @param {object} [params] extra parameters specific to the binance api endpoint
3057
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3058
3058
  * @param {boolean} [params.rolling] (spot only) default false, if true, uses the rolling 24 hour ticker endpoint /api/v3/ticker
3059
3059
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3060
3060
  */
@@ -3098,7 +3098,7 @@ export default class binance extends Exchange {
3098
3098
  * @see https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker // swap
3099
3099
  * @see https://binance-docs.github.io/apidocs/delivery/en/#symbol-order-book-ticker // future
3100
3100
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3101
- * @param {object} [params] extra parameters specific to the binance api endpoint
3101
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3102
3102
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3103
3103
  */
3104
3104
  await this.loadMarkets();
@@ -3133,7 +3133,7 @@ export default class binance extends Exchange {
3133
3133
  * @see https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker // swap
3134
3134
  * @see https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker // future
3135
3135
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the last prices
3136
- * @param {object} [params] extra parameters specific to the binance api endpoint
3136
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3137
3137
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3138
3138
  */
3139
3139
  await this.loadMarkets();
@@ -3232,13 +3232,13 @@ export default class binance extends Exchange {
3232
3232
  /**
3233
3233
  * @method
3234
3234
  * @name binance#fetchTickers
3235
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
3235
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
3236
3236
  * @see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics // spot
3237
3237
  * @see https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics // swap
3238
3238
  * @see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics // future
3239
3239
  * @see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics // option
3240
3240
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
3241
- * @param {object} [params] extra parameters specific to the binance api endpoint
3241
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3242
3242
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3243
3243
  */
3244
3244
  await this.loadMarkets();
@@ -3349,7 +3349,7 @@ export default class binance extends Exchange {
3349
3349
  * @param {string} timeframe the length of time each candle represents
3350
3350
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
3351
3351
  * @param {int} [limit] the maximum amount of candles to fetch
3352
- * @param {object} [params] extra parameters specific to the binance api endpoint
3352
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3353
3353
  * @param {string} [params.price] "mark" or "index" for mark price and index price candles
3354
3354
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
3355
3355
  * @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)
@@ -3692,7 +3692,7 @@ export default class binance extends Exchange {
3692
3692
  * @param {string} symbol unified symbol of the market to fetch trades for
3693
3693
  * @param {int} [since] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
3694
3694
  * @param {int} [limit] default 500, max 1000
3695
- * @param {object} [params] extra parameters specific to the binance api endpoint
3695
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3696
3696
  * @param {int} [params.until] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
3697
3697
  * @param {int} [params.fetchTradesMethod] 'publicGetAggTrades' (spot default), 'fapiPublicGetAggTrades' (swap default), 'dapiPublicGetAggTrades' (future default), 'eapiPublicGetTrades' (option default), 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', 'publicGetHistoricalTrades', 'fapiPublicGetHistoricalTrades', 'dapiPublicGetHistoricalTrades', 'eapiPublicGetHistoricalTrades'
3698
3698
  * @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)
@@ -3830,7 +3830,7 @@ export default class binance extends Exchange {
3830
3830
  * @param {float} amount how much of currency you want to trade in units of base currency
3831
3831
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3832
3832
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
3833
- * @param {object} [params] extra parameters specific to the binance api endpoint
3833
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3834
3834
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3835
3835
  */
3836
3836
  await this.loadMarkets();
@@ -3894,7 +3894,7 @@ export default class binance extends Exchange {
3894
3894
  * @param {string} side 'buy' or 'sell'
3895
3895
  * @param {float} amount how much of currency you want to trade in units of base currency
3896
3896
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
3897
- * @param {object} params extra parameters specific to the binance api endpoint
3897
+ * @param {object} params extra parameters specific to the exchange API endpoint
3898
3898
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
3899
3899
  * @returns {object} request to be sent to the exchange
3900
3900
  */
@@ -4032,7 +4032,7 @@ export default class binance extends Exchange {
4032
4032
  * @param {string} side 'buy' or 'sell'
4033
4033
  * @param {float} amount how much of currency you want to trade in units of base currency
4034
4034
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4035
- * @param {object} [params] extra parameters specific to the binance api endpoint
4035
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4036
4036
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4037
4037
  */
4038
4038
  await this.loadMarkets();
@@ -4104,7 +4104,7 @@ export default class binance extends Exchange {
4104
4104
  * @param {string} side 'buy' or 'sell'
4105
4105
  * @param {float} amount how much of currency you want to trade in units of base currency
4106
4106
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4107
- * @param {object} [params] extra parameters specific to the binance api endpoint
4107
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4108
4108
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4109
4109
  */
4110
4110
  await this.loadMarkets();
@@ -4481,7 +4481,7 @@ export default class binance extends Exchange {
4481
4481
  * @param {string} side 'buy' or 'sell'
4482
4482
  * @param {float} amount how much of currency you want to trade in units of base currency
4483
4483
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4484
- * @param {object} [params] extra parameters specific to the binance api endpoint
4484
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4485
4485
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4486
4486
  * @param {boolean} [params.sor] *spot only* whether to use SOR (Smart Order Routing) or not, default is false
4487
4487
  * @param {boolean} [params.test] *spot only* whether to use the test endpoint or not, default is false
@@ -4531,7 +4531,7 @@ export default class binance extends Exchange {
4531
4531
  * @param {string} side 'buy' or 'sell'
4532
4532
  * @param {float} amount how much of currency you want to trade in units of base currency
4533
4533
  * @param {float|undefined} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4534
- * @param {object} params extra parameters specific to the binance api endpoint
4534
+ * @param {object} params extra parameters specific to the exchange API endpoint
4535
4535
  * @param {string|undefined} params.marginMode 'cross' or 'isolated', for spot margin trading
4536
4536
  * @returns {object} request to be sent to the exchange
4537
4537
  */
@@ -4767,7 +4767,7 @@ export default class binance extends Exchange {
4767
4767
  * @see https://binance-docs.github.io/apidocs/voptions/en/#query-single-order-trade
4768
4768
  * @see https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-order-user_data
4769
4769
  * @param {string} symbol unified symbol of the market the order was made in
4770
- * @param {object} [params] extra parameters specific to the binance api endpoint
4770
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4771
4771
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4772
4772
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4773
4773
  */
@@ -4827,7 +4827,7 @@ export default class binance extends Exchange {
4827
4827
  * @param {string} symbol unified market symbol of the market orders were made in
4828
4828
  * @param {int} [since] the earliest time in ms to fetch orders for
4829
4829
  * @param {int} [limit] the maximum number of order structures to retrieve
4830
- * @param {object} [params] extra parameters specific to the binance api endpoint
4830
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4831
4831
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4832
4832
  * @param {int} [params.until] the latest time in ms to fetch orders for
4833
4833
  * @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)
@@ -4970,7 +4970,7 @@ export default class binance extends Exchange {
4970
4970
  * @param {string} symbol unified market symbol
4971
4971
  * @param {int} [since] the earliest time in ms to fetch open orders for
4972
4972
  * @param {int} [limit] the maximum number of open orders structures to retrieve
4973
- * @param {object} [params] extra parameters specific to the binance api endpoint
4973
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
4974
4974
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
4975
4975
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
4976
4976
  */
@@ -5042,7 +5042,7 @@ export default class binance extends Exchange {
5042
5042
  * @param {string} symbol unified market symbol of the market orders were made in
5043
5043
  * @param {int} [since] the earliest time in ms to fetch orders for
5044
5044
  * @param {int} [limit] the maximum number of order structures to retrieve
5045
- * @param {object} [params] extra parameters specific to the binance api endpoint
5045
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5046
5046
  * @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)
5047
5047
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5048
5048
  */
@@ -5060,7 +5060,7 @@ export default class binance extends Exchange {
5060
5060
  * @param {string} symbol unified market symbol of the market the orders were made in
5061
5061
  * @param {int} [since] the earliest time in ms to fetch orders for
5062
5062
  * @param {int} [limit] the maximum number of order structures to retrieve
5063
- * @param {object} [params] extra parameters specific to the binance api endpoint
5063
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5064
5064
  * @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)
5065
5065
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5066
5066
  */
@@ -5089,7 +5089,7 @@ export default class binance extends Exchange {
5089
5089
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
5090
5090
  * @param {string} id order id
5091
5091
  * @param {string} symbol unified symbol of the market the order was made in
5092
- * @param {object} [params] extra parameters specific to the binance api endpoint
5092
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5093
5093
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5094
5094
  */
5095
5095
  if (symbol === undefined) {
@@ -5148,7 +5148,7 @@ export default class binance extends Exchange {
5148
5148
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade
5149
5149
  * @description cancel all open orders in a market
5150
5150
  * @param {string} symbol unified market symbol of the market to cancel orders in
5151
- * @param {object} [params] extra parameters specific to the binance api endpoint
5151
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5152
5152
  * @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
5153
5153
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
5154
5154
  */
@@ -5196,7 +5196,7 @@ export default class binance extends Exchange {
5196
5196
  * @see https://binance-docs.github.io/apidocs/delivery/en/#cancel-multiple-orders-trade
5197
5197
  * @param {string[]} ids order ids
5198
5198
  * @param {string} [symbol] unified market symbol
5199
- * @param {object} [params] extra parameters specific to the bingx api endpoint
5199
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5200
5200
  *
5201
5201
  * EXCHANGE SPECIFIC PARAMETERS
5202
5202
  * @param {string[]} [params.origClientOrderIdList] max length 10 e.g. ["my_id_1","my_id_2"], encode the double quotes. No space after comma
@@ -5272,7 +5272,7 @@ export default class binance extends Exchange {
5272
5272
  * @param {string} symbol unified market symbol
5273
5273
  * @param {int} [since] the earliest time in ms to fetch trades for
5274
5274
  * @param {int} [limit] the maximum number of trades to retrieve
5275
- * @param {object} [params] extra parameters specific to the binance api endpoint
5275
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5276
5276
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
5277
5277
  */
5278
5278
  if (symbol === undefined) {
@@ -5302,7 +5302,7 @@ export default class binance extends Exchange {
5302
5302
  * @param {string} symbol unified market symbol
5303
5303
  * @param {int} [since] the earliest time in ms to fetch trades for
5304
5304
  * @param {int} [limit] the maximum number of trades structures to retrieve
5305
- * @param {object} [params] extra parameters specific to the binance api endpoint
5305
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5306
5306
  * @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)
5307
5307
  * @param {int} [params.until] the latest time in ms to fetch entries for
5308
5308
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
@@ -5451,7 +5451,7 @@ export default class binance extends Exchange {
5451
5451
  * @param {string} symbol not used by binance fetchMyDustTrades ()
5452
5452
  * @param {int} [since] the earliest time in ms to fetch my dust trades for
5453
5453
  * @param {int} [limit] the maximum number of dust trades to retrieve
5454
- * @param {object} [params] extra parameters specific to the binance api endpoint
5454
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5455
5455
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
5456
5456
  */
5457
5457
  //
@@ -5592,7 +5592,7 @@ export default class binance extends Exchange {
5592
5592
  * @param {string} code unified currency code
5593
5593
  * @param {int} [since] the earliest time in ms to fetch deposits for
5594
5594
  * @param {int} [limit] the maximum number of deposits structures to retrieve
5595
- * @param {object} [params] extra parameters specific to the binance api endpoint
5595
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5596
5596
  * @param {bool} [params.fiat] if true, only fiat deposits will be returned
5597
5597
  * @param {int} [params.until] the latest time in ms to fetch entries for
5598
5598
  * @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)
@@ -5707,7 +5707,7 @@ export default class binance extends Exchange {
5707
5707
  * @param {string} code unified currency code
5708
5708
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
5709
5709
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
5710
- * @param {object} [params] extra parameters specific to the binance api endpoint
5710
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
5711
5711
  * @param {bool} [params.fiat] if true, only fiat withdrawals will be returned
5712
5712
  * @param {int} [params.until] the latest time in ms to fetch withdrawals for
5713
5713
  * @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)
@@ -6091,7 +6091,7 @@ export default class binance extends Exchange {
6091
6091
  * @param {float} amount amount to transfer
6092
6092
  * @param {string} fromAccount account to transfer from
6093
6093
  * @param {string} toAccount account to transfer to
6094
- * @param {object} [params] extra parameters specific to the binance api endpoint
6094
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6095
6095
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
6096
6096
  */
6097
6097
  await this.loadMarkets();
@@ -6187,7 +6187,7 @@ export default class binance extends Exchange {
6187
6187
  * @param {string} code unified currency code of the currency transferred
6188
6188
  * @param {int} [since] the earliest time in ms to fetch transfers for
6189
6189
  * @param {int} [limit] the maximum number of transfers structures to retrieve
6190
- * @param {object} [params] extra parameters specific to the binance api endpoint
6190
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6191
6191
  * @param {int} [params.until] the latest time in ms to fetch transfers for
6192
6192
  * @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)
6193
6193
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
@@ -6261,7 +6261,7 @@ export default class binance extends Exchange {
6261
6261
  * @description fetch the deposit address for a currency associated with this account
6262
6262
  * @see https://binance-docs.github.io/apidocs/spot/en/#deposit-address-supporting-network-user_data
6263
6263
  * @param {string} code unified currency code
6264
- * @param {object} [params] extra parameters specific to the binance api endpoint
6264
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6265
6265
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
6266
6266
  */
6267
6267
  await this.loadMarkets();
@@ -6337,7 +6337,7 @@ export default class binance extends Exchange {
6337
6337
  * @description please use fetchDepositWithdrawFees instead
6338
6338
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
6339
6339
  * @param {string[]|undefined} codes not used by binance fetchTransactionFees ()
6340
- * @param {object} [params] extra parameters specific to the binance api endpoint
6340
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6341
6341
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
6342
6342
  */
6343
6343
  await this.loadMarkets();
@@ -6451,7 +6451,7 @@ export default class binance extends Exchange {
6451
6451
  * @description fetch deposit and withdraw fees
6452
6452
  * @see https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data
6453
6453
  * @param {string[]|undefined} codes not used by binance fetchDepositWithdrawFees ()
6454
- * @param {object} [params] extra parameters specific to the binance api endpoint
6454
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6455
6455
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
6456
6456
  */
6457
6457
  await this.loadMarkets();
@@ -6578,7 +6578,7 @@ export default class binance extends Exchange {
6578
6578
  * @param {float} amount the amount to withdraw
6579
6579
  * @param {string} address the address to withdraw to
6580
6580
  * @param {string} tag
6581
- * @param {object} [params] extra parameters specific to the binance api endpoint
6581
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6582
6582
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
6583
6583
  */
6584
6584
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -6643,7 +6643,7 @@ export default class binance extends Exchange {
6643
6643
  * @see https://binance-docs.github.io/apidocs/futures/en/#user-commission-rate-user_data
6644
6644
  * @see https://binance-docs.github.io/apidocs/delivery/en/#user-commission-rate-user_data
6645
6645
  * @param {string} symbol unified market symbol
6646
- * @param {object} [params] extra parameters specific to the binance api endpoint
6646
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6647
6647
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
6648
6648
  */
6649
6649
  await this.loadMarkets();
@@ -6700,7 +6700,7 @@ export default class binance extends Exchange {
6700
6700
  * @see https://binance-docs.github.io/apidocs/spot/en/#trade-fee-user_data
6701
6701
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
6702
6702
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
6703
- * @param {object} [params] extra parameters specific to the binance api endpoint
6703
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6704
6704
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
6705
6705
  */
6706
6706
  await this.loadMarkets();
@@ -6880,7 +6880,7 @@ export default class binance extends Exchange {
6880
6880
  * @param {string} code unified currency code
6881
6881
  * @param {float} amount the amount to transfer
6882
6882
  * @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
6883
- * @param {object} [params] extra parameters specific to the binance api endpoint
6883
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6884
6884
  * @param {float} params.recvWindow
6885
6885
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=futures-transfer-structure}
6886
6886
  */
@@ -6910,7 +6910,7 @@ export default class binance extends Exchange {
6910
6910
  * @see https://binance-docs.github.io/apidocs/futures/en/#mark-price
6911
6911
  * @see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
6912
6912
  * @param {string} symbol unified market symbol
6913
- * @param {object} [params] extra parameters specific to the binance api endpoint
6913
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6914
6914
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
6915
6915
  */
6916
6916
  await this.loadMarkets();
@@ -6956,7 +6956,7 @@ export default class binance extends Exchange {
6956
6956
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
6957
6957
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
6958
6958
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
6959
- * @param {object} [params] extra parameters specific to the binance api endpoint
6959
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
6960
6960
  * @param {int} [params.until] timestamp in ms of the latest funding rate
6961
6961
  * @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)
6962
6962
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
@@ -7032,7 +7032,7 @@ export default class binance extends Exchange {
7032
7032
  * @see https://binance-docs.github.io/apidocs/futures/en/#mark-price
7033
7033
  * @see https://binance-docs.github.io/apidocs/delivery/en/#index-price-and-mark-price
7034
7034
  * @param {string[]|undefined} symbols list of unified market symbols
7035
- * @param {object} [params] extra parameters specific to the binance api endpoint
7035
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7036
7036
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
7037
7037
  */
7038
7038
  await this.loadMarkets();
@@ -7562,7 +7562,7 @@ export default class binance extends Exchange {
7562
7562
  * @see https://binance-docs.github.io/apidocs/futures/en/#notional-and-leverage-brackets-user_data
7563
7563
  * @see https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket-for-symbol-user_data
7564
7564
  * @param {string[]|undefined} symbols list of unified market symbols
7565
- * @param {object} [params] extra parameters specific to the binance api endpoint
7565
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7566
7566
  * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
7567
7567
  */
7568
7568
  await this.loadMarkets();
@@ -7668,7 +7668,7 @@ export default class binance extends Exchange {
7668
7668
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7669
7669
  * @description fetch data on an open position
7670
7670
  * @param {string} symbol unified market symbol of the market the position is held in
7671
- * @param {object} [params] extra parameters specific to the binance api endpoint
7671
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7672
7672
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
7673
7673
  */
7674
7674
  await this.loadMarkets();
@@ -7712,7 +7712,7 @@ export default class binance extends Exchange {
7712
7712
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
7713
7713
  * @description fetch data on open options positions
7714
7714
  * @param {string[]|undefined} symbols list of unified market symbols
7715
- * @param {object} [params] extra parameters specific to the binance api endpoint
7715
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7716
7716
  * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/#/?id=position-structure}
7717
7717
  */
7718
7718
  await this.loadMarkets();
@@ -7827,7 +7827,7 @@ export default class binance extends Exchange {
7827
7827
  * @name binance#fetchPositions
7828
7828
  * @description fetch all open positions
7829
7829
  * @param {string[]|undefined} symbols list of unified market symbols
7830
- * @param {object} [params] extra parameters specific to the binance api endpoint
7830
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7831
7831
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
7832
7832
  */
7833
7833
  const defaultMethod = this.safeString(this.options, 'fetchPositions', 'positionRisk');
@@ -7852,7 +7852,7 @@ export default class binance extends Exchange {
7852
7852
  * @see https://binance-docs.github.io/apidocs/futures/en/#account-information-v2-user_data
7853
7853
  * @see https://binance-docs.github.io/apidocs/delivery/en/#account-information-user_data
7854
7854
  * @param {string[]|undefined} symbols list of unified market symbols
7855
- * @param {object} [params] extra parameters specific to the binance api endpoint
7855
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7856
7856
  * @returns {object} data on account positions
7857
7857
  */
7858
7858
  if (symbols !== undefined) {
@@ -7890,7 +7890,7 @@ export default class binance extends Exchange {
7890
7890
  * @see https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
7891
7891
  * @see https://binance-docs.github.io/apidocs/delivery/en/#position-information-user_data
7892
7892
  * @param {string[]|undefined} symbols list of unified market symbols
7893
- * @param {object} [params] extra parameters specific to the binance api endpoint
7893
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7894
7894
  * @returns {object} data on the positions risk
7895
7895
  */
7896
7896
  if (symbols !== undefined) {
@@ -7990,7 +7990,7 @@ export default class binance extends Exchange {
7990
7990
  * @param {string} symbol unified market symbol
7991
7991
  * @param {int} [since] the earliest time in ms to fetch funding history for
7992
7992
  * @param {int} [limit] the maximum number of funding history structures to retrieve
7993
- * @param {object} [params] extra parameters specific to the binance api endpoint
7993
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
7994
7994
  * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
7995
7995
  */
7996
7996
  await this.loadMarkets();
@@ -8038,7 +8038,7 @@ export default class binance extends Exchange {
8038
8038
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-initial-leverage-trade
8039
8039
  * @param {float} leverage the rate of leverage
8040
8040
  * @param {string} symbol unified market symbol
8041
- * @param {object} [params] extra parameters specific to the binance api endpoint
8041
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8042
8042
  * @returns {object} response from the exchange
8043
8043
  */
8044
8044
  if (symbol === undefined) {
@@ -8076,7 +8076,7 @@ export default class binance extends Exchange {
8076
8076
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-margin-type-trade
8077
8077
  * @param {string} marginMode 'cross' or 'isolated'
8078
8078
  * @param {string} symbol unified market symbol
8079
- * @param {object} [params] extra parameters specific to the binance api endpoint
8079
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8080
8080
  * @returns {object} response from the exchange
8081
8081
  */
8082
8082
  if (symbol === undefined) {
@@ -8146,7 +8146,7 @@ export default class binance extends Exchange {
8146
8146
  * @see https://binance-docs.github.io/apidocs/delivery/en/#change-position-mode-trade
8147
8147
  * @param {bool} hedged set to true to use dualSidePosition
8148
8148
  * @param {string} symbol not used by binance setPositionMode ()
8149
- * @param {object} [params] extra parameters specific to the binance api endpoint
8149
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8150
8150
  * @returns {object} response from the exchange
8151
8151
  */
8152
8152
  const defaultType = this.safeString(this.options, 'defaultType', 'future');
@@ -8371,7 +8371,7 @@ export default class binance extends Exchange {
8371
8371
  * @param {string} code unified currency code
8372
8372
  * @param {int} [since] timestamp in ms of the earliest ledger entry
8373
8373
  * @param {int} [limit] max number of ledger entrys to return
8374
- * @param {object} [params] extra parameters specific to the binance api endpoint
8374
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8375
8375
  * @param {int} [params.until] timestamp in ms of the latest ledger entry
8376
8376
  * @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)
8377
8377
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
@@ -8829,7 +8829,7 @@ export default class binance extends Exchange {
8829
8829
  * @description remove margin from a position
8830
8830
  * @param {string} symbol unified market symbol
8831
8831
  * @param {float} amount the amount of margin to remove
8832
- * @param {object} [params] extra parameters specific to the binance api endpoint
8832
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8833
8833
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
8834
8834
  */
8835
8835
  return await this.modifyMarginHelper(symbol, amount, 2, params);
@@ -8843,7 +8843,7 @@ export default class binance extends Exchange {
8843
8843
  * @description add margin
8844
8844
  * @param {string} symbol unified market symbol
8845
8845
  * @param {float} amount amount of margin to add
8846
- * @param {object} [params] extra parameters specific to the binance api endpoint
8846
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8847
8847
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
8848
8848
  */
8849
8849
  return await this.modifyMarginHelper(symbol, amount, 1, params);
@@ -8855,7 +8855,7 @@ export default class binance extends Exchange {
8855
8855
  * @description fetch the rate of interest to borrow a currency for margin trading
8856
8856
  * @see https://binance-docs.github.io/apidocs/spot/en/#query-margin-interest-rate-history-user_data
8857
8857
  * @param {string} code unified currency code
8858
- * @param {object} [params] extra parameters specific to the binance api endpoint
8858
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8859
8859
  * @returns {object} a [borrow rate structure]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
8860
8860
  */
8861
8861
  await this.loadMarkets();
@@ -8887,7 +8887,7 @@ export default class binance extends Exchange {
8887
8887
  * @param {string} code unified currency code
8888
8888
  * @param {int} [since] timestamp for the earliest borrow rate
8889
8889
  * @param {int} [limit] the maximum number of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure} to retrieve
8890
- * @param {object} [params] extra parameters specific to the exchange api endpoint
8890
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8891
8891
  * @returns {object[]} an array of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
8892
8892
  */
8893
8893
  await this.loadMarkets();
@@ -8960,7 +8960,7 @@ export default class binance extends Exchange {
8960
8960
  * @see https://binance-docs.github.io/apidocs/spot/en/#create-a-single-token-gift-card-user_data
8961
8961
  * @param {string} code gift code
8962
8962
  * @param {float} amount amount of currency for the gift
8963
- * @param {object} [params] extra parameters specific to the binance api endpoint
8963
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
8964
8964
  * @returns {object} The gift code id, code, currency and amount
8965
8965
  */
8966
8966
  await this.loadMarkets();
@@ -8997,7 +8997,7 @@ export default class binance extends Exchange {
8997
8997
  * @description redeem gift code
8998
8998
  * @see https://binance-docs.github.io/apidocs/spot/en/#redeem-a-binance-gift-card-user_data
8999
8999
  * @param {string} giftcardCode
9000
- * @param {object} [params] extra parameters specific to the binance api endpoint
9000
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9001
9001
  * @returns {object} response from the exchange
9002
9002
  */
9003
9003
  const request = {
@@ -9024,7 +9024,7 @@ export default class binance extends Exchange {
9024
9024
  * @description verify gift code
9025
9025
  * @see https://binance-docs.github.io/apidocs/spot/en/#verify-binance-gift-card-by-gift-card-number-user_data
9026
9026
  * @param {string} id reference number id
9027
- * @param {object} [params] extra parameters specific to the binance api endpoint
9027
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9028
9028
  * @returns {object} response from the exchange
9029
9029
  */
9030
9030
  const request = {
@@ -9051,7 +9051,7 @@ export default class binance extends Exchange {
9051
9051
  * @param {string} symbol unified market symbol when fetch interest in isolated markets
9052
9052
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
9053
9053
  * @param {int} [limit] the maximum number of structures to retrieve
9054
- * @param {object} [params] extra parameters specific to the binance api endpoint
9054
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9055
9055
  * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
9056
9056
  */
9057
9057
  await this.loadMarkets();
@@ -9117,7 +9117,7 @@ export default class binance extends Exchange {
9117
9117
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-repay-margin
9118
9118
  * @param {string} code unified currency code of the currency to repay
9119
9119
  * @param {float} amount the amount to repay
9120
- * @param {object} [params] extra parameters specific to the binance api endpoint
9120
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9121
9121
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9122
9122
  */
9123
9123
  await this.loadMarkets();
@@ -9145,7 +9145,7 @@ export default class binance extends Exchange {
9145
9145
  * @param {string} symbol unified market symbol, required for isolated margin
9146
9146
  * @param {string} code unified currency code of the currency to repay
9147
9147
  * @param {float} amount the amount to repay
9148
- * @param {object} [params] extra parameters specific to the binance api endpoint
9148
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9149
9149
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9150
9150
  */
9151
9151
  await this.loadMarkets();
@@ -9174,7 +9174,7 @@ export default class binance extends Exchange {
9174
9174
  * @see https://binance-docs.github.io/apidocs/spot/en/#margin-account-borrow-margin
9175
9175
  * @param {string} code unified currency code of the currency to borrow
9176
9176
  * @param {float} amount the amount to borrow
9177
- * @param {object} [params] extra parameters specific to the binance api endpoint
9177
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9178
9178
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9179
9179
  */
9180
9180
  await this.loadMarkets();
@@ -9202,7 +9202,7 @@ export default class binance extends Exchange {
9202
9202
  * @param {string} symbol unified market symbol, required for isolated margin
9203
9203
  * @param {string} code unified currency code of the currency to borrow
9204
9204
  * @param {float} amount the amount to borrow
9205
- * @param {object} [params] extra parameters specific to the binance api endpoint
9205
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9206
9206
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9207
9207
  */
9208
9208
  await this.loadMarkets();
@@ -9634,7 +9634,7 @@ export default class binance extends Exchange {
9634
9634
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
9635
9635
  * @see https://binance-docs.github.io/apidocs/voptions/en/#option-mark-price
9636
9636
  * @param {string} symbol unified symbol of the market to fetch greeks for
9637
- * @param {object} [params] extra parameters specific to the binance api endpoint
9637
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
9638
9638
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
9639
9639
  */
9640
9640
  await this.loadMarkets();