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
5.6 KiB
JSON
1 line
5.6 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2026.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1762392600,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":64.25,"fiftyTwoWeekHigh":136.9,"fiftyTwoWeekLow":62.8,"regularMarketDayHigh":68.2,"regularMarketDayLow":64.15,"regularMarketVolume":1258750,"longName":"Pony AI Inc.","shortName":"PONY-W","chartPreviousClose":124.0,"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":[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,1766367000,1766453400,1766539800,1766971800,1767058200,1767144600,1767317400,1767576600,1767663000,1767749400,1767835800,1767922200,1768181400,1768267800,1768354200,1768440600,1768527000,1768786200,1768872600,1768959000,1769045400,1769131800],"indicators":{"quote":[{"close":[126.0999984741211,111.9000015258789,111.4000015258789,114.5999984741211,112.4000015258789,108.0,93.0,98.0,92.0,96.0,93.75,87.0999984741211,88.0,96.19999694824219,100.4000015258789,106.5999984741211,107.0,109.80000305175781,113.69999694824219,110.0999984741211,111.0999984741211,116.0999984741211,112.30000305175781,110.80000305175781,112.9000015258789,114.30000305175781,120.0,111.4000015258789,109.19999694824219,117.0,111.0999984741211,115.19999694824219,127.5,128.8000030517578,127.0,118.0,120.0,118.0999984741211,116.0999984741211,122.80000305175781,131.3000030517578,134.6999969482422,134.5,136.5,134.5,132.60000610351562,127.30000305175781,125.0999984741211,126.0999984741211,128.60000610351562,128.10000610351562,123.69999694824219,123.0999984741211,131.8000030517578],"low":[118.80000305175781,108.0999984741211,107.0,111.9000015258789,110.0,107.5,91.05000305175781,95.80000305175781,91.19999694824219,94.0999984741211,92.8499984741211,85.5999984741211,85.80000305175781,94.69999694824219,99.44999694824219,101.5,104.4000015258789,106.19999694824219,111.0,110.0,110.0,112.4000015258789,110.5999984741211,108.30000305175781,110.0,113.19999694824219,114.4000015258789,110.80000305175781,105.0999984741211,112.0,111.0999984741211,111.5,122.5,127.0999984741211,127.0,116.0,116.0999984741211,118.0999984741211,113.19999694824219,121.5,126.0999984741211,133.0,132.10000610351562,133.89999389648438,132.39999389648438,132.0,123.19999694824219,124.0999984741211,125.0999984741211,126.19999694824219,127.9000015258789,120.0,122.0999984741211,128.8000030517578],"high":[126.0999984741211,116.0,112.9000015258789,115.0,114.5,109.9000015258789,101.9000015258789,99.0999984741211,97.0,96.4000015258789,95.5,89.0,88.0999984741211,98.0999984741211,102.80000305175781,106.9000015258789,108.5,111.0,113.9000015258789,114.0,111.9000015258789,116.5,114.5,112.0999984741211,115.80000305175781,115.0,120.0,115.80000305175781,110.5999984741211,117.9000015258789,113.9000015258789,115.9000015258789,127.9000015258789,131.0,127.0,120.4000015258789,121.0,118.0999984741211,116.80000305175781,125.80000305175781,132.1999969482422,136.0,136.0,136.89999389648438,136.89999389648438,136.89999389648438,127.69999694824219,127.9000015258789,128.10000610351562,130.1999969482422,131.10000610351562,124.0,125.69999694824219,132.0],"open":[124.0,116.0,112.30000305175781,112.5999984741211,114.5,108.80000305175781,101.9000015258789,99.0,97.0,96.3499984741211,95.0,88.0,87.0999984741211,97.5,101.5999984741211,103.80000305175781,106.0,107.0,111.0,110.5,110.0,113.0,111.0999984741211,112.0999984741211,110.0,113.5,116.0,115.80000305175781,108.5999984741211,112.0,112.0,111.9000015258789,122.5,127.5,127.0,116.5,117.5999984741211,118.0999984741211,116.0,123.4000015258789,126.0999984741211,133.60000610351562,132.10000610351562,134.1999969482422,136.89999389648438,135.0,125.0,126.0999984741211,125.0999984741211,128.8000030517578,128.60000610351562,120.9000015258789,123.69999694824219,128.8000030517578],"volume":[8679020,3641900,682700,581720,257400,421100,2880950,1022348,419632,459160,152500,640960,576400,1337195,823564,693500,679200,734540,804000,433568,151600,636331,569900,515600,358650,168986,525200,475400,941903,803300,471400,684565,1110714,624307,0,770049,526720,0,359750,541500,736100,552766,410456,467400,244800,269800,768000,227943,332600,376983,388570,523000,396800,445200]}],"adjclose":[{"adjclose":[126.0999984741211,111.9000015258789,111.4000015258789,114.5999984741211,112.4000015258789,108.0,93.0,98.0,92.0,96.0,93.75,87.0999984741211,88.0,96.19999694824219,100.4000015258789,106.5999984741211,107.0,109.80000305175781,113.69999694824219,110.0999984741211,111.0999984741211,116.0999984741211,112.30000305175781,110.80000305175781,112.9000015258789,114.30000305175781,120.0,111.4000015258789,109.19999694824219,117.0,111.0999984741211,115.19999694824219,127.5,128.8000030517578,127.0,118.0,120.0,118.0999984741211,116.0999984741211,122.80000305175781,131.3000030517578,134.6999969482422,134.5,136.5,134.5,132.60000610351562,127.30000305175781,125.0999984741211,126.0999984741211,128.60000610351562,128.10000610351562,123.69999694824219,123.0999984741211,131.8000030517578]}]}}],"error":null}} |