Spread and slippage
A trade costs money even when no fee is shown. Two costs sit inside the price itself: the spread and slippage.
The spread
Every market has two prices at once. The ask is what you pay to buy. The bid is what you receive when you sell. The ask is always a little higher, and the gap between them is the spread.
Buy and sell again immediately and you lose the spread. That is why every new position starts slightly in the red.
Slippage
Slippage is the difference between the price you expected and the price your order actually filled at. It happens when the market moves between your click and the fill, or when there are not enough buyers or sellers at your price.
When these costs are largest
Spread and slippage grow in small, thinly traded markets and during sudden news. They matter most to traders who trade often, because the cost is paid on every trade. A limit order avoids slippage, at the price of possibly not being filled.
This guide explains how trading works. It is not financial advice. Trading real markets with leverage can lose money quickly.