The election is just one of the things that will influence the market in the coming months. Two other things I could think of are the fed rate hikes and world oil production freezes.
If Trump gets into power along with congress staying republican controlled I would go mostly or all into bonds. There really is no telling what he is going to do. If I were a speculator I would short American manufacturers with a significant presence in Mexico. I would go long on anything relevant to construction mortgages, the more industrial related they are the better. I would also go long on cement, heavy steel, paving, demolitions and excavations companies near the supposed wall. A lot of investment into Texan industry if the wall happens. Rate hikes will for sure happen but a whole lot of USD should be repatriated which could offset the hikes. No one knows just how much USD is offshore at the moment. Estimates are anywhere between 20, 30 trillion and I even once read 100 trillion... I think a lot of mergers & acquisitions will occur because of this so I will go long on the big American banks if he actually does reduce corporate tax rates to 10%...there will be a huge buying frenzy of bigger companies swallowing smaller ones. I will also definitely go even more into bonds if this occurs because the filthy rich are usually old and love fixed income or risk adverse trust fund babies.
If Hillary wins I'm long weapons manufacturers. Then afterwards get a gym membership to prepare for getting drafted!