Stocks rose Friday as the market extended a post-election rally that has pushed major indexes to a series of record highs.