078f56998b
Request:
- Adjust archivist after the audit findings and update historical data.
Changes:
- Teach the archivist skill to close audit-discovered gaps in priority order.
- Add scripts/archive_price_performance.py for due D1/D5/D20/D60 price-performance backfills.
- Document the price-performance backfill command in README.
- Archive raw Yahoo Finance chart responses under repo-relative data/raw/{ticker}/ paths.
- Populate price_performance with D1/D5/D20/D60 checkpoints and refresh source_refs, sync_runs, sync_tasks, and ticker_sync_state snapshots.
Execution:
- Ran .venv/bin/python scripts/archive_price_performance.py --as-of 2026-06-15T10:00:00Z.
- Selected 291 due price-performance tickers.
- Archived 273 price-history sources and wrote 1063 price-performance rows.
- Re-ran .venv/bin/python scripts/archive_hkex_documents.py --as-of 2026-06-15T10:05:00Z for the remaining open T0/T1 tasks; no additional completed T0/T1 stages resulted.
Verification:
- Compiled the new price-performance script.
- Ran git diff --check.
- Checked SQLite integrity and foreign keys.
- Confirmed database row counts match CSV snapshots.
- Verified all 979 source_refs use valid repo-relative paths, have files, have hashes, and SHA256 hashes match.
- Confirmed no generated Python caches or SQLite transient files remain.
Next useful context:
- price_performance now has 1063 rows: D1 273, D5 272, D20 267, D60 251.
- Remaining due price-performance gaps are 18 tickers where Yahoo history was unavailable or the request failed.
- T0/T1 gaps remain at T0 93 and T1 77; T2 grey-market remains unresolved pending a reproducible source strategy.
1 line
6.2 KiB
JSON
1 line
6.2 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2259.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1759195800,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":121.5,"fiftyTwoWeekHigh":268.0,"fiftyTwoWeekLow":98.35,"regularMarketDayHigh":122.9,"regularMarketDayLow":114.3,"regularMarketVolume":20857163,"longName":"Zijin Gold International Company Limited","shortName":"ZIJIN GOLD INTL","chartPreviousClose":111.5,"priceHint":3,"currentTradingPeriod":{"pre":{"timezone":"HKT","end":1781487000,"start":1781485200,"gmtoffset":28800},"regular":{"timezone":"HKT","end":1781511000,"start":1781487000,"gmtoffset":28800},"post":{"timezone":"HKT","end":1781511000,"start":1781511000,"gmtoffset":28800}},"dataGranularity":"1d","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","ytd","max"]},"timestamp":[1759195800,1759368600,1759455000,1759714200,1759887000,1759973400,1760059800,1760319000,1760405400,1760491800,1760578200,1760664600,1760923800,1761010200,1761096600,1761183000,1761269400,1761528600,1761615000,1761787800,1761874200,1762133400,1762219800,1762306200,1762392600,1762479000,1762738200,1762824600,1762911000,1762997400,1763083800,1763343000,1763429400,1763515800,1763602200,1763688600,1763947800,1764034200,1764120600,1764207000,1764293400,1764552600,1764639000,1764725400,1764811800,1764898200,1765157400,1765243800,1765330200,1765416600,1765503000,1765762200,1765848600,1765935000,1766021400,1766107800],"indicators":{"quote":[{"low":[111.0,126.0999984741211,133.60000610351562,138.0,141.8000030517578,137.8000030517578,130.10000610351562,134.89999389648438,134.0,134.5,141.60000610351562,146.5,136.5,133.5,125.0,126.0999984741211,128.0,125.0,121.4000015258789,124.19999694824219,130.10000610351562,125.19999694824219,123.80000305175781,122.0,129.60000610351562,135.3000030517578,139.10000610351562,141.60000610351562,137.6999969482422,141.1999969482422,138.3000030517578,137.39999389648438,130.89999389648438,133.5,135.3000030517578,131.8000030517578,133.1999969482422,136.10000610351562,137.0,137.60000610351562,139.10000610351562,141.3000030517578,139.60000610351562,139.8000030517578,142.39999389648438,142.8000030517578,139.89999389648438,135.3000030517578,138.3000030517578,141.0,144.0,150.0,147.3000030517578,147.8000030517578,147.0,144.3000030517578],"open":[111.5,126.0999984741211,139.0,138.6999969482422,150.8000030517578,145.0,136.0,136.0,147.5,142.0,142.0,150.5,142.0,145.10000610351562,125.0,129.10000610351562,131.1999969482422,127.0999984741211,126.0999984741211,124.19999694824219,131.5,131.3000030517578,128.0,122.4000015258789,132.0,137.6999969482422,139.10000610351562,145.10000610351562,144.39999389648438,142.0,138.3000030517578,140.0,136.1999969482422,133.5,141.8000030517578,134.8000030517578,134.89999389648438,141.89999389648438,139.0,139.8000030517578,139.8000030517578,141.5,141.89999389648438,140.3000030517578,144.89999389648438,142.8000030517578,147.5,141.3000030517578,139.0,143.89999389648438,145.0,150.0,154.0,151.0,150.5,148.6999969482422],"high":[123.0,139.6999969482422,144.8000030517578,148.89999389648438,158.89999389648438,146.5,142.8000030517578,144.1999969482422,150.0,143.8000030517578,151.6999969482422,153.8000030517578,144.5,145.5,136.0,131.0,133.39999389648438,131.3000030517578,126.30000305175781,134.0,137.1999969482422,132.39999389648438,129.89999389648438,130.60000610351562,138.5,141.8000030517578,144.89999389648438,148.3000030517578,144.39999389648438,144.39999389648438,143.8000030517578,142.0,137.1999969482422,141.5,142.0,136.3000030517578,139.5,141.89999389648438,139.8000030517578,140.5,142.8000030517578,145.0,144.0,144.89999389648438,145.5,147.6999969482422,147.5,141.39999389648438,143.0,144.8000030517578,149.0,158.8000030517578,154.0,151.39999389648438,151.89999389648438,148.6999969482422],"volume":[97866268,24633302,13618937,11800495,20341724,12628387,11648105,11177831,9947030,9020033,27142604,14900271,9706238,10119077,14491135,6046158,3893613,6567469,9723262,8136366,3185784,3525897,3373131,5298730,7741024,4670598,4706690,4302625,3609574,3831468,2191693,2252966,3739410,4137393,3042226,3921788,17656181,5903169,2170490,2202682,3251000,3285414,2463049,3727679,2337770,3740870,3613750,2777780,4308613,4036187,5958565,15466503,6214881,3352712,2812089,4460022],"close":[120.5999984741211,137.5,136.0,147.1999969482422,146.5,141.3000030517578,130.39999389648438,142.39999389648438,137.39999389648438,142.0,147.39999389648438,147.8000030517578,139.89999389648438,133.89999389648438,131.3000030517578,129.8000030517578,129.5,127.5999984741211,122.19999694824219,132.8000030517578,131.39999389648438,129.89999389648438,127.0,126.9000015258789,137.89999389648438,139.0,143.8000030517578,143.8000030517578,140.1999969482422,143.1999969482422,141.60000610351562,139.5,132.5,140.6999969482422,137.10000610351562,132.8000030517578,139.0,138.5,137.60000610351562,138.10000610351562,139.1999969482422,143.3000030517578,140.10000610351562,144.89999389648438,144.60000610351562,147.5,141.39999389648438,136.89999389648438,142.89999389648438,141.89999389648438,147.0,158.39999389648438,148.89999389648438,149.6999969482422,149.0,146.10000610351562]}],"adjclose":[{"adjclose":[119.18228912353516,135.8836212158203,134.40126037597656,145.46958923339844,144.77781677246094,139.6389617919922,128.86708068847656,140.72601318359375,135.7847900390625,140.33071899414062,145.667236328125,146.0625457763672,138.25540161132812,132.32594299316406,129.7565155029297,128.27413940429688,127.97766876220703,126.0999984741211,120.76348114013672,131.23887634277344,129.85533142089844,128.37295532226562,125.5070571899414,125.40823364257812,136.27891540527344,137.36599731445312,142.1095733642578,142.1095733642578,138.5518798828125,141.51661682128906,139.9354248046875,137.860107421875,130.94239807128906,139.04600524902344,135.4883270263672,131.23887634277344,137.36599731445312,136.8718719482422,135.98245239257812,136.47657775878906,137.56362915039062,141.61544799804688,138.45306396484375,143.19662475585938,142.90016174316406,145.7660675048828,139.73777770996094,135.29066467285156,141.2201385498047,140.2318878173828,145.27194213867188,156.53793334960938,147.1496124267578,147.94020080566406,147.24842834472656,144.38253784179688]}]}}],"error":null}} |