longbridge-watchlist
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-watchlist
longbridge-watchlist
Read-only listing of watchlist groups and member symbols. For mutations use .
longbridge-watchlist-adminResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.Privacy: a watchlist reveals trading interest. Only return detailed lists in direct conversation.
提供自选股分组及组内标的的只读列表。如需执行修改操作,请使用。
longbridge-watchlist-admin响应语言:匹配用户输入语言——简体中文/繁体中文/英文。隐私说明:自选股会暴露交易偏好。仅在直接对话中返回详细列表。
When to use
使用场景
- "我的自选股", "watchlist contents" → list everything
- "我的「科技股」分组", "my Tech group" → list everything, then filter by group name
- "分组 ID 12345 里有什么" → list everything, then filter by group id
The CLI returns all groups in one call; the LLM filters in-memory based on the user's intent.
- "我的自选股", "watchlist contents" → 返回全部内容
- "我的「科技股」分组", "my Tech group" → 返回全部内容,再按分组名称筛选
- "分组 ID 12345 里有什么" → 返回全部内容,再按分组ID筛选
CLI会一次性返回所有分组;LLM会根据用户意图在内存中进行筛选。
Chained workflows (very common)
链式工作流(非常常见)
After getting symbols from this skill, route to other skills for the actual data:
| User asks | Flow |
|---|---|
| "我自选股的港股涨幅" | this skill → filter |
| "我自选最近一周走势" | this skill → all symbols → |
| "我自选的总市值" | this skill → all symbols → |
Get symbols here, then route the data query to the appropriate skill. Do not try to compute change rates or charts inside this skill.
从本技能获取标的后,可路由至其他技能获取实际数据:
| 用户提问 | 流程 |
|---|---|
| "我自选股的港股涨幅" | 本技能 → 筛选 |
| "我自选最近一周走势" | 本技能 → 获取全部标的 → |
| "我自选的总市值" | 本技能 → 获取全部标的 → 带 |
在此处获取标的,然后将数据查询路由至对应技能。请勿尝试在本技能内计算涨跌幅或生成图表。
CLI
CLI
bash
longbridge watchlist --format jsonThis lists every watchlist group plus the securities inside each group.
bash
longbridge watchlist --format json该命令会列出所有自选股分组及各组内的证券标的。
Output
输出格式
Array of group objects, each with . No matching filter (after LLM-side filtering) → empty array.
{id, name, securities: [{symbol, name, ...}]}分组对象数组,每个对象结构为。若LLM筛选后无匹配结果,则返回空数组。
{id, name, securities: [{symbol, name, ...}]}Error handling
错误处理
If is missing, fall back to MCP. The watchlist read endpoint does not require trade scope, only login — if stderr says , tell the user to run .
longbridgenot logged inlongbridge auth login若未安装,则回退至MCP。自选股只读接口无需交易权限,仅需登录——若标准错误输出显示,请告知用户执行。
longbridgenot logged inlongbridge auth loginMCP fallback
MCP回退方案
| CLI behaviour | MCP tool |
|---|---|
| List watchlist (with optional filter) | |
MCP-only extensions: — community-shared watchlists (8 tools: list / detail / create / update / delete / member_add / member_remove / popular). For "hot lists", "what's trending", route to directly.
mcp__longbridge__sharelist_*sharelist_*| CLI行为 | MCP工具 |
|---|---|
| 列出自选股(可选筛选) | |
仅MCP支持的扩展功能:——社区共享自选股(包含8个工具:列表/详情/创建/更新/删除/添加成员/移除成员/热门列表)。对于*"热门榜单"、"什么股票在涨"*这类请求,请直接路由至工具。
mcp__longbridge__sharelist_*sharelist_*Related skills
相关技能
- Watchlist mutations →
longbridge-watchlist-admin - Per-symbol quote / chart → ,
longbridge-quotelongbridge-kline
- 自选股修改操作 →
longbridge-watchlist-admin - 单标的报价/图表 → 、
longbridge-quotelongbridge-kline
File layout
文件结构
longbridge-watchlist/
└── SKILL.md # prompt-only, no scripts/longbridge-watchlist/
└── SKILL.md # 仅含提示词,无scripts/目录