A trader works on the floor of the New York Stock Exchange
A trader works on the floor of the New York Stock Exchange. REUTERS

Stocks closed moderately higher today. Compared to the past week, we won't complain about any advance in the market - however small.

The Dow Jones Industrial Average ended the day up 37 points to 10,854.65. The Nasdaq Composite rose 0.15 percent to close at 2.345.38 and the S&P 500 Index closed up a scant 0.03 percent at 1,123.82.

The usually staid August market has been more volatile than usual in past weeks as the global economy has taken a turn for the wose. The cost of living in America climbed in July by the most in four months, led by higher energy and food prices. The Consumer Price Index increased 0.5 percent from June, and the Core CPI, which excludes volatile food and fuel prices, rose 0.2 percent.

Some companies are trying to preserve profits by recouping higher commodity costs from earlier this year, an effort that may wane as a stagnant labor market and wage growth threaten sales. On a yearly basis, inflation surged by 3.6 percent from 2010.

Wholesale costs in America rose more than expected in July as the Producer Price Index rose by 0.2 percent in July after dropping 0.4 percent in June.

Construction began on fewer homes in July, indicating that residential real estate is failing to contribute to economic growth in America. Housing starts fell 1.5 percent to 604,000 annually, in line with market expectations, from June's 613,000 figure. Building permits, a measure for future construction, also dropped.

The number of people who bought previously occupied homes dropped in July, the third decline in four months.