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":"2481.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1688952600,"regularMarketTime":1781234670,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.48,"fiftyTwoWeekHigh":3.4,"fiftyTwoWeekLow":2.41,"regularMarketDayHigh":2.48,"regularMarketDayLow":2.48,"regularMarketVolume":15000,"longName":"Wise Living Technology Co., Ltd","shortName":"SL GEMINI","chartPreviousClose":3.6,"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","1y","2y","5y","ytd","max"]},"timestamp":[1688952600,1689039000,1689125400,1689211800,1689298200,1689643800,1689730200,1689816600,1689903000,1690162200,1690248600,1690335000,1690421400,1690507800,1690767000,1690853400,1690939800,1691026200,1691112600,1691371800,1691458200,1691544600,1691631000,1691717400,1691976600,1692063000,1692149400,1692235800,1692322200,1692581400,1692667800,1692754200,1692840600,1692927000,1693186200,1693272600,1693359000,1693445400,1693791000,1693877400,1693963800,1694050200,1694395800,1694482200,1694568600,1694655000,1694741400,1695000600,1695087000,1695173400,1695259800,1695346200,1695605400,1695691800,1695778200,1695864600],"indicators":{"quote":[{"open":[3.5999999046325684,3.430000066757202,3.180000066757202,2.799999952316284,2.950000047683716,3.0799999237060547,2.8399999141693115,2.809999942779541,2.680000066757202,2.5899999141693115,2.5199999809265137,2.7799999713897705,2.7100000381469727,2.690000057220459,2.8299999237060547,2.880000114440918,2.950000047683716,2.869999885559082,2.869999885559082,2.8399999141693115,2.8499999046325684,2.8399999141693115,2.799999952316284,2.7899999618530273,2.700000047683716,2.7200000286102295,2.700000047683716,2.740000009536743,2.7300000190734863,2.6700000762939453,2.6700000762939453,2.509999990463257,2.7100000381469727,2.6600000858306885,2.559999942779541,2.5299999713897705,2.559999942779541,2.5199999809265137,2.5899999141693115,2.6600000858306885,2.5199999809265137,2.5299999713897705,2.5899999141693115,2.5,2.5899999141693115,2.5799999237060547,2.4800000190734863,2.490000009536743,2.5299999713897705,2.4800000190734863,2.759999990463257,2.700000047683716,2.6700000762939453,2.6700000762939453,2.5799999237060547,2.569999933242798],"volume":[10561000,440000,1773000,1377000,1704000,178000,875000,3181000,245000,116000,157000,90000,35000,286000,68000,174000,31000,6000,80000,35000,32000,37000,12000,24000,13000,16000,1046000,1000,20000,0,0,15000,15000,1000,16000,96000,92000,3000,61000,81000,18000,58000,0,31000,0,27000,42000,31000,0,38000,93000,0,0,0,2000,71000],"low":[3.319999933242798,3.2300000190734863,2.9200000762939453,2.7300000190734863,2.950000047683716,2.8299999237060547,2.7300000190734863,2.680000066757202,2.5,2.5,2.5,2.7100000381469727,2.690000057220459,2.690000057220459,2.819999933242798,2.880000114440918,2.799999952316284,2.869999885559082,2.859999895095825,2.8399999141693115,2.8499999046325684,2.799999952316284,2.799999952316284,2.7899999618530273,2.700000047683716,2.7200000286102295,2.5999999046325684,2.740000009536743,2.7300000190734863,2.6700000762939453,2.6700000762939453,2.509999990463257,2.6600000858306885,2.6600000858306885,2.559999942779541,2.5299999713897705,2.509999990463257,2.5199999809265137,2.5199999809265137,2.5299999713897705,2.5199999809265137,2.450000047683716,2.5899999141693115,2.5,2.5899999141693115,2.5,2.4800000190734863,2.430000066757202,2.5299999713897705,2.4800000190734863,2.700000047683716,2.700000047683716,2.6700000762939453,2.6700000762939453,2.5799999237060547,2.569999933242798],"high":[3.619999885559082,3.549999952316284,3.180000066757202,3.0799999237060547,3.140000104904175,3.0799999237060547,2.8399999141693115,2.859999895095825,2.680000066757202,2.640000104904175,2.799999952316284,2.7799999713897705,2.7200000286102295,2.9000000953674316,2.950000047683716,3.0,2.950000047683716,2.869999885559082,2.9000000953674316,2.859999895095825,2.880000114440918,2.8499999046325684,2.809999942779541,2.7899999618530273,2.7200000286102295,2.7300000190734863,2.740000009536743,2.740000009536743,2.7300000190734863,2.6700000762939453,2.6700000762939453,2.6700000762939453,2.7100000381469727,2.6600000858306885,2.6500000953674316,2.619999885559082,2.559999942779541,2.5899999141693115,2.690000057220459,2.6600000858306885,2.5899999141693115,2.5299999713897705,2.5899999141693115,2.5899999141693115,2.5899999141693115,2.5799999237060547,2.549999952316284,2.5,2.5299999713897705,2.6700000762939453,2.880000114440918,2.700000047683716,2.6700000762939453,2.6700000762939453,2.5799999237060547,2.5799999237060547],"close":[3.5999999046325684,3.2300000190734863,2.950000047683716,2.950000047683716,3.0799999237060547,2.890000104904175,2.809999942779541,2.7200000286102295,2.569999933242798,2.5199999809265137,2.799999952316284,2.7100000381469727,2.690000057220459,2.8299999237060547,2.880000114440918,2.950000047683716,2.859999895095825,2.869999885559082,2.859999895095825,2.8499999046325684,2.8499999046325684,2.799999952316284,2.799999952316284,2.7899999618530273,2.7300000190734863,2.7300000190734863,2.619999885559082,2.7300000190734863,2.7200000286102295,2.6700000762939453,2.6700000762939453,2.6700000762939453,2.680000066757202,2.6600000858306885,2.6500000953674316,2.559999942779541,2.5999999046325684,2.5899999141693115,2.680000066757202,2.5399999618530273,2.5899999141693115,2.5,2.5899999141693115,2.5899999141693115,2.5899999141693115,2.5399999618530273,2.5399999618530273,2.5399999618530273,2.5299999713897705,2.75,2.700000047683716,2.700000047683716,2.6700000762939453,2.6700000762939453,2.5799999237060547,2.5799999237060547]}],"adjclose":[{"adjclose":[2.9220917224884033,2.6217658519744873,2.3944919109344482,2.3944919109344482,2.500011920928955,2.3457906246185303,2.280855178833008,2.2078030109405518,2.0860488414764404,2.045464277267456,2.272738218307495,2.19968581199646,2.1834523677825928,2.297088861465454,2.3376739025115967,2.3944919109344482,2.321439504623413,2.329556465148926,2.321439504623413,2.3133227825164795,2.3133227825164795,2.272738218307495,2.272738218307495,2.2646212577819824,2.2159197330474854,2.2159197330474854,2.126633644104004,2.2159197330474854,2.2078030109405518,2.1672182083129883,2.1672182083129883,2.1672182083129883,2.175335168838501,2.1591012477874756,2.150984287261963,2.077932119369507,2.1103997230529785,2.102283000946045,2.175335168838501,2.0616981983184814,2.102283000946045,2.0292305946350098,2.102283000946045,2.102283000946045,2.102283000946045,2.0616981983184814,2.0616981983184814,2.0616981983184814,2.053581476211548,2.2321536540985107,2.1915690898895264,2.1915690898895264,2.1672182083129883,2.1672182083129883,2.094165563583374,2.094165563583374]}]}}],"error":null}} |