(CNBC) – Stocks rose on Thursday after the Federal Reserve hinted at possible interest rate cuts as soon as next month.

The S&P 500 surged 1 percent and reached an all-time high of 2,956.20 as the tech and energy sectors outperformed. The Dow Jones Industrial Average traded 259 points higher. The Nasdaq Composite gained 0.8 percent.

“Markets are based on numbers and perception. If the perception is rates are getting cut, that’s going to drive markets higher,” said Kathy Entwistle, senior vice president of wealth management at UBS. “UBS’ stance up until yesterday was we wouldn’t see any rate cuts this year. Now we see a much larger chance of a 50-basis-point cut.”

The Fed said Wednesday it stands ready to battle growing global and domestic economic risks as they took stock of intensifying trade tensions and growing concerns about inflation. Most Fed policymakers slashed their rate outlook for the rest of the calendar year by approximately half a percentage point in the previous session, while Chairman Jerome Powell said others agree the case for lower rates is building.

Note: Read our discussion guidelines before commenting.