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.5 KiB
JSON
1 line
6.5 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2511.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1703208600,"regularMarketTime":1781504197,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":3.14,"fiftyTwoWeekHigh":4.72,"fiftyTwoWeekLow":1.8,"regularMarketDayHigh":3.2,"regularMarketDayLow":2.9,"regularMarketVolume":534000,"longName":"HighTide Therapeutics, Inc.","shortName":"HIGHTIDE-B","chartPreviousClose":11.92,"priceHint":3,"currentTradingPeriod":{"pre":{"timezone":"HKT","start":1781485200,"end":1781487000,"gmtoffset":28800},"regular":{"timezone":"HKT","start":1781487000,"end":1781511000,"gmtoffset":28800},"post":{"timezone":"HKT","start":1781511000,"end":1781511000,"gmtoffset":28800}},"dataGranularity":"1d","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","ytd","max"]},"timestamp":[1703208600,1703640600,1703727000,1703813400,1704159000,1704245400,1704331800,1704418200,1704677400,1704763800,1704850200,1704936600,1705023000,1705282200,1705368600,1705455000,1705541400,1705627800,1705887000,1705973400,1706059800,1706146200,1706232600,1706491800,1706578200,1706664600,1706751000,1706837400,1707096600,1707183000,1707269400,1707355800,1707442200,1707874200,1707960600,1708047000,1708306200,1708392600,1708479000,1708565400,1708651800,1708911000,1708997400,1709083800,1709170200,1709256600,1709515800,1709602200,1709688600,1709775000,1709861400,1710120600],"indicators":{"quote":[{"open":[11.920000076293945,12.420000076293945,12.300000190734863,12.600000381469727,13.180000305175781,12.0,11.5,11.800000190734863,12.079999923706055,12.199999809265137,12.180000305175781,11.979999542236328,11.979999542236328,11.899999618530273,11.800000190734863,11.5,11.899999618530273,11.680000305175781,11.5,11.279999732971191,11.65999984741211,12.100000381469727,11.979999542236328,12.260000228881836,12.239999771118164,11.9399995803833,11.979999542236328,12.0,11.619999885559082,11.800000190734863,11.680000305175781,11.880000114440918,12.020000457763672,11.899999618530273,11.920000076293945,12.699999809265137,12.0,11.819999694824219,11.399999618530273,10.819999694824219,11.0600004196167,11.0600004196167,11.100000381469727,11.180000305175781,10.800000190734863,11.300000190734863,11.180000305175781,9.010000228881836,7.75,7.75,8.770000457763672,8.539999961853027],"high":[12.680000305175781,12.899999618530273,12.779999732971191,13.020000457763672,13.180000305175781,12.319999694824219,12.279999732971191,12.100000381469727,12.300000190734863,12.300000190734863,12.239999771118164,12.100000381469727,12.119999885559082,11.899999618530273,11.960000038146973,11.960000038146973,12.100000381469727,12.039999961853027,11.5,11.899999618530273,12.260000228881836,12.260000228881836,12.260000228881836,12.5,12.319999694824219,12.239999771118164,12.100000381469727,12.100000381469727,11.800000190734863,12.15999984741211,12.079999923706055,12.020000457763672,12.020000457763672,12.100000381469727,12.779999732971191,12.760000228881836,12.119999885559082,12.0600004196167,11.579999923706055,11.300000190734863,11.399999618530273,11.199999809265137,11.319999694824219,11.260000228881836,11.199999809265137,11.4399995803833,11.260000228881836,9.010000228881836,8.199999809265137,10.399999618530273,8.979999542236328,8.850000381469727],"close":[12.380000114440918,12.239999771118164,12.779999732971191,12.960000038146973,12.100000381469727,11.720000267028809,11.899999618530273,12.079999923706055,12.239999771118164,12.079999923706055,11.979999542236328,11.979999542236328,11.84000015258789,11.899999618530273,11.5600004196167,11.859999656677246,11.880000114440918,11.5,11.319999694824219,11.779999732971191,12.199999809265137,12.100000381469727,12.180000305175781,12.34000015258789,11.9399995803833,12.079999923706055,12.020000457763672,11.760000228881836,11.779999732971191,11.699999809265137,11.880000114440918,11.979999542236328,12.020000457763672,11.920000076293945,12.539999961853027,12.15999984741211,12.020000457763672,11.539999961853027,10.819999694824219,11.279999732971191,11.300000190734863,11.100000381469727,11.180000305175781,11.039999961853027,11.15999984741211,11.180000305175781,9.09000015258789,7.510000228881836,7.880000114440918,8.0600004196167,8.520000457763672,8.569999694824219],"volume":[5106500,506500,388000,2047500,271500,239000,388000,398000,336500,421500,387500,329000,382000,0,497000,384500,416000,379000,557000,695000,605000,549000,451500,594500,484000,352000,479000,344500,317000,655500,284500,404500,0,394500,1649000,945000,770500,816000,756000,461500,335500,405000,698000,451500,427000,685000,915500,853500,533500,3587000,2096500,1250500],"low":[11.920000076293945,12.0,12.199999809265137,12.4399995803833,12.0,11.699999809265137,11.5,11.699999809265137,11.579999923706055,11.680000305175781,11.779999732971191,11.699999809265137,11.720000267028809,11.899999618530273,11.460000038146973,11.5,11.600000381469727,11.460000038146973,10.84000015258789,11.180000305175781,11.600000381469727,11.800000190734863,11.859999656677246,12.020000457763672,11.699999809265137,11.779999732971191,11.600000381469727,11.399999618530273,11.479999542236328,11.699999809265137,11.680000305175781,11.779999732971191,12.020000457763672,11.779999732971191,11.819999694824219,11.279999732971191,11.600000381469727,11.34000015258789,10.800000190734863,10.800000190734863,10.979999542236328,10.899999618530273,10.960000038146973,10.739999771118164,10.680000305175781,11.020000457763672,8.760000228881836,7.050000190734863,7.659999847412109,7.5,8.109999656677246,8.510000228881836]}],"adjclose":[{"adjclose":[12.380000114440918,12.239999771118164,12.779999732971191,12.960000038146973,12.100000381469727,11.720000267028809,11.899999618530273,12.079999923706055,12.239999771118164,12.079999923706055,11.979999542236328,11.979999542236328,11.84000015258789,11.899999618530273,11.5600004196167,11.859999656677246,11.880000114440918,11.5,11.319999694824219,11.779999732971191,12.199999809265137,12.100000381469727,12.180000305175781,12.34000015258789,11.9399995803833,12.079999923706055,12.020000457763672,11.760000228881836,11.779999732971191,11.699999809265137,11.880000114440918,11.979999542236328,12.020000457763672,11.920000076293945,12.539999961853027,12.15999984741211,12.020000457763672,11.539999961853027,10.819999694824219,11.279999732971191,11.300000190734863,11.100000381469727,11.180000305175781,11.039999961853027,11.15999984741211,11.180000305175781,9.09000015258789,7.510000228881836,7.880000114440918,8.0600004196167,8.520000457763672,8.569999694824219]}]}}],"error":null}} |