I have a very basic question. I am trying to extract data using a Data API, but the bid/ask price I see is in multiple decimals (e.g., 25898.099609375). As far as I understand, the tick size is 0.1 for Nifty FUTURES.
Am I getting an average price of the milliseconds lag?
Indeed.
In IEEE-754 floating-point representation (typically used in most software by default), 25898.099609375 is the closest possible representation of 25898.1.
Below is the raw API response data for today, which shows price values with the expected decimal precision. Any unexpected large floating-point numbers could be introduced by client-side processing or storage, not by the API.