docs(stock): record dividend retirement workflow

This commit is contained in:
tiennm99 committed 2026-07-22 18:56:07 +07:00
1 parent f9d1e52f6d
commit 8fcaf07bc3
6 files changed
+202 -2

No files matched your search

+3 -1
View File
@@ -100,7 +100,9 @@ Successful GIF replies include the result behind Telegram spoiler formatting.
> The `stats` collection uses queryable aggregate documents for command/user
> counts and creates indexes on startup. Deleted legacy command rows are
> retained with `deleted: true`; `/stats` queries filter those rows from visible
> results. A historical `system` collection may remain in MongoDB with completed
> results. Stats startup uses the idempotent
> `migration:stats-delete-stock-dividend-v1` migration to retire historical
> `/stock_dividend` rows without erasing them. A historical `system` collection may remain in MongoDB with completed
> migration records; keep those records as audit history. Stock stores cash as
> `vnd`, embeds positions as `assets.<symbol>.{quantity,base,openedAt}`, and
> retains normalized per-user SSI history under