I've researched this information for a few days and prototyped a program to calculate it, but I find my results very different from those reported from trading platforms. I wonder if I can get some help understand why.
My method:
* Download 1 minute intraday data for a symbol
* In the minute, if close > open, then the total flow ( mid_price * volume ) counts towards income. Otherwise it counts against outflow.
* Summing the whole day up to get the total inflow / outflow.
Apparently, it is quite different from what's available from other platforms. My questions are:
* One minute is a pretty coarse granularity, would I get much better results by using second by second data?
* Or I have to get the whole list of trades in order to get an acceptable results? (That is, even second by second data won't suffice.)
* Or is there something fundamentally wrong in my approach?
Thanks and appreciate the help.
My method:
* Download 1 minute intraday data for a symbol
* In the minute, if close > open, then the total flow ( mid_price * volume ) counts towards income. Otherwise it counts against outflow.
* Summing the whole day up to get the total inflow / outflow.
Apparently, it is quite different from what's available from other platforms. My questions are:
* One minute is a pretty coarse granularity, would I get much better results by using second by second data?
* Or I have to get the whole list of trades in order to get an acceptable results? (That is, even second by second data won't suffice.)
* Or is there something fundamentally wrong in my approach?
Thanks and appreciate the help.