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

update readme

Browse files
Files changed (1) hide show
  1. README.md +20 -1
README.md CHANGED
@@ -110,7 +110,6 @@ This section of documentation provides information on querying data sets using [
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
  |-------------------|-------------|--------------------------------------|
@@ -121,6 +120,19 @@ This section of documentation provides information on querying data sets using [
121
  | quarter_name | VARCHAR | Fiscal quarter name (e.g., 3Q2023) |
122
  | quarter_date | VARCHAR | Fiscal quarter end date |
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
 
125
 
126
 
@@ -170,6 +182,13 @@ Use the following SQL queries in [DuckDB](https://shell.duckdb.org/) to retrieve
170
  WHERE symbol='TSLA';
171
  ```
172
 
 
 
 
 
 
 
 
173
 
174
  ### P.S.
175
 
 
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
  - **Columns:**
114
  | Column Name | Column Type | Description |
115
  |-------------------|-------------|--------------------------------------|
 
120
  | quarter_name | VARCHAR | Fiscal quarter name (e.g., 3Q2023) |
121
  | quarter_date | VARCHAR | Fiscal quarter end date |
122
 
123
+ 7. **stock_statement**
124
+ - **Source:** (`https://finance.yahoo.com/quote/${symbol}/financials/`)
125
+ - **Description:** Contains financial statement details of companies, including ticker symbols, reporting dates, specific financial items, their values, and related statement types and periods.
126
+ - **Columns:**
127
+ | Column Name | Column Type | Description |
128
+ |---------------|-----------------|-----------------------------------------------|
129
+ | symbol | VARCHAR | Stock ticker symbol |
130
+ | report_date | VARCHAR | Reporting date |
131
+ | item_name | VARCHAR | Name of the financial statement item |
132
+ | item_value | DECIMAL(38,2) | Value of the financial statement item |
133
+ | finance_type | VARCHAR | Type of financial statement (e.g., balance_sheet, income_statement, cash_flow) |
134
+ | period_type | VARCHAR | Reporting period type (e. g., annual, quarterly) |
135
+
136
 
137
 
138
 
 
182
  WHERE symbol='TSLA';
183
  ```
184
 
185
+ 7. **stock_statement**
186
+ ```sql
187
+ SELECT * FROM
188
+ 'https://huggingface.co/datasets/bwzheng2010/yahoo-finance-data/resolve/main/stock_statement/stock_statement.parquet'
189
+ WHERE symbol='TSLA' and finance_type='income_statement'
190
+ ```
191
+
192
 
193
  ### P.S.
194