每日帳戶資產記錄:收盤後記錄帳戶淨值到 account_balance 表,追蹤資產曲線。
mode=NO_AGENT state=scheduled enabled=1
schedule=0 16 * * *
next_run=2026-08-24T16:00:00 last_run=2026-08-23T16:00:02
deliver=origin model=— provider=—
script=/Users/exion/.hermes/scripts/record_account_balance.py
monitor_script=— monitor_url=—
skills=[]
workdir=—
prompt_sha256=e3b0c44298fc1c14… chars=0
skill_files={}
…
| rule | value | source |
|---|---|---|
| DB_PATH | ~/.hermes/data/shioaji_kline.db | CODE_STATIC @record_account_balance.py:70 |
| kind | path | name | access |
|---|---|---|---|
| SQLITE_DB | /Users/exion/.hermes/data/shioaji_kline.db | read/write | |
| SQLITE_TABLE | self | cash_flow | read |
| SQLITE_TABLE | self | app_config | read |
| SQLITE_TABLE | self | cash_flow | read |
| SQLITE_TABLE | self | account_balance | read |
| SQLITE_TABLE | self | account_balance | read |
| SQLITE_TABLE | self | account_balance | read |
| SQLITE_TABLE | self | account_balance | read |
| SQLITE_TABLE | self | cash_flow | read |
| SQLITE_TABLE | self | account_balance | read |
| SQLITE_TABLE | self | cash_flow | write |
| SQLITE_TABLE | self | app_config | write |
| SQLITE_TABLE | self | account_balance | write |
| SUBPROCESS | security | execute |
Upstream: Shioaji每日股價抓取、holdings-deploy、持股每日健康檢查、處置股票狀態查詢、週日長紅K回測報告(現行規則:停損+20MA停利)、shioaji-holdings-sync、Intraday Holdings Risk Owner、早盤風向-0945、持股同步觀察清單、盤中13:00帶量長紅K掃描、三大法人買賣超每日更新、盤中持股即時快照1300、個股融資資料爬取
Downstream: 盤後市場宏觀報告、週日長紅K回測報告(現行規則:停損+20MA停利)、盤中持股即時快照1300
Transitive downstream (2): Legacy 13:02 Integrated Shadow Comparison (d03be33d1781)、層零市場風險過濾器 (11c1041f48b4)
| type | hard? | from | to | resource | origin | conf | evidence |
|---|---|---|---|---|---|---|---|
| DATA | soft | 週日長紅K回測報告(現行規則:停損+20MA停利) | 每日帳戶資產記錄 | /users/exion/.hermes/data/shioaji_kline.db | STATIC | 0.35 | shared DB-level resource /users/exion/.hermes/data/shioaji_kline.db (no table evidence) |
| DATA | soft | 盤中持股即時快照1300 | 每日帳戶資產記錄 | /users/exion/.hermes/data/shioaji_kline.db | STATIC | 0.35 | shared DB-level resource /users/exion/.hermes/data/shioaji_kline.db (no table evidence) |
| DATA | soft | 每日帳戶資產記錄 | 週日長紅K回測報告(現行規則:停損+20MA停利) | /users/exion/.hermes/data/shioaji_kline.db | STATIC | 0.35 | shared DB-level resource /users/exion/.hermes/data/shioaji_kline.db (no table evidence) |
| DATA | soft | 每日帳戶資產記錄 | 盤中持股即時快照1300 | /users/exion/.hermes/data/shioaji_kline.db | STATIC | 0.35 | shared DB-level resource /users/exion/.hermes/data/shioaji_kline.db (no table evidence) |
| CODE | soft | 每日帳戶資產記錄 | 盤後市場宏觀報告 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | Shioaji每日股價抓取 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | holdings-deploy | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 持股每日健康檢查 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 處置股票狀態查詢 | 每日帳戶資產記錄 | 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 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 早盤風向-0945 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 持股同步觀察清單 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 盤中13:00帶量長紅K掃描 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 三大法人買賣超每日更新 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
| CODE | soft | 個股融資資料爬取 | 每日帳戶資產記錄 | module:trading_calendar | STATIC | 0.6 | both scripts import shared module 'trading_calendar' |
failure_streak=0
last_error=—
delivery_error=—
change_risk=HIGH