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":"3268.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1773106200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":20.86,"fiftyTwoWeekHigh":34.3,"fiftyTwoWeekLow":20.42,"regularMarketDayHigh":21.24,"regularMarketDayLow":20.5,"regularMarketVolume":623600,"shortName":"MEIG","chartPreviousClose":29.04,"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","ytd","max"]},"timestamp":[1773106200,1773192600,1773279000,1773365400,1773624600,1773711000,1773797400,1773883800,1773970200,1774229400,1774315800,1774402200,1774488600,1774575000,1774834200,1774920600,1775007000,1775093400,1775611800,1775698200,1775784600,1776043800,1776130200,1776216600,1776303000,1776389400,1776648600,1776735000,1776821400,1776907800,1776994200,1777253400,1777339800,1777426200,1777512600,1777858200,1777944600,1778031000,1778117400,1778203800,1778463000,1778549400,1778635800,1778722200,1778808600,1779067800,1779154200,1779240600,1779327000,1779413400,1779759000,1779845400,1779931800,1780018200],"indicators":{"quote":[{"volume":[9834700,15101800,4054600,2903800,2157030,2564000,2297100,1517900,1781100,1704900,2907300,1878600,1703900,1207000,1458900,1065200,1270200,1892900,1693400,1044400,1284100,1713700,1217700,968000,6739660,1632200,2577000,1600500,1608200,1003300,1208200,1983400,1124500,835100,550700,290300,163200,791700,1400400,620600,871000,645200,888300,547300,518600,5162176,1618200,1628900,3388100,2885300,1467100,9488100,2372800,2898100],"open":[29.040000915527344,33.65999984741211,29.260000228881836,28.1200008392334,26.100000381469727,26.8799991607666,26.059999465942383,26.600000381469727,25.520000457763672,23.6200008392334,23.0,25.3799991607666,24.799999237060547,24.600000381469727,22.700000762939453,22.479999542236328,22.719999313354492,22.059999465942383,22.3799991607666,22.6200008392334,21.979999542236328,21.719999313354492,23.299999237060547,23.899999618530273,23.18000030517578,25.5,25.040000915527344,25.8799991607666,24.0,23.920000076293945,23.299999237060547,23.399999618530273,23.799999237060547,22.540000915527344,22.5,22.860000610351562,22.100000381469727,22.260000228881836,22.420000076293945,23.600000381469727,23.979999542236328,24.0,22.799999237060547,23.8799991607666,22.899999618530273,22.459999084472656,25.479999542236328,25.84000015258789,24.68000030517578,25.079999923706055,26.65999984741211,26.65999984741211,29.200000762939453,27.8799991607666],"close":[29.299999237060547,29.579999923706055,28.260000228881836,26.219999313354492,27.0,25.959999084472656,26.719999313354492,24.860000610351562,24.219999313354492,22.600000381469727,24.3799991607666,24.520000457763672,23.940000534057617,23.100000381469727,22.540000915527344,22.299999237060547,22.15999984741211,21.920000076293945,22.760000228881836,21.799999237060547,22.15999984741211,23.079999923706055,23.100000381469727,22.639999389648438,25.299999237060547,24.920000076293945,25.81999969482422,24.420000076293945,23.760000228881836,23.260000228881836,23.299999237060547,24.020000457763672,22.540000915527344,22.81999969482422,22.860000610351562,22.100000381469727,21.6200008392334,22.399999618530273,23.15999984741211,23.479999542236328,24.0,23.079999923706055,23.940000534057617,22.899999618530273,22.639999389648438,25.5,25.15999984741211,24.459999084472656,24.81999969482422,26.5,26.020000457763672,28.219999313354492,27.559999465942383,23.84000015258789],"high":[30.65999984741211,34.29999923706055,29.899999618530273,28.1200008392334,27.18000030517578,27.639999389648438,27.0,26.600000381469727,25.959999084472656,24.200000762939453,24.459999084472656,25.8799991607666,25.65999984741211,24.600000381469727,22.799999237060547,23.100000381469727,23.260000228881836,23.200000762939453,22.920000076293945,22.6200008392334,22.799999237060547,23.780000686645508,23.68000030517578,23.920000076293945,26.299999237060547,25.780000686645508,26.399999618530273,25.8799991607666,24.440000534057617,24.3799991607666,23.68000030517578,24.700000762939453,24.020000457763672,23.260000228881836,23.18000030517578,23.219999313354492,22.100000381469727,23.040000915527344,23.239999771118164,23.600000381469727,24.299999237060547,24.5,24.68000030517578,24.5,23.639999389648438,25.940000534057617,25.600000381469727,25.8799991607666,26.799999237060547,26.719999313354492,26.719999313354492,29.100000381469727,29.200000762939453,27.940000534057617],"low":[28.420000076293945,29.34000015258789,27.65999984741211,26.079999923706055,25.399999618530273,25.700000762939453,25.68000030517578,24.479999542236328,24.040000915527344,22.520000457763672,22.600000381469727,24.440000534057617,23.219999313354492,23.0,21.81999969482422,21.899999618530273,21.940000534057617,21.559999465942383,22.3799991607666,21.799999237060547,21.979999542236328,21.68000030517578,22.600000381469727,22.399999618530273,23.020000457763672,24.3799991607666,24.219999313354492,24.299999237060547,23.5,22.700000762939453,22.18000030517578,23.399999618530273,22.540000915527344,22.540000915527344,22.399999618530273,22.100000381469727,21.020000457763672,22.100000381469727,22.420000076293945,22.920000076293945,23.0,22.8799991607666,22.399999618530273,22.520000457763672,22.399999618530273,22.219999313354492,24.399999618530273,24.280000686645508,24.479999542236328,25.079999923706055,25.5,26.100000381469727,26.8799991607666,23.81999969482422]}],"adjclose":[{"adjclose":[29.299999237060547,29.579999923706055,28.260000228881836,26.219999313354492,27.0,25.959999084472656,26.719999313354492,24.860000610351562,24.219999313354492,22.600000381469727,24.3799991607666,24.520000457763672,23.940000534057617,23.100000381469727,22.540000915527344,22.299999237060547,22.15999984741211,21.920000076293945,22.760000228881836,21.799999237060547,22.15999984741211,23.079999923706055,23.100000381469727,22.639999389648438,25.299999237060547,24.920000076293945,25.81999969482422,24.420000076293945,23.760000228881836,23.260000228881836,23.299999237060547,24.020000457763672,22.540000915527344,22.81999969482422,22.860000610351562,22.100000381469727,21.6200008392334,22.399999618530273,23.15999984741211,23.479999542236328,24.0,23.079999923706055,23.940000534057617,22.899999618530273,22.639999389648438,25.5,25.15999984741211,24.459999084472656,24.81999969482422,26.5,26.020000457763672,28.219999313354492,27.559999465942383,23.84000015258789]}]}}],"error":null}} |