sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
6 stars 5 forks source link

Zero return autocorrelation when broker is inactive #173

Closed sbenthall closed 1 year ago

sbenthall commented 1 year ago

We are getting positive return autocorrelation with an inactive broker. That is not well calibrated!

mesalas commented 1 year ago

@sbenthall can you point me to a config that has positive autocorrelation ill pull the data and investigate whats going on.

sbenthall commented 1 year ago

'/shared/home/ammpssharkfin/master/allSharkfinrep10data/all/whiteShark10reps1001-whiteShark10reps_sim_stats.txt'

sbenthall commented 1 year ago

One explanation for this is that we are including the dividend in the 'return' for the risky asset, and the dividend growth (mean of the random walk) is positive.

sbenthall commented 1 year ago

A misunderstanding! The Durbin-Watson test is 2.0 with 0 autocorrelation, < 2.0 for correlation, and > 2.0 for anticorrelation. We have been subtracting 2. So a positive DW - 2 test means anticorrelation.

So:

sbenthall commented 1 year ago

A trend following agent in the market maybe could reduce the anticorrelation of returns by arbitraging on the institutional investor behavior.

sbenthall commented 1 year ago

@sbenthall will make the numbers produced by SHARKFin less confusing or better documented.