Binance API:我如何获取价格数字和手数大小数字

发布于 2025-01-17 13:49:07 字数 218 浏览 3 评论 0原文

我如何从 Binance API 获取价格数字和手数数字。我正在使用 https://api.binance.com/api/v3/exchangeInfo ?symbol=LTCUSDT

但我在哪里得到这个值

How I am getting Price digits and Lots digits from Binance API. I am using https://api.binance.com/api/v3/exchangeInfo?symbol=LTCUSDT

But i where i get this value

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

远山浅 2025-01-24 13:49:07

您可以从exchange_info api获取十进制信息:

例如,Exchange Info API将返回包含键符号的JSON对象,该对象导致交易规则和符号信息的对象列表。

对于每个符号信息,都有quodeassetPrecisionbaseassetprecision表示小数精度。

另外,每个符号都有一个过滤器键。您可以找到ticksizestepize

You can get the decimal information from exchange_info API:

For example, exchange info API will return a json object containing a key symbols, which leads to a list of objects of trading rules and symbol information.

For each symbol information, there is quoteAssetPrecision and baseAssetPrecision to indicate the decimal precision.

Also, there is a filter key for each symbol. You can find tickSize and stepSize there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文