Hi
I am looking for Microsoft's volume.
I try
=@TR("MSFT.O";"AVG(TR.Volume);TR.Volume;TR.TURNOVER;TR.ACCUMULATEDVOLUME";"SDate=0D EDate=0D-29D";B9)
and the output is
25281455,920829953780019275720829953
It seems good
Unfortunatly, i try on python and i obtain different value :
df=ek.get_data(listRIC, ['TR.PriceClose.date','TR.MarketCapLocalCurn','AVG(TR.VOLUME(SDate=-29D,EDate=0D))'], {'SDate':'-0D', 'EDate':'-0D'})
The output is
Pandas(Index=0, Instrument='MSFT.OQ', Date='2024-01-09T00:00:00Z', _3=2792969860614.91, _4=8974470.66666667)
It looks like the turnover and not the volume.
Do you have any idea how to obtain the same result ?
Best regards,
Matthieu