PHOTO: CNNMoney/Richa Naik
Now playing
03:17
Here's why Jamie Dimon turned down a job at Amazon
White House senior adviser Kevin Hassett speaks with reporters at the White House, Friday, June 19, 2020, in Washington. (AP Photo/Alex Brandon)
White House senior adviser Kevin Hassett speaks with reporters at the White House, Friday, June 19, 2020, in Washington. (AP Photo/Alex Brandon)
PHOTO: Alex Brandon/AP
Now playing
05:08
Ex-Trump official who supports Biden stimulus plan speaks out
US President Joe Biden signs executive orders for economic relief to Covid-hit families and businesses in the State Dining Room of the White House in Washington, DC, on January 22, 2021. (Photo by Nicholas Kamm / AFP) (Photo by NICHOLAS KAMM/AFP via Getty Images)
US President Joe Biden signs executive orders for economic relief to Covid-hit families and businesses in the State Dining Room of the White House in Washington, DC, on January 22, 2021. (Photo by Nicholas Kamm / AFP) (Photo by NICHOLAS KAMM/AFP via Getty Images)
PHOTO: Nicholas Kamm/AFP/Getty Images
Now playing
02:42
Biden signs executive order to promote $15 federal minimum wage
Miles of unused pipe, prepared for the proposed Keystone XL pipeline, sit in a lot on October 14, 2014 outside Gascoyne, North Dakota. (Photo by Andrew Burton/Getty Images)
Miles of unused pipe, prepared for the proposed Keystone XL pipeline, sit in a lot on October 14, 2014 outside Gascoyne, North Dakota. (Photo by Andrew Burton/Getty Images)
PHOTO: Andrew Burton/Getty Images
Now playing
01:58
Biden revokes Keystone XL pipeline permit
Now playing
03:17
Many believed conspiracy theories about Trump and the election. Now, they're losing faith
SAN ANSELMO, CALIFORNIA - JANUARY 08: The suspended Twitter account of U.S. President Donald Trump appears on an iPhone screen on January 08, 2021 in San Anselmo, California. Citing the risk of further incitement of violence following an attempted insurrection on Wednesday, Twitter permanently suspended President Donald Trump
SAN ANSELMO, CALIFORNIA - JANUARY 08: The suspended Twitter account of U.S. President Donald Trump appears on an iPhone screen on January 08, 2021 in San Anselmo, California. Citing the risk of further incitement of violence following an attempted insurrection on Wednesday, Twitter permanently suspended President Donald Trump's account. (Photo Illustration by Justin Sullivan/Getty Images)
PHOTO: Justin Sullivan/Getty Images North America/Getty Images
Now playing
04:29
What impact could deplatforming Donald Trump have?
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
PHOTO: Seth Herald/AFP/Getty Images
Now playing
04:37
Expert: Social media to extremism is like oxygen to fire
PHOTO: @Virgin_Orbit
Now playing
01:03
Watch this rocket launch from the wing of a jumbo jet
WASHINGTON, DC - JUNE 22: Facebook
WASHINGTON, DC - JUNE 22: Facebook's Chief Operating Officer Sheryl Sandberg speaks with AEI president Arthur C. Brooks during a public conversation on Facebook's work on 'breakthrough innovations that seek to open up the world' at The American Enterprise Institute for Public Policy Research on June 22, 2016 in Washington, DC. (Photo by Allison Shelley/Getty Images)
PHOTO: Allison Shelley/Getty Images North America/Getty Images
Now playing
01:23
Hear Sandberg downplay Facebook's role in the Capitol riots
Passengers look out at American Airlines flight 718, a Boeing 737 Max, parked at its gate at Miami International Airport as people load for the flight to New York on December 29, 2020 in Miami, Florida. The Boeing 737 Max flew its first commercial flight since the aircraft was allowed to return to service nearly two years after being grounded worldwide following a pair of separate crashes. (Photo by Joe Raedle/Getty Images)
Passengers look out at American Airlines flight 718, a Boeing 737 Max, parked at its gate at Miami International Airport as people load for the flight to New York on December 29, 2020 in Miami, Florida. The Boeing 737 Max flew its first commercial flight since the aircraft was allowed to return to service nearly two years after being grounded worldwide following a pair of separate crashes. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Now playing
03:15
Airlines & TSA boost security ahead of Inauguration
Philanthropist Chief Executive Officer of Las Vegas Sands Sheldon Adelson listens to US President Donald Trump address to the Israeli American Council National Summit 2019 at the Diplomat Beach Resort in Hollywood, Florida on December 7, 2019. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
Philanthropist Chief Executive Officer of Las Vegas Sands Sheldon Adelson listens to US President Donald Trump address to the Israeli American Council National Summit 2019 at the Diplomat Beach Resort in Hollywood, Florida on December 7, 2019. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:14
Major GOP donor and casino magnate Sheldon Adelson dies
Democratic presidential candidate and former US Vice President Joe Biden speaks on the state of the US economy on September 4, 2020, in Wilmington, Delaware. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
Democratic presidential candidate and former US Vice President Joe Biden speaks on the state of the US economy on September 4, 2020, in Wilmington, Delaware. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
PHOTO: JIM WATSON/AFP/Getty Images
Now playing
02:02
Why Wall Street is hopeful about Biden despite economic challenges
Now playing
05:39
Ben & Jerry's calls for Trump's removal
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
PHOTO: Olivier Douliery/AFP/Getty Images
Now playing
03:49
Parler sues Amazon in response to being deplatformed
Panasonic
Panasonic's Augmented Reality Heads-up Display
PHOTO: Panasonic USA
Now playing
01:06
This tech gives drivers directions on the road in front of them
PHOTO: Wimkin
Now playing
03:18
The online warning signs of the violent Capitol siege
(CNN Business) —  

The Dow staged a comeback on Wednesday, even as the bond market was once again flashing a recession warning sign.

The 10-year US Treasury yield briefly fell below the 2-year yield Wednesday afternoon. It marked the second time the yield curve inverted this month.

A yield curve inversion happens when long-term bond yields fall below short-term yields. That rare phenomenon is considered a recession indicator. Every recession in modern history has been preceded by a yield curve inversion.

Nevertheless, stocks finished higher, clinging to their gains.

The Dow (INDU DOW JONES INDUSTRIAL AVERAGE) finished 240 points, or 0.9% higher, while the S&P 500 (SPX) and the Nasdaq Composite (COMP) closed up 0.8% and 0.9%, respectively. All three indexes reversed the losses they incurred on Tuesday, when the Dow (INDU DOW JONES INDUSTRIAL AVERAGE) and the S&P ended three-day winning streaks.

Investors barely reacted after the Fed published the minutes from its July meeting Wednesday afternoon. During the July meeting, the Fed cut interest rates for the first time since 2008. The minutes showed that most Fed policymakers supported the rate cut.

But the minutes noted that the Fed was keeping its options open about future rate cuts. It may reduce interest rates in the future, but the Fed doesn’t believe this is the beginning of a long, sustained period of rate cuts.

Expectations for an additional quarter percentage point cut in September are at 98%, according to the CME FedWatch tool.

President Donald Trump once again lashed out against Fed Chairman Jerome Powell early Wednesday. “The only problem we have is Jay Powell and the Fed,” he said on Twitter, adding that there would be “big U.S. growth if he does that right thing.”

“Sentiment seems to be improving on the hope for signals of more monetary easing from the Fed and other global central banks in the days ahead,” wrote Priscilla Thiagamoorthy, economic analyst at BMO, in a note to investors.

That shift in sentiment is helping boost riskier assets like stocks and is leading the 10-year Treasury yield higher. The yield last sat at 1.5825%.

Adding to the hopes of monetary policy sentiment, Trump said Tuesday that his administration was looking at additional tax cuts.

Gold, also a safe haven investment, slipped, with prices down 0.3% at $1,500. Oil prices settled 0.8% lower at $55.68 per barrel, pulling back from earlier highs following a report from the US Energy Information Administration showing falling inventories in the United States.

The US dollar, measured by the ICE US Dollar Index, was up 0.1%.