Stocks rise to record on earnings optimism, dollar hits four-year low - Reuters