Commit Graph

5 Commits

Author SHA1 Message Date
gmp
584ec8753c Merge pull request 'Format dates in the exchange timezone; sort and dedup events' (#1) from tz-and-event-ordering into main
Reviewed-on: #1
2026-08-31 19:28:49 -04:00
882486c040 Format dates in the exchange timezone; sort and dedup events
- Dates were formatted with time.Unix (machine local zone), shifting the
  trading day by one for any exchange in a different timezone. Use
  meta.exchangeTimezoneName (IANA), falling back to meta.gmtoffset,
  then UTC.
- Dividend/capital-gain/split CSVs were emitted in random order (JSON
  object iteration). Sort rows by date.
- Yahoo occasionally emits the same chart timestamp twice; keep the
  last occurrence (this drops the spurious CVSIX 2008-12-18 0.292 row
  whose date is duplicated by the real 0.641 distribution).
- nil volume no longer panics (prints 0).
- Missing dividend/cap-gain amount still reports an error.
2026-08-31 16:08:10 -04:00
78f7858240 cmd: drop unused imports 2026-08-31 16:05:20 -04:00
714064615e Change name of dividend csv file. 2024-11-15 18:01:20 -05:00
83f41a0659 initial commit 2024-11-14 21:36:06 -05:00