Overreaction as an indicator for momentum in algorithmic trading: A Case of AAPL stocks
Overreaction as an indicator for momentum in algorithmic trading: A Case of AAPL stocks
This paper investigates whether short-term market overreactions can be systematically predicted and monetized as momentum signals using high-frequency emotional information and modern machine learning methods. Focusing on Apple Inc. (AAPL), the authors construct a comprehensive intraday dataset combining volatility-normalized returns with transformer-based emotion features extracted from Twitter messages. Overreactions are defined as extreme return realizations relative to contemporaneous volatility and transaction costs, modeled as a three-class prediction problem. The performance of several nonlinear classifiers—including XGBoost, Random Forests, Deep Neural Networks, and Bidirectional LSTMs—is evaluated across multiple intraday frequencies (1-, 5-, 10-, and 15-minute data). Model outputs are translated into trading strategies and assessed using risk-adjusted performance measures and formal statistical tests.
The results show that machine learning models significantly outperform benchmark overreaction rules at ultra-short horizons, while classical behavioral momentum effects dominate at intermediate frequencies, particularly around 10 minutes. Explainability analysis based on SHAP reveals that volatility and negative emotions—especially fear and sadness—play a central role in driving predicted overreactions. Overall, the findings demonstrate that emotion-driven overreactions contain a predictable structure that can be exploited by machine learning models, offering new insights into the behavioral origins of intraday momentum and the interaction between sentiment, volatility, and algorithmic trading. The study contributes to the literature on behavioral asset pricing, algorithmic trading, and sentiment-based investment strategies, highlighting the potential of integrating NLP and machine learning for financial prediction.
Highlights
- 1Integrates transformer-based emotion features from Twitter with machine learning to predict intraday overreactions in AAPL stocks.
- 2Demonstrates that nonlinear ML models (XGBoost, Random Forest, DNN, BiLSTM) outperform rule-based benchmarks at ultra-short horizons.
- 3Finds that classical behavioral momentum effects dominate at intermediate frequencies (around 10 minutes).
- 4SHAP analysis reveals that volatility and negative emotions (fear, sadness) are key drivers of predicted overreactions.
- 5Provides a comprehensive pipeline from data preprocessing to trading strategy evaluation with transaction costs.
Methods
- MVolatility-scaled overreaction labeling with transaction cost adjustment.
- MTransformer-based emotion extraction (ModernFinBERT) from Twitter messages.
- MMulti-class classification using XGBoost, Random Forest, Deep Neural Networks, and Bidirectional LSTMs.
- MTrading strategy backtesting with risk-adjusted performance measures (Sharpe, Sortino, MDD) and Jobson-Korkie statistical tests.
Results
- RMachine learning models achieve Sharpe ratios up to 0.90 at 1-minute frequency (Random Forest) and 0.69 (BiLSTM), outperforming rule-based overreaction (Sharpe -1.01).
- RAt 5-minute and 10-minute frequencies, ML models show more robust performance, with DNN and BiLSTM generating positive risk-adjusted returns.
- RThe 10-minute horizon exhibits the strongest momentum signals, consistent with behavioral theories.
- RSHAP analysis confirms that fear and sadness increase predicted overreaction probability, while volatility is the most important feature.
- RTransaction costs significantly reduce profitability, but some ML strategies remain economically significant after costs.
Analyze Paper
Generate insights from "Overreaction as an indicator for momentum in algorithmic tra...".