Stocks picked up where they left off in 2017, rising across market caps and geographies for each of the first four trading days of the new year. The Dow Jones Industrial Average eclipsed the 25,000 mark this week and it took just 23 trading days to gain its latest 1,000 points—the fastest such gain in index history.