NEW YORK (TheStreet) -- Shares of Canadian Pacific Railway  (CP - Get Report)  closed up 5.26% to $150.61 in Wednesday's trading session after posting mixed results for the 2016 second quarter.

Before the market open, Canada's second-largest railway operator reported adjusted earnings of C$2.05 per share, topping analysts' estimates of C$2.04 per share. 

But the company said that revenues tumbled 12% year-over-year to C$1.45 billion and missed analysts' projections of C$1.47 billion.

Canadian Pacific noted that grain and potash will likely be significant revenue drivers in the second half of 2016, the Wall Street Journal reports. 

For the second quarter, however, grain shipments dropped 21% while potash-shipment sales fell 25%.

Separately, TheStreet Ratings team rates the stock as a "buy" with a ratings score of B-.

Canadian Pacific's strengths such as its increase in net income, notable return on equity, expanding profit margins and growth in earnings per share outweigh the fact that the company shows weak operating cash flow.

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

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 article's author.