STQA: A Benchmark for Stock-Focused Tabular Question Answering over Historical and Forecasted Data
Abstract
Stock market analysis inherently requires composite reasoning over historical records and future projections, yet existing benchmarks remain fragmented across isolated tasks. We introduce STQA (Stock-focused Tabular Question Answering), an end-to-end benchmark designed to systematically evaluate natural-language question answering over historical data, numerical forecasts, and forecast-based reasoning. Built on a large-scale financial dataset, STQA covers 4,417 stocks and contains 31,400 question-answer pairs derived from expert-crafted templates, accompanied by fine-grained intent and slot annotations. To operationalize this benchmark, we present SQFRS (Stock Query-Forecast-Reasoning System), an agent-based unified framework that orchestrates SQL retrieval and time-series forecasting tools. Experiments demonstrate that while current large language models perform well on historical queries, forecast-based reasoning poses a substantial challenge, revealing critical bottlenecks in tool coordination and reasoning under uncertainty. The dataset and code are available at https://github.com/xuxubaobaoan/STQAProject. STQA thus serves as a rigorous testbed for future research on trustworthy, tool-augmented financial agents.
Create a lesson
Metadata
- Comments
- 9 pages of main text, 15 pages of appendices, 19 figures. Accepted to Findings of EMNLP 2026
Related papers
MMTClinic: Multimodal, Multilingual Time Series Question Answering and Reasoning Benchmark for Clinical Domain
Shared title terminologycs.CLSourav Malakar, Harshit Nigam, Akash Ghosh et al.
SPARQL-Planned Single-Hop Traversal over a Live Knowledge Graph for Multi-Hop Question Answering
Shared title terminologycs.CLPriyesh Vakharia, Masud Moshtaghi, Pratyay Banerjee et al.
Evolution of Multimodal Question Answering: From Modality-Adaptive Extraction to Unified Language Representation
Shared title terminologycs.CLAbdullah Al Shafi
SentryLine: Evidence-Grounded Question Answering over Evolving Documents in Oncology Care
Shared title terminologycs.CLTampu Ravi Kumar, Gaurav Najpande, Muhammad Ali Khan et al.
FramingQA: Does the Question Shape the Answer? Measuring the Compositional Framing Effect
Shared title terminologycs.CLHazel H. Kim, Andrew M. Bean, Guilherme Affonso Ferreira de Camargo et al.
Where to Look and What to Use: Retrieve-Localize-Generate for Long-Term Conversational Memory Question Answering
Shared title terminologycs.CLYifan Wang, Xinkui Lin, Yongxiu Xu et al.