shioaji-holdings-sync:從 Shioaji 拉即時庫存寫入 portfolio_snapshots 表,供持股健檢與系統健康檢查讀取。
mode=NO_AGENT state=scheduled enabled=1
schedule=25 15 * * *
next_run=2026-08-24T15:25:00 last_run=2026-08-23T15:25:57
deliver=telegram model=— provider=—
script=/Users/exion/.hermes/scripts/sync_holdings_from_shioaji.py
monitor_script=— monitor_url=—
skills=[]
workdir=—
prompt_sha256=1097523941b9434b… chars=51
skill_files={}
執行 Shioaji 庫存同步腳本,更新 stock_list.json 的 holdings 陣列。…
| rule | value | source |
|---|---|---|
| EXEC_ID | HERMES_CRON_JOB_ID | CODE_STATIC @sync_holdings_from_shioaji.py:53 |
| MAX_RETRIES | 3 | CODE_STATIC @sync_holdings_from_shioaji.py:58 |
| RETRY_DELAY | 5 | CODE_STATIC @sync_holdings_from_shioaji.py:59 |
| kind | path | name | access |
|---|---|---|---|
| SQLITE_TABLE | self | portfolio_snapshots | read |
| SQLITE_TABLE | self | portfolio_snapshots | write |
| SQLITE_TABLE | self | portfolio_snapshots | write |
Upstream: Intraday Holdings Risk Owner、早盤風向-0945、持股同步觀察清單、盤中13:00帶量長紅K掃描、三大法人買賣超每日更新、個股融資資料爬取
Downstream: 盤後市場宏觀報告、每日帳戶資產記錄、Shioaji每日股價抓取、holdings-deploy、系統健康檢查、持股每日健康檢查、處置股票狀態查詢
Transitive downstream (4): 層零市場風險過濾器 (11c1041f48b4)、週日長紅K回測報告(現行規則:停損+20MA停利) (68ea49353330)、盤中持股即時快照1300 (d94622a2d6b8)、Legacy 13:02 Integrated Shadow Comparison (d03be33d1781)
| type | hard? | from | to | resource | origin | conf | evidence |
|---|---|---|---|---|---|---|---|
| DATA | soft | shioaji-holdings-sync | 系統健康檢查 | sqlite:portfolio_snapshots | STATIC | 0.75 | table 'portfolio_snapshots' write@70a918c3f294(line 203) -> read@565ad371fad2(line 129); table 'portfolio_snapshots' write@70a918c3f294(line 214) -> read@565ad371fad2(line 129) |
| CODE | soft | shioaji-holdings-sync | 盤後市場宏觀報告 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | shioaji-holdings-sync | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | shioaji-holdings-sync | Shioaji每日股價抓取 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | shioaji-holdings-sync | holdings-deploy | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | shioaji-holdings-sync | 持股每日健康檢查 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | shioaji-holdings-sync | 處置股票狀態查詢 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | Intraday Holdings Risk Owner | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 早盤風向-0945 | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 持股同步觀察清單 | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 盤中13:00帶量長紅K掃描 | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 三大法人買賣超每日更新 | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 個股融資資料爬取 | shioaji-holdings-sync | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
failure_streak=0
last_error=—
delivery_error=—
change_risk=CRITICAL