What happened

Shares of TripAdvisor (TRIP -4.71%) jumped 11.5% today after a Deutsche Bank analyst said now is the time to get into the online travel company. 

Stocks in the travel sector have followed the progression of pandemic cases and the vaccines for good reason. Shares of TripAdvisor are up about 35% in the last three weeks as vaccines are rolling out globally.

So what

Today, Deutsche Bank said the company was a "short-term buy," though it continued to call it a long-term hold, CNBC reports. 

woman booking travel flight online at a coffee shop

Image source: Getty Images.

The short-term call, the bank said, is based on a "positive near-term risk/reward skew given direct exposure to a post vaccine travel recovery later this year." 

Now what

The business results of companies in the travel and leisure sector have been held hostage by the direction of the pandemic and economic recovery. Though TripAdvisor shares have soared 75% in the last three months as vaccine efficacy data and approvals rolled out, the one-year gain is still just 17%. 

Consumer travel began picking up over the holiday season, with airline data showing the highest airport traveler volume since the start of the pandemic. That has also likely been a contributor to the record levels of new COVID-19 cases many countries around the world are seeing. 

There's a good chance that vaccines will change the course of the pandemic soon, and travel may pick up nicely later in the year. That premise is at the heart of the Deutsche Bank call on TripAdvisor. But investors should be sure to know the long-term prospects as well, especially with the recent surge in shares probably already including the vaccine-related boost.