US stocks inch higher after sharp losses

US stocks bobbed higher today as technology and consumer-focused companies regained a sliver of their losses from the day before.
Oil prices and energy companies jumped as the US pressed its allies to stop importing oil from Iran.