bwzheng2010 commited on
Commit
2cb5c84
·
1 Parent(s): c648341

update readme

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md CHANGED
@@ -107,6 +107,22 @@ This section of documentation provides information on querying data sets using [
107
  | name | VARCHAR | Company Simple Name |
108
  | fiscal_quarter_ending | VARCHAR | Fiscal quarter end date |
109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
 
111
  #### Querying Datasets
112
 
@@ -147,6 +163,13 @@ Use the following SQL queries in [DuckDB](https://shell.duckdb.org/) to retrieve
147
  WHERE symbol='TSLA';
148
  ```
149
 
 
 
 
 
 
 
 
150
 
151
  ### P.S.
152
 
 
107
  | name | VARCHAR | Company Simple Name |
108
  | fiscal_quarter_ending | VARCHAR | Fiscal quarter end date |
109
 
110
+ 6. **stock_historical_eps**
111
+ - **Source:** (`https://finance.yahoo.com/quote/${symbol}/analysis/#Earnings History`)
112
+ - **Description:** Contains details of companies' earnings performance, including their ticker symbols, actual and estimated EPS, surprise percentages, and corresponding fiscal quarters.
113
+
114
+ - **Columns:**
115
+ | Column Name | Column Type | Description |
116
+ |-------------------|-------------|--------------------------------------|
117
+ | symbol | VARCHAR | Stock ticker symbol |
118
+ | eps_actual | VARCHAR | Actual earnings per share (EPS) |
119
+ | eps_estimate | VARCHAR | Estimated earnings per share (EPS) |
120
+ | surprise_percent | VARCHAR | Percentage difference from estimate |
121
+ | quarter_name | VARCHAR | Fiscal quarter name (e.g., 3Q2023) |
122
+ | quarter_date | VARCHAR | Fiscal quarter end date |
123
+
124
+
125
+
126
 
127
  #### Querying Datasets
128
 
 
163
  WHERE symbol='TSLA';
164
  ```
165
 
166
+ 6. **stock_historical_eps**
167
+ ```sql
168
+ SELECT * FROM
169
+ 'https://huggingface.co/datasets/bwzheng2010/yahoo-finance-data/resolve/main/stock_historical_eps/stock_historical_eps.parquet'
170
+ WHERE symbol='TSLA';
171
+ ```
172
+
173
 
174
  ### P.S.
175