S&P 500 ticks higher as investors weigh stimulus against virus worries