C
carl
I am using this:
SELECT Trades.Month, Trades.FirmId, Sum(Trades.TradeVolume)/20 AS
AverageTradeVolume
FROM Trades
GROUP BY Trades.Month, Trades.FirmId;
The "/20" is an attempt to get the average daily volume (20 business days
per month).
However, if I am half way through the month, the statistic get skewed.
Is there a way to get the average daily volume that is pased on the actual
number of business days that have elapsed ?
Thank you in advance.
SELECT Trades.Month, Trades.FirmId, Sum(Trades.TradeVolume)/20 AS
AverageTradeVolume
FROM Trades
GROUP BY Trades.Month, Trades.FirmId;
The "/20" is an attempt to get the average daily volume (20 business days
per month).
However, if I am half way through the month, the statistic get skewed.
Is there a way to get the average daily volume that is pased on the actual
number of business days that have elapsed ?
Thank you in advance.