Brokers make their money by charging you a flat fee on every transaction that you make in the stock market. Remember, buying and selling shares are separate transactions, and so you will be charged a fee in both cases.