Behind positive gains for shares of Walmart and Amazon.com Inc., the Dow Jones Industrial Average is trading up Tuesday afternoon.