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.4 KiB
JSON
1 line
6.4 KiB
JSON
{"chart":{"result":[{"meta":{"currency":"HKD","symbol":"1364.HK","exchangeName":"HKG","fullExchangeName":"HKSE","instrumentType":"EQUITY","firstTradeDate":1739323800,"regularMarketTime":1781510940,"hasPrePostMarketData":false,"gmtoffset":28800,"timezone":"HKT","exchangeTimezoneName":"Asia/Hong_Kong","regularMarketPrice":22.44,"fiftyTwoWeekHigh":31.28,"fiftyTwoWeekLow":20.3,"regularMarketDayHigh":23.44,"regularMarketDayLow":22.16,"regularMarketVolume":2152098,"longName":"Guming Holdings Limited","shortName":"GUMING","chartPreviousClose":10.0,"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":[1739323800,1739410200,1739496600,1739755800,1739842200,1739928600,1740015000,1740101400,1740360600,1740447000,1740533400,1740619800,1740706200,1740965400,1741051800,1741138200,1741224600,1741311000,1741570200,1741656600,1741743000,1741829400,1741915800,1742175000,1742261400,1742347800,1742434200,1742520600,1742779800,1742866200,1742952600,1743039000,1743125400,1743384600,1743471000,1743557400,1743643800,1743989400,1744075800,1744162200,1744248600,1744335000,1744594200,1744680600,1744767000,1744853400,1745285400,1745371800,1745458200,1745544600,1745803800,1745890200,1745976600,1746149400],"indicators":{"quote":[{"volume":[134002435,19094620,8492010,7753210,6148960,3666800,8867800,5910800,4143100,9406840,11839700,11267800,11409900,10057600,4378400,3352400,3572800,7022800,9509400,12722060,10685700,9110536,5981207,3922200,5194400,7926800,9356150,6039398,4667284,2816218,1196540,3707225,2064266,4572627,7216680,5132634,6176000,12530887,3818000,3037100,2294400,1530300,1239600,1800200,1489600,5645000,7007016,5759680,2910010,2749800,4228880,5134000,2881000,2188480],"open":[10.0,8.970000267028809,9.260000228881836,9.399999618530273,9.199999809265137,9.350000381469727,9.699999809265137,10.100000381469727,10.0,10.0,11.0,11.979999542236328,12.539999961853027,11.5,11.380000114440918,11.579999923706055,10.899999618530273,11.239999771118164,11.300000190734863,12.180000305175781,15.300000190734863,14.140000343322754,14.420000076293945,16.200000762939453,16.0,16.079999923706055,17.420000076293945,17.219999313354492,16.020000457763672,17.059999465942383,16.200000762939453,16.34000015258789,17.059999465942383,17.360000610351562,16.700000762939453,18.5,18.5,15.760000228881836,16.0,15.880000114440918,17.399999618530273,16.899999618530273,17.18000030517578,17.15999984741211,16.81999969482422,16.940000534057617,18.0,20.5,21.350000381469727,22.0,21.75,24.299999237060547,25.350000381469727,24.5],"low":[8.930000305175781,8.220000267028809,9.1899995803833,8.970000267028809,9.199999809265137,9.34000015258789,9.510000228881836,9.890000343322754,9.760000228881836,10.0,10.720000267028809,11.699999809265137,11.359999656677246,10.84000015258789,10.65999984741211,10.9399995803833,10.899999618530273,11.0,11.0,11.579999923706055,13.800000190734863,13.520000457763672,14.420000076293945,15.520000457763672,15.520000457763672,15.9399995803833,16.81999969482422,15.260000228881836,15.0,15.399999618530273,15.600000381469727,16.239999771118164,16.760000228881836,15.819999694824219,16.700000762939453,18.440000534057617,18.100000381469727,14.520000457763672,15.5,14.800000190734863,16.420000076293945,16.200000762939453,16.8799991607666,16.65999984741211,16.31999969482422,16.399999618530273,18.0,20.5,21.200000762939453,20.549999237060547,21.75,24.0,24.100000381469727,24.5],"high":[10.399999618530273,9.5,9.510000228881836,9.4399995803833,9.850000381469727,9.779999732971191,10.380000114440918,10.5,10.199999809265137,11.0,11.9399995803833,12.479999542236328,12.800000190734863,11.899999618530273,11.5600004196167,12.0,11.460000038146973,11.579999923706055,13.039999961853027,15.180000305175781,16.959999084472656,16.239999771118164,16.219999313354492,16.799999237060547,16.559999465942383,18.079999923706055,18.84000015258789,17.440000534057617,17.260000228881836,17.68000030517578,16.65999984741211,17.600000381469727,17.579999923706055,17.360000610351562,18.799999237060547,20.399999618530273,19.739999771118164,16.059999465942383,17.0,17.34000015258789,17.920000076293945,17.020000457763672,17.600000381469727,17.65999984741211,17.700000762939453,18.5,20.399999618530273,22.100000381469727,22.799999237060547,22.0,24.25,26.299999237060547,25.950000762939453,26.5],"close":[9.300000190734863,9.15999984741211,9.399999618530273,9.199999809265137,9.720000267028809,9.729999542236328,10.220000267028809,10.0,10.140000343322754,11.0,11.680000305175781,12.399999618530273,11.5,11.380000114440918,11.4399995803833,10.9399995803833,11.239999771118164,11.300000190734863,12.359999656677246,15.039999961853027,14.140000343322754,14.420000076293945,16.200000762939453,15.520000457763672,16.079999923706055,17.940000534057617,17.219999313354492,16.0,17.059999465942383,15.699999809265137,16.420000076293945,17.059999465942383,17.360000610351562,16.579999923706055,18.700000762939453,18.959999084472656,18.360000610351562,15.5,16.059999465942383,17.020000457763672,16.959999084472656,16.799999237060547,17.15999984741211,17.260000228881836,16.940000534057617,17.700000762939453,20.149999618530273,21.399999618530273,22.0,21.600000381469727,24.100000381469727,24.700000762939453,24.5,25.799999237060547]}],"adjclose":[{"adjclose":[8.9586820602417,8.823820114135742,9.055011749267578,8.86235237121582,9.36326789855957,9.372900009155273,9.844917297363281,9.632991790771484,9.767853736877441,10.596290588378906,11.251334190368652,11.94490909576416,11.077939987182617,10.9623441696167,11.0201416015625,10.538492202758789,10.827482223510742,10.88528060913086,11.906376838684082,14.488018989562988,13.621050834655762,13.89077377319336,15.605446815490723,14.950403213500977,15.489850044250488,17.281587600708008,16.588010787963867,15.412786483764648,16.433883666992188,15.123796463012695,15.81737232208252,16.433883666992188,16.72287368774414,15.971500396728516,18.013694763183594,18.264150619506836,17.686172485351562,14.931137084960938,15.47058391571045,16.39535140991211,16.337553024291992,16.183425903320312,16.530214309692383,16.626543045043945,16.318288803100586,17.050395965576172,19.410476684570312,20.614601135253906,21.192581176757812,20.807262420654297,23.21550941467285,23.793489456176758,23.600830078125,24.853116989135742]}]}}],"error":null}} |