Commit
·
af4ede3
1
Parent(s):
75b507b
update readme
Browse files
README.md
CHANGED
@@ -85,6 +85,18 @@ This section of documentation provides information on querying data sets using [
|
|
85 |
| peg_ratio | DECIMAL(38,2) | PEG ratio |
|
86 |
| currency | VARCHAR | Currency (e.g., USD) |
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
#### Querying Datasets
|
90 |
|
@@ -111,6 +123,13 @@ Use the following SQL queries in [DuckDB](https://shell.duckdb.org/) to retrieve
|
|
111 |
WHERE symbol='TSLA';
|
112 |
```
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
### P.S.
|
116 |
|
|
|
85 |
| peg_ratio | DECIMAL(38,2) | PEG ratio |
|
86 |
| currency | VARCHAR | Currency (e.g., USD) |
|
87 |
|
88 |
+
4. **stock_tailing_eps**
|
89 |
+
- **Source:** (`https://ycharts.com/companies/${symbol}/eps_ttm`)
|
90 |
+
- **Description:** Provides financial metrics such as Trailing earnings per share (TTM EPS).
|
91 |
+
- **Columns:**
|
92 |
+
| Column Name | Column Type | Description |
|
93 |
+
|--------------|-----------------|--------------------------|
|
94 |
+
| symbol | VARCHAR | Stock ticker symbol |
|
95 |
+
| report_date | VARCHAR | Reporting date |
|
96 |
+
| tailing_eps | DECIMAL(38,2) | Trailing EPS |
|
97 |
+
| update_time | VARCHAR | Last update time |
|
98 |
+
|
99 |
+
|
100 |
|
101 |
#### Querying Datasets
|
102 |
|
|
|
123 |
WHERE symbol='TSLA';
|
124 |
```
|
125 |
|
126 |
+
4. **stock_tailing_eps**
|
127 |
+
```sql
|
128 |
+
SELECT * FROM
|
129 |
+
'https://huggingface.co/datasets/bwzheng2010/yahoo-finance-data/resolve/main/stock_tailing_eps/stock_tailing_eps.parquet'
|
130 |
+
WHERE symbol='TSLA';
|
131 |
+
```
|
132 |
+
|
133 |
|
134 |
### P.S.
|
135 |
|