NN POP commited on
Commit
92b1013
·
verified ·
1 Parent(s): 0edbf0c

Initial Release

Browse files
Files changed (4) hide show
  1. README.md +45 -3
  2. dataset_info.json +78 -0
  3. stock_metadata.csv +89 -0
  4. train.parquet +3 -0
README.md CHANGED
@@ -1,3 +1,45 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-classification
5
+ - time-series-forecasting
6
+ tags:
7
+ - finance
8
+ - stock-prediction
9
+ - twitter
10
+ - sentiment-analysis
11
+ - time-series
12
+ pretty_name: StockNet Dataset (Parquet Format)
13
+ size_categories:
14
+ - 10K<n<100K
15
+ ---
16
+
17
+ # StockNet Dataset (Parquet Format)
18
+
19
+ This is a Parquet conversion of the original [StockNet Dataset](https://github.com/yumoxu/stocknet-dataset) for stock movement prediction from tweets and historical stock prices.
20
+
21
+ ## Original Work
22
+
23
+ **Paper**: [Stock Movement Prediction from Tweets and Historical Prices](http://aclweb.org/anthology/P18-1183)
24
+ **Authors**: Yumo Xu and Shay B. Cohen
25
+ **Published**: ACL 2018
26
+ **Original Repository**: https://github.com/yumoxu/stocknet-dataset
27
+ **License**: MIT
28
+
29
+ ## Citation
30
+
31
+ If you use this dataset, please cite the original paper:
32
+
33
+ ```bibtex
34
+ @inproceedings{xu-cohen-2018-stock,
35
+ title = "Stock Movement Prediction from Tweets and Historical Prices",
36
+ author = "Xu, Yumo and Cohen, Shay B.",
37
+ booktitle = "Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
38
+ month = jul,
39
+ year = "2018",
40
+ address = "Melbourne, Australia",
41
+ publisher = "Association for Computational Linguistics",
42
+ url = "https://aclanthology.org/P18-1183",
43
+ doi = "10.18653/v1/P18-1183",
44
+ pages = "1970--1980",
45
+ }
dataset_info.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2025-10-22T16:11:34.420582",
3
+ "created_by": "nomnomshark41",
4
+ "dataset_info": {
5
+ "name": "StockNet Dataset",
6
+ "description": "Stock movement prediction from tweets and historical prices",
7
+ "source": "https://github.com/yumoxu/stocknet-dataset",
8
+ "date_range": {
9
+ "start": "2012-09-05",
10
+ "end": "2017-09-01"
11
+ },
12
+ "stocks": {
13
+ "total": 88,
14
+ "found": 88,
15
+ "missing": 0,
16
+ "missing_list": []
17
+ },
18
+ "sectors": [
19
+ "Technology",
20
+ "Financial",
21
+ "Basic Matierials",
22
+ "Consumer Goods",
23
+ "Conglomerates",
24
+ "Industrial Goods",
25
+ "Services",
26
+ "Healthcare",
27
+ "Utilities"
28
+ ]
29
+ },
30
+ "statistics": {
31
+ "total_samples": 108501,
32
+ "avg_tweets_per_day": 0.0,
33
+ "positive_movement_ratio": 0.5182625044930461,
34
+ "sector_distribution": {
35
+ "Consumer Goods": 12570,
36
+ "Utilities": 12570,
37
+ "Financial": 12570,
38
+ "Technology": 12570,
39
+ "Industrial Goods": 12570,
40
+ "Basic Matierials": 12568,
41
+ "Healthcare": 12489,
42
+ "Services": 12057,
43
+ "Conglomerates": 8537
44
+ }
45
+ },
46
+ "schema": {
47
+ "features": [
48
+ "stock_symbol",
49
+ "company_name",
50
+ "sector",
51
+ "date",
52
+ "movement_percent",
53
+ "open",
54
+ "high",
55
+ "low",
56
+ "close",
57
+ "volume",
58
+ "num_tweets",
59
+ "tweets",
60
+ "label"
61
+ ],
62
+ "dtypes": {
63
+ "stock_symbol": "object",
64
+ "company_name": "object",
65
+ "sector": "object",
66
+ "date": "datetime64[ns]",
67
+ "movement_percent": "float64",
68
+ "open": "float64",
69
+ "high": "float64",
70
+ "low": "float64",
71
+ "close": "float64",
72
+ "volume": "float64",
73
+ "num_tweets": "int64",
74
+ "tweets": "object",
75
+ "label": "int64"
76
+ }
77
+ }
78
+ }
stock_metadata.csv ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Sector,Symbol,Company
2
+ Basic Matierials,XOM,Exxon Mobil Corporation
3
+ Basic Matierials,RDS-B,Royal Dutch Shell
4
+ Basic Matierials,PTR,PetroChina Company Limited
5
+ Basic Matierials,CVX,Chevron Corporation
6
+ Basic Matierials,TOT,TOTAL S.A.
7
+ Basic Matierials,BP,BP p.l.c.
8
+ Basic Matierials,BHP,BHP Billiton Limited
9
+ Basic Matierials,SNP,China Petroleum & Corporation
10
+ Basic Matierials,SLB,Schlumberger Limited
11
+ Basic Matierials,BBL,BHP Billiton plc
12
+ Consumer Goods,AAPL,Apple Inc.
13
+ Consumer Goods,PG,The Procter & Gamble
14
+ Consumer Goods,BUD,Anheuser-Busch InBev SA/NV Company
15
+ Consumer Goods,KO,The Coca-Cola Company
16
+ Consumer Goods,PM,Philip Morris International
17
+ Consumer Goods,TM,Toyota Motor Corporation
18
+ Consumer Goods,PEP,Pepsico Inc.
19
+ Consumer Goods,UN,Unilever N.V.
20
+ Consumer Goods,UL,Unilever PLC
21
+ Consumer Goods,MO,Altria Group Inc.
22
+ Healthcare,JNJ,Johnson & Johnson
23
+ Healthcare,PFE,Pfizer Inc.
24
+ Healthcare,NVS,Novartis AG
25
+ Healthcare,UNH,UnitedHealth Group Incorporated
26
+ Healthcare,MRK,Merck & Co.
27
+ Healthcare,AMGN,Amgen Inc.
28
+ Healthcare,MDT,Medtronic plc
29
+ Healthcare,ABBV,AbbVie Inc.
30
+ Healthcare,SNY,Sanofi
31
+ Healthcare,CELG,Celgene Corporation
32
+ Services,AMZN,Amazon.com Inc.
33
+ Services,BABA,Alibaba Group Holding
34
+ Services,WMT,Wal-Mart Stores Inc.
35
+ Services,CMCSA,Comcast Corporation
36
+ Services,HD,The Home Depot
37
+ Services,DIS,The Walt Disney
38
+ Services,MCD,McDonald's Corporation
39
+ Services,CHTR,Charter Communications Inc.
40
+ Services,UPS,United Parcel Service Inc.
41
+ Services,PCLN,The Priceline Group
42
+ Utilities,NEE,NextEra Energy Inc.
43
+ Utilities,DUK,Duke Energy Corporation
44
+ Utilities,D,Dominion Energy Inc.
45
+ Utilities,SO,The Southern Company
46
+ Utilities,NGG,National Grid plc
47
+ Utilities,AEP,American Electric Power Inc.
48
+ Utilities,PCG,PG&E Corporation
49
+ Utilities,EXC,Exelon Corporation
50
+ Utilities,SRE,Sempra Energy
51
+ Utilities,PPL,PPL Corporation
52
+ Conglomerates,IEP,Icahn Enterprises L.P.
53
+ Conglomerates,HRG,HRG Group Inc.
54
+ Conglomerates,CODI,Compass Diversified Holdings
55
+ Conglomerates,REX,REX American Resources
56
+ Conglomerates,SPLP,Steel Partners Holdings
57
+ Conglomerates,PICO,PICO Holdings Inc.
58
+ Conglomerates,AGFS,AgroFresh Solutions Inc.
59
+ Conglomerates,GMRE,Global Medical REIT
60
+ Financial,BCH,Banco de Chile
61
+ Financial,BSAC,Banco Santander-Chile
62
+ Financial,BRK-A,Berkshire Hathaway Inc.
63
+ Financial,JPM,JPMorgan Chase & Co.
64
+ Financial,WFC,Wells Fargo & Co.
65
+ Financial,BAC,Bank of America
66
+ Financial,V,Visa Inc.
67
+ Financial,C,Citigroup Inc.
68
+ Financial,HSBC,HSBC Holdings plc
69
+ Financial,MA,Mastercard Incorporated
70
+ Industrial Goods,GE,General Electric Company
71
+ Industrial Goods,MMM,3M Company
72
+ Industrial Goods,BA,The Boeing Company
73
+ Industrial Goods,HON,Honeywell International Inc.
74
+ Industrial Goods,UTX,United Technologies Corporation
75
+ Industrial Goods,LMT,Lockheed Martin Corporation
76
+ Industrial Goods,CAT,Caterpillar Inc.
77
+ Industrial Goods,GD,General Dynamics Corporation
78
+ Industrial Goods,DHR,Danaher Corporation
79
+ Industrial Goods,ABB,ABB Ltd
80
+ Technology,GOOG,Alphabet Inc.
81
+ Technology,MSFT,Microsoft Corporation
82
+ Technology,FB,Facebook Inc.
83
+ Technology,T,AT&T Inc.
84
+ Technology,CHL,China Mobile Limited
85
+ Technology,ORCL,Oracle Corporation
86
+ Technology,TSM,Taiwan Semiconductor Manufacturing Company Limited
87
+ Technology,VZ,Verizon Communications Inc.
88
+ Technology,INTC,Intel Corporation
89
+ Technology,CSCO,Cisco Systems Inc.
train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c090172cd4d5bdbb58f358fb3fc3eb8cacfd1430dae2b2e48e71e9a1c9b8a93
3
+ size 5114440