Datasets › stocknet
stocknet (stocknet-dataset)
stocknet-dataset
This repository releases a comprehensive dataset for stock movement prediction from tweets and historical stock prices. Please cite the following paper [bib] if you use this dataset,
Yumo Xu and Shay B. Cohen. 2018. Stock Movement Prediction from Tweets and Historical Prices. In Proceedings of the 56st Annual Meeting of the Association for Computational Linguistics. Melbourne, Australia, volume 1.
Stock movement prediction is a challenging problem: the market is highly stochastic, and we make temporally-dependent predictions from chaotic data. We treat these three complexities and present a novel deep generative model jointly exploiting text and price signals for this task. Unlike the case with discriminative or topic modeling, our model introduces recurrent, continuous latent variables for a better treatment of stochasticity, and uses neural variational inference to address the intractable posterior inference. We also provide a hybrid objective with temporal auxiliary to flexibly capture predictive dependencies. We demonstrate the state-of-the-art performance of our proposed model on a new stock movement prediction dataset which we collected.
You might also be interested in our code for stock movement prediction.
Should you have any query please contact me at yumo.xu@ed.ac.uk.
Dataset Overview
Two-year price movements from 01/01/2014 to 01/01/2016 of 88 stocks are selected to target, coming from all the 8 stocks in the Conglomerates sector and the top 10 stocks in capital size in each of the other 8 sectors. The full list of 88 stocks and their companies selected from 9 sectors is available in StockTable, a facsimile of the paper appendix appendix_table_of_target_stocks.pdf.
Data Component
This dataset comprises two main components,
- ./tweet: tweet data from Twitter
- ./price: price data from Yahoo Finance
Each component contains their raw data and preprocessed data organized by stocks,
- ./tweet/raw
- ./tweet/preprocessed
and
- ./price/raw
- ./price/preprocessed
Data Format
Raw Tweet Data
Format: JSON
Keys: see Introduction to Tweet JSON
Preprocessed Tweet Data
Format: JSON
Keys: 'text', 'user_id_str', 'created_at'
Raw Price Data
Format: CSV
Entries: date, open price, high price, low price, close price, adjust close price, volume
Preprocessed Price Data
Format: TXT
Entries: date, movement percent, open price, high price, low price, close price, volume
Note: open, high, low, close prices are normalized values.
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Stock Market Prediction | stocknet | HOT F1 0.72 | Higher Order Transformers: Enhancing Stock Movement... | s-omranpour/Multimodal-Stock-Prediction | 5 | Compare |
Papers archive 2025-07-28
3 shown of 3 papers with a leaderboard row on this dataset's benchmarks, newest first. The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset; the archive's count for this dataset is 36. The Syntology column is from Syntology's graph (read 2026-09-24), stated per sample; it is not part of any archive number.
| Date | Samples run Syntology | |||
|---|---|---|---|---|
| Higher Order Transformers: Enhancing Stock Movement Prediction On Multimodal Time-Series Data | 1 | 1 | 13 Dec 2024 | not harvested |
| Deep Attentive Learning for Stock Movement Prediction From Social Media Text and Company Correlations | 1 | 1 | 1 Nov 2020 | not harvested |
| Stock Movement Prediction from Tweets and Historical Prices | 1 | 1 | 1 Jul 2018 | not harvested |
Dataset loaders archive 2025-07-28
No loader listed in the archive.
Tasks archive 2025-07-28
License archive 2025-07-28
Modalities archive 2025-07-28
Languages archive 2025-07-28
No language tagged.
Variants archive 2025-07-28
- stocknet
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections