longbridge-security-list

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-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

子命令

Run
longbridge <subcommand> --help
to confirm the current flag spelling and defaults.
CLI commandReturns
longbridge security-list --format json
US overnight-eligible securities
[{symbol, name_en, name_cn}]
.
longbridge participants --format json
HK broker directory
[{broker_id, name_en, name_cn}]
.
⚠️ Scope:
security-list
only exposes the US Overnight category (full HK / A-share / SG catalogs are not available through this endpoint). The CLI returns
Error: Only US market is supported for security-list ...
if you pass
HK / CN / SG
. For non-US listed lookups, route the user to
longbridge-quote
for per-symbol queries.
运行
longbridge <subcommand> --help
确认当前参数拼写及默认值。
CLI 命令返回内容
longbridge security-list --format json
美国隔夜可交易证券列表
[{symbol, name_en, name_cn}]
longbridge participants --format json
港股经纪商目录
[{broker_id, name_en, name_cn}]
⚠️ 范围说明
security-list
仅开放美股隔夜交易品类(完整的港股/A股/新加坡股市目录无法通过该端点获取)。若传入
HK / CN / SG
,CLI会返回
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 json
bash
longbridge security-list      --format json
longbridge participants       --format json

Output

输出内容

  • security-list
    : array of
    {symbol, name_en, name_cn}
    for US overnight-eligible names.
  • participants
    : array of
    {broker_id, name_en, name_cn}
    for HK brokers.
  • security-list
    :美国隔夜可交易标的的
    {symbol, name_en, name_cn}
    数组。
  • participants
    :港股经纪商的
    {broker_id, name_en, name_cn}
    数组。

Error handling

错误处理

If
longbridge
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
longbridge-quote
. Other stderr messages relay verbatim.
longbridge
缺失, fallback至MCP。若stderr显示*"Only US market is supported for security-list"*(非美股市场查询时),请向用户说明范围限制,并提供通过
longbridge-quote
进行单个标的查询的方案。其他stderr信息直接原样转达。

MCP fallback

MCP fallback

CLI subcommandMCP tool
security-list
mcp__longbridge__security_list
participants
mcp__longbridge__participants
CLI子命令MCP工具
security-list
mcp__longbridge__security_list
participants
mcp__longbridge__participants

Related skills

相关技能

  • Single quote / static →
    longbridge-quote
  • broker_id appears in →
    longbridge-depth
    (broker queue)
  • 单个报价/静态数据 →
    longbridge-quote
  • broker_id出现在 →
    longbridge-depth
    (经纪商队列)

File layout

文件结构

longbridge-security-list/
└── SKILL.md          # prompt-only, no scripts/
longbridge-security-list/
└── SKILL.md          # 仅含提示词,无scripts/目录