Assuming you are good with current BID/ASK prices. you have to buy at the ASK, not the BID. When you sell, you have to sell at the BID, not the ASK.