From Votes to Volatility Predicting the Stock Market on Election Day

Igor L. R. Azevedo, Toyotaro SuzumuraarXiv 2024 · DOI

Abstract

Stock market forecasting during presidential elections is challenged by extreme volatility and rapid shifts in policy expectations. This paper presents the Election Day Stock Market Forecasting (EDSMF) model, which integrates a Large Language Model (LLM) agent framework with high-frequency deep learning architectures. By extracting qualitative political signals from news and policy documents and converting them into quantitative features, EDSMF successfully navigated the 2024 US Election. The model outperformed standard quantitative benchmarks in risk-adjusted returns and ranking accuracy, demonstrating the value of "politically aware" financial modeling.

Introduction

Stock market forecasting is notoriously difficult, but Election Day represents the "final boss" of financial volatility. Traditional quantitative models often falter during these periods because they rely heavily on historical price patterns, ignoring the massive, qualitative shifts in sentiment and policy expectations that occur as election results roll in. When a candidate’s victory becomes likely, entire sectors react instantly to anticipated changes in regulation, taxation, and trade.

The authors identify a critical gap: most forecasting models are not "politically aware." They treat stocks as isolated data points rather than entities tethered to the shifting winds of national policy. To address this, the researchers developed the EDSMF model to bridge the gap between qualitative political analysis and quantitative market prediction.

Methodology

The EDSMF Model extends an existing high-performance architecture, StockMixer, by incorporating political insights generated through an LLM-agent framework.

LLM-Agent Framework

Using the CrewAI orchestration tool, the researchers deployed four specialized LLM agents to process vast amounts of textual data:

  • News Analyst: Scours thousands of articles for campaign dynamics.
  • Candidate Policy Analyst: Compares economic stances between candidates.
  • Market Analyst: Ranks how S&P 500 sectors might benefit or suffer under each candidate.
  • Synthesis Analyst: Consolidates these findings into actionable "political signals."

Feature Engineering

These qualitative insights were converted into numerical features to be ingested by the neural network. A primary feature is the candidate_impact score, which maps a candidate's predicted effect on specific sectors.

Table 1: Sector-specific impact mapping for two political candidates.

As shown in the table above, the model assigns a directional impact (Positive, Negative, or Neutral) to each sector based on the candidates' platforms. For example, Candidate 1 is viewed as positive for Energy and Financials, while Candidate 2 is viewed as positive for Information Technology and Health Care. These mappings allow the model to adjust its expectations for individual stocks as the probability of a candidate's victory shifts.

Ensemble Strategy

The researchers trained two separate models—one tuned to a Harris victory and one to a Trump victory. During the test phase on Election Day, they combined these predictions using a weighted average. This ensemble approach allowed the model to dynamically adapt to the unfolding reality of the election results.

Results

The EDSMF model was tested using high-frequency (1-minute) price and volume data for all S&P 500 stocks from October 30 to November 6, 2024. It consistently outperformed the baseline StockMixer model across several critical metrics:

  • Sharpe Ratio (SR): The model achieved a score of 1.8163, significantly higher than the baseline's 1.7704, indicating superior risk-adjusted returns.
  • Information Coefficient (IC): The model showed a stronger correlation with actual market movements (0.0898) compared to the baseline (0.0860).
  • Rank Information Coefficient (RIC): The model proved particularly effective at ranking stock performance, achieving an RIC of 0.2306 in its optimal configuration.

The researchers found that an ensemble weighting of 80% for the winning candidate (Trump) and 20% for the runner-up (Harris) yielded the highest performance, suggesting the model successfully learned candidate-specific market "personalities."

Discussion and Conclusion

The EDSMF framework demonstrates that LLMs can serve as sophisticated "feature extractors," transforming messy, qualitative political news into structured data for traditional neural networks. By moving to 1-minute intervals, the model captures the rapid market swings triggered by real-time election updates.

While the results are promising, the study is currently limited to the specific high-stakes environment of a U.S. presidential election. Future work will involve expanding the framework to include broader macroeconomic variables, such as interest rate shifts, and testing the model's applicability to global election cycles. Ultimately, this research paves the way for more resilient financial models that can navigate the intersection of politics and global markets.

Summary updated

BibTeX
@misc{azevedo2024from,
  author = {Igor L. R. Azevedo and Toyotaro Suzumura},
  title = {{From Votes to Volatility Predicting the Stock Market on Election Day}},
  year = {2024},
  eprint = {2412.11192},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11192},
}
Figure