A trader from Knight Capital Group Inc. works on the...

A trader from Knight Capital Group Inc. works on the floor of the New York Stock Exchange Monday. (Oct. 15, 2012) Credit: Bloomberg News

Inflation is low, earnings are high, investors are happy.

Stocks shot higher Tuesday, giving the market its biggest gain in a month. Results at Mattel, Goldman Sachs, and Johnson & Johnson were all above expectations.

It was the second day of broad gains following a down week last week. Investors had been worried headed into the third-quarter earnings season that corporate profits wouldn't be good enough to justify the run-up in stocks in recent months.

The Labor Department said Tuesday consumer prices rose just 0.1 percent last month, not counting food and energy costs. And gasoline prices have come down since then. Low inflation leaves consumers with more money to spend, and leaves the Federal Reserve free to continue its efforts to boost the economy.

"The picture of the economy is one that's still proving to be resilient to a lot of the problems that investors are worried about," said Gary Thayer, chief macro strategist for Wells Fargo Advisors.

The Dow Jones industrial average rose 127.55 points to close at 13,551.78, its biggest gain since Sept. 13.

The Standard & Poor's 500 index rose 1.03 percent to 1,454.92. The Nasdaq composite index rose 1.21 percent to 3,101.17.-- AP

Get the latest news and more great videos at NewsdayTV Credit: Newsday

After 47 years, affordable housing ... Let's Go: Williamsburg winter village ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

After 47 years, affordable housing ... Let's Go: Williamsburg winter village ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME