US stocks edge higher as investors shift focus from earnings to macro data