Wall Street edged higher on Thursday as investors grew more certain of a rate hike when Federal Reserve members meet in December.

The S&P 500 added 0.47%, the Dow Jones Industrial Average gained 0.19% and the Nasdaq rose 0.74%.

Fed Chair Janet Yellen reinforced the chances of a rate hike in December, telling lawmakers that an interest rate hike could come "relatively soon." Yellen noted that the labor market continued to show strength and that the economy appeared to have recovered from a sluggish start to the year. Yellen also repeated the stance that the current state of the economy will likely "warrant only gradual increases in the federal funds rate over time" and noted that a delay could impact financial stability.

Yellen also said she did not foresee any reason why she would not complete her full term. Yellen's four-year term will end on Feb. 3, 2018. She also backed the Dodd-Frank regulations and cautioned against repealing them, noting that it is imperative to have safeguards that "result in a safer and sounder financial system."

The comments were made to the Congressional Joint Economic Committee on Thursday morning. The Fed chair last testified before that committee in December of last year, prior to the Fed's decision to hike interest rates for the first time in nearly a decade.

A December rate hike already had a high probability among Wall Street pundits with any doubt after Donald Trump's recent election as U.S. president quickly evaporating. The chances of a December rate hike currently sit at 90%, according to CME Group fed funds futures.

If you liked this article you might like

These Stocks Pay You to Own Them

Pret A Manger Takeover in the Works; Cisco's M&A Shackles Come Off - ICYMI

Market Signals Change of Direction: Cramer's 'Mad Money' Recap (Monday 9/18/17)

This Company Could Be a Fraud, Noted Short-Seller Andrew Left Says

John Chambers' Exit From Cisco Could Pave the Way for Big Moves