longbridge-sector-screener

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-sector-screener

longbridge-sector-screener

Sector screening and ranking — filter and rank industry sectors across A-share / HK / US markets by valuation (PE/PB), capital inflow, price performance (1d/5d/20d), and turnover rate. Outputs a ranked sector leaderboard.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
板块筛选与排行——按估值(PE/PB)、资金流入、价格表现(1日/5日/20日)及换手率对A股/港股/美股市场的行业板块进行筛选和排名,输出排名后的板块排行榜。
响应语言:匹配用户输入语言——简体中文/繁体中文/英文。

When to use

使用场景

Trigger when the user asks about:
  • Top or bottom performing sectors — "今天哪个行业涨得最多", "最强势板块", "best performing sectors today"
  • Sector capital flow ranking — "哪些板块在吸资金", "sectors with net capital inflow"
  • Sector valuation screening — "哪些行业PE最低", "low-PE sectors"
  • Broad sector overview — "美股各行业今天表现", "A股行业板块排名"
For individual stock anomalies, prefer
longbridge-anomaly
. For a single stock's capital flow, prefer
longbridge-capital-flow
. For index constituents, prefer
longbridge-constituent
.
当用户询问以下内容时触发:
  • 表现最优或最差的板块——"今天哪个行业涨得最多", "最强势板块", "best performing sectors today"
  • 板块资金流排名——"哪些板块在吸资金", "sectors with net capital inflow"
  • 板块估值筛选——"哪些行业PE最低", "low-PE sectors"
  • 板块整体概览——"美股各行业今天表现", "A股行业板块排名"
若用户询问个股异常情况,优先使用
longbridge-anomaly
;若询问单只股票的资金流,优先使用
longbridge-capital-flow
;若询问指数成分股,优先使用
longbridge-constituent

Workflow

工作流程

  1. Identify the target market (A-share / HK / US) from the prompt.
  2. Select representative sector ETFs or indices for that market:
    • A-share: major CSI sector indices (e.g. CSI Banks, CSI Tech, CSI Consumer)
    • HK: Hang Seng sector sub-indices or sector ETFs
    • US: SPDR sector ETFs (XLK, XLF, XLE, XLV, XLI, XLY, XLP, XLU, XLRE, XLB, XLC)
  3. Run
    longbridge quote
    on each sector proxy to get 1d / 5d / 20d performance and turnover rate.
  4. Run
    longbridge capital
    on each sector proxy for net capital inflow.
  5. Run
    longbridge calc-index
    for PE and PB of each sector proxy.
  6. Sort and rank by the user's requested criterion; present as a leaderboard table.
  1. 从用户提问中识别目标市场(A股/港股/美股)。
  2. 为该市场选择具有代表性的板块ETF或指数:
    • A股:主要CSI行业指数(如CSI银行指数、CSI科技指数、CSI消费指数)
    • 港股:恒生行业分类指数或板块ETF
    • 美股:SPDR板块ETF(XLK, XLF, XLE, XLV, XLI, XLY, XLP, XLU, XLRE, XLB, XLC)
  3. 对每个板块代理标的运行
    longbridge quote
    ,获取1日/5日/20日表现及换手率。
  4. 对每个板块代理标的运行
    longbridge capital
    ,获取资金净流入数据。
  5. 对每个板块代理标的运行
    longbridge calc-index
    ,获取PE和PB数据。
  6. 根据用户要求的标准进行排序和排名,以排行榜表格形式呈现。

CLI

命令行界面(CLI)

bash
undefined
bash
undefined

Sector proxy quote (price change, turnover rate)

板块代理标的行情(涨跌幅、换手率)

longbridge quote <SECTOR_SYMBOL> --format json
longbridge quote <SECTOR_SYMBOL> --format json

Sector capital flow

板块资金流

longbridge capital <SECTOR_SYMBOL> --format json
longbridge capital <SECTOR_SYMBOL> --format json

Sector valuation

板块估值

longbridge calc-index <SECTOR_SYMBOL> --index pe_ttm,pb --format json
longbridge calc-index <SECTOR_SYMBOL> --index pe_ttm,pb --format json

Constituent list of a sector index (if drilling into members)

板块指数的成分股列表(若需深入查看成分股)

longbridge constituent <INDEX> --format json

> Run `longbridge quote --help`, `longbridge capital --help`, and `longbridge calc-index --help` to verify flags.
longbridge constituent <INDEX> --format json

> 运行`longbridge quote --help`、`longbridge capital --help`和`longbridge calc-index --help`查看参数说明。

Output

输出

A ranked leaderboard table:
RankSector简体繁體English
1d change今日涨跌幅今日漲跌幅1d change
5d change近5日涨跌幅近5日漲跌幅5d change
Net capital inflow净流入淨流入Net inflow
PE市盈率市盈率PE
PB市净率市淨率PB
Turnover rate换手率換手率Turnover rate
Note: Sector coverage depends on available representative ETFs/indices in Longbridge. Full market-wide sector screening (like Wind or 同花顺) is not supported — the LLM must manually iterate over a curated set of sector proxies.
排名后的板块排行榜表格:
排名板块简体繁体English
1d change今日涨跌幅今日漲跌幅1d change
5d change近5日涨跌幅近5日漲跌幅5d change
资金净流入净流入淨流入Net inflow
PE市盈率市盈率PE
PB市净率市淨率PB
换手率换手率換手率Turnover rate
注意:板块覆盖范围取决于Longbridge中可用的代表性ETF/指数。暂不支持全市场范围的板块筛选(如Wind或同花顺)——大语言模型需手动遍历一组精选的板块代理标的。

Error handling

错误处理

Situation简体回复繁體回覆English reply
command not found: longbridge
请先安装 longbridge-terminal請先安裝 longbridge-terminalInstall longbridge-terminal first
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
Sector proxy not found提示该板块代理标的无数据提示該板塊代理標的無數據Sector proxy symbol not found
Other stderr原样展示,不重试原樣展示,不重試Surface verbatim, do not retry
场景简体回复繁體回覆English reply
command not found: longbridge
请先安装 longbridge-terminal請先安裝 longbridge-terminalInstall longbridge-terminal first
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
板块代理标的未找到提示该板块代理标的无数据提示該板塊代理標的無數據Sector proxy symbol not found
其他标准错误输出原样展示,不重试原樣展示,不重試Surface verbatim, do not retry

MCP fallback

MCP备选方案

If CLI is unavailable:
mcp__longbridge__quote
,
mcp__longbridge__capital_flow
, and
mcp__longbridge__calc_indexes
.
若CLI不可用:
mcp__longbridge__quote
mcp__longbridge__capital_flow
mcp__longbridge__calc_indexes

Related skills

相关技能

User asksRoute to
Individual stock anomalies
longbridge-anomaly
Single stock capital flow
longbridge-capital-flow
Index constituents
longbridge-constituent
Market temperature / overall sentiment
longbridge-market-temp
Multi-stock comparison
longbridge-peer-comparison
用户提问内容跳转至
个股异常情况
longbridge-anomaly
单只股票资金流
longbridge-capital-flow
指数成分股
longbridge-constituent
市场热度/整体情绪
longbridge-market-temp
多股对比
longbridge-peer-comparison

File layout

文件结构

longbridge-sector-screener/
└── SKILL.md
Prompt-only — no
scripts/
. Sector proxies are selected in-context based on market and user request. Discover current CLI flags via
longbridge <subcommand> --help
.
longbridge-sector-screener/
└── SKILL.md
仅需提示词——无
scripts/
目录。板块代理标的根据市场和用户需求在上下文选择。通过
longbridge <subcommand> --help
查看当前CLI参数。