There are two prices, the bid price (how much someone is willing to pay) and an ask price (how much someone is willing to sell). When you submit a market order, you usually get a price close to the bid (if you’re selling) or the ask (if you’re buying).
The 20$ difference you describe is the spread - not a fee taken by the brokerage, market maker, exchange. Whoever is executing your trade isn’t pocketing the 20$.
There are two prices, the bid price (how much someone is willing to pay) and an ask price (how much someone is willing to sell). When you submit a market order, you usually get a price close to the bid (if you’re selling) or the ask (if you’re buying).
The 20$ difference you describe is the spread - not a fee taken by the brokerage, market maker, exchange. Whoever is executing your trade isn’t pocketing the 20$.