What happened eBay (NASDAQ: EBAY) shareholders outperformed a booming market in the first half of 2021, with shares jumping 40% compared to the 14.4% increase in the S&P 500, according to data provided by S&P Global Market Intelligence. That rally built on an earlier market-beating performance for the online marketplace, which trounced indexes in 2020, too. Image source: Getty Images. So what Several things have gone right for eBay shareholders so far this year. A persistent demand spike for online commerce allowed sales volumes to soar in the first quarter, rising 24% through late March. And eBay's marketplace is profiting more from those sales as the fees it charges sellers creep higher. As a result, Wall Street has been pleasantly surprised by its growth and profits thus far. Now what CEO Jamie Iannone and his team are predicting a growth slowdown ahead as the company laps some of the biggest growth spikes tied to the earlier phases of the pandemic last year. But eBay is still expecting to win market share in attractive niches, like sneakers and luxury watches, as the overall business expands and earnings rise. Investor returns will be further amplified by eBay's aggressive cash-return policy that includes a meaty dividend and aggressive stock-repurchase spending. The marketplace's high margins give it room to boost both of these return categories in 2021 and beyond, even as growth slows from the soaring pace we've seen since early 2020. 10 stocks we like better than eBayWhen our award-winning analyst team has a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* They just revealed what they believe are the ten best stocks for investors to buy right now... and eBay wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of June 7, 2021 Demitri Kalogeropoulos has no position in any of the stocks mentioned. The Motley Fool recommends eBay and recommends the following options: short October 2021 $70 calls on eBay. The Motley Fool has a disclosure policy.Source