TORONTO — U.S. stocks surged after Republican candidate Donald Trump won the election, with the Dow Jones industrial average gaining more than 1,300 points by late morning, while Canadian markets were more muted but also rose.