longbridge-etf-analysis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-etf-analysis

longbridge-etf-analysis

Prompt-only analysis skill. Analyses ETFs across five dimensions: product profile, tracking error, liquidity, premium/discount, and allocation fit — supporting both US-listed ETFs and A-share ETFs.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
纯提示词驱动的分析Skill。从五个维度分析ETF:产品概况、跟踪误差、流动性、折溢价以及配置适配性——支持美股ETF和A股ETF。
回复语言:匹配用户输入语言——简体中文/繁体中文/英文。

When to use

适用场景

  • "QQQ 和 QQQM 哪个更适合长期持有?" / "QQQ vs QQQM for long-term holding?"
  • "这只 ETF 的跟踪误差大不大?" / "Is the tracking error on this ETF high?"
  • "510300 现在溢价还是折价?" / "Is 510300 trading at a premium or discount?"
  • "帮我分析沪深300 ETF 的流动性" / "Analyse the liquidity of CSI 300 ETFs"
  • "行业 ETF 怎么选?" / "How to pick a sector ETF?"
For index constituent stocks route to
longbridge-constituent
. For individual stock valuation route to
longbridge-valuation
.
  • "QQQ 和 QQQM 哪个更适合长期持有?" / "QQQ vs QQQM for long-term holding?"
  • "这只 ETF 的跟踪误差大不大?" / "Is the tracking error on this ETF high?"
  • "510300 现在溢价还是折价?" / "Is 510300 trading at a premium or discount?"
  • "帮我分析沪深300 ETF 的流动性" / "Analyse the liquidity of CSI 300 ETFs"
  • "行业 ETF 怎么选?" / "How to pick a sector ETF?"
如需查询指数成分股,请跳转至
longbridge-constituent
。如需个股估值,请跳转至
longbridge-valuation

CLI

CLI

Run
longbridge <subcommand> --help
to verify exact flags.
bash
undefined
运行
longbridge <subcommand> --help
查看具体参数。
bash
undefined

ETF quote — price, volume, market cap, turnover

ETF quote — price, volume, market cap, turnover

longbridge quote <ETF_SYMBOL> --format json
longbridge quote <ETF_SYMBOL> --format json

Constituent holdings — underlying stocks and weights

Constituent holdings — underlying stocks and weights

longbridge constituent <ETF_SYMBOL> --format json
longbridge constituent <ETF_SYMBOL> --format json

Historical price — compute tracking error vs index

Historical price — compute tracking error vs index

longbridge kline <ETF_SYMBOL> --period day --count 60 --format json
longbridge kline <ETF_SYMBOL> --period day --count 60 --format json

Index / benchmark price for comparison

Index / benchmark price for comparison

longbridge kline <BENCHMARK_SYMBOL> --period day --count 60 --format json
longbridge kline <BENCHMARK_SYMBOL> --period day --count 60 --format json

Valuation indices (PE/PB of ETF if available)

Valuation indices (PE/PB of ETF if available)

longbridge calc-index <ETF_SYMBOL> --format json
undefined
longbridge calc-index <ETF_SYMBOL> --format json
undefined

Five-dimension analysis

五维度分析

1. Product profile

1. 产品概况

Extract from
quote
+
constituent
output:
  • Underlying index tracked
  • AUM / total market cap (proxy)
  • Expense ratio (if available in quote metadata; otherwise note "check fund prospectus")
  • Inception date / listing exchange
quote
constituent
输出中提取:
  • 跟踪的标的指数
  • AUM/总市值(替代指标)
  • 费率(若行情元数据中有则显示;否则标注“请查阅基金招股说明书”)
  • 成立日期/上市交易所

2. Tracking error

2. 跟踪误差

  • Fetch ETF daily kline and benchmark daily kline (60 bars).
  • Daily return difference:
    d_i = r_ETF_i − r_index_i
  • Tracking error (annualised):
    TE = std(d) × √252
  • Interpretation: TE < 0.3% excellent; 0.3–1% acceptable; > 1% investigate.
  • 获取ETF每日K线和基准指数每日K线(60条数据)。
  • 每日收益差:
    d_i = r_ETF_i − r_index_i
  • 年化跟踪误差:
    TE = std(d) × √252
  • 解读:TE < 0.3%为优秀;0.3–1%为合格;> 1%需进一步排查。

3. Liquidity

3. 流动性

From
quote
:
  • Average daily volume and turnover
  • Bid-ask spread (if tick data available; otherwise use turnover-rate as proxy)
  • Liquidity flag: turnover-rate > 0.5% = liquid; < 0.1% = illiquid (A-share ETFs)
quote
中获取:
  • 日均成交量和换手率
  • 买卖价差(若有逐笔数据则显示;否则用换手率作为替代指标)
  • 流动性标识:换手率>0.5%=流动性充足;<0.1%=流动性不足(A股ETF)

4. Premium / discount (NAV vs market price)

4. 折溢价(净值NAV vs市价)

  • For A-share ETFs:
    premium = (market price − NAV) / NAV × 100%
  • NAV may not be in real-time quote; note this and use EOD NAV if available.
  • Persistent premium > 2% or discount < −2% signals arbitrage opportunity or liquidity issue.
  • For US ETFs: premium/discount is typically < 0.1% due to continuous creation/redemption.
  • 对于A股ETF:
    溢价率 = (市价 − NAV) / NAV × 100%
  • NAV可能未包含在实时行情中;需标注此情况,若有可用的收盘NAV则使用。
  • 持续溢价>2%或折价<−2%意味着存在套利机会或流动性问题。
  • 对于美股ETF:由于持续的申赎机制,折溢价通常<0.1%。

5. Allocation fit

5. 配置适配性

  • Index type: broad market (SPY/QQQ/510300) vs sector (XLK/515790) vs factor (value/growth/momentum)
  • Currency and market exposure
  • Overlap analysis: if user holds multiple ETFs, flag significant holdings overlap from
    constituent
  • 指数类型:宽基(SPY/QQQ/510300)vs行业(XLK/515790)vs因子(价值/成长/动量)
  • 币种和市场敞口
  • 重叠分析:若用户持有多只ETF,从
    constituent
    中标记显著的持仓重叠情况

Workflow

工作流程

  1. Resolve ETF symbol to
    <CODE>.<MARKET>
    (e.g.
    SPY.US
    ,
    510300.SH
    ).
  2. Concurrently fetch:
    quote
    ,
    constituent
    , ETF kline, benchmark kline.
  3. Compute TE, assess liquidity, estimate premium/discount.
  4. Summarise all five dimensions.
  5. Output structured report (template below). Cite Longbridge Securities.
  1. 将ETF代码解析为
    <CODE>.<MARKET>
    格式(例如
    SPY.US
    510300.SH
    )。
  2. 并行获取:
    quote
    constituent
    、ETF K线、基准指数K线。
  3. 计算跟踪误差TE,评估流动性,估算折溢价。
  4. 汇总五个维度的分析结果。
  5. 输出结构化报告(模板如下)。注明数据来源为Longbridge Securities。

Output template

输出模板

{ETF Symbol} analysis — Source: Longbridge Securities

[1. Product profile]
- Index tracked: {name}  |  Exchange: {ex}
- AUM proxy (mkt cap): {$X}  |  Expense ratio: {X% / see prospectus}

[2. Tracking error (60-day)]
- Annualised TE: X%  → {excellent / acceptable / elevated}

[3. Liquidity]
- Avg daily volume: {X}  |  Turnover rate: X%  → {liquid / moderate / illiquid}
- Bid-ask spread estimate: {X% / data unavailable}

[4. Premium / Discount]
- Latest: {+X% premium / −X% discount / ~flat}
- Note: {A-share ETF — NAV published after close / US ETF — near-zero typical}

[5. Allocation fit]
- Type: {broad market / sector / factor}
- Key holdings (top 5): {list from constituent}
- Currency exposure: {USD / CNY / HKD}

[Summary]
{2–3 sentence overall assessment}

⚠️ 以上分析仅供参考,不构成投资建议。/ 以上分析僅供參考,不構成投資建議。/ For reference only. Not investment advice.
{ETF Symbol}分析 — 来源:Longbridge Securities

[1. 产品概况]
- 跟踪指数:{name}  |  交易所:{ex}
- AUM替代指标(市值):{$X}  |  费率:{X% / 请查阅招股说明书}

[2. 跟踪误差(60日)]
- 年化TE:X%  → {优秀 / 合格 / 偏高}

[3. 流动性]
- 日均成交量:{X}  |  换手率:X%  → {充足 / 适中 / 不足}
- 买卖价差估算:{X% / 数据不可用}

[4. 折溢价]
- 当前情况:{+X%溢价 / −X%折价 / 基本持平}
- 说明:{A股ETF——NAV收盘后发布 / 美股ETF——通常接近零}

[5. 配置适配性]
- 类型:{宽基 / 行业 / 因子}
- 前五大重仓股:{来自constituent的列表}
- 币种敞口:{美元 / 人民币 / 港币}

[总结]
{2-3句话的整体评估}

⚠️ 以上分析仅供参考,不构成投资建议。/ 以上分析僅供參考,不構成投資建議。/ For reference only. Not investment advice.

Error handling

错误处理

Situation简体回复繁體回復English reply
command not found: longbridge
切换到 MCP;若不可用,请安装 longbridge-terminal切換至 MCP;若不可用,請安裝 longbridge-terminalFall back to MCP; if unavailable, install longbridge-terminal
stderr
not logged in
请执行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
constituent
returns empty
持仓数据暂不可用,跳过重叠分析持倉數據暫不可用,跳過重疊分析Constituent data unavailable; skipping overlap analysis
Benchmark kline unavailable无法计算跟踪误差,仅显示 ETF 本身收益無法計算追蹤誤差,僅顯示 ETF 本身收益Cannot compute TE; showing ETF return only
场景简体回复繁體回復English reply
command not found: longbridge
切换到MCP;若不可用,请安装longbridge-terminal切換至MCP;若不可用,請安裝longbridge-terminalFall back to MCP; if unavailable, install longbridge-terminal
stderr
not logged in
请执行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
constituent
返回空值
持仓数据暂不可用,跳过重叠分析持倉數據暫不可用,跳過重疊分析Constituent data unavailable; skipping overlap analysis
基准指数K线不可用无法计算跟踪误差,仅显示ETF本身收益無法計算追蹤誤差,僅顯示ETF本身收益Cannot compute TE; showing ETF return only

MCP fallback

MCP降级方案

CLI commandMCP tool
longbridge quote
mcp__longbridge__quote
longbridge constituent
mcp__longbridge__constituent
longbridge kline
mcp__longbridge__candlesticks
longbridge calc-index
mcp__longbridge__calc_indexes
CLI命令MCP工具
longbridge quote
mcp__longbridge__quote
longbridge constituent
mcp__longbridge__constituent
longbridge kline
mcp__longbridge__candlesticks
longbridge calc-index
mcp__longbridge__calc_indexes

Related skills

相关技能

  • Constituent stock list →
    longbridge-constituent
  • Individual stock valuation →
    longbridge-valuation
  • Capital flow into ETF holdings →
    longbridge-capital-flow
  • Market / index temperature →
    longbridge-market-temp
  • 成分股列表 →
    longbridge-constituent
  • 个股估值 →
    longbridge-valuation
  • ETF持仓资金流向 →
    longbridge-capital-flow
  • 市场/指数温度 →
    longbridge-market-temp

File layout

文件结构

longbridge-etf-analysis/
└── SKILL.md          # prompt-only, no scripts/
longbridge-etf-analysis/
└── SKILL.md          # prompt-only, no scripts/