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.1 KiB
JSON
1 line
6.1 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2533.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1723080600,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":13.32,"fiftyTwoWeekHigh":26.38,"fiftyTwoWeekLow":12.55,"regularMarketDayHigh":13.86,"regularMarketDayLow":13.27,"regularMarketVolume":3343700,"longName":"Black Sesame International Holding Limited","shortName":"BLACK SESAME","chartPreviousClose":18.8,"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","ytd","max"]},"timestamp":[1723080600,1723167000,1723426200,1723512600,1723599000,1723685400,1723771800,1724031000,1724117400,1724203800,1724290200,1724376600,1724635800,1724722200,1724808600,1724895000,1724981400,1725240600,1725327000,1725413400,1725499800,1725845400,1725931800,1726018200,1726104600,1726191000,1726450200,1726536600,1726709400,1726795800,1727055000,1727141400,1727227800,1727314200,1727400600,1727659800,1727832600,1727919000,1728005400,1728264600,1728351000,1728437400,1728523800,1728869400,1728955800,1729042200,1729128600,1729215000,1729474200,1729560600,1729647000,1729733400,1729819800],"indicators":{"quote":[{"open":[18.799999237060547,21.0,21.0,20.399999618530273,19.5,20.149999618530273,20.149999618530273,19.979999542236328,20.100000381469727,19.579999923706055,19.579999923706055,19.459999084472656,19.959999084472656,20.450000762939453,20.200000762939453,20.399999618530273,24.950000762939453,25.950000762939453,21.899999618530273,21.950000762939453,22.100000381469727,21.799999237060547,21.700000762939453,21.799999237060547,21.299999237060547,22.0,23.0,21.049999237060547,21.0,21.049999237060547,21.350000381469727,22.399999618530273,25.25,24.799999237060547,26.799999237060547,30.200000762939453,31.700000762939453,31.299999237060547,26.799999237060547,30.0,28.799999237060547,26.950000762939453,26.700000762939453,27.0,26.799999237060547,25.100000381469727,24.399999618530273,22.549999237060547,25.450000762939453,26.0,25.049999237060547,25.5,23.549999237060547],"volume":[3326300,829100,287000,293600,1077900,80000,116200,95200,42500,77100,103000,114700,146100,50100,68800,985800,1011900,665500,226800,348300,159800,51500,126700,28700,28800,379700,346100,134800,57400,51000,579900,1541200,759600,858800,1151000,964900,494500,402100,347700,359805,249605,155400,120300,68600,92500,91200,128200,80900,112100,28000,28500,124300,146940],"close":[20.450000762939453,21.5,20.399999618530273,19.5,20.399999618530273,20.149999618530273,19.979999542236328,20.100000381469727,19.68000030517578,19.579999923706055,19.700000762939453,19.920000076293945,20.450000762939453,20.200000762939453,20.399999618530273,22.950000762939453,26.200000762939453,21.899999618530273,21.950000762939453,22.100000381469727,21.799999237060547,21.399999618530273,21.950000762939453,21.600000381469727,22.0,22.600000381469727,20.899999618530273,21.0,21.5,21.600000381469727,22.450000762939453,24.899999618530273,24.799999237060547,26.799999237060547,30.200000762939453,31.700000762939453,31.399999618530273,27.0,29.5,29.700000762939453,26.799999237060547,26.700000762939453,27.200000762939453,26.799999237060547,25.850000381469727,23.649999618530273,22.450000762939453,24.450000762939453,26.0,25.049999237060547,24.799999237060547,23.450000762939453,22.600000381469727],"low":[18.280000686645508,20.799999237060547,20.399999618530273,19.059999465942383,19.5,20.049999237060547,19.5,19.5,19.600000381469727,19.280000686645508,19.34000015258789,19.440000534057617,19.959999084472656,19.920000076293945,20.200000762939453,20.0,23.049999237060547,21.600000381469727,21.700000762939453,20.399999618530273,21.25,20.649999618530273,21.399999618530273,21.600000381469727,21.299999237060547,21.649999618530273,19.0,20.700000762939453,21.0,21.0,21.299999237060547,22.299999237060547,23.399999618530273,24.799999237060547,26.350000381469727,30.200000762939453,29.850000381469727,26.75,25.549999237060547,29.25,26.549999237060547,25.5,26.450000762939453,25.25,25.299999237060547,23.649999618530273,22.450000762939453,22.549999237060547,23.600000381469727,24.299999237060547,24.299999237060547,23.299999237060547,22.5],"high":[22.799999237060547,22.5,21.950000762939453,20.399999618530273,21.450000762939453,20.899999618530273,20.399999618530273,20.399999618530273,20.100000381469727,19.920000076293945,20.0,20.5,21.100000381469727,20.5,21.0,23.299999237060547,27.899999618530273,25.950000762939453,23.0,22.5,22.25,21.799999237060547,22.200000762939453,22.0,22.0,23.0,23.0,21.299999237060547,21.600000381469727,21.600000381469727,23.5,25.399999618530273,26.149999618530273,26.950000762939453,31.0,32.20000076293945,32.900001525878906,31.299999237060547,30.25,33.25,30.0,28.5,27.75,27.25,27.100000381469727,25.350000381469727,25.450000762939453,24.950000762939453,26.450000762939453,26.299999237060547,25.149999618530273,26.950000762939453,24.5]}],"adjclose":[{"adjclose":[20.450000762939453,21.5,20.399999618530273,19.5,20.399999618530273,20.149999618530273,19.979999542236328,20.100000381469727,19.68000030517578,19.579999923706055,19.700000762939453,19.920000076293945,20.450000762939453,20.200000762939453,20.399999618530273,22.950000762939453,26.200000762939453,21.899999618530273,21.950000762939453,22.100000381469727,21.799999237060547,21.399999618530273,21.950000762939453,21.600000381469727,22.0,22.600000381469727,20.899999618530273,21.0,21.5,21.600000381469727,22.450000762939453,24.899999618530273,24.799999237060547,26.799999237060547,30.200000762939453,31.700000762939453,31.399999618530273,27.0,29.5,29.700000762939453,26.799999237060547,26.700000762939453,27.200000762939453,26.799999237060547,25.850000381469727,23.649999618530273,22.450000762939453,24.450000762939453,26.0,25.049999237060547,24.799999237060547,23.450000762939453,22.600000381469727]}]}}],"error":null}} |