Spotlight News Driven Quantitative Trading Based on Trajectory Optimization

Mengyuan Yang, Mengying Zhu, Qianqiao Liang, Xiaolin Zheng, Menghan Wang

Abstract

Traditional news-driven quantitative trading (NQT) often relies on a fragile "predict-then-trade" pipeline where small errors in price movement prediction lead to catastrophic trading decisions. We present SpotlightTrader, a framework that treats trading as a trajectory optimization problem rather than a point-prediction task. By leveraging Decision Transformers and Neural Stochastic Differential Equations (SDEs) with sparse attention, SpotlightTrader effectively filters market noise and models discontinuous price "jumps" triggered by influential news. Experimental results across three real-world datasets demonstrate significant improvements in profitability and risk management, achieving an average 36.14% increase in Annualized Percentage Yield (APY) over state-of-the-art baselines.

The Shift in NQT Paradigms

Most existing NQT systems follow a two-step process: first, they use Natural Language Processing (NLP) to predict stock price movements (Classification) or rankings (Ranking), and then they apply rule-based strategies to execute trades. This approach is often brittle because financial markets are inherently noisy, making accurate point-predictions nearly impossible.

Comparison of traditional NQT paradigms versus the proposed direct trading action approach.

SpotlightTrader bypasses this intermediate prediction step. By treating trading as a sequence-modeling problem, the model directly optimizes for the final trading action (Buy, Sell, or Hold). This "trajectory optimization" ensures that individual trades are consistent with a long-term strategy, making the system more robust to the non-stationarity and noise typical of financial environments.

SpotlightTrader Architecture

The core of SpotlightTrader consists of three technical innovations designed to handle the complexities of news-driven markets:

  1. Trajectory Optimization (Decision Transformer): Using a GPT-2 architecture, the model "stitches together" a sequence of states, actions, and "returns-to-go" (desired future profits). This allows the model to learn optimal trading policies from offline data by treating them as a sequence modeling task.
  2. Spotlight-driven State Trajectory (SST) Module: This module addresses the low signal-to-noise ratio in financial news. It uses a sparsemax mechanism to ignore irrelevant headlines and focus exclusively on "spotlight news." Furthermore, it employs Neural SDEs to represent market states, combining continuous drift/diffusion terms for normal behavior with a jump term triggered by influential news.
  3. Pretrain-Finetune Pipeline: To adapt to shifting market conditions, the model is pretrained on historical data and finetuned online using Hindsight Return Recalculation (HRR), which updates the model's understanding of successful strategies based on actual market outcomes.
The SpotlightTrader framework, integrating a Decision Transformer with a Spotlight-driven State Trajectory Module.

Key Insights and Results

Modeling News as a "Jump" Signal

Unlike traditional models that treat news as a minor nudge to price trends, SpotlightTrader recognizes that influential news often creates discontinuous breaks in market behavior. By modeling these as stochastic processes with irregular jumps, the framework provides a more faithful representation of market physics.

Performance and Risk Management

SpotlightTrader was evaluated on three datasets: Twitter-SP500, THS-CSI300, and a specialized COVID-SP500 dataset. It consistently outperformed nine state-of-the-art methods:

  • Profitability: Achieved an average improvement of 36.14% in APY over the best-performing baselines.
  • Risk Mitigation: Reduced Maximum Drawdown (MDD) by an average of 13.55%, indicating superior performance in bearish markets.
  • Crisis Resilience: During the volatile COVID-19 period, the model maintained a high APY (1.09) and an exceptional Sortino Ratio (6.15), demonstrating its ability to manage risk-adjusted returns during extreme market stress.

Conclusion

SpotlightTrader demonstrates that directly optimizing trading trajectories is a more effective strategy for news-driven quantitative trading than traditional prediction-based methods. By utilizing sparse attention to filter noise and Neural SDEs to capture news-driven market jumps, the model offers a robust solution for navigating complex, non-stationary financial markets. Future work will explore inter-stock correlations and the integration of multi-modal data, such as audio from earnings calls, to further enhance market visibility.

Summary updated

BibTeX
@inproceedings{yang2023spotlight,
  author = {Mengyuan Yang and Mengying Zhu and Qianqiao Liang and Xiaolin Zheng and Menghan Wang},
  title = {{Spotlight News Driven Quantitative Trading Based on Trajectory Optimization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/548},
}
Figure