How are capital inflow/outflow computed?

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.
 
Based on my experience in the market, I can say that no one knows what will happen in the market. It is all guesswork that we all do. Some of us become successful in it while many fail.
 
Back
Top