tiennm99
cf620a257e
docs: fix stale code comments and add missing package docs
...
Correct comments that described the retired webhook transport, a removed
/cron route, the old KV store and wrapper types, and behaviour that has since
changed; drop plan and review labels; reword two startup log lines that
overstated or misnamed what they report.
2026-09-30 14:19:01 +07:00
tiennm99
32417e4196
refactor(stock): rename trading module to stock
...
Rename the `trading` module to `stock` across code, config, and docs for
naming consistency with the sibling coin/gold modules.
- Module: internal/modules/trading -> internal/modules/stock (package,
factory, registry key in cmd/server)
- Commands: trade_* -> stock_* (telegram-commands.json)
- Env/SAM params: TRADING_INCOME_EVENTS_* -> STOCK_INCOME_EVENTS_*
- ModulesCSV updated in template.yaml, samconfig.toml, deploy.yml
- Add cmd/migrate-stock-key: idempotent, non-destructive DynamoDB
partition copy (pk=trading -> pk=stock) with dry-run default
Production DynamoDB data already migrated (8 keys: 2 portfolios + 6
symbol-cache rows); old trading partition retained as rollback snapshot.
2026-06-12 14:52:12 +07:00