Is there a code to pull a single average volume over the past 5 days rather the timeseries in API for the code-
As per checking, there is none and request you to check and advise if the below can be added-
As the client needs one single volume to be retrieved instead of timeseries 5 days volume.
rd.get_history(
universe='CLc1',
fields=['ACVOL_UNS'],
end='2025-02-18',
interval='daily',
count=5)