The retail sector has been a minefield for investors in the past several years as traditional brick-and-mortar companies attempt to fend off online competition from Amazon.com, Inc. (NASDAQ: AMZN ) and others. In fact, the SPDR S&P Retail (NYSE: XRT ) is down 8% overall in the past five years. But while some retail stocks may be in terminal decline, weakness in others may end up being a huge long-term buying opportunity. Others have actually outperformed in the past couple of years and may continue to do so in the future. Here are eight retail stocks to buy, according to Bank of America. Amazon If you’re looking for a place to start buying within the retail sector, it’s a no-brainer to start with the company that is primarily responsible for all the disruption. In addition to its growing e-commerce business, Amazon’s high-margin cloud services business and early-stage advertising businesses are growing at a rapid pace. Analyst Justin Post recently said Amazon is well-positioned to exceed consensus estimates in 2020 once the company starts realizing investment returns on its heavy spending on one-day shipping and AWS.