f/overrides/event-backup/ibtd-dividend.csv
Greg Pomerantz bb8e39605e Event-history protection: backup dir, empty-download fallback, docs
Yahoo's 2026 event-feed change (capitalGain events dropped for some
funds; no events at all for terminated tickers) can wipe good event
history on re-download. Defense in depth:

- overrides/event-backup/: last-known-good copy of every dividend/
  capitalGain file (8,192 files, 58 MB); refresh with
  scripts/backup_events.py after each dump update
- data.py event_file(): frozen > data-root (while populated) > backup;
  used by panel reads, verify_official, and the double-listing scanner
- README: capital-gain files are mutual-fund-only in this dump; Yahoo
  has no LT/ST split (tax.py taxes capg at lt_rate; the per-fund split
  would come from fund-company annual tax statements or commercial feeds)
- tests: exact Timestamp .loc keys (pandas 3.x string matching returns a
  Series on large DatetimeIndex)
2026-08-31 21:59:25 -04:00

48 lines
935 B
Plaintext

Date,Dividends
2023-06-01,0.093082
2020-07-01,0.013784
2020-12-17,0.011567
2021-07-01,0.005483
2021-12-16,0.005184
2022-02-01,0.007914
2023-03-01,0.079601
2023-05-01,0.087890
2023-12-01,0.109486
2020-08-03,0.014127
2021-09-01,0.004995
2022-05-02,0.017115
2020-04-01,0.011653
2022-07-01,0.026922
2023-09-01,0.103984
2022-11-01,0.064487
2020-06-01,0.014022
2020-10-01,0.011890
2020-11-02,0.011341
2021-03-01,0.004274
2022-03-01,0.002838
2022-04-01,0.008271
2022-10-03,0.036607
2022-12-15,0.086523
2023-11-01,0.110854
2021-11-01,0.004954
2022-09-01,0.046487
2022-12-01,0.056963
2022-12-29,0.004836
2023-08-01,0.101403
2021-08-02,0.005135
2022-08-01,0.036540
2023-02-01,0.082739
2020-05-01,0.012633
2021-06-01,0.005409
2021-10-01,0.004801
2022-06-01,0.028268
2023-04-03,0.083698
2023-10-02,0.103986
2020-09-01,0.014032
2020-12-01,0.010988
2021-02-01,0.010245
2021-04-01,0.004351
2021-05-03,0.005589
2021-12-01,0.004562
2023-07-03,0.097174