WEDNESDAY: Macy’s reports quarterly results; last quarter it beat earnings forecasts but total sales were down from a year earlier.

THURSDAY: Walmart reports quarterly results; a key question is whether e-commerce sales can keep up last quarter’s 43% growth. … Some indicators that could shed light on the direction of the U.S. economy are due: retail-sales data and industrial-production figures for July, and business inventories for June.