The 12-month return of the S&P 500 Index based on the party that controls the government is roughly the same for all possible outcomes, according to The Market Ear.
Historical data shows that the difference in average return has not been very large since 1928. If we exclude the years of recessions from observations, the influence of parties on the market is even less significant.