Trading simulation for equities based on a limit order book