Stocks rose as Wall Street looked to rebound from two straight weeks of losses. The Dow, the Nasdaq and the S&P 500 all finished higher on Monday.

Walmart Stores Inc. (WMT) stock was slightly higher even though Goldman Sachs downgraded its rating on the stock to "Neutral" from "Buy." Analyst Matthew Fassler expressed concerns about the retailer's valuation since shares of Walmart have jumped nearly 40% year-to-date. He noted that Walmart's "progress in growing earnings while investing in its business has been recognized by the market." The firm set a $100 price target on the stock.

Shares of Amazon.com Inc. (AMZN) fell despite Nomura increasing its price target to $1,360 from $1,000, while also reiterating its Buy rating. The firm thinks Amazon's shift to higher margin products will drive its business. Nomura estimates Amazon's growing margin can potentially rise to 45%-46% by 2022 from an estimated 35% this year, allowing for up to $160 billion of incremental investment spending.

TransCanada Corp. (TRP) shares rose more than 1% after the Nebraska Public Service Commission approved the company's controversial Keystone XL pipeline plans.

The commission voted 3-2 in favor of allowing the pipeline's construction to continue but voted against TransCanada's preferred route. The group instead passed the "Alternative Mainline Route," which will affect roughly 40 landowners.

Watch More with TheStreet:

Don't miss the best videos of the week. Put Wall Street on Rewind and sign up for our weekly newsletter.

More from Video

Investors Shouldn't Be Worried About Trump's Trade Tariffs: Ian Bremmer

Investors Shouldn't Be Worried About Trump's Trade Tariffs: Ian Bremmer

Abercrombie & Fitch CEO Reveals to TheStreet How She Is Turning Company Around

Abercrombie & Fitch CEO Reveals to TheStreet How She Is Turning Company Around

The Chart Professor: Worried About United Technologies Right Here

The Chart Professor: Worried About United Technologies Right Here

Veteran Foreign Affairs Expert Ian Bremmer Reveals How to Price Political Risk

Veteran Foreign Affairs Expert Ian Bremmer Reveals How to Price Political Risk

Jim Cramer: I've Liked Six Flags Entertainment Stock as an Income Producer

Jim Cramer: I've Liked Six Flags Entertainment Stock as an Income Producer