Agent-based markets: equilibrium strategies and robustness