Why does volume return as a FLOAT value from the Aggregates Endpoint?
These decimal values are entirely normal when requesting adjusted data for stocks that have split.
When requesting historical Aggregate OHLCV (Open, High, Low, Close, Volume) data, you might occasionally encounter a volume value represented as a decimal instead of a whole number.
This occurrence is attributed to the 'adjusted' parameter within the Aggregates Endpoint. When the 'adjusted' parameter is set to 'true,' the OHLCV values are modified to reflect stock splits. This adjustment ensures that the data provides a more accurate historical representation, accounting for changes that have occurred over time. Therefore, seeing decimal values in volume data under these circumstances is both normal and expected
Enter your email for an invite to our slack community!
Reimagining financial market data for the 21st century.
Can’t find the answer you’re looking for? Contact our team.