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.8 KiB
JSON
1 line
6.8 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2535.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1709861400,"regularMarketTime":1781507665,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":0.5,"fiftyTwoWeekHigh":1.15,"fiftyTwoWeekLow":0.28,"regularMarketDayHigh":0.5,"regularMarketDayLow":0.495,"regularMarketVolume":3140000,"longName":"WK Group (Holdings) Limited","shortName":"WK GROUP","chartPreviousClose":0.65,"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","5y","ytd","max"]},"timestamp":[1709861400,1710120600,1710207000,1710293400,1710379800,1710466200,1710725400,1710811800,1710898200,1710984600,1711071000,1711330200,1711416600,1711503000,1711589400,1712021400,1712107800,1712280600,1712539800,1712626200,1712712600,1712799000,1712885400,1713144600,1713231000,1713317400,1713403800,1713490200,1713749400,1713835800,1713922200,1714008600,1714095000,1714354200,1714440600,1714613400,1714699800,1714959000,1715045400,1715131800,1715218200,1715304600,1715563800,1715650200,1715823000,1715909400,1716168600,1716255000,1716341400,1716427800,1716514200,1716773400],"indicators":{"quote":[{"close":[0.5899999737739563,0.6200000047683716,0.6399999856948853,0.6899999976158142,0.6800000071525574,0.6399999856948853,0.6399999856948853,0.6399999856948853,0.6399999856948853,0.6499999761581421,0.6299999952316284,0.6299999952316284,0.5699999928474426,0.5899999737739563,0.5799999833106995,0.699999988079071,0.6899999976158142,0.6700000166893005,0.6600000262260437,0.6299999952316284,0.6200000047683716,0.6399999856948853,0.6299999952316284,0.6399999856948853,0.6200000047683716,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.5600000023841858,0.6000000238418579,0.6100000143051147,0.5899999737739563,0.6000000238418579,0.6200000047683716,0.5799999833106995,0.5600000023841858,0.5699999928474426,0.5799999833106995,0.5899999737739563,0.5799999833106995,0.5899999737739563,0.5899999737739563,0.5699999928474426,0.5699999928474426,0.6499999761581421,0.6700000166893005,0.6499999761581421,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.6100000143051147],"volume":[96680000,70090000,24910000,8200000,6560000,5330000,2490000,2140000,8490000,17490000,560000,560000,2670000,10210000,1310000,11790000,6120000,810000,3090000,4500000,450000,450000,630000,440000,0,580000,2190000,1440000,1920000,1450000,2340000,2030000,150000,7060000,890000,1220000,14650000,10640000,110000,4320000,2930000,510000,490000,1080000,5560000,6980000,870000,1950000,300000,380000,5020000,9410000],"low":[0.47999998927116394,0.550000011920929,0.6100000143051147,0.6499999761581421,0.6700000166893005,0.5899999737739563,0.6399999856948853,0.6000000238418579,0.6100000143051147,0.6299999952316284,0.6200000047683716,0.6299999952316284,0.5699999928474426,0.550000011920929,0.550000011920929,0.5799999833106995,0.6499999761581421,0.6700000166893005,0.6399999856948853,0.6000000238418579,0.6100000143051147,0.6000000238418579,0.6100000143051147,0.6100000143051147,0.6200000047683716,0.6000000238418579,0.5799999833106995,0.6000000238418579,0.5299999713897705,0.5600000023841858,0.5799999833106995,0.5899999737739563,0.6000000238418579,0.5799999833106995,0.5799999833106995,0.5600000023841858,0.5699999928474426,0.5400000214576721,0.5799999833106995,0.5799999833106995,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5699999928474426,0.5899999737739563,0.6399999856948853,0.6000000238418579,0.5899999737739563,0.5899999737739563,0.5799999833106995,0.5899999737739563,0.5699999928474426],"high":[0.7300000190734863,0.6899999976158142,0.7400000095367432,0.699999988079071,0.7200000286102295,0.6800000071525574,0.6600000262260437,0.6600000262260437,0.6499999761581421,0.6499999761581421,0.6499999761581421,0.6399999856948853,0.6299999952316284,0.6000000238418579,0.6000000238418579,0.75,0.7900000214576721,0.6899999976158142,0.6700000166893005,0.6800000071525574,0.6299999952316284,0.6600000262260437,0.6299999952316284,0.6499999761581421,0.6200000047683716,0.6200000047683716,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.6200000047683716,0.6100000143051147,0.6100000143051147,0.6100000143051147,0.6200000047683716,0.6200000047683716,0.5799999833106995,0.6000000238418579,0.5899999737739563,0.5899999737739563,0.6000000238418579,0.5899999737739563,0.5899999737739563,0.5899999737739563,0.5899999737739563,0.6499999761581421,0.6899999976158142,0.6800000071525574,0.6800000071525574,0.6200000047683716,0.6200000047683716,0.6299999952316284,0.6100000143051147],"open":[0.6499999761581421,0.5899999737739563,0.6499999761581421,0.6600000262260437,0.6899999976158142,0.6800000071525574,0.6399999856948853,0.6600000262260437,0.6299999952316284,0.6399999856948853,0.6499999761581421,0.6299999952316284,0.6299999952316284,0.5699999928474426,0.5899999737739563,0.5799999833106995,0.7099999785423279,0.6899999976158142,0.6700000166893005,0.6600000262260437,0.6200000047683716,0.6000000238418579,0.6299999952316284,0.6100000143051147,0.6200000047683716,0.6100000143051147,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.5600000023841858,0.6000000238418579,0.5899999737739563,0.6000000238418579,0.6000000238418579,0.6200000047683716,0.5799999833106995,0.5600000023841858,0.5600000023841858,0.5799999833106995,0.5899999737739563,0.5799999833106995,0.5799999833106995,0.5699999928474426,0.5899999737739563,0.5899999737739563,0.6800000071525574,0.6499999761581421,0.6499999761581421,0.6200000047683716,0.5799999833106995,0.6200000047683716,0.6000000238418579]}],"adjclose":[{"adjclose":[0.5899999737739563,0.6200000047683716,0.6399999856948853,0.6899999976158142,0.6800000071525574,0.6399999856948853,0.6399999856948853,0.6399999856948853,0.6399999856948853,0.6499999761581421,0.6299999952316284,0.6299999952316284,0.5699999928474426,0.5899999737739563,0.5799999833106995,0.699999988079071,0.6899999976158142,0.6700000166893005,0.6600000262260437,0.6299999952316284,0.6200000047683716,0.6399999856948853,0.6299999952316284,0.6399999856948853,0.6200000047683716,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.5600000023841858,0.6000000238418579,0.6100000143051147,0.5899999737739563,0.6000000238418579,0.6200000047683716,0.5799999833106995,0.5600000023841858,0.5699999928474426,0.5799999833106995,0.5899999737739563,0.5799999833106995,0.5899999737739563,0.5899999737739563,0.5699999928474426,0.5699999928474426,0.6499999761581421,0.6700000166893005,0.6499999761581421,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.6000000238418579,0.6100000143051147]}]}}],"error":null}} |