After starting the week with a sharp selloff, stocks recovered most of their losses on Tuesday as the S&P 500…