The investors chose to look beyond the future president Donald Trump's talk of heavily increased import tariffs and instead focused on his nomination of billionaire Scott Bessent as the new US finance minister.
Bessent has a softer line than his future boss on issues of trade tariffs and tax cuts that risk fuelling inflation.
Inflation has for years been the big threat that has upset the applecart for the listed companies that so eagerly desire cuts to the country's interest rate.
On Tuesday, a protocol was released showing that the US central bank, the Federal Reserve, is convinced that inflation is decreasing, which opens up for more gradual interest rate cuts.
The tech-heavy Nasdaq composite index rose 0.6 percent, and the Dow Jones industrial index increased 0.3 percent to a new record level at closing.
The broad S&P 500 index rose for the seventh trading day in a row, now by 0.6 percent, and closed at a new record level. This means that the index has closed at a record 52 times this year.
The ceasefire between Israel and the Lebanese Shia militia Hezbollah resulted in the global market prices of oil falling further.
At 22.00 Swedish time, a barrel of North Sea oil, Brent, had fallen 0.4 percent to 72.7 dollars. American WTI oil cost 68.7 dollars after a 0.4 percent decline during the day.