Skip to content

Commit

Permalink
MAINT: change to_csv to to_parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
韓政均 committed Feb 26, 2024
1 parent 1dbae27 commit 70ddcdb
Show file tree
Hide file tree
Showing 48 changed files with 50 additions and 413,812 deletions.
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,28 @@ Options:
--help Show this message and exit.
```
#### New add tickers

### Difference of tquant and fundamentals

* Basically, `tquant` is the one that only contain OHLCV and cash dividend date. And `fundamentals` is the data that exclude from OHLCV, like EPS, gross margin, operating income, etc.

* So in both fundamentals and tquant, we can add tickers as follow :

#### Add tickers

```
$ zipline add -t "<ticker_wants_to_add>"
```
If tickers are more than 1 ticker, split them apart by " " or "," or ";".

#### [fundamentals only] Add fields

```
$ zipline add -f "<field_wants_to_add>"
```

* NOTICE that you `CAN'T` add field and ticker simultaneously.

For more detail use **zipline add --help** .

#### Display bundle-info
Expand All @@ -238,18 +253,19 @@ Before using switch, use **zipline bundles** to get the timestamp of each folder
$ zipline switch -t "<The_timestamp_of_the_folder_want_to_use>"
```

Due to zipline only using the newest foler, switch can make previous folder become newest.
Due to zipline only using the newest folder, switch can make previous folder become newest.

For more detail use **zipline switch --help** .

#### Update bundle

* You can either update `tquant` or `fundamentals` by using -b to select which one you want to update the bundle information to newest date.[DEFAULT:tquant]

```
$ zipline update
$ zipline update -b tquant
$ zipline update -b fundamentals
```

To update the bundle information to newest date.

For more detail use **zipline update --help** .

## Jupyter Notebook
Expand Down
Loading

0 comments on commit 70ddcdb

Please sign in to comment.