I don't think the POTUS typically has a direct impact on the market, but we cannot ignore the historic gains the past year. They come with the spike in consumer confidence, increased labor participation rate, businesses bringing back and/or keeping jobs in the U.S., slashing of the corporate tax rate, etc. I give Trump credit for that, at least in part. Put another way, I seriously doubt the market would be doing as well if Clinton were elected.
There is going to be a correction at some point though.