I am requesting SPY data via API calls - python.
I have seen from a previous question that it means the number of quotes received within the time interval .
However, my issue is that it sometimes returns -1 and sometimes returns NaN. Look what happens when I concatenate the dataframes: