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
7.0 KiB
JSON
1 line
7.0 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2503.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1704763800,"regularMarketTime":1781509634,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":0.189,"fiftyTwoWeekHigh":2.06,"fiftyTwoWeekLow":0.17,"regularMarketDayHigh":0.193,"regularMarketDayLow":0.189,"regularMarketVolume":120000,"longName":"Zhongshen Jianye Holding Limited","shortName":"ZHONGSHENJIANYE","chartPreviousClose":0.81,"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":[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,1710207000,1710293400,1710379800,1710466200,1710725400,1710811800,1710898200,1710984600,1711071000,1711330200,1711416600,1711503000,1711589400],"indicators":{"quote":[{"close":[0.7200000286102295,0.8600000143051147,0.8100000023841858,0.9300000071525574,0.9200000166893005,1.0499999523162842,1.0199999809265137,1.059999942779541,1.0399999618530273,1.0700000524520874,1.1399999856948853,1.2300000190734863,1.1699999570846558,1.1699999570846558,1.2000000476837158,1.2200000286102295,1.25,1.340000033378601,1.4199999570846558,1.3799999952316284,1.409999966621399,1.159999966621399,1.0800000429153442,1.0499999523162842,1.0199999809265137,1.1699999570846558,1.1399999856948853,1.149999976158142,1.2000000476837158,1.2200000286102295,1.2100000381469727,1.2300000190734863,1.190000057220459,1.1299999952316284,1.0700000524520874,1.059999942779541,1.0,1.0399999618530273,1.0199999809265137,1.0,0.9900000095367432,0.8999999761581421,0.8500000238418579,0.949999988079071,0.8799999952316284,0.8799999952316284,0.8500000238418579,0.8600000143051147,0.8600000143051147,0.8399999737739563,0.8600000143051147,0.8199999928474426,0.800000011920929,0.800000011920929,0.7699999809265137,0.7900000214576721],"high":[0.8399999737739563,0.8899999856948853,0.8700000047683716,0.9300000071525574,0.9200000166893005,1.0700000524520874,1.0800000429153442,1.059999942779541,1.100000023841858,1.0800000429153442,1.149999976158142,1.2599999904632568,1.25,1.1799999475479126,1.25,1.2400000095367432,1.25,1.3600000143051147,1.5,1.4500000476837158,1.440000057220459,1.440000057220459,1.2000000476837158,1.0499999523162842,1.059999942779541,1.190000057220459,1.2000000476837158,1.159999966621399,1.2200000286102295,1.2400000095367432,1.2300000190734863,1.2300000190734863,1.2200000286102295,1.1799999475479126,1.1200000047683716,1.100000023841858,1.100000023841858,1.090000033378601,1.0800000429153442,1.0800000429153442,1.0499999523162842,0.9900000095367432,0.9200000166893005,0.9599999785423279,0.9900000095367432,0.8999999761581421,0.9300000071525574,0.8899999856948853,0.8999999761581421,0.8600000143051147,0.9100000262260437,0.8700000047683716,0.8600000143051147,0.800000011920929,0.8100000023841858,0.800000011920929],"low":[0.699999988079071,0.7400000095367432,0.8100000023841858,0.8299999833106995,0.9200000166893005,0.9800000190734863,0.9900000095367432,1.0199999809265137,1.0299999713897705,1.0499999523162842,1.0700000524520874,1.1200000047683716,1.0499999523162842,1.0499999523162842,1.149999976158142,1.1799999475479126,1.2200000286102295,1.2400000095367432,1.3600000143051147,1.3600000143051147,1.3600000143051147,1.1200000047683716,1.0800000429153442,1.0499999523162842,1.0099999904632568,0.9800000190734863,1.0700000524520874,1.1200000047683716,1.1200000047683716,1.2000000476837158,1.1799999475479126,1.2000000476837158,1.190000057220459,1.100000023841858,1.059999942779541,1.0199999809265137,0.949999988079071,0.9599999785423279,0.9900000095367432,1.0,0.9800000190734863,0.8199999928474426,0.8399999737739563,0.8500000238418579,0.8799999952316284,0.8700000047683716,0.8399999737739563,0.8100000023841858,0.8399999737739563,0.8399999737739563,0.8399999737739563,0.7900000214576721,0.7599999904632568,0.75,0.7699999809265137,0.7599999904632568],"open":[0.8100000023841858,0.75,0.8600000143051147,0.8399999737739563,0.9200000166893005,1.0299999713897705,1.059999942779541,1.0499999523162842,1.059999942779541,1.0800000429153442,1.0800000429153442,1.1200000047683716,1.2400000095367432,1.159999966621399,1.149999976158142,1.1799999475479126,1.2300000190734863,1.2599999904632568,1.3600000143051147,1.4199999570846558,1.3600000143051147,1.4199999570846558,1.159999966621399,1.0499999523162842,1.0299999713897705,1.0199999809265137,1.1699999570846558,1.1200000047683716,1.149999976158142,1.2000000476837158,1.2000000476837158,1.2000000476837158,1.2200000286102295,1.1799999475479126,1.1100000143051147,1.059999942779541,1.0399999618530273,0.9900000095367432,1.0299999713897705,1.059999942779541,1.0,0.9900000095367432,0.8899999856948853,0.8500000238418579,0.9399999976158142,0.8999999761581421,0.8799999952316284,0.8399999737739563,0.8500000238418579,0.8600000143051147,0.8399999737739563,0.8199999928474426,0.8600000143051147,0.7900000214576721,0.800000011920929,0.7699999809265137],"volume":[32216000,21684000,24860000,15348000,0,14060000,13392000,8960000,32984000,11398000,12632000,25752000,17184000,13656000,23412000,4060000,13172000,2767238,19376000,8040000,2728000,18320000,24716000,0,1104000,2976000,1776000,1076000,5072000,1916000,872000,1096000,460000,1456000,1560000,1140000,5632000,22352000,2916000,520000,264000,4100000,1260000,972000,960000,164000,668000,572000,540000,304000,784000,1260000,640000,820000,908000,532000]}],"adjclose":[{"adjclose":[0.7200000286102295,0.8600000143051147,0.8100000023841858,0.9300000071525574,0.9200000166893005,1.0499999523162842,1.0199999809265137,1.059999942779541,1.0399999618530273,1.0700000524520874,1.1399999856948853,1.2300000190734863,1.1699999570846558,1.1699999570846558,1.2000000476837158,1.2200000286102295,1.25,1.340000033378601,1.4199999570846558,1.3799999952316284,1.409999966621399,1.159999966621399,1.0800000429153442,1.0499999523162842,1.0199999809265137,1.1699999570846558,1.1399999856948853,1.149999976158142,1.2000000476837158,1.2200000286102295,1.2100000381469727,1.2300000190734863,1.190000057220459,1.1299999952316284,1.0700000524520874,1.059999942779541,1.0,1.0399999618530273,1.0199999809265137,1.0,0.9900000095367432,0.8999999761581421,0.8500000238418579,0.949999988079071,0.8799999952316284,0.8799999952316284,0.8500000238418579,0.8600000143051147,0.8600000143051147,0.8399999737739563,0.8600000143051147,0.8199999928474426,0.800000011920929,0.800000011920929,0.7699999809265137,0.7900000214576721]}]}}],"error":null}} |