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.9 KiB
JSON
1 line
6.9 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2515.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1713835800,"regularMarketTime":1781507434,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":1.23,"fiftyTwoWeekHigh":1.5,"fiftyTwoWeekLow":0.4,"regularMarketDayHigh":1.26,"regularMarketDayLow":1.11,"regularMarketVolume":40000,"longName":"Tianjin Construction Development Group Co., Ltd.","shortName":"TJCD","chartPreviousClose":1.88,"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":[1713835800,1713922200,1714008600,1714095000,1714354200,1714440600,1714613400,1714699800,1714959000,1715045400,1715131800,1715218200,1715304600,1715563800,1715650200,1715823000,1715909400,1716168600,1716255000,1716341400,1716427800,1716514200,1716773400,1716859800,1716946200,1717032600,1717119000,1717378200,1717464600,1717551000,1717637400,1717723800,1718069400,1718155800,1718242200,1718328600,1718587800,1718674200,1718760600,1718847000,1718933400,1719192600,1719279000,1719365400,1719451800,1719538200,1719883800,1719970200,1720056600,1720143000,1720402200,1720488600,1720575000,1720661400,1720747800],"indicators":{"quote":[{"close":[1.5199999809265137,1.600000023841858,1.6399999856948853,1.5499999523162842,1.4900000095367432,1.5199999809265137,1.440000057220459,1.4600000381469727,1.4500000476837158,1.4600000381469727,1.4700000286102295,1.5199999809265137,1.4900000095367432,1.4700000286102295,1.4199999570846558,1.3799999952316284,1.3600000143051147,1.3700000047683716,1.2899999618530273,1.340000033378601,1.2899999618530273,1.25,1.1799999475479126,1.1699999570846558,1.159999966621399,1.1799999475479126,1.190000057220459,1.159999966621399,1.159999966621399,1.159999966621399,1.1299999952316284,1.0499999523162842,1.2200000286102295,1.1799999475479126,1.1399999856948853,1.1200000047683716,1.309999942779541,1.350000023841858,1.3700000047683716,1.3700000047683716,1.2999999523162842,1.2899999618530273,1.2200000286102295,1.190000057220459,1.149999976158142,1.159999966621399,1.1799999475479126,1.159999966621399,1.149999976158142,1.190000057220459,1.2000000476837158,1.190000057220459,1.190000057220459,1.25,1.25],"low":[1.5199999809265137,1.5,1.6100000143051147,1.5199999809265137,1.4199999570846558,1.440000057220459,1.440000057220459,1.4199999570846558,1.440000057220459,1.350000023841858,1.4299999475479126,1.4700000286102295,1.4700000286102295,1.4500000476837158,1.409999966621399,1.3700000047683716,1.3600000143051147,1.350000023841858,1.2799999713897705,1.25,1.2899999618530273,1.25,1.0800000429153442,1.1299999952316284,1.1299999952316284,1.1200000047683716,1.1399999856948853,1.149999976158142,1.100000023841858,1.1399999856948853,1.1299999952316284,1.0499999523162842,0.949999988079071,1.1299999952316284,1.1100000143051147,1.090000033378601,1.100000023841858,1.2300000190734863,1.309999942779541,1.2799999713897705,1.2999999523162842,1.2000000476837158,1.1799999475479126,1.1799999475479126,1.1200000047683716,1.1200000047683716,1.159999966621399,1.149999976158142,1.1399999856948853,1.1299999952316284,1.159999966621399,1.159999966621399,1.1299999952316284,1.149999976158142,1.2200000286102295],"high":[2.180000066757202,1.6799999475479126,1.8200000524520874,1.6799999475479126,1.5499999523162842,1.590000033378601,1.5199999809265137,1.5700000524520874,1.4700000286102295,1.4700000286102295,1.5499999523162842,1.5399999618530273,1.5299999713897705,1.4900000095367432,1.4700000286102295,1.4199999570846558,1.399999976158142,1.3700000047683716,1.3600000143051147,1.399999976158142,1.340000033378601,1.2899999618530273,1.25,1.2000000476837158,1.1699999570846558,1.2300000190734863,1.2000000476837158,1.2000000476837158,1.159999966621399,1.159999966621399,1.1799999475479126,1.1399999856948853,1.25,1.2899999618530273,1.159999966621399,1.1399999856948853,1.399999976158142,1.409999966621399,1.3700000047683716,1.399999976158142,1.3799999952316284,1.3200000524520874,1.25,1.2200000286102295,1.2000000476837158,1.2000000476837158,1.2000000476837158,1.1799999475479126,1.1699999570846558,1.2000000476837158,1.2100000381469727,1.190000057220459,1.190000057220459,1.399999976158142,1.2799999713897705],"open":[1.8799999952316284,1.5399999618530273,1.6200000047683716,1.6200000047683716,1.5499999523162842,1.4900000095367432,1.5199999809265137,1.4500000476837158,1.4700000286102295,1.4500000476837158,1.4500000476837158,1.4700000286102295,1.5199999809265137,1.4800000190734863,1.4700000286102295,1.4199999570846558,1.3799999952316284,1.3700000047683716,1.3600000143051147,1.2599999904632568,1.340000033378601,1.2799999713897705,1.25,1.149999976158142,1.1699999570846558,1.1200000047683716,1.1799999475479126,1.1699999570846558,1.1399999856948853,1.149999976158142,1.1699999570846558,1.1399999856948853,1.0499999523162842,1.25,1.159999966621399,1.1200000047683716,1.100000023841858,1.2699999809265137,1.3300000429153442,1.3700000047683716,1.3700000047683716,1.2699999809265137,1.25,1.2200000286102295,1.190000057220459,1.1200000047683716,1.159999966621399,1.1699999570846558,1.1399999856948853,1.1299999952316284,1.190000057220459,1.190000057220459,1.159999966621399,1.149999976158142,1.2799999713897705],"volume":[56518000,7838000,9570000,5270000,3704000,4140000,1788000,3832000,902000,8214000,2494000,2922000,816000,932000,720000,1220000,634000,958000,1372000,1758000,582000,708000,2014000,986000,318000,668000,750000,162000,550000,252000,350000,1188000,2638000,460000,400000,406000,2332000,1736000,382000,3260000,732000,826000,576000,28000,472000,308000,412000,194000,46000,314000,488000,124000,190000,944000,98000]}],"adjclose":[{"adjclose":[1.5199999809265137,1.600000023841858,1.6399999856948853,1.5499999523162842,1.4900000095367432,1.5199999809265137,1.440000057220459,1.4600000381469727,1.4500000476837158,1.4600000381469727,1.4700000286102295,1.5199999809265137,1.4900000095367432,1.4700000286102295,1.4199999570846558,1.3799999952316284,1.3600000143051147,1.3700000047683716,1.2899999618530273,1.340000033378601,1.2899999618530273,1.25,1.1799999475479126,1.1699999570846558,1.159999966621399,1.1799999475479126,1.190000057220459,1.159999966621399,1.159999966621399,1.159999966621399,1.1299999952316284,1.0499999523162842,1.2200000286102295,1.1799999475479126,1.1399999856948853,1.1200000047683716,1.309999942779541,1.350000023841858,1.3700000047683716,1.3700000047683716,1.2999999523162842,1.2899999618530273,1.2200000286102295,1.190000057220459,1.149999976158142,1.159999966621399,1.1799999475479126,1.159999966621399,1.149999976158142,1.190000057220459,1.2000000476837158,1.190000057220459,1.190000057220459,1.25,1.25]}]}}],"error":null}} |