A whipsaw week powered by election uncertainty for markets ended on a high note as the Dow notched a fresh record high and the best five-day period since 2011. On Friday, equities took a bit of a breather from a two-day stretch of solid gains fueled by Donald Trump’s surprise victory on election night and the perception of a pro-business president taking over the White House. As evidence of the calm that settled over stocks, the Dow crossed the unchanged line more than 150 times during the session. By the closing bell, the Dow Jones Industrial Average rose 37 points or 0.20% to 18845, and leaping more than 5% for the week. The broader S&P 500 finished down by three points, but not before tacking on weekly gains of 3.79%. Weighing on momentum was a drop in energy shares, which sank 2% during the trading day as oil prices fell more than 3% in reaction to data from OPEC showing output reached another record. The figures fueled worries about the viability of a potential plan to limit production aimed at easing global oversupply. Performance on the tech-heavy Nasdaq reversed from the prior session in which shares saw significant declines as traders worried how Trump’s plans for stricter immigration controls and more American nationalism would dent the nation’s globalized technology firms. The Nasdaq capped the session up 28 points or 0.54%, gaining 3.78% for the week. The market’s election momentum helped the major averages substantially advance their gains year to date: The Dow has risen 8% since the start of 2016, while the S&P has added 5.6% and the Nasdaq is up 4%. Meanwhile, financials also got a big boost from the post-election momentum. The sector jumped more than 11% for the week after headlines hit the tape about Trump’s preliminary plans to dismantle Dodd-Frank legislation enacted in the aftermath of the financial crisis, which was viewed as a positive for banks and other Wall Street financial institutions.