Loading...
Loading...
ETF analysis framework via Longbridge — product screening (AUM/expense ratio/index), tracking error, liquidity (bid-ask spread/volume), premium/discount (NAV vs market price), and A-share ETF allocation insights. Triggers: "ETF分析", "ETF选择", "ETF跟踪误差", "ETF溢价", "ETF流动性", "ETF费率", "ETF规模", "宽基ETF", "行业ETF", "指数基金", "ETF分析", "ETF選擇", "ETF追蹤誤差", "ETF溢價", "ETF流動性", "ETF費率", "ETF規模", "指數基金", "ETF analysis", "ETF selection", "tracking error", "ETF premium discount", "ETF liquidity", "expense ratio", "broad market ETF", "sector ETF", "index fund".
npx skill4agent add longbridge/skills longbridge-etf-analysisResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
longbridge-constituentlongbridge-valuationlongbridge <subcommand> --help# ETF quote — price, volume, market cap, turnover
longbridge quote <ETF_SYMBOL> --format json
# Constituent holdings — underlying stocks and weights
longbridge constituent <ETF_SYMBOL> --format json
# Historical price — compute tracking error vs index
longbridge kline <ETF_SYMBOL> --period day --count 60 --format json
# Index / benchmark price for comparison
longbridge kline <BENCHMARK_SYMBOL> --period day --count 60 --format json
# Valuation indices (PE/PB of ETF if available)
longbridge calc-index <ETF_SYMBOL> --format jsonquoteconstituentd_i = r_ETF_i − r_index_iTE = std(d) × √252quotepremium = (market price − NAV) / NAV × 100%constituent<CODE>.<MARKET>SPY.US510300.SHquoteconstituent{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.| Situation | 简体回复 | 繁體回復 | English reply |
|---|---|---|---|
| 切换到 MCP;若不可用,请安装 longbridge-terminal | 切換至 MCP;若不可用,請安裝 longbridge-terminal | Fall back to MCP; if unavailable, install longbridge-terminal |
stderr | 请执行 | 請執行 | Run |
| 持仓数据暂不可用,跳过重叠分析 | 持倉數據暫不可用,跳過重疊分析 | Constituent data unavailable; skipping overlap analysis |
| Benchmark kline unavailable | 无法计算跟踪误差,仅显示 ETF 本身收益 | 無法計算追蹤誤差,僅顯示 ETF 本身收益 | Cannot compute TE; showing ETF return only |
| CLI command | MCP tool |
|---|---|
| |
| |
| |
| |
longbridge-constituentlongbridge-valuationlongbridge-capital-flowlongbridge-market-templongbridge-etf-analysis/
└── SKILL.md # prompt-only, no scripts/