Use this skill when you need the latest forex rates for a supported Chinese bank and one or more currencies.
bank: bank name or alias
currencies: one or more currency names or ISO codes
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.
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.
From this skill directory:
node index.js --bank 中国银行 --currencies 美元,EUR
共 2 个版本