NEW YORK (TheStreet) -- Shares of Calpine  (CPN)  are down 0.07% to $14.68 this afternoon after Deutsche Bank upped its stock rating to "buy" from "hold" on Tuesday.

The firm raised its price target to $20 from $18 on the Houston-based wholesale power generator company, citing Calpine's strong presence in the Texas energy market and its likelihood to benefit from market tightening. 

"Having lagged peers NRG and DYN by ~20% YTD, we see an attractive entry point for Calpine, a power company with a best-in-class fleet and regional diversification," Deutsche Bank said in an analyst note. 

Additionally, Calpine is expected to post second quarter earnings on Friday before market open. Analysts project the company will report earnings of 6 cents per share on revenue of $1.29 billion.

Calpine posted earnings of 9 cents per share on revenue of $1.44 billion for the second quarter in 2015.

Separately, TheStreet Ratings objectively rated this stock according to its "risk-adjusted" total return prospect over a 12-month investment horizon. Not based on the news in any given day, the rating may differ from Jim Cramer's view or that of this articles's author. TheStreet Ratings has this to say about the recommendation:

We rate CALPINE CORP as a Hold with a ratings score of C. The primary factors that have impacted our rating are mixed - some indicating strength, some showing weaknesses, with little evidence to justify the expectation of either a positive or negative performance for this stock relative to most other stocks. Among the primary strengths of the company is its generally strong cash flow from operations. At the same time, however, we also find weaknesses including a generally disappointing performance in the stock itself, feeble growth in the company's earnings per share and deteriorating net income.

You can view the full analysis from the report here: CPN

CPN Chart CPN data by YCharts