Now playing
04:16
Why oil is moving higher
Detail of a mans hand scrolling through Netflix on an Apple iPad Pro, taken on March 6, 2020. (Photo by Phil Barker/Future Publishing via Getty Images)
Future Publishing via Getty Imag
Detail of a mans hand scrolling through Netflix on an Apple iPad Pro, taken on March 6, 2020. (Photo by Phil Barker/Future Publishing via Getty Images)
Now playing
02:37
Netflix shares drop after subscribers miss
WASHINGTON, DC - DECEMBER 12: U.S. President Donald Trump departs on the South Lawn of the White House, on December 12, 2020 in Washington, DC. Trump is traveling to the Army versus Navy Football Game at the United States Military Academy in West Point, NY. (Photo by Al Drago/Getty Images)
Al Drago/Getty Images
WASHINGTON, DC - DECEMBER 12: U.S. President Donald Trump departs on the South Lawn of the White House, on December 12, 2020 in Washington, DC. Trump is traveling to the Army versus Navy Football Game at the United States Military Academy in West Point, NY. (Photo by Al Drago/Getty Images)
Now playing
02:18
Trump said electing Biden would crash the markets. It didn't
A bidder holds up his bidding sign during an auction at Sotheby's in June 2004 in New York City. (Photo by Stephen Chernin/Getty Images)
Stephen Chernin/Getty Images
A bidder holds up his bidding sign during an auction at Sotheby's in June 2004 in New York City. (Photo by Stephen Chernin/Getty Images)
Now playing
04:42
Digital Artist Pak sells NFT art for $17 million at Sotheby's
People wearing face masks walk past the Bed Bath & Beyond store. Bed Bath & Beyond has announced plans to permanently close about 200 stores over the next two years. This announcement appears to be the first iteration of that plan, report says.
John Nacion/SOPA Images/Shutterstock
People wearing face masks walk past the Bed Bath & Beyond store. Bed Bath & Beyond has announced plans to permanently close about 200 stores over the next two years. This announcement appears to be the first iteration of that plan, report says.
Now playing
01:57
Don't worry, Bed Bath & Beyond coupons aren't going away
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday.  (Photo by Mario Tama/Getty Images)
Mario Tama/Getty Images
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday. (Photo by Mario Tama/Getty Images)
Now playing
03:11
Bernie Madoff, infamous Ponzi schemer, dead at 82
Now playing
05:18
Coinbase CFO: We're an on-ramp to the crypto economy
GrabBike riders wait for passengers outside a commuter train station in Jakarta on June 13, 2018. - Toyota said June 13 it was investing 1 billion USD in Asia ride-share company Grab, as the Japanese automaker looks to expand beyond its core business into the "mobility" sector. (Photo by GOH CHAI HIN / AFP)        (Photo credit should read GOH CHAI HIN/AFP via Getty Images)
Goh Chai Hin/AFP/Getty Images
GrabBike riders wait for passengers outside a commuter train station in Jakarta on June 13, 2018. - Toyota said June 13 it was investing 1 billion USD in Asia ride-share company Grab, as the Japanese automaker looks to expand beyond its core business into the "mobility" sector. (Photo by GOH CHAI HIN / AFP) (Photo credit should read GOH CHAI HIN/AFP via Getty Images)
Now playing
03:12
Grab is going public in $40 billion SPAC deal
tengler stock market correction prediction orig_00014122.png
tengler stock market correction prediction orig_00014122.png
Now playing
02:26
Here's how much this strategist expects the market to correct
barrys gym ceo pandemic fitness industry orig_00003130.png
barrys gym ceo pandemic fitness industry orig_00003130.png
Now playing
01:09
Barry's CEO: It's 'crazy' gyms got no government support
The logo of Swiss banking giant Credit Suisse is seen on October 17, 2017 in Zurich.
FABRICE COFFRINI/AFP/Getty Images
The logo of Swiss banking giant Credit Suisse is seen on October 17, 2017 in Zurich.
Now playing
02:42
Credit Suisse takes $4.7 billion hit from hedge fund collapse
The replacement of Line 3 created jobs.
Bill Weir/CNN
The replacement of Line 3 created jobs.
Now playing
01:57
Why an infrastructure bill could help jobs bounce back faster
A Deliveroo rider cycles through central London on March 26, 2021. - The meal delivery platform Deliveroo is bracing for strikes and other social actions by disgruntled riders as it gears up for a major London stock listing.  The group has come under fire for employment conditions that have already scared off a couple of large institutional investors (Photo by DANIEL LEAL-OLIVAS / AFP) (Photo by DANIEL LEAL-OLIVAS/AFP via Getty Images)
Daniel Leal-Olivas/AFP/Getty Images
A Deliveroo rider cycles through central London on March 26, 2021. - The meal delivery platform Deliveroo is bracing for strikes and other social actions by disgruntled riders as it gears up for a major London stock listing. The group has come under fire for employment conditions that have already scared off a couple of large institutional investors (Photo by DANIEL LEAL-OLIVAS / AFP) (Photo by DANIEL LEAL-OLIVAS/AFP via Getty Images)
Now playing
04:05
Deliveroo shares plunge on market debut
Now playing
03:31
Intel CEO: We're ready to go bigger and faster
Now playing
03:19
Slack CEO: We made an 'unforced error' in DM roll out
Alex Wong/Greg Nash/Pool/AFP/Getty Images
Now playing
02:57
Watch Elizabeth Warren grill Janet Yellen about risks to US financial system
(CNN Business) —  

Wall Street on Tuesday cheered a reversal of two trends that had been weighing on investors: US politics and oil.

The Dow jumped 372 points Tuesday after politicians in the United States tentatively agreed on a plan to avert another government shutdown. Stocks also got a boost after Saudi Arabia revealed that it had cut oil production. The Nasdaq was up 1.5% and the broader S&P 500 was up 1.3%. Tuesday was the the best day of the month for the stock market — and the third-best of 2019.

Congressional negotiators said late Monday they reached an agreement in principle to avert a partial government shutdown at the end of this week. The deal will not be final until Congress passes it and President Donald Trump signs it — leaving a lot of room for a new development to scuttle the agreement. But Wall Street was optimistic that American lawmakers would avoid another crisis.

“The markets abhor uncertainty so this is spectacular news removing one of the major impediments to US economic growth and prosperity and better financial market conditions,” said Chris Rupkey, chief financial economist at MUFG.

The last 5-week shutdown, which ended last month, cost the US economy $11 billion — $3 billion of which the economy will never recover, according to the Congressional Budget Office. That’s not a huge dent to America’s near-$20 trillion economy. But that level of political intransigence made Wall Street worried about the ability of politicians to agree on something potentially much more serious: raising the US debt ceiling.

In the next few months, lawmakers will have to vote to pay down the debt America owes. If it doesn’t, the United States could default on its debt payments. That could signal America won’t pay back its creditors, potentially sending a shock through the US Treasury market, which the government relies on to fund its programs and make up for its massive budget shortfall.

Credit-rating agencies have already warned that they will cut the United States’ credit rating if lawmakers don’t increase the debt ceiling, which would raise the amount of money the government needs to pay on its debt payments. Credit-rating agencies cut America’s perfect AAA rating to AA+ in 2011 when the government came close to missing a debt payment.

The shutdown deal gives investors hope that politicians won’t shoot themselves in the foot once again when the stakes are potentially much higher.

Oil moves higher

OPEC, the oil cartel led by Saudi Arabia, announced Tuesday that it had cut production by 800,000 barrels per day. That eased investors’ concerns that a global economic slowdown would continue to hurt demand, and that oil producers aren’t doing enough to slow production.

The price of US crude rose 1.3% Tuesday to $53.09 a barrel.

Oil has been rising in recent weeks after the United States sanctioned Venezuela, a large supplier of crude around the world. The sanctions on Iran have also supported oil prices.

But increased crude production in the United States has weighed on oil over the past year. Still, the price of oil could increase between 10% and 15% this year because of OPEC’s production cuts and sanctions, Francisco Blanch, head of global commodities research at Bank of America Merrill Lynch told Julia Chatterly on CNNi’s “First Move” Tuesday.

Energy stocks rallied. Hess (HES) rose 3% and Devon Energy (DVN) was up 2%.