longbridge-security-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-security-list
longbridge-security-list
Catalog lookups: US overnight-eligible securities, and the HK broker_id → name dictionary.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
目录查询:美国隔夜可交易证券,以及港股broker_id与名称的对应字典。
响应语言:匹配用户输入语言——简体中文 / 繁体中文 / 英文。
Subcommands
子命令
Runto confirm the current flag spelling and defaults.longbridge <subcommand> --help
| CLI command | Returns |
|---|---|
| US overnight-eligible securities |
| HK broker directory |
⚠️ Scope:only exposes the US Overnight category (full HK / A-share / SG catalogs are not available through this endpoint). The CLI returnssecurity-listif you passError: Only US market is supported for security-list .... For non-US listed lookups, route the user toHK / CN / SGfor per-symbol queries.longbridge-quote
运行确认当前参数拼写及默认值。longbridge <subcommand> --help
| CLI 命令 | 返回内容 |
|---|---|
| 美国隔夜可交易证券列表 |
| 港股经纪商目录 |
⚠️ 范围说明:仅开放美股隔夜交易品类(完整的港股/A股/新加坡股市目录无法通过该端点获取)。若传入security-list,CLI会返回HK / CN / SG。对于非美股上市标的查询,请引导用户使用Error: Only US market is supported for security-list ...进行单个标的查询。longbridge-quote
When to use
使用场景
- "美股 overnight 哪些股票", "US overnight tradable count" →
security-list - "经纪商 ID 9000 是谁", "broker 0001" →
participants - "翻译一下经纪商列表" →
participants - "港股 / A 股一共多少只", "list of HK / CN stocks" → not in scope; explain the scope limit and offer per-symbol lookup via .
longbridge-quote
- "美股 overnight 哪些股票"、"US overnight tradable count" → 使用
security-list - "经纪商 ID 9000 是谁"、"broker 0001" → 使用
participants - "翻译一下经纪商列表" → 使用
participants - "港股 / A 股一共多少只"、"list of HK / CN stocks" → 不在范围内;请向用户说明范围限制,并提供通过进行单个标的查询的方案。
longbridge-quote
Usage rules
使用规则
- For "how many" questions, reply with the array length; do not dump the full payload.
- For broker_id translation, find the matching row instead of dumping the whole directory.
- For "list all stocks" requests in non-US markets, ask the user to narrow scope (industry, name search) and route them to .
longbridge-quote
- 对于“数量多少”类问题,返回数组长度;不要输出完整的返回数据。
- 对于broker_id翻译,查找匹配的条目而非输出整个目录。
- 若用户请求非美股市场的“所有股票列表”,请让用户缩小范围(行业、名称搜索)并引导至。
longbridge-quote
CLI
CLI
bash
longbridge security-list --format json
longbridge participants --format jsonbash
longbridge security-list --format json
longbridge participants --format jsonOutput
输出内容
- : array of
security-listfor US overnight-eligible names.{symbol, name_en, name_cn} - : array of
participantsfor HK brokers.{broker_id, name_en, name_cn}
- :美国隔夜可交易标的的
security-list数组。{symbol, name_en, name_cn} - :港股经纪商的
participants数组。{broker_id, name_en, name_cn}
Error handling
错误处理
If is missing, fall back to MCP. If stderr says "Only US market is supported for security-list" on a non-US market query, explain the scope limit to the user and offer per-symbol lookup via . Other stderr messages relay verbatim.
longbridgelongbridge-quote若缺失, fallback至MCP。若stderr显示*"Only US market is supported for security-list"*(非美股市场查询时),请向用户说明范围限制,并提供通过进行单个标的查询的方案。其他stderr信息直接原样转达。
longbridgelongbridge-quoteMCP fallback
MCP fallback
| CLI subcommand | MCP tool |
|---|---|
| |
| |
| CLI子命令 | MCP工具 |
|---|---|
| |
| |
Related skills
相关技能
- Single quote / static →
longbridge-quote - broker_id appears in → (broker queue)
longbridge-depth
- 单个报价/静态数据 →
longbridge-quote - broker_id出现在 → (经纪商队列)
longbridge-depth
File layout
文件结构
longbridge-security-list/
└── SKILL.md # prompt-only, no scripts/longbridge-security-list/
└── SKILL.md # 仅含提示词,无scripts/目录