← 返回
未分类 中文

FX Monitor

Monitor Bank of China FX rates and manage reusable GBP/HKD/JPY alert workflows. Use when the task involves checking current BOC exchange rates, comparing the...
监控中国银行外汇汇率并管理可复用的英镑/港币/日元提醒工作流。用于查询当前中行汇率、比较……
xiehuapeng xiehuapeng 来源
未分类 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 507
下载
💾 4
安装
1
版本
#latest

概述

Fx Monitor

Use the bundled portable checker instead of relying on host-specific scripts.

Workflow

  1. Run python3 /home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py.
  2. Parse the key-value output.
  3. Handle results by STATUS:
    • ALERT: send one concise Chinese alert message.
    • NO_ALERT: return NO_REPLY unless the user explicitly asked for a status report.
    • ERROR: report a short Chinese failure message with MESSAGE.

Output rules

For alert messages:

  • Start with 【汇率告警】.
  • Include the Bank of China page publish time.
  • Mention all triggered conditions naturally in one sentence.
  • Prefer the wording pattern 英镑现汇卖出价下跌 ... / 港币现汇买入价上涨 ... / 日元现汇卖出价下跌 ....
  • Include comparison values when available.

If the user asks for a normal status report instead of an alert-only run, include:

  • whether an alert triggered
  • current GBP spot sell
  • current HKD spot buy
  • current JPY spot sell
  • page publish time
  • whether this run wrote a new history snapshot implicitly from the returned data when relevant

Bundled files

  • Checker script: /home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py
  • Default history CSV: /home/xhp/.openclaw/workspace/skills/fx-monitor/data/boc_fx_history.csv

Notes

  • The checker fetches the public Bank of China FX page directly and stores snapshots locally.
  • The first successful run usually creates the baseline history row and returns NO_ALERT; comparison-based alerts begin once at least two snapshots exist.
  • If the task is about cron management, keep only the FX monitor cron enabled unless the user asks otherwise.
  • If a user wants custom thresholds or another history file path, pass CLI flags instead of editing the script first.

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-30 13:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 273 📥 100,727
data-analysis

Stock Watcher

robin797860
管理和监控个人股票自选列表,支持利用同花顺数据添加、删除、列出股票及汇总近期表现。适用于用户希望追踪特定股票、获取表现汇总或管理自选列表时。
★ 112 📥 46,598
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 211 📥 69,689