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
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.