While U.S. stocks fell for a second straight session on Wednesday, Legacy Reserves LP (NASDAQ:LGCY) and NCR Corporation (NYSE:NCR) are up sharply today amid positive loan credit agreement and 3Q earnings report, respectively. Let’s see what analyst have to say about these two rising stocks:

Legacy Reserves LP

Legacy Reserves shares jumped nearly 40% today, after the oil and gas company announced that it has executed a second lien term loan credit agreement with GSO Capital Partners to provide loans in an aggregate amount up to $300 million. Advances under the Second Lien will be issued with an upfront fee of 2%, bear interest of 12.0% per annum and mature, subject to certain conditions, on August 31, 2021.

In reaction, Stifel Nicolaus analyst Brian Brungardt upgraded shares of Legacy Reserves from Sell to Hold with a price target of $1.75, which still represents a potential downside of 7% from where the stock is currently trading.

Brungardt commented, “We view the announced transaction as incrementally positive for the partnership. When we downgraded the units to Sell, our call was centered around a challenging fall redetermination. However, we view that risk as largely removed with new access to liquidity. Additionally, we anticipate the partnership’s previous disclosure that its hedge counterparties were reluctant to add incremental commodity hedges has been resolved given the requirement the partnership must hedge at least 75% of its PDP production through FY18.”

As usual, we recommend taking analyst notes with a grain of salt. According to TipRanks.com, which measures analysts’ and bloggers’ success rate based on how their calls perform, analyst Brian Brungardt has a yearly average return of -25.1% and a 36% success rate. Brungardt has a 6.2% average return when recommending LGCY, and is ranked #3989 out of 4197 analysts.

Out of the 5 analysts polled by TipRanks, 4 rate Legacy Reserves stock a Hold, while 1 rates the stock a Sell. With a downside potential of 31%, the stock’s consensus target price stands at $1.30.

NCR Corporation

NCR Corporation shares rose nearly 18% today after the IT software firm reported quarterly results that surpassed Wall Street expectations. The company reported revenue of $1.68 billion represented YoY constant currency growth of 10% and beat consensus expectations of $1.63 billion.

Reacting was Wedbush analyst Gil Luria, which reiterated a Neutral rating on NCR, while lifting the price target to $30 (from $25), to reflect higher probability of achieving FCF guidance.

Luria noted, “We expect NCR to sustain low-single digit organic revenue growth and mid-single digit earnings growth, but believe there may still be some risk to 2016 FCF guidance.” The analyst continued, “We believe a weak demand environment in 2H15 (3Q15 down 5% YoY and 4Q15 down 12% YoY) magnified 3Q16 growth, which appears lower on a two-year stack. Furthermore, the rollouts driving the strong 2H16 may create more difficult comparables for next year.”

“We see FCF of $153 million in the quarter as increasing the probability of NCR achieving full year FCF guidance of $425-$475 million, but believe it still needs to make up an over $100 million shortfall in Q4. The company has only generated $179 million through the first three quarters of 2016 compared to $225 million through three quarter in 2015. In order to hit the mid-point of the guidance range the company must generate an amount that we believe would represent a record high quarter,” the analyst added.

According to TipRanks.com, which measures analysts’ and bloggers’ success rate based on how their calls perform, analyst Gil Luria has a yearly average return of 6.6% and a 62% success rate. Luria has a 51.6% average return when recommending NCR, and is ranked #558 out of 4197 analysts.

Out of the 7 analysts polled by TipRanks, 4 rate NCR Corporation stock a Buy, while 3 rate the stock a Hold. With a downside potential of 10%, the stock’s consensus target price stands at $32.40.