Estimation of a simple agent-based model of financial markets: An application to Australian stock and foreign exchange data