docs: record auto-refresh dated dividend ledger session (2026-08-27)

This commit is contained in:
Kunthawat Greethong
2026-08-27 12:52:10 +07:00
parent 03195dc55d
commit 28c111234e
2 changed files with 18 additions and 0 deletions

View File

@@ -193,6 +193,23 @@ Implement dated dividend events and a provenance-validated PIT score provider be
---
## Session 2026-08-27 — Auto-refresh dated dividend ledger (verified + pushed)
**Branch:** main · **HEAD:** 03195dc (pushed)
### Completed this session (verified + pushed)
- `AppDataScheduler` now calls `_maybe_refresh_dated_dividends()` in `refresh_all` — a cooldown-gated (default 6h) fetch of real dated dividend history into `data/dividends/ledger.json`, so the ledger stays fresh automatically without manual `POST /api/v1/dividends/update` and without re-hammering Siamchart every refresh tick (dividend history changes only a few times a year).
- `DIVIDEND_REFRESH_COOLDOWN_SECONDS` env toggle (default 21600). Network failure is non-fatal: the previous ledger stays intact.
- **Tests**: cooldown fires once then skips, refetches after it elapses (2) — full backend **294 passed** (was 292).
### Verified
- Backend **294 passed**; compileall, `git diff --check`, static scan clean.
### Exact next action
None required — the SET50 alternative-data platform PIT/enabler work is complete. Optional UI-only polish: surface the dated-ledger synthesis (dated vs proxy) more explicitly in the backtest result card. Do not reset or stage unrelated pre-existing working-tree changes.
---
## Session 2026-08-27 — Real dated dividend-history collector (verified + pushed)
**Branch:** main · **HEAD:** f9973e8 (pushed `59c97b5..f9973e8`)