Loading...
Loading...
Foreign-exchange rates for all currencies supported by Longbridge Securities — HKD / USD / CNY / SGD / EUR / GBP / JPY / etc. Use to convert multi-currency holdings, normalise account values, or quote a cross-rate. Light-touch utility skill, no login required. Triggers: "汇率", "美元兑港币", "人民币兑美元", "港币换美金", "今天汇率", "USD HKD", "CNY USD", "外汇", "匯率", "美元兌港幣", "人民幣兌美元", "港幣換美金", "今天匯率", "外匯", "exchange rate", "fx rate", "currency conversion", "USD to HKD", "HKD to USD", "CNY to USD", "JPY to USD", "convert HKD to USD", "1 USD in HKD".
npx skill4agent add longbridge/skills longbridge-fxResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
USD/HKD100 / (USD/HKD)100 * (HKD/USD)CNY/USDCNH/USDEUR/JPY = (EUR/USD) / (JPY/USD)Single CLI command, no arguments beyond format. Runif unsure of current flags.longbridge exchange-rate --help
longbridge exchange-rate --format jsonlongbridge exchange-rate --format jsonBASE/QUOTEA/B = (A/USD) / (B/USD)# Full rate table
longbridge exchange-rate --format json| Field | Meaning |
|---|---|
| e.g. |
| numeric exchange rate |
| as-of time |
| Situation | LLM response |
|---|---|
Shell | Fall back to MCP if configured; otherwise tell the user to install longbridge-terminal. |
| Empty array | Unusual — relay verbatim and tell the user to retry shortly. |
| Pair not in response | "Longbridge doesn't quote |
| Other stderr | Surface verbatim. |
| CLI subcommand | MCP tool |
|---|---|
| |
| User asks | Route to |
|---|---|
| Multi-currency holdings normalised to one base | |
| Account-level performance with currency exposure | |
| Statement export with FX legs | |
| Stock quote in native currency | |
longbridge-fx/
└── SKILL.md # prompt-only, no scripts/