Stocks hold near record as investors weigh vaccine hope and virus concern