Skip to content

Commit 1711252

Browse files
authored
fix(updater): never shrink index.json on filtered or catalog-less runs (#42)
* fix(updater): never shrink index.json on filtered or catalog-less runs * chore(data): restore the full catalog index
1 parent 6cd4ade commit 1711252

4 files changed

Lines changed: 10379 additions & 142 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Every control is a key in `scripts/update-data.config.json`; values are strings.
7777
| `PERFORMANCE_YTD` / `_1Y` / `_3Y` / `_5Y` / `_10Y` | `:` | Annualized adjusted-close return range per tenor: `min:max`. |
7878
| `TOTAL_RETURN_YTD` / `_1Y` / `_3Y` / `_5Y` / `_10Y` | `:` | Cumulative adjusted-close return range per tenor: `min:max`. |
7979

80-
`TICKERS` combines with the AUM, TER, yield and return filters using AND logic; it does not override them. Funds not selected for a successful update keep their prior published metadata and data files.
80+
`TICKERS` combines with the AUM, TER, yield and return filters using AND logic; it does not override them. Filtered or bounded runs (`TICKERS`, `MAX_FETCHES`, filters, `SKIP_WISDOMTREE`) and runs where the live catalog could not be read never shrink the feed: funds that were not refreshed keep their published row and files, and `index.json` always lists every known fund (the published index plus every `funds/*/meta.json`).
8181

8282
### Examples
8383

0 commit comments

Comments
 (0)