Don't actually do this, money is filthy.
Data is not updated in real time. Most stats update within seconds or a few minutes.