While buying interest was somewhat subdued, stocks managed to end Tuesday’s trading mostly higher. The gains on the day partly offset the steep drop seen in the previous session, although the major averages remain well off their recent highs.