Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
data source for AverageDollarVolume?

Does anybody know what's the data source for quantopian's AverageDollarVolume? The reason I ask this is because when I compare quantopian's ADV with Bloomberg's VWAP_TURNOVER, the ADV will always slightly lower than vwap_turnover. Sometimes the difference is marginal but sometimes it is unneglectable. I am assuming the difference is because the data vendor for quantopian only calculates the three main US exchange's turnover but it would be better to confirm with the vendor.

3 responses

I don't know, but maybe either from their broker(s), or possibly directly from the exchanges? Anything older than 15min the exchange may provide for free through their API?

Thank you Joakim.

Any quantopian staff can give an official answer?

In source code I found the ADV is calculated by using close price and volume:
def compute(self, today, assets, out, close, volume):
out[:] = nansum(close * volume, axis=0) / len(close)

then I realized the difference comes from the volume. Does anybody know where the volume data in quantopian comes from?