Although it doesn't smell all that good, but yes, the brokers do, at times, trade against you. But they can also trade for you against someone else. There can be fairness to it if measured over time and millions upon millions of executions.