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.6 KiB
JSON
1 line
6.6 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2576.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1728351000,"regularMarketTime":1781510296,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":5.14,"fiftyTwoWeekHigh":5.33,"fiftyTwoWeekLow":3.31,"regularMarketDayHigh":5.18,"regularMarketDayLow":4.82,"regularMarketVolume":595600,"longName":"Zhejiang Taimei Medical Technology Co., Ltd.","shortName":"TAIMEI TECH","chartPreviousClose":11.24,"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","2y","ytd","max"]},"timestamp":[1728351000,1728437400,1728523800,1728869400,1728955800,1729042200,1729128600,1729215000,1729474200,1729560600,1729647000,1729733400,1729819800,1730079000,1730165400,1730251800,1730338200,1730424600,1730683800,1730770200,1730856600,1730943000,1731029400,1731288600,1731375000,1731461400,1731547800,1731634200,1731893400,1731979800,1732066200,1732152600,1732239000,1732498200,1732584600,1732671000,1732757400,1732843800,1733103000,1733189400,1733275800,1733362200,1733448600,1733707800,1733794200,1733880600,1733967000,1734053400,1734312600,1734399000,1734485400,1734571800,1734658200,1734917400,1735003800,1735263000],"indicators":{"quote":[{"low":[9.199999809265137,8.0,7.900000095367432,7.480000019073486,6.400000095367432,5.75,5.75,6.300000190734863,6.409999847412109,6.5,6.429999828338623,6.03000020980835,6.019999980926514,5.880000114440918,6.0,5.920000076293945,5.900000095367432,5.980000019073486,5.860000133514404,5.820000171661377,5.880000114440918,5.889999866485596,5.849999904632568,5.699999809265137,5.550000190734863,5.239999771118164,5.139999866485596,5.010000228881836,4.989999771118164,5.179999828338623,5.070000171661377,5.289999961853027,5.320000171661377,5.320000171661377,5.25,5.179999828338623,5.139999866485596,5.159999847412109,5.210000038146973,5.179999828338623,5.139999866485596,5.159999847412109,5.199999809265137,5.110000133514404,5.139999866485596,5.0,5.059999942779541,5.010000228881836,5.159999847412109,5.179999828338623,5.110000133514404,5.099999904632568,5.0,5.0,4.920000076293945,4.800000190734863],"close":[9.199999809265137,8.479999542236328,8.300000190734863,7.480000019073486,6.489999771118164,5.869999885559082,6.849999904632568,6.510000228881836,6.650000095367432,6.53000020980835,6.440000057220459,6.119999885559082,6.090000152587891,6.070000171661377,6.090000152587891,6.0,6.079999923706055,6.059999942779541,5.880000114440918,5.96999979019165,5.889999866485596,5.900000095367432,5.929999828338623,5.909999847412109,5.559999942779541,5.429999828338623,5.309999942779541,5.269999980926514,5.230000019073486,5.199999809265137,5.300000190734863,5.599999904632568,5.460000038146973,5.380000114440918,5.380000114440918,5.329999923706055,5.300000190734863,5.360000133514404,5.300000190734863,5.329999923706055,5.28000020980835,5.320000171661377,5.21999979019165,5.28000020980835,5.159999847412109,5.179999828338623,5.25,5.409999847412109,5.300000190734863,5.179999828338623,5.25,5.159999847412109,5.019999980926514,5.059999942779541,4.920000076293945,4.800000190734863],"volume":[16319616,3543200,1586800,1202800,1113400,1016400,1760200,637800,203200,177600,160400,371400,204600,152800,247400,140200,215600,92200,168000,148400,79400,113200,133200,115600,176400,275000,89200,121400,130600,89400,79400,262000,78600,25600,64600,68400,87800,113400,48600,100000,45800,82800,45800,135600,108600,86400,56600,226400,27400,22400,47400,48600,41000,98200,0,106200],"open":[11.239999771118164,9.100000381469727,8.90999984741211,8.300000190734863,7.46999979019165,6.449999809265137,5.789999961853027,6.849999904632568,6.5,6.659999847412109,6.53000020980835,6.559999942779541,6.539999961853027,6.090000152587891,6.400000095367432,6.199999809265137,6.099999904632568,6.079999923706055,6.059999942779541,5.849999904632568,5.900000095367432,5.889999866485596,5.900000095367432,5.800000190734863,5.760000228881836,5.5,5.429999828338623,5.309999942779541,5.170000076293945,5.199999809265137,5.199999809265137,5.289999961853027,5.599999904632568,5.460000038146973,5.480000019073486,5.179999828338623,5.300000190734863,5.190000057220459,5.349999904632568,5.239999771118164,5.139999866485596,5.199999809265137,5.199999809265137,5.159999847412109,5.28000020980835,5.159999847412109,5.099999904632568,5.199999809265137,5.360000133514404,5.260000228881836,5.179999828338623,5.110000133514404,5.050000190734863,5.050000190734863,4.920000076293945,4.920000076293945],"high":[11.680000305175781,9.979999542236328,8.90999984741211,8.300000190734863,7.46999979019165,6.449999809265137,7.21999979019165,6.880000114440918,6.829999923706055,6.800000190734863,6.75,6.559999942779541,6.539999961853027,6.119999885559082,6.400000095367432,6.199999809265137,6.099999904632568,6.159999847412109,6.059999942779541,6.0,6.0,5.980000019073486,6.0,5.929999828338623,5.760000228881836,5.5,5.429999828338623,5.309999942779541,5.25,5.300000190734863,5.340000152587891,5.739999771118164,5.599999904632568,5.460000038146973,5.5,5.369999885559082,5.380000114440918,5.420000076293945,5.349999904632568,5.380000114440918,5.320000171661377,5.320000171661377,5.309999942779541,5.300000190734863,5.28000020980835,5.239999771118164,5.25,5.5,5.360000133514404,5.340000152587891,5.320000171661377,5.199999809265137,5.150000095367432,5.179999828338623,4.920000076293945,4.989999771118164]}],"adjclose":[{"adjclose":[9.199999809265137,8.479999542236328,8.300000190734863,7.480000019073486,6.489999771118164,5.869999885559082,6.849999904632568,6.510000228881836,6.650000095367432,6.53000020980835,6.440000057220459,6.119999885559082,6.090000152587891,6.070000171661377,6.090000152587891,6.0,6.079999923706055,6.059999942779541,5.880000114440918,5.96999979019165,5.889999866485596,5.900000095367432,5.929999828338623,5.909999847412109,5.559999942779541,5.429999828338623,5.309999942779541,5.269999980926514,5.230000019073486,5.199999809265137,5.300000190734863,5.599999904632568,5.460000038146973,5.380000114440918,5.380000114440918,5.329999923706055,5.300000190734863,5.360000133514404,5.300000190734863,5.329999923706055,5.28000020980835,5.320000171661377,5.21999979019165,5.28000020980835,5.159999847412109,5.179999828338623,5.25,5.409999847412109,5.300000190734863,5.179999828338623,5.25,5.159999847412109,5.019999980926514,5.059999942779541,4.920000076293945,4.800000190734863]}]}}],"error":null}} |