Information versus imitation in a real-time agent-based model of financial markets