Kunthawat Greethong
fdfd832fae
[verified] Generalize BOT regional header detection (BE year 25XX); only enable regions with real data
...
- header month-cell detection now matches any 4-digit BE year (25XX) not just 256X
- northeast reportID 955 disabled: returns 0.0 BE-2570 placeholder page, no real data yet (documented)
- north 954 stays enabled (live idx 100.3); tests + full suite 152 OK
2026-08-25 14:27:40 +07:00
Kunthawat Greethong
2fa805554e
[verified] Add BOT regional private-consumption collector (North) for regional tourism/consumption factor
...
- bot_regional.py: parse BOT BTWS_STAT regional report (reportID per region) -> private consumption index + nondurable index + monthly series
- North reportID=954 verified live (idx 100.3, series 6mo); region-keyed for extension to other regions
- collect_bot_regional.py CLI -> JSON snapshot
- 4 tests; full backend suite 152 OK; compileall ok
2026-08-25 14:14:33 +07:00
Kunthawat Greethong
f6dd6304cc
[verified] Add Auto Credit (Trading Economics) + Refining/Energy (EIA) factor collectors
...
- auto_credit.py: scrape Trading Economics Thailand total-vehicle-sales HTML -> total sales + new car sales YoY + vehicle production/passenger/exports
- refining_energy.py: scrape EIA prices.php 3:2:1 crack spread (Gulf LLS) + WTI/Brent/gasoline
- Both server-rendered HTML scrapers (har-derived-api-client pattern); EIA used instead of RBN (RBN is Cloudflare-challenged, 403 via urllib; EIA is open US gov data, HTTP 200 direct)
- collect_auto_credit.py / collect_refining.py CLI -> JSON snapshot
- 8 tests; full backend suite 148 OK; live verified (auto 59198/20% YoY; crack 71.10 $/bbl); static scan clean
2026-08-25 11:05:13 +07:00
Kunthawat Greethong
8a6991b7dd
[verified] Add Siamchart factor view + redesigned SET50 dashboard stock board
...
Backend:
- siamchart_factors.py: build per-symbol factor view from Siamchart snapshot (PE, EPS latest, EPS growth YoY derived from series, dividend yield, P/BV, ROE, is_dividend). eps_latest now returns the most recent year.
- /api/v1/factors endpoint: merge Siamchart fundamentals with the tourism signal (side/score), signal-led sorting.
- test_siamchart_factors.py: 5 tests incl. regression asserting eps == year5 value.
Frontend:
- App.vue/style.css: new 'Stock board' dashboard table (Signal, Symbol, P/E, EPS, EPS YoY, Yield%, P/BV, ROE) with a Dividend-only filter and click-to-sort columns.
Verified: full backend suite 140 tests OK, frontend build OK, static scan clean, live /api/v1/factors 200 (49 factors/46 dividends), rendered table filter+sort verified in browser. Independent review deleg_969513e5 caught+fixed eps bug; re-review deleg_e6bd80db passed=true.
2026-08-25 09:03:28 +07:00
Kunthawat Greethong
632216ac27
[verified] Add Siamchart SET50 fundamental scraper (financial table + stock-info ratios/income)
...
- fetch_financial(group): parse Siamchart JS store_real_data array -> EPS/Rev/NP (5yr) + PE for every symbol
- parse_stock_info_html: head1/body key ratios (PE/P/BV/D/E/DPS/EPS/ROAA/ROAE/NPM/Yield) + income statement (QoQ/YoY)
- collect_siamchart.py CLI: --group/--stock-info/--with-info, timestamped JSON snapshot
- build_url validates group against ^[A-Z0-9]+(?:-[A-Z0-9]+)*$ (blocker closed)
- 10 unit tests; full backend suite 135 OK; independent review deleg_ad2b8dc7 passed=true
[verified] tags from requesting-code-review pipeline.
2026-08-25 08:43:00 +07:00
Kunthawat Greethong
ae78aa1014
docs: record integrity hardening handoff
2026-08-23 14:58:35 +07:00
Kunthawat Greethong
ba9114d2e8
[verified] bind snapshots to manifests and raw hashes
2026-08-23 14:58:15 +07:00
Kunthawat Greethong
f55ff69c31
[verified] add frozen research runner and durable paper ledger
2026-08-23 14:42:02 +07:00
Kunthawat Greethong
c9932954c2
docs: record price snapshot handoff
2026-08-23 12:38:37 +07:00
Kunthawat Greethong
7f7a6145cd
[verified] add SET price snapshot adapter
2026-08-23 12:38:17 +07:00
Kunthawat Greethong
9301c02306
docs: record event-study gate handoff
2026-08-23 12:02:43 +07:00
Kunthawat Greethong
0b47a06238
[verified] add event-study readiness gate
2026-08-23 12:02:22 +07:00
Kunthawat Greethong
91eb83631e
docs: record M2 vintage handoff
2026-08-23 11:12:10 +07:00
Kunthawat Greethong
d1ba6efc68
[verified] add vintage collector and point-in-time API
2026-08-23 11:11:53 +07:00
Kunthawat Greethong
cfa75787bb
docs: record M1 verified handoff
2026-08-23 10:20:08 +07:00
Kunthawat Greethong
a113a51589
[verified] add BOT tourism source adapter
2026-08-23 10:19:40 +07:00
Kunthawat Greethong
3e978c5948
[verified] build tourism signal dashboard
2026-08-23 07:41:31 +07:00