Start your 14-day free trial

No credit card required

Markets After Midterms: What 75 Years of Data Tell Us

The S&P 500 has risen after every midterm since 1950. 19 for 19. We used viaNexus to pull live market data and track where 2026 stands.

Markets After Midterms: What 75 Years of Data Tell Us

Tracking an election's market impact. You need the index price going in, the price coming out, historical comparisons across decades, sector rotation data, and the statistics that tell you whether the move has legs. That is four or five vendors, or one afternoon with viaNexus.

The 2026 midterms just wrapped up. Whatever the final count, here is what 75 years of data say happens next.

The Post-Midterm Rally: 19 for 19

Since 1950, the S&P 500 has risen in the 12 months following every single midterm election. Nineteen consecutive cycles without a miss. The average gain: +16.9% (yCharts). Looking at the more recent window since 1982, CNBC reports the average is +13.7% across 11 consecutive positive outcomes.

The returns build gradually, not all at once:

Bar chart showing S&P 500 12-month returns after each midterm election from 1950 to 2022. All 19 bars are positive, ranging from 7.6% to 31.5%. A dashed average line marks +16.9%. Alongside, a grouped bar chart compares how returns build at 1, 3, 6, and 12 months after midterms versus presidential elections.
Left: 12-month returns after each midterm since 1950. Right: how returns accumulate over time. Historical data compiled from published research; current market data from viaNexus.

The worst post-election 12-month stretch in recent memory was after 2000, when the dotcom bust dragged the index down 22.1%, but that was a presidential year. Among midterms, the streak is unbroken. Even the weakest cycle still returned +7.6%.

Does the Outcome Matter?

Less than you think. Divided government, where neither party controls both chambers and the White House, has actually produced slightly stronger one-year returns: +15% average versus +11.5% under unified control (CNBC).

Janus Henderson's research found almost no difference in annualized returns between unified and divided government (8.73% vs. 9.24%). The takeaway: markets price in the end of uncertainty, not the winner.

The election market dashboard showing a horizontal bar chart comparing divided government (+15.0%) versus unified government (+11.5%) 12-month returns, a technical stats grid with RSI 52.3, Beta 1.00, 50-day MA $748, 200-day MA $721, and three market headlines, all from viaNexus.
Government composition barely matters. Stats, news, and composition data -- all from viaNexus, one API key.

Where 2026 Stands Right Now

You can pull the current picture yourself. One call to the viaNexus HISTORICAL_PRICES dataset returns a full year of split-adjusted daily closes for SPY:

GET /v1/data/EDGE/HISTORICAL_PRICES/SPY?from=2026-01-02&to=2026-11-03

Here is what that data shows:

  • SPY year-to-date: +10.4% ($683.17 on January 2 to $754.35 on November 3)
  • Trailing 12 months: +11.7% ($675.24 on November 4, 2025)
  • October pullback: SPY dropped from $778 on October 12 to $752 on November 2, a -3.3% dip heading into the vote
The election market dashboard showing four metric cards (S&P 500 YTD +10.4%, Post-Midterm Avg +16.9%, RSI-14 52.3, Historical Win Rate 100%) above a line chart of SPY year-to-date prices from $683 in January to $754 in November, with the October pullback visible and Election Day marked.
The election market dashboard built from the viaNexus skill. Every number on this page is live viaNexus data. The October pullback into the election is the dip on the right.

That pre-election dip is on script. Capital Group's research shows stocks tend to generate lower returns in the months leading up to midterms, and three of the worst midterm years (1990, 2002, 2022) all bottomed between October 9 and 12.

What the Statistics Tell You

The price is half the picture. The viaNexus STOCK_STATS_US dataset returns the other half in a single row:

GET /v1/data/CORE/STOCK_STATS_US/SPY?last=1

That one call returns RSI-14, beta, 50-day and 200-day moving averages, the 52-week range with dates, year-to-date change, average 30-day volume, trailing P/E, trailing EPS, and shares outstanding. No calculation, no moving-window maintenance, no history fetch and reduce. Precomputed, daily.

If SPY's RSI clears 70 or the 50-day crosses the 200-day after the election, that is the kind of signal that has historically preceded continued strength in post-midterm rallies.

Strong Midterm Years Run Hotter

2026's +10.4% YTD going into the election puts it among the strongest midterm years on record. The only midterm year with a better YTD at this point was 1998 (+15.9%), and the S&P 500 went on to gain another +23.6% over the following 12 months (yCharts).

The other midterm years with double-digit gains at this stage (2006 and 2014) both delivered positive 12-month returns as well. Strong entering the vote, strong after it.

See It in Action

We built an election-market-dashboard skill for Claude that pulls all of this together. Install it, type "build me an election market dashboard," and Claude fetches live data from viaNexus, embeds 75 years of historical returns, and generates a complete interactive dashboard in a single HTML file.

Here is a 20-second walkthrough of the viaNexus Finance dashboard on election day, pulling live SPY data:

Animated walkthrough of the viaNexus Finance dashboard showing SPY on election day: searching the ticker, viewing YTD and 1-month charts showing the October pullback, scrolling through live statistics and market news. All data from one API key.
The viaNexus Finance dashboard on election day. Search any ticker, flip through timeframes, and scroll to stats and news. Every data point is one API call away.

The October pullback into the election is visible in the 1-month view. The YTD chart shows the full journey from $683 in January to today. And the stats section surfaces RSI, moving averages, P/E, and volume without a second request.

The Data Behind This Post

Every current market number above came from five viaNexus datasets on the same API key:

What it showsviaNexus dataset (click for docs)
SPY price history and YTD chartEDGE/HISTORICAL_PRICES
Global end-of-day, split adjusted, since 2005
RSI, beta, moving averages, P/E, 52-week rangeCORE/STOCK_STATS_US
Daily precomputed technical indicators and key stats
Earnings dates (post-election calendar)CORE/EARNINGS_CALENDAR
Confirmed and predicted earnings dates
Economic indicators and GDPEDGE/EIU_FORECASTS_ANNUAL
Country-level economic forecasts from the EIU
Market-moving headlinesEDGE/MT_NEWSWIRES_North_America
Real-time U.S. and Canadian market news

Same host, same key, same response shape. No normalization layer, no vendor mapping, no schema stitching.

Skip the Code. Use the Connector.

You do not need to write a single API call to get this data. The viaNexus MCP connector is live in Claude and in Cursor. Add it once and your AI assistant can query our datasets while it writes your code or builds your analysis.

"Show me how SPY performed going into each midterm since 2010" is a prompt now, not a research project.

Build Your Own Election Analysis

The post-midterm window is one of the most studied patterns in equity markets. Now it is one of the most accessible. Here is how to start:

  1. Get a key. Start a free 14-day trial. No credit card.
  2. Add the connector in Cursor or Claude, then ask it to analyze post-election market performance. That is the whole prompt.
  3. Install the election-market-dashboard skill and tell Claude to build you a dashboard. It will pull live data from viaNexus, embed 75 years of historical returns, and generate a single HTML file you can open anywhere.
  4. Browse the data catalog to see what else is on the same key. 56 datasets, from real-time quotes to country risk to ESG scores.

The data is here. The election just happened. Go see what the market does next.

Sources

Historical election return data in this post is compiled from published research. Current market data is from viaNexus.

  • CNBC: S&P 500 after midterm elections (+13.7% avg since 1982, 11/11 positive, divided vs unified govt returns)
  • yCharts: Historical midterm election market response (+16.9% avg since 1950, 19/19 positive)
  • Capital Group: Midterm elections and markets (pre-election pullback patterns, October bottoms)
  • Janus Henderson: Divided vs unified government annualized returns (8.73% vs 9.24%)
  • Edward Jones via CBS News: Post-election return windows (+1.7% at 1 month)
  • Schwab: Post-midterm return analysis (+5.7% at 3 months, +12.4% at 6 months)
  • viaNexus: All current SPY data (HISTORICAL_PRICES, STOCK_STATS_US, MT_NEWSWIRES)

Past performance does not guarantee future results. Historical averages are exactly that: averages. The 19-for-19 streak can end in any given year. This post is not investment advice.

Related Articles

Architecting viaNexus: The Streamhouse Data-Lakehouse for Financial Real-Time and Historical Semantic Data Products

Architecting viaNexus: The Streamhouse Data-Lakehouse for Financial Real-Time and Historical Semantic Data Products

The Streamhouse Data-Lakehouse for Financial Real-Time and Historical Semantic Data Products

Read more
What AI-Ready Market Data Actually Means

What AI-Ready Market Data Actually Means

Financial data distribution is being reshaped by AI. viaNexus helps providers launch and monetize AI-ready data products without building complex infrastructure. Already powering SIX Market Signal, it reduces time-to-market from years to months.

Read more

Put this data to work in your applications

Real-time prices, fundamentals, news and transcripts through one normalized, licensed API. Try it free for 14 days, no credit card required.

Not ready yet? Get our newsletter for new datasets and product updates.