What happened Shares of TripAdvisor (NASDAQ: TRIP) gained 5% on Friday after the online travel company was upgraded by an analyst who argued the negativity surrounding the stock is overdone. So what TripAdvisor earnings fell short of expectations in the fourth quarter, and the company at that time warned investors to expect the weakness that it was seeing in hotel bookings to last well into 2019. Investors heeded the warning, with the company's shares coming into Friday trading down more than 10% from that announcement. Image source: Getty Images. But in a note Friday morning, Deutsche Bank analyst Lloyd Walmsley said the sell-off has gone too far, upgrading the shares from hold to buy and setting a price target of $65 per share, more than 20% higher than Thursday's close. Walmsley said that he still expects hotel shopper growth and active users to fall when TripAdvisor releases first-quarter earnings on May 8, but he believes the company's restaurant and attractions business has room to grow and help push overall top-line growth. More broadly, he believes the company could use the earnings call to lay out a multiyear outlook that underscores management's confidence TripAdvisor can produce long-term growth, something that should help reassure investors. Now what Even if the company's long-term prospects are healthy, it appears investors are still in for a rough ride in the near term. TripAdvisor could be a good buy today for an investor with a long-term outlook, but don't let one day's price movement fool you into thinking there isn't the chance of turbulence up ahead. 10 stocks we like better than TripAdvisorWhen investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has quadrupled the market.* David and Tom just revealed what they believe are the ten best stocks for investors to buy right now... and TripAdvisor 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 March 1, 2019Lou Whiteman has no position in any of the stocks mentioned. The Motley Fool owns shares of and recommends TripAdvisor. The Motley Fool has a disclosure policy.Source