US stocks close in the green after caution-driven day of tra