Loading...
Loading...
Compare original and translation side by side
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
回复语言:匹配用户输入语言——简体中文 / 繁体中文 / 英文。
longbridge portfoliolongbridge positionslongbridge portfoliolongbridge positionslongbridge <subcommand> --helpundefinedlongbridge <subcommand> --helpundefinedundefinedundefined| Metric | Method |
|---|---|
| Top-5 concentration | Sum of top-5 positions by market value ÷ total portfolio value |
| Sector distribution | Group positions by |
| Currency exposure | Group by currency of listing; compute % of total MV |
| Factor tilt | Large-cap (market cap > $10B) vs small-cap; PE < 15 / dividend yield > 3% = value tilt |
| Pairwise correlation | Pearson correlation of 60-day daily returns; flag pairs with r > 0.8 as high correlation |
| Benchmark deviation | If user provides a benchmark (e.g. SPX, HSI), compare sector weights |
| 指标 | 计算方法 |
|---|---|
| 前5大持仓集中度 | 按市值排名前5的持仓总市值 ÷ 组合总市值 |
| 板块分布 | 按 |
| 货币敞口 | 按上市货币分组;计算各货币占总市值的百分比 |
| 因子倾向 | 大盘股(市值>100亿美元)vs小盘股;市盈率<15 / 股息率>3%视为价值倾向 |
| 两两相关性 | 60日每日收益率的皮尔逊相关系数;相关系数r>0.8的持仓对标记为高相关性 |
| 基准偏离 | 若用户提供基准(如SPX、HSI),对比板块权重差异 |
Portfolio Diagnosis — Source: Longbridge Securities
Date: <today>
[Concentration]
- Top-5 holdings: <names> = <N>% of portfolio
- Risk: {Low (<40%) / Medium (40-60%) / High (>60%)}
[Sector Distribution]
- <Sector>: <N>% (target suggestion if heavily concentrated)
- ...
[Currency Exposure]
- USD: <N>% HKD: <N>% CNY: <N>% Other: <N>%
[Factor Tilt]
- Large-cap: <N>% Small-cap: <N>%
- Value tilt: <N>% Growth tilt: <N>%
[Correlation Risk]
- High-correlation pairs (r > 0.8): <list>
- Diversification note: ...
[Summary & Suggestions]
- Key risks: ...
- Suggested actions: ...
⚠️ 仅供参考,不构成投资建议。/ 僅供參考,不構成投資建議。/ For reference only. Not investment advice.组合诊断 — 数据源:Longbridge Securities
日期:<今日>
[集中度]
- 前5大持仓:<名称> = 占组合的<N>%
- 风险等级:{低(<40%) / 中(40-60%) / 高(>60%)}
[板块分布]
- <板块>:<N>% (若集中度较高则给出目标建议)
- ...
[货币敞口]
- 美元:<N>% 港币:<N>% 人民币:<N>% 其他:<N>%
[因子倾向]
- 大盘股:<N>% 小盘股:<N>%
- 价值倾向:<N>% 成长倾向:<N>%
[相关性风险]
- 高相关性持仓对(r>0.8):<列表>
- 分散化建议:...
[总结与建议]
- 核心风险:...
- 建议操作:...
⚠️ 仅供参考,不构成投资建议。/ 僅供參考,不構成投資建議。/ For reference only. Not investment advice.| Situation | 简体回复 | 繁體回復 | English reply |
|---|---|---|---|
| 回退到 MCP;若也不可用,请安装 longbridge-terminal | 回退到 MCP;若也不可用,請安裝 longbridge-terminal | Fall back to MCP; if unavailable, ask user to install longbridge-terminal. |
stderr | 请运行 | 請運行 | Run |
| Empty positions | 账户暂无持仓,无法诊断 | 賬戶暫無持倉,無法診斷 | No holdings found; cannot run diagnosis. |
| kline data unavailable for a symbol | 跳过该标的相关性计算,标注数据缺失 | 略過該標的相關性計算,標注數據缺失 | Skip correlation for that symbol; note data gap. |
| 场景 | 简体回复 | 繁體回復 | English reply |
|---|---|---|---|
| 回退到MCP;若MCP也不可用,请安装longbridge-terminal | 回退到MCP;若MCP也不可用,請安裝longbridge-terminal | Fall back to MCP; if unavailable, ask user to install longbridge-terminal. |
stderr提示 | 请运行 | 請運行 | Run |
| 无持仓数据 | 账户暂无持仓,无法诊断 | 賬戶暫無持倉,無法診斷 | No holdings found; cannot run diagnosis. |
| 某代码的K线数据不可用 | 跳过该标的相关性计算,标注数据缺失 | 略過該標的相關性計算,標注數據缺失 | Skip correlation for that symbol; note data gap. |
longbridge| MCP tool | CLI equivalent |
|---|---|
| |
| |
| |
| |
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquotetrade_readlongbridge| MCP工具 | 对应CLI命令 |
|---|---|
| |
| |
| |
| |
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquotetrade_readlongbridge-portfolio-rebalancelongbridge-risk-analysislongbridge-asset-allocationlongbridge-portfoliolongbridge-portfolio-rebalancelongbridge-risk-analysislongbridge-asset-allocationlongbridge-portfoliolongbridge-portfolio-diagnosis/
└── SKILL.md # prompt-only, no scripts/longbridge-portfolio-diagnosis/
└── SKILL.md # 仅含提示词,无scripts/目录