There is more than one exchange. If you see a Bid of 10$ come up on the NYSE you can put in a bid of 9.99 on another exchange and if that order gets filled you can then turn around and try to match that bid of $10 on the NYSE if you are fast enough.