Files
hk-ipo/data/snapshots/ipo_demand.csv
T
geometrybase 993d7b26fa Backfill first HKEX IPO document batch
Request:
Start progressively filling detailed information for recent HK IPO targets.

Changes:
- Add scripts/archive_hkex_documents.py to map tickers to HKEXnews stock IDs, select official prospectus and allotment-results PDFs, archive them under data/raw/{ticker}, parse high-confidence T0/T1 facts, export snapshots, and refresh sync state.
- Document the small-batch HKEX document backfill workflow in README.md and the archivist skill.
- Archive prospectus and allotment-results PDFs for 00901, 01081, 01779, 02290, 02553, and 03388.
- Fill T0 details including application dates, expected allotment date, board lot, minimum subscription amount, and offer-share counts for the six tickers.
- Fill T1 allotment-demand details including valid/successful applications, public subscription level, international placees, international subscription level, and final offer-share allocations.
- Refresh source_refs, ipo_master, offering_terms, ipo_demand, ticker_sync_state, and sync_tasks snapshots.

Verification:
- Ran archive_hkex_documents.py in a first small batch and re-ran corrected tickers after parser hardening.
- Parsed project Python scripts with ast.parse.
- Checked SQLite integrity and DB-to-snapshot row counts.
- Verified source_refs paths are repo-relative, source files exist, and SHA-256 hashes match.
- Confirmed batch field completeness for the six processed tickers.
- Ran git diff --check and git diff --cached --check.
- Checked for Python cache and SQLite transient files.

Next useful context:
- This batch added about 55MB of official HKEXnews PDFs.
- Sync state now has 16 complete stages, 1993 pending_due stages, and 42 pending_not_due stages.
- Continue with small --limit batches because HKEXnews title search can include historical or postponed offering documents for the same stock code.
2026-06-15 07:07:46 +00:00

1.8 KiB

1demand_idtickersource_idstage_datevalid_applicationssuccessful_applicationspublic_oversubscription_timesinternational_placeesinternational_oversubscription_timesfinal_hk_offer_sharesfinal_international_offer_sharesdata_as_ofnotes
200901_allotment_2026_05_27_20260527000010090100901_allotment_results_2026_05_27_20260527000012026-05-27177196170581971.992152.231920800172865002026-06-15T08:35:00ZParsed from HKEXnews allotment results announcement.
301081_allotment_2026_06_04_20260604029190108101081_allotment_results_2026_06_04_20260604029192026-06-0412262728788134.3912510.688696600913140002026-06-15T08:35:00ZParsed from HKEXnews allotment results announcement.
401779_allotment_2026_06_04_20260604029230177901779_allotment_results_2026_06_04_20260604029232026-06-04266377280574762.588010.941419350127738002026-06-15T08:35:00ZParsed from HKEXnews allotment results announcement.
502290_allotment_2026_06_04_20260604025210229002290_allotment_results_2026_06_04_20260604025212026-06-0413318916359664.92783.18125000001125000002026-06-15T08:35:00ZParsed from HKEXnews allotment results announcement.
602553_allotment_2026_06_02_20260602026440255302553_allotment_results_2026_06_02_20260602026442026-06-02109125218721421.54970.956000000340000002026-06-15T08:50:00ZParsed from HKEXnews allotment results announcement.
703388_allotment_2026_05_28_20260528025430338803388_allotment_results_2026_05_28_20260528025432026-05-28251375443363829.4218326.87342800660847502026-06-15T08:35:00ZParsed from HKEXnews allotment results announcement.
806658_allotment_2026_06_120665806658_allotment_results_2026_06_122026-06-12180507114656586.73642.641146500103176002026-06-15T06:15:00ZClaw-back shown as N/A in the HKEXnews allotment results.