Install
openclaw skills install boc-forex-monitorConfigurable Bank of China forex monitor with per-currency thresholds, price columns, and optional OpenClaw notifications. Use when you want to set up, configure, or troubleshoot a BOC forex cron monitor with quiet hours, baseline comparison, and deduped alerts.
openclaw skills install boc-forex-monitorSet up a configurable Bank of China foreign-exchange monitor with per-currency thresholds and price columns.
scripts/boc_forex_check.py: fetch + parse + compare + trigger generationscripts/boc_forex_cron_runner.py: stable cron entrypoint; runs the checker, formats output, deduplicates, and optionally sends a notificationreferences/configuration.md: configuration knobs and install patternsreferences/configuration.md..openclaw-state/boc-forex-monitor-config.json in your workspace with your desired monitoring targets.<workspace>/scripts/.cron tool.agentTurn payload that only executes the runner script and returns stdout verbatim.Use an isolated agentTurn job. Keep the prompt minimal.
Recommended payload message:
Workdir is <workspace>. Execute:
python3 scripts/boc_forex_cron_runner.py [--notify-channel <channel>] [--notify-target <target>] [--notify-account-id <id>]
Requirements:
1) Reply with stdout only.
2) Do not add explanation.
3) If stdout is empty, reply: ❌ 汇率检查执行失败
Use this cron schedule for every 5 minutes during local daytime trading-watch hours:
{ "kind": "cron", "expr": "*/5 9-22 * * *", "tz": "Asia/Shanghai" }
Before finishing:
python3 scripts/boc_forex_cron_runner.py from the target workspace.✅ 汇率检查完成⏭️ 汇率检查跳过🔔 已触发阈值并发送....openclaw-state/boc-forex-alert-notify-state.json.