It was perhaps the most surprising trade in a record-setting week on Wall Street: How quickly investors swapped presidential pre-election jitters for enthusiasm at Donald Trump’s victory over Hillary Clinton. That enthusiasm — call it the Trump rally — ultimately propelled the Dow Jones industrial average to consecutive all-time highs this week and gave the Standard and Poor’s 500 index its biggest weekly gain in two years.