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
5.6 KiB
JSON
1 line
5.6 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"2670.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1760578200,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":276.2,"fiftyTwoWeekHigh":358.4,"fiftyTwoWeekLow":100.8,"regularMarketDayHigh":299.0,"regularMarketDayLow":260.0,"regularMarketVolume":40150,"longName":"Beijing Yunji Technology Co., Ltd.","shortName":"YUNJI","chartPreviousClose":142.8,"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","ytd","max"]},"timestamp":[1760578200,1760664600,1760923800,1761010200,1761096600,1761183000,1761269400,1761528600,1761615000,1761787800,1761874200,1762133400,1762219800,1762306200,1762392600,1762479000,1762738200,1762824600,1762911000,1762997400,1763083800,1763343000,1763429400,1763515800,1763602200,1763688600,1763947800,1764034200,1764120600,1764207000,1764293400,1764552600,1764639000,1764725400,1764811800,1764898200,1765157400,1765243800,1765330200,1765416600,1765503000,1765762200,1765848600,1765935000,1766021400,1766107800,1766367000,1766453400,1766539800,1766971800,1767058200,1767144600,1767317400],"indicators":{"quote":[{"open":[142.8000030517578,124.80000305175781,110.0,131.3000030517578,126.19999694824219,119.0999984741211,125.69999694824219,123.0,114.5,110.4000015258789,113.30000305175781,110.0,110.5999984741211,101.80000305175781,103.30000305175781,102.0,102.4000015258789,103.0,104.0,111.80000305175781,110.0999984741211,114.0,110.0,113.9000015258789,120.0,123.5999984741211,117.30000305175781,124.0,124.30000305175781,125.0999984741211,127.80000305175781,129.39999389648438,138.60000610351562,154.10000610351562,175.10000610351562,187.5,189.3000030517578,186.10000610351562,166.8000030517578,177.0,165.0,161.39999389648438,162.8000030517578,154.39999389648438,148.3000030517578,130.60000610351562,126.0,117.0999984741211,113.80000305175781,114.5,113.5999984741211,109.0999984741211,108.0],"high":[142.8000030517578,124.80000305175781,130.10000610351562,136.0,126.19999694824219,125.5999984741211,125.80000305175781,123.0,114.69999694824219,118.0,116.80000305175781,112.0999984741211,113.30000305175781,105.0,104.30000305175781,103.0,105.9000015258789,104.5,111.80000305175781,116.19999694824219,115.5999984741211,115.0999984741211,114.0,122.9000015258789,128.5,125.0,124.9000015258789,127.5999984741211,128.89999389648438,128.60000610351562,130.0,139.60000610351562,154.6999969482422,173.89999389648438,188.8000030517578,197.60000610351562,198.0,187.0,175.5,177.5,169.3000030517578,169.3000030517578,167.89999389648438,154.39999389648438,148.3000030517578,132.0,129.0,123.19999694824219,113.80000305175781,127.30000305175781,116.9000015258789,109.0999984741211,115.0],"close":[120.5,107.0,130.10000610351562,127.0,121.0999984741211,123.5,120.0999984741211,114.5,109.4000015258789,114.0,111.0999984741211,110.5999984741211,104.0,103.30000305175781,103.0,102.4000015258789,102.80000305175781,104.0,111.80000305175781,115.19999694824219,114.4000015258789,113.0,112.0999984741211,120.19999694824219,126.19999694824219,117.30000305175781,124.0,127.30000305175781,126.80000305175781,127.80000305175781,129.5,138.60000610351562,154.10000610351562,173.0,187.5,189.3000030517578,184.6999969482422,167.6999969482422,175.0,165.3000030517578,161.39999389648438,162.8000030517578,154.39999389648438,148.3000030517578,130.60000610351562,123.30000305175781,116.5,115.0,113.80000305175781,113.5999984741211,110.30000305175781,109.0999984741211,110.0],"volume":[3230450,636680,491540,333470,152550,131320,64850,173850,217900,137750,63950,29850,219216,51600,40300,35200,34100,39500,110400,87850,54700,61650,53850,184650,141100,92000,94550,116450,68500,52750,71350,171200,266780,274218,356000,186850,260550,337752,139191,49750,53150,128400,82850,78800,95100,77450,57650,79200,0,86372,53050,0,50700],"low":[120.0999984741211,104.0,109.4000015258789,123.80000305175781,115.0999984741211,113.19999694824219,120.0,113.80000305175781,107.5,110.4000015258789,110.5999984741211,108.19999694824219,102.0,101.0,102.0,100.80000305175781,102.0,101.0,102.30000305175781,105.30000305175781,109.0,104.0,108.0,112.0999984741211,118.0,116.19999694824219,109.0,120.0,124.0999984741211,124.4000015258789,125.5,128.5,134.0,152.89999389648438,168.10000610351562,181.10000610351562,171.89999389648438,157.0,150.0,164.89999389648438,160.39999389648438,152.0,153.0,145.89999389648438,129.8000030517578,121.0,115.80000305175781,112.5,113.80000305175781,112.19999694824219,109.0,109.0999984741211,108.0]}],"adjclose":[{"adjclose":[120.5,107.0,130.10000610351562,127.0,121.0999984741211,123.5,120.0999984741211,114.5,109.4000015258789,114.0,111.0999984741211,110.5999984741211,104.0,103.30000305175781,103.0,102.4000015258789,102.80000305175781,104.0,111.80000305175781,115.19999694824219,114.4000015258789,113.0,112.0999984741211,120.19999694824219,126.19999694824219,117.30000305175781,124.0,127.30000305175781,126.80000305175781,127.80000305175781,129.5,138.60000610351562,154.10000610351562,173.0,187.5,189.3000030517578,184.6999969482422,167.6999969482422,175.0,165.3000030517578,161.39999389648438,162.8000030517578,154.39999389648438,148.3000030517578,130.60000610351562,123.30000305175781,116.5,115.0,113.80000305175781,113.5999984741211,110.30000305175781,109.0999984741211,110.0]}]}}],"error":null}} |