Markets closed on their highs, with many feeling relief the election is almost over.