Stocks rally amid cooling inflation data

Wall Street's main indexes have gained, shaking off an unconfirmed report of Russian missiles crossing into Poland that sparked volatility, as investors seized on softer-than-expected inflation data that raised hopes of a pullback in rate hikes by the United States Federal Reserve.

Equities were boosted by Tuesday's inflation report that showed producer prices rising 8.0 per cent in the 12 months through October against an estimated 8.3 per cent rise.

The gains built on a rally that was kicked off late last week by a cooler-than-expected report on consumer prices.

"The market has been driven by the inflation number that came out a little bit lower than expected and confirmed last week's number to some degree that we may have rounded the corner on inflation," said Peter Tuz, president of Chase Investment Counsel in Charlottesville, Virginia.

The market was "a little bit more volatile this afternoon as news stories came out about the Russian missile landing in Poland", Tuz said.

The Dow Jones Industrial Average rose 56.22 points, or 0.17 per cent, to 33,592.92, the S&P 500 gained 34.48 points, or 0.87 per cent, to 3,991.73 and the Nasdaq Composite added 162.19 points, or 1.45 per cent, to 11,358.41.

Two people were killed in an explosion in Przewodow, a village in eastern Poland near the border with Ukraine, firefighters said as NATO allies investigated reports the blast resulted from Russian missiles.

The Associated Press earlier cited a senior US intelligence official as saying the blast was due to Russian missiles crossing into Poland.

The Pentagon said it could not confirm that account.

Stocks pulled back about midday after the report, with the Dow turning negative, before they steadied.

"The decline was triggered by reports of a Russian missile landing in Poland," said Steve Sosnick, chief strategist at Interactive Brokers.

"This could develop into something far worse but right now markets are nervous, not panicked."

Shares of Walmart Inc jumped 6.5 per cent after the top US retailer lifted its annual sales and profit forecasts, benefiting from a steady demand for groceries despite higher prices.

Shares of other retailers, including Target Corp and Costco, also rose following Walmart's report.

Target, which is due to report on Wednesday, rose 3.9 per cent, while Costco gained 3.3 per cent.

Home Depot shares rose 1.6 per cent after the home improvement chain's results showed it tapped higher prices to override a drop in customer transactions for the third quarter.

Advancing issues outnumbered declining ones on the NYSE by a 3.25-to-one ratio; on Nasdaq, a 2.01-to-one ratio favoured advancers.

The S&P 500 posted five new 52-week highs and no new lows.

The Nasdaq Composite recorded 85 new highs and 76 new lows.

About 13.1 billion shares changed hands in US exchanges, compared with the 12.2 billion daily average over the past 20 sessions.