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.7 KiB
JSON
1 line
6.7 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2529.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1715909400,"regularMarketTime":1781492974,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":2.79,"fiftyTwoWeekHigh":3.35,"fiftyTwoWeekLow":2.53,"regularMarketDayHigh":2.79,"regularMarketDayLow":2.79,"regularMarketVolume":1000,"longName":"Hollwin Urban Operation Service Group Co., Ltd","shortName":"HOLLWIN URBAN","chartPreviousClose":3.46,"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":[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,1721007000,1721093400,1721179800,1721266200,1721352600,1721611800,1721698200,1721784600,1721871000,1721957400,1722216600,1722303000,1722389400,1722475800,1722562200,1722821400],"indicators":{"quote":[{"open":[3.4600000381469727,3.2100000381469727,3.0399999618530273,2.7100000381469727,2.7200000286102295,2.680000066757202,2.5999999046325684,2.5199999809265137,2.359999895095825,2.380000114440918,2.4100000858306885,2.6700000762939453,2.859999895095825,2.9600000381469727,2.9200000762939453,3.0199999809265137,3.009999990463257,2.9700000286102295,2.9000000953674316,2.9000000953674316,2.9000000953674316,2.9000000953674316,2.990000009536743,2.9600000381469727,2.940000057220459,2.890000104904175,2.799999952316284,2.8399999141693115,2.8399999141693115,2.75,2.619999885559082,2.5999999046325684,2.5999999046325684,2.640000104904175,2.5399999618530273,2.5399999618530273,2.7799999713897705,3.0,3.0,3.0,3.0,2.990000009536743,2.809999942779541,2.8399999141693115,2.700000047683716,2.950000047683716,2.9000000953674316,2.990000009536743,2.9800000190734863,2.990000009536743,2.9100000858306885,2.9000000953674316,3.049999952316284,2.9700000286102295,2.8499999046325684],"high":[3.6500000953674316,3.299999952316284,3.049999952316284,2.9100000858306885,2.8299999237060547,2.7100000381469727,2.5999999046325684,2.5799999237060547,2.430000066757202,2.4600000381469727,2.799999952316284,2.8299999237060547,2.9700000286102295,3.009999990463257,3.0399999618530273,3.1600000858306885,3.1500000953674316,2.9700000286102295,2.9100000858306885,2.950000047683716,2.9600000381469727,2.9600000381469727,2.9800000190734863,2.9800000190734863,2.9600000381469727,2.9100000858306885,2.8499999046325684,2.8399999141693115,2.8399999141693115,2.799999952316284,2.7899999618530273,2.7300000190734863,2.700000047683716,2.640000104904175,2.549999952316284,2.7699999809265137,3.0299999713897705,3.049999952316284,3.0,3.0,3.0,3.0,2.9800000190734863,2.9000000953674316,3.0399999618530273,3.0199999809265137,3.0,2.990000009536743,2.9800000190734863,2.9700000286102295,2.9100000858306885,3.0299999713897705,3.049999952316284,2.9700000286102295,2.880000114440918],"volume":[11580000,3582000,2073000,1538000,375000,691000,568500,638000,260000,175000,730000,1040000,748000,318000,467000,648000,336000,191000,159000,70000,157000,277000,132200,258000,178000,207000,39000,34000,18000,203000,43000,29000,87000,90000,147000,255000,585000,167000,76000,26000,143000,168000,35000,21000,1615000,171000,94000,0,160000,18000,0,140000,24000,0,49000],"close":[3.2100000381469727,3.0399999618530273,2.7100000381469727,2.75,2.7100000381469727,2.5799999237060547,2.509999990463257,2.4200000762939453,2.4000000953674316,2.4100000858306885,2.680000066757202,2.7799999713897705,2.9200000762939453,2.9200000762939453,3.0,3.059999942779541,2.9700000286102295,2.9000000953674316,2.9100000858306885,2.950000047683716,2.9600000381469727,2.950000047683716,2.9700000286102295,2.9800000190734863,2.9600000381469727,2.8399999141693115,2.8399999141693115,2.8399999141693115,2.75,2.799999952316284,2.740000009536743,2.7200000286102295,2.640000104904175,2.5399999618530273,2.5399999618530273,2.759999990463257,3.0,3.0299999713897705,3.0,3.0,3.0,2.9800000190734863,2.9800000190734863,2.9000000953674316,3.0399999618530273,3.0,3.0,2.990000009536743,2.9700000286102295,2.9100000858306885,2.9100000858306885,3.0299999713897705,3.0299999713897705,2.9700000286102295,2.8299999237060547],"low":[3.0999999046325684,3.0299999713897705,2.700000047683716,2.4700000286102295,2.630000114440918,2.549999952316284,2.4700000286102295,2.3499999046325684,2.3399999141693115,2.3499999046325684,2.3499999046325684,2.5399999618530273,2.8499999046325684,2.9000000953674316,2.9000000953674316,3.0,2.9000000953674316,2.9000000953674316,2.869999885559082,2.890000104904175,2.9000000953674316,2.9000000953674316,2.9000000953674316,2.9600000381469727,2.930000066757202,2.740000009536743,2.799999952316284,2.8399999141693115,2.75,2.549999952316284,2.619999885559082,2.5999999046325684,2.549999952316284,2.509999990463257,2.5399999618530273,2.5399999618530273,2.7799999713897705,2.940000057220459,2.9600000381469727,3.0,2.990000009536743,2.880000114440918,2.809999942779541,2.8399999141693115,2.640000104904175,2.950000047683716,2.9000000953674316,2.990000009536743,2.9800000190734863,2.9100000858306885,2.9100000858306885,2.9000000953674316,3.0299999713897705,2.9700000286102295,2.819999933242798]}],"adjclose":[{"adjclose":[2.4729487895965576,2.34198260307312,2.087754011154175,2.1185696125030518,2.087754011154175,1.9876034259796143,1.9336763620376587,1.864341378211975,1.848933458328247,1.8566373586654663,2.0646424293518066,2.14168119430542,2.2495357990264893,2.2495357990264893,2.311167001724243,2.3573899269104004,2.288055181503296,2.234127998352051,2.2418320178985596,2.2726476192474365,2.280351400375366,2.2726476192474365,2.288055181503296,2.2957589626312256,2.280351400375366,2.1879045963287354,2.1879045963287354,2.1879045963287354,2.1185696125030518,2.1570889949798584,2.110865592956543,2.0954577922821045,2.033827066421509,1.9567879438400269,1.9567879438400269,2.1262733936309814,2.311167001724243,2.3342785835266113,2.311167001724243,2.311167001724243,2.311167001724243,2.2957589626312256,2.2957589626312256,2.234127998352051,2.34198260307312,2.311167001724243,2.311167001724243,2.3034632205963135,2.288055181503296,2.2418320178985596,2.2418320178985596,2.3342785835266113,2.3342785835266113,2.288055181503296,2.1802008152008057]}]}}],"error":null}} |