360 Secure SkillHub
360 安全技能中心

银行外汇牌价

该 Skill 通过 Node 命令行接收银行名称或别名与一个或多个币种,查询支持银行的最新外汇牌价,返回含银行名称、ISO 8601 更新时间及人民币/100 外币买入价和卖出价的 JSON;优先现汇价,缺失时回退现钞价。

lhmcn
lhmcn
热度 72.04
最近更新 2026-05-11 17:31:38
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add chinese-bank-forex-rates
Metadata
name
chinese-bank-forex-rates
description
Use when you need the latest bank forex rates from major Chinese banks by bank name and currency names. Supports 招商银行, 中国银行, 中国农业银行, 中国工商银行, 中国建设银行, and 交通银行, with aliases such as 农行, 工行, 建行, and 交行.

Chinese Bank Forex Rates

Use this skill when you need the latest forex rates for a supported Chinese bank and one or more currencies.

Inputs

  • bank: bank name or alias
  • currencies: one or more currency names or ISO codes

Output

The script returns JSON with:

  • bankName
  • updateTime in ISO 8601 format when normalization is possible
  • rates: list of objects with currencyName, buyPrice, and sellPrice

Prices are standardized to CNY per 100 units of foreign currency, rounded to two decimal places. If the preferred value and configured fallback are both empty, the field is returned as an empty string.

Supported Banks

  • 招商银行
  • 中国银行
  • 中国农业银行
  • 中国工商银行
  • 中国建设银行
  • 交通银行

Price Selection Rule

When a bank exposes explicit 现汇 and 现钞 columns, the implementation uses:

  • buyPrice: prefer 现汇买入价, then 现钞买入价
  • sellPrice: prefer 现汇卖出价, then 现钞卖出价

If a bank only publishes one buy and one sell price, the published pair is used directly.

Invocation

From this skill directory:

node index.js --bank 中国银行 --currencies 美元,EUR