I am using the Yahoo Finance API to get the volume. I want to compare the volume of the last trade with the normal trading volume per trade and get a ratio out of it. Problem is the average daily volume is giving me the daily volume not the average per trade. Now, how should I calculate this number? Divide the day into how many parts?
Thank you for your attention