Stocks end the day mixed