Binance API:我如何获取价格数字和手数大小数字
我如何从 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以从
exchange_info
api获取十进制信息:例如,Exchange Info API将返回包含键
符号
的JSON对象,该对象导致交易规则和符号信息的对象列表。对于每个符号信息,都有
quodeassetPrecision
和baseassetprecision
表示小数精度。另外,每个符号都有一个
过滤器
键。您可以找到ticksize
和stepize
。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
andbaseAssetPrecision
to indicate the decimal precision.Also, there is a
filter
key for each symbol. You can findtickSize
andstepSize
there.