opencode-skills-collection 4.0.69 → 4.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +39 -1
- package/bundled-skills/api-integration-architect/SKILL.md +241 -0
- package/bundled-skills/apify-generate-output-schema/SKILL.md +438 -0
- package/bundled-skills/apify-integration-development/SKILL.md +168 -0
- package/bundled-skills/apify-integration-development/references/ai-framework-package.md +158 -0
- package/bundled-skills/apify-integration-development/references/ai-harness-plugin.md +192 -0
- package/bundled-skills/apify-integration-development/references/sdk-integration.md +236 -0
- package/bundled-skills/apify-integration-development/references/workflow-automation.md +163 -0
- package/bundled-skills/architecture-review/README.md +42 -0
- package/bundled-skills/architecture-review/SKILL.md +77 -0
- package/bundled-skills/architecture-review/examples.md +11 -0
- package/bundled-skills/architecture-review/reference/best-practices.md +7 -0
- package/bundled-skills/architecture-review/reference/capabilities.md +20 -0
- package/bundled-skills/architecture-review/reference/fallbacks.md +11 -0
- package/bundled-skills/architecture-review/reference/graph.md +15 -0
- package/bundled-skills/architecture-review/reference/mcp.md +14 -0
- package/bundled-skills/architecture-review/reference/workflow.md +15 -0
- package/bundled-skills/architecture-review/templates/architecture-review.md +21 -0
- package/bundled-skills/code-review-sensei/SKILL.md +177 -0
- package/bundled-skills/codebase-onboarding/README.md +42 -0
- package/bundled-skills/codebase-onboarding/SKILL.md +77 -0
- package/bundled-skills/codebase-onboarding/examples.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/best-practices.md +7 -0
- package/bundled-skills/codebase-onboarding/reference/capabilities.md +20 -0
- package/bundled-skills/codebase-onboarding/reference/fallbacks.md +11 -0
- package/bundled-skills/codebase-onboarding/reference/graph.md +15 -0
- package/bundled-skills/codebase-onboarding/reference/mcp.md +14 -0
- package/bundled-skills/codebase-onboarding/reference/workflow.md +15 -0
- package/bundled-skills/codebase-onboarding/templates/repository-onboarding.md +21 -0
- package/bundled-skills/connection-auth-rules/SKILL.md +199 -0
- package/bundled-skills/connection-auth-rules/fetch_schema.py +320 -0
- package/bundled-skills/dependency-analysis/README.md +42 -0
- package/bundled-skills/dependency-analysis/SKILL.md +76 -0
- package/bundled-skills/dependency-analysis/examples.md +11 -0
- package/bundled-skills/dependency-analysis/reference/best-practices.md +7 -0
- package/bundled-skills/dependency-analysis/reference/capabilities.md +20 -0
- package/bundled-skills/dependency-analysis/reference/fallbacks.md +11 -0
- package/bundled-skills/dependency-analysis/reference/graph.md +15 -0
- package/bundled-skills/dependency-analysis/reference/mcp.md +14 -0
- package/bundled-skills/dependency-analysis/reference/workflow.md +15 -0
- package/bundled-skills/dependency-analysis/templates/dependency-review.md +21 -0
- package/bundled-skills/devops-pipeline-builder/SKILL.md +200 -0
- package/bundled-skills/eas-app-stores/SKILL.md +197 -0
- package/bundled-skills/eas-app-stores/agents/openai.yaml +4 -0
- package/bundled-skills/eas-app-stores/references/app-store-metadata.md +497 -0
- package/bundled-skills/eas-app-stores/references/ios-app-store.md +376 -0
- package/bundled-skills/eas-app-stores/references/native-ios.md +167 -0
- package/bundled-skills/eas-app-stores/references/play-store.md +244 -0
- package/bundled-skills/eas-app-stores/references/testflight.md +62 -0
- package/bundled-skills/eas-app-stores/references/workflows.md +120 -0
- package/bundled-skills/eas-hosting/SKILL.md +448 -0
- package/bundled-skills/eas-hosting/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/SKILL.md +75 -0
- package/bundled-skills/eas-observe/agents/openai.yaml +4 -0
- package/bundled-skills/eas-observe/references/metrics.md +98 -0
- package/bundled-skills/eas-observe/references/queries.md +403 -0
- package/bundled-skills/eas-observe/references/setup.md +476 -0
- package/bundled-skills/eas-observe/references/third-party.md +136 -0
- package/bundled-skills/eas-simulator/SKILL.md +251 -0
- package/bundled-skills/eas-simulator/agents/openai.yaml +4 -0
- package/bundled-skills/eas-simulator/references/controllers.md +135 -0
- package/bundled-skills/eas-simulator/references/run-your-app.md +240 -0
- package/bundled-skills/eas-simulator/references/troubleshooting.md +47 -0
- package/bundled-skills/eas-workflows/SKILL.md +119 -0
- package/bundled-skills/eas-workflows/agents/openai.yaml +4 -0
- package/bundled-skills/eas-workflows/scripts/fetch.js +109 -0
- package/bundled-skills/expo-animation/LICENSE +21 -0
- package/bundled-skills/expo-animation/RECIPES.md +385 -0
- package/bundled-skills/expo-animation/SKILL.md +295 -0
- package/bundled-skills/expo-animation/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/SKILL.md +178 -0
- package/bundled-skills/fact-check-x-unified/agents/openai.yaml +4 -0
- package/bundled-skills/fact-check-x-unified/references/acceptance-criteria.md +44 -0
- package/bundled-skills/fact-check-x-unified/references/contracts.md +39 -0
- package/bundled-skills/fact-check-x-unified/scripts/common.py +31 -0
- package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +1832 -0
- package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +324 -0
- package/bundled-skills/fact-check-x-unified/tests/anchor_downgrade_test.py +90 -0
- package/bundled-skills/fact-check-x-unified/tests/multi_platform_test.py +369 -0
- package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +740 -0
- package/bundled-skills/fact-check-x-unified/tests/stage_checkpoint_test.py +103 -0
- package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +156 -0
- package/bundled-skills/gpt-taste/SKILL.md +8 -1
- package/bundled-skills/hf-cli/SKILL.md +263 -0
- package/bundled-skills/huggingface-community-evals/SKILL.md +228 -0
- package/bundled-skills/huggingface-community-evals/examples/.env.example +3 -0
- package/bundled-skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
- package/bundled-skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
- package/bundled-skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
- package/bundled-skills/huggingface-datasets/SKILL.md +130 -0
- package/bundled-skills/jev-social/SKILL.md +182 -0
- package/bundled-skills/longbridge-derivatives/SKILL.md +117 -0
- package/bundled-skills/longbridge-derivatives/references/option.md +36 -0
- package/bundled-skills/longbridge-derivatives/references/options-advanced.md +101 -0
- package/bundled-skills/longbridge-derivatives/references/options-pnl.md +74 -0
- package/bundled-skills/longbridge-derivatives/references/options-strategy.md +82 -0
- package/bundled-skills/longbridge-derivatives/references/options-volatility.md +70 -0
- package/bundled-skills/longbridge-derivatives/references/warrant.md +12 -0
- package/bundled-skills/longbridge-quant/SKILL.md +151 -0
- package/bundled-skills/longbridge-quant/references/correlation.md +51 -0
- package/bundled-skills/longbridge-quant/references/execution-model.md +68 -0
- package/bundled-skills/longbridge-quant/references/factor-research.md +95 -0
- package/bundled-skills/longbridge-quant/references/factor-screen.md +101 -0
- package/bundled-skills/longbridge-quant/references/hedging.md +136 -0
- package/bundled-skills/longbridge-quant/references/ml-strategy.md +77 -0
- package/bundled-skills/longbridge-quant/references/multifactor.md +68 -0
- package/bundled-skills/longbridge-quant/references/pairs-trading.md +61 -0
- package/bundled-skills/longbridge-quant/references/quant-cli.md +133 -0
- package/bundled-skills/longbridge-quant/references/quant-stats.md +150 -0
- package/bundled-skills/longbridge-quant/references/seasonality.md +50 -0
- package/bundled-skills/longbridge-quant/references/strategy-optimizer.md +68 -0
- package/bundled-skills/longbridge-quant/references/volatility-strategy.md +52 -0
- package/bundled-skills/longbridge-research/SKILL.md +187 -0
- package/bundled-skills/longbridge-research/references/company-profile.md +96 -0
- package/bundled-skills/longbridge-research/references/company-tearsheet.md +82 -0
- package/bundled-skills/longbridge-research/references/competitive-analysis.md +81 -0
- package/bundled-skills/longbridge-research/references/consensus.md +92 -0
- package/bundled-skills/longbridge-research/references/coverage-initiation.md +76 -0
- package/bundled-skills/longbridge-research/references/defi-yield.md +60 -0
- package/bundled-skills/longbridge-research/references/finance-calendar.md +165 -0
- package/bundled-skills/longbridge-research/references/financial-planning.md +77 -0
- package/bundled-skills/longbridge-research/references/forecast-eps.md +39 -0
- package/bundled-skills/longbridge-research/references/fund-holder.md +44 -0
- package/bundled-skills/longbridge-research/references/hkipo-analysis.md +101 -0
- package/bundled-skills/longbridge-research/references/industry-peers.md +46 -0
- package/bundled-skills/longbridge-research/references/industry-rank.md +62 -0
- package/bundled-skills/longbridge-research/references/insider-trades.md +48 -0
- package/bundled-skills/longbridge-research/references/institution-rating.md +62 -0
- package/bundled-skills/longbridge-research/references/investment-ideas.md +69 -0
- package/bundled-skills/longbridge-research/references/investment-proposal.md +95 -0
- package/bundled-skills/longbridge-research/references/investors.md +87 -0
- package/bundled-skills/longbridge-research/references/onchain.md +70 -0
- package/bundled-skills/longbridge-research/references/post-investment.md +76 -0
- package/bundled-skills/longbridge-research/references/shareholder.md +72 -0
- package/bundled-skills/longbridge-research/references/short-positions.md +50 -0
- package/bundled-skills/longbridge-research/references/short-trades.md +50 -0
- package/bundled-skills/longbridge-research/references/stock-research.md +61 -0
- package/bundled-skills/longbridge-research/references/thesis-tracker.md +64 -0
- package/bundled-skills/makepad-2-0-animation/SKILL.md +318 -0
- package/bundled-skills/makepad-2-0-animation/references/animator-reference.md +433 -0
- package/bundled-skills/makepad-2-0-dsl/SKILL.md +492 -0
- package/bundled-skills/makepad-2-0-dsl/references/dsl-syntax-reference.md +511 -0
- package/bundled-skills/makepad-2-0-dsl/references/extended-guide.md +56 -0
- package/bundled-skills/makepad-2-0-dsl/references/property-system.md +757 -0
- package/bundled-skills/makepad-2-0-events/SKILL.md +497 -0
- package/bundled-skills/makepad-2-0-events/references/event-patterns.md +802 -0
- package/bundled-skills/makepad-2-0-events/references/extended-guide.md +590 -0
- package/bundled-skills/makepad-2-0-layout/SKILL.md +499 -0
- package/bundled-skills/makepad-2-0-layout/references/extended-guide.md +243 -0
- package/bundled-skills/makepad-2-0-layout/references/layout-patterns.md +881 -0
- package/bundled-skills/makepad-2-0-widgets/SKILL.md +261 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-advanced.md +648 -0
- package/bundled-skills/makepad-2-0-widgets/references/widget-catalog.md +547 -0
- package/bundled-skills/meeting-distiller-pro/SKILL.md +120 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-asset-health/SKILL.md +12 -1
- package/bundled-skills/monte-carlo-context-detection/SKILL.md +170 -0
- package/bundled-skills/monte-carlo-context-detection/references/signal-definitions.md +46 -0
- package/bundled-skills/remotion-captions/SKILL.md +57 -0
- package/bundled-skills/remotion-captions/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-captions/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-captions/display-captions.md +190 -0
- package/bundled-skills/remotion-captions/import-srt-captions.md +73 -0
- package/bundled-skills/remotion-captions/transcribe-captions.md +70 -0
- package/bundled-skills/remotion-create/SKILL.md +106 -0
- package/bundled-skills/remotion-create/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-create/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-create/tailwind.md +11 -0
- package/bundled-skills/remotion-create/video-layout.md +9 -0
- package/bundled-skills/remotion-docs/SKILL.md +67 -0
- package/bundled-skills/remotion-docs/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-docs/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-interactivity/SKILL.md +270 -0
- package/bundled-skills/remotion-interactivity/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-interactivity/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/SKILL.md +48 -0
- package/bundled-skills/remotion-render/agents/openai.yaml +7 -0
- package/bundled-skills/remotion-render/assets/remotion-icon.svg +4 -0
- package/bundled-skills/remotion-render/transparent-videos.md +106 -0
- package/bundled-skills/saas-pricing-strategist/SKILL.md +169 -0
- package/bundled-skills/score-eval/SKILL.md +35 -0
- package/bundled-skills/writing-guidelines/SKILL.md +60 -0
- package/package.json +1 -1
- package/skills_index.json +980 -3
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# longbridge-consensus
|
|
2
|
+
|
|
3
|
+
Prompt-only analysis skill. Orchestrates Longbridge CLI commands to surface analyst consensus estimates, estimate revision trends, beat/miss history, and post-earnings announcement drift (PEAD) signals.
|
|
4
|
+
|
|
5
|
+
## CLI
|
|
6
|
+
|
|
7
|
+
Run `longbridge --help` to see all available subcommands, then `longbridge <subcommand> --help` before calling. Types of data needed (call concurrently):
|
|
8
|
+
|
|
9
|
+
- Coverage count, buy/hold/sell distribution, consensus target price
|
|
10
|
+
- Revenue / EPS estimates (high / low / mean / median)
|
|
11
|
+
- Forward EPS by period
|
|
12
|
+
- Institution rating distribution + median target price
|
|
13
|
+
- Rating and target price change history (for revision trend — run `--help` for available history flags)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
longbridge <subcommand> TSLA.US --format json # run --help for available flags and subcommand names
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
|
|
21
|
+
1. **Resolve symbol** to `<CODE>.<MARKET>` format.
|
|
22
|
+
2. **Determine scope** from the user prompt:
|
|
23
|
+
|
|
24
|
+
| Prompt intent | Data to fetch |
|
|
25
|
+
| ---------------------------------- | ------------------------------------------------------------ |
|
|
26
|
+
| Consensus snapshot | Coverage count + buy/hold/sell + EPS estimates + forward EPS |
|
|
27
|
+
| Rating distribution / target price | Institution rating distribution + median target |
|
|
28
|
+
| Revision trend | Rating and target price change history |
|
|
29
|
+
| Beat / miss analysis | EPS actuals vs consensus mean |
|
|
30
|
+
| PEAD signal | EPS actuals + consensus + price context |
|
|
31
|
+
|
|
32
|
+
3. **In-LLM analysis**:
|
|
33
|
+
|
|
34
|
+
| Quantity | Method |
|
|
35
|
+
| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
|
|
36
|
+
| **Estimate revision direction** | Compare current mean EPS vs prior period from rating history; rising / flat / falling |
|
|
37
|
+
| **Beat / miss** | Actual EPS vs consensus mean; beat threshold > +2% |
|
|
38
|
+
| **PEAD signal** | Consecutive beats + upward revisions → positive momentum; consecutive misses + downward revisions → negative momentum. **Note**: PEAD is a statistical tendency, not a guarantee. |
|
|
39
|
+
| **Surprise %** | `(Actual − Estimate) / | Estimate | × 100%` |
|
|
40
|
+
|
|
41
|
+
4. Output structured report; cite **Longbridge Securities**; end with disclaimer.
|
|
42
|
+
|
|
43
|
+
## Output template
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
{Symbol} ({code}) Analyst Consensus — Source: Longbridge Securities
|
|
47
|
+
As of: {date}
|
|
48
|
+
|
|
49
|
+
[Coverage & ratings]
|
|
50
|
+
- Analysts covering: N | Buy: X / Hold: Y / Sell: Z
|
|
51
|
+
- Median target price: {price} ({currency}) | Upside from last: ±X%
|
|
52
|
+
|
|
53
|
+
[EPS consensus]
|
|
54
|
+
- Current-quarter estimate: mean {X}, range [{low} – {high}]
|
|
55
|
+
- Next-quarter estimate: mean {X}, range [{low} – {high}]
|
|
56
|
+
- FY estimate: mean {X}, range [{low} – {high}]
|
|
57
|
+
|
|
58
|
+
[Revenue consensus]
|
|
59
|
+
- Current-quarter estimate: mean {X} YoY ±Y%
|
|
60
|
+
- FY estimate: mean {X} YoY ±Y%
|
|
61
|
+
|
|
62
|
+
[Estimate revision trend]
|
|
63
|
+
- Direction (past 30/90 days): {rising / flat / falling}
|
|
64
|
+
- Key revisions: {summary from rating/target price change history}
|
|
65
|
+
|
|
66
|
+
[Beat / miss history (last 4 quarters)]
|
|
67
|
+
| Quarter | Actual EPS | Estimate | Surprise % |
|
|
68
|
+
|---------|-----------|----------|-----------|
|
|
69
|
+
| {Q} | {A} | {E} | {±X%} |
|
|
70
|
+
...
|
|
71
|
+
|
|
72
|
+
[PEAD signal]
|
|
73
|
+
- Pattern: {N consecutive beats / misses / mixed}
|
|
74
|
+
- Revision bias: {upward / neutral / downward}
|
|
75
|
+
- PEAD inference: {positive momentum / neutral / negative momentum}
|
|
76
|
+
⚠️ PEAD is a statistical tendency, not a forecast.
|
|
77
|
+
|
|
78
|
+
⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
(Omit sections where data is unavailable; state so explicitly.)
|
|
82
|
+
|
|
83
|
+
## Error handling
|
|
84
|
+
|
|
85
|
+
| Situation | 简体中文回复 | 繁體中文 / English |
|
|
86
|
+
| ------------------------------------ | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
87
|
+
| `command not found: longbridge` | 回退到 MCP;如 MCP 也不可用,请用户安装 longbridge-terminal。 | 回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if also unavailable, tell user to install longbridge-terminal. |
|
|
88
|
+
| stderr `not logged in` | 请运行 `longbridge auth login` 登录。 | 請執行 `longbridge auth login`。/ Run `longbridge auth login`. |
|
|
89
|
+
| Consensus data has < 3 analysts | 覆盖分析师不足 3 位,一致预期仅供参考。 | 覆蓋分析師不足 3 位,僅供參考。/ Fewer than 3 analysts — consensus is indicative only. |
|
|
90
|
+
| Analyst estimates data returns empty | "{symbol} 暂无分析师预期数据。" | "{symbol} 暫無分析師預期。" / "{symbol} has no analyst estimates." |
|
|
91
|
+
| No actuals for beat/miss | 跳过超预期/低于预期分析,注明无历史实际值。 | 跳過超預期分析,注明無歷史數據。/ Skip beat/miss analysis; note no historical actuals available. |
|
|
92
|
+
| Other stderr | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# longbridge-coverage-initiation
|
|
2
|
+
|
|
3
|
+
Generates a structured initiating-coverage report framework for a single listed company, following a five-step institutional workflow.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
Five-step coverage initiation process:
|
|
8
|
+
|
|
9
|
+
1. **Company overview** — business description, history, key products/services, geographic exposure
|
|
10
|
+
2. **Industry positioning** — sector dynamics, competitive landscape, market share, tailwinds/headwinds
|
|
11
|
+
3. **Financial modelling** — historical P&L, balance sheet health, free cash flow, key ratios
|
|
12
|
+
4. **Valuation analysis** — current multiples vs peers vs historical range, DCF considerations, target price rationale
|
|
13
|
+
5. **Investment conclusion** — rating (Buy / Hold / Sell), 12-month price target, key catalysts, key risks
|
|
14
|
+
|
|
15
|
+
Run these CLI commands (parallel is fine):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Company profile (business overview, sector, executives)
|
|
19
|
+
longbridge company <SYMBOL> --format json
|
|
20
|
+
|
|
21
|
+
# Full financial report (IS + BS + CF — all periods available)
|
|
22
|
+
longbridge financial-report <SYMBOL> --kind ALL --format json
|
|
23
|
+
|
|
24
|
+
# Industry-level valuation comparison
|
|
25
|
+
longbridge industry-valuation <SYMBOL> --format json
|
|
26
|
+
|
|
27
|
+
# Recent news and regulatory filings for context
|
|
28
|
+
longbridge news <SYMBOL> --format json
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
> If you're unsure of exact flag names or defaults, run `longbridge <subcommand> --help` first.
|
|
32
|
+
|
|
33
|
+
## Symbol format
|
|
34
|
+
|
|
35
|
+
`<CODE>.<MARKET>` — e.g. `NVDA.US`, `700.HK`, `600519.SH`. If the market is ambiguous, ask the user.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Structure the output as a formatted research report with clearly labelled sections:
|
|
40
|
+
|
|
41
|
+
**Cover page metadata**: Symbol, company name, date, analyst note (LLM-generated)
|
|
42
|
+
|
|
43
|
+
**Section 1 — Company overview**: 2–3 paragraphs on business model, history, geography
|
|
44
|
+
|
|
45
|
+
**Section 2 — Industry positioning**: market size, growth drivers, Porter five-forces summary, competitive moat assessment
|
|
46
|
+
|
|
47
|
+
**Section 3 — Financial highlights** (table):
|
|
48
|
+
|
|
49
|
+
| Metric | Year -2 | Year -1 | LTM |
|
|
50
|
+
| -------------- | ------- | ------- | --- |
|
|
51
|
+
| Revenue | | | |
|
|
52
|
+
| Net Income | | | |
|
|
53
|
+
| EPS | | | |
|
|
54
|
+
| Gross Margin % | | | |
|
|
55
|
+
| ROE | | | |
|
|
56
|
+
|
|
57
|
+
**Section 4 — Valuation**:
|
|
58
|
+
|
|
59
|
+
- Current PE / PB / PS vs industry median
|
|
60
|
+
- Historical percentile (if available)
|
|
61
|
+
- Implied price target rationale
|
|
62
|
+
|
|
63
|
+
**Section 5 — Investment conclusion**:
|
|
64
|
+
|
|
65
|
+
- Rating, price target, upside/downside
|
|
66
|
+
- Top 3 catalysts (bull case)
|
|
67
|
+
- Top 3 risks (bear case)
|
|
68
|
+
|
|
69
|
+
## Error handling
|
|
70
|
+
|
|
71
|
+
| Situation | Simplified Chinese | Traditional Chinese / English |
|
|
72
|
+
| --------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
73
|
+
| `command not found: longbridge` | 回退到 MCP;否则提示安装 longbridge-terminal | 回退到 MCP;否則提示安裝 / Fall back to MCP; prompt to install longbridge-terminal |
|
|
74
|
+
| `not logged in` / `unauthorized` | 请运行 `longbridge auth login` | 請運行 `longbridge auth login` / Run `longbridge auth login` |
|
|
75
|
+
| `company` subcommand missing data | 从其他子命令补充可用信息,标注缺失字段 | 從其他命令補充,標注缺失 / Supplement from other commands, flag missing fields |
|
|
76
|
+
| Other stderr | 原样展示错误,不重试 | 原樣展示,不重試 / Surface verbatim, no silent retry |
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# longbridge-defi-yield
|
|
2
|
+
|
|
3
|
+
DeFi yield analysis framework — covers lending rates (AAVE / Compound), liquidity provision (LP) returns, staking yields, yield farming strategies, and risk-adjusted return comparison across DeFi protocols.
|
|
4
|
+
|
|
5
|
+
> **Data scope notice**: Longbridge provides real-time spot prices for major cryptocurrencies (`.HAS` suffix, e.g. `BTCUSD.HAS`, `ETHUSD.HAS`). DeFi protocol metrics (APY, TVL, utilisation rates) are **not available** via the Longbridge CLI — they must be sourced via WebSearch (DefiLlama, CoinGecko, protocol dashboards).
|
|
6
|
+
|
|
7
|
+
## Workflow
|
|
8
|
+
|
|
9
|
+
1. **Identify asset and protocol** from the prompt (e.g. ETH + AAVE, USDC + Compound).
|
|
10
|
+
2. **Fetch spot price** from Longbridge for the underlying crypto asset (as price reference):
|
|
11
|
+
```bash
|
|
12
|
+
longbridge quote ETHUSD.HAS --format json
|
|
13
|
+
```
|
|
14
|
+
3. **Fetch DeFi protocol data** via WebSearch from canonical sources:
|
|
15
|
+
- DefiLlama (`defillama.com`) for TVL, protocol APY, pool yields.
|
|
16
|
+
- CoinGecko (`coingecko.com`) for staking yields and token data.
|
|
17
|
+
- Protocol-native dashboards (app.aave.com, app.compound.finance) for live rates.
|
|
18
|
+
4. **Compute risk-adjusted yield**:
|
|
19
|
+
- Nominal APY vs. inflation-adjusted real yield.
|
|
20
|
+
- IL (impermanent loss) risk for LP positions.
|
|
21
|
+
- Smart contract risk / audit status (note qualitatively).
|
|
22
|
+
5. **Present comparison table** across protocols/strategies, ranked by risk-adjusted return.
|
|
23
|
+
|
|
24
|
+
## CLI
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Spot price for underlying crypto (price reference only)
|
|
28
|
+
longbridge quote BTCUSD.HAS --format json
|
|
29
|
+
longbridge quote ETHUSD.HAS --format json
|
|
30
|
+
longbridge quote SOLUSD.HAS --format json
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
> Run `longbridge quote --help` to see supported `.HAS` crypto symbols.
|
|
34
|
+
|
|
35
|
+
DeFi protocol data is **not available** via the Longbridge CLI. Use WebSearch to retrieve live APY/TVL from DefiLlama, CoinGecko, or protocol dashboards.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Present a DeFi yield comparison table:
|
|
40
|
+
|
|
41
|
+
| Field | 简体 | 繁體 | English |
|
|
42
|
+
| -------------- | ------------ | ------------ | ------------- |
|
|
43
|
+
| Protocol | 协议 | 協議 | Protocol |
|
|
44
|
+
| Asset | 资产 | 資產 | Asset |
|
|
45
|
+
| Strategy type | 策略类型 | 策略類型 | Strategy type |
|
|
46
|
+
| Nominal APY | 名义年化收益 | 名義年化收益 | Nominal APY |
|
|
47
|
+
| Estimated risk | 风险等级 | 風險等級 | Risk level |
|
|
48
|
+
| TVL | 总锁仓量 | 總鎖倉量 | TVL |
|
|
49
|
+
| Notes | 备注 | 備註 | Notes |
|
|
50
|
+
|
|
51
|
+
Always include a risk disclaimer: _"DeFi 投资存在智能合约风险、无常损失和流动性风险,不构成投资建议。"_ / _"DeFi investing carries smart contract, impermanent loss, and liquidity risks. This is not investment advice."_
|
|
52
|
+
|
|
53
|
+
## Error handling
|
|
54
|
+
|
|
55
|
+
| Situation | 简体回复 | 繁體回覆 | English reply |
|
|
56
|
+
| ------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -------------------------------------------------- |
|
|
57
|
+
| `command not found: longbridge` | 请先安装 longbridge-terminal(仅用于现货价格) | 請先安裝 longbridge-terminal(僅用於現貨價格) | Install longbridge-terminal (for spot prices only) |
|
|
58
|
+
| `.HAS` symbol not found | 提示该加密货币暂不支持,尝试标准格式 | 提示該加密貨幣暫不支援 | Crypto symbol not supported; check `.HAS` format |
|
|
59
|
+
| DeFi APY data unavailable | 提示需通过 WebSearch 获取协议数据 | 提示需透過 WebSearch 取得協議數據 | DeFi APY requires WebSearch (DefiLlama/CoinGecko) |
|
|
60
|
+
| Other stderr | 原样展示,不重试 | 原樣展示,不重試 | Surface verbatim, do not retry |
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Financial Calendar Tracking & Insights
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This Skill targets general retail investors, proactively providing financial calendar summaries, impact analysis for holdings and watchlist, cross-market linkage conclusions — **and helping users discover market opportunities beyond their portfolio**. Users do not need professional financial knowledge; the system handles all reasoning from events to impacts. Conclusions cover all relevant securities — tagged if they belong to the user's holdings or watchlist — while also extending to noteworthy market highlights.
|
|
6
|
+
|
|
7
|
+
Prerequisite: The user must have completed Longbridge account authorization. See `references/data-fetching.md` for the degradation strategy when unauthorized.
|
|
8
|
+
|
|
9
|
+
Dependent files:
|
|
10
|
+
|
|
11
|
+
- `references/output-template.md` — Field specifications and templates for the four output card types
|
|
12
|
+
- `references/data-fetching.md` — Data source priorities, degradation rules, and CLI usage instructions
|
|
13
|
+
|
|
14
|
+
## Data-Driven, Not Pre-Configured
|
|
15
|
+
|
|
16
|
+
This Skill does not maintain separate user preference settings. All required information is obtained from the following sources:
|
|
17
|
+
|
|
18
|
+
- **Holdings & Watchlist**: Fetched in real time from the Longbridge account to automatically determine the securities and markets the user cares about. **Holdings and watchlist are equally important for event coverage — both must be fully scanned; neither source may be omitted.** Holdings and watchlist are not grouped separately; they are unified and sorted by event time, differentiated only by tags.
|
|
19
|
+
- **Market-Wide Events**: In addition to holdings and watchlist events, fetch high-importance market-wide events (without the `--filter` parameter). These events cover securities the user does not hold, tagged with "Market" to help users discover new opportunities. Selection criteria: high market attention (e.g., marquee earnings, hot IPOs, industry leader movements), relevance to current market themes, or potential to create trading opportunities.
|
|
20
|
+
- **Time Range**: Determined from the user's request, with the following defaults. The CLI may not support time parameters — fetch data first, then filter results by time.
|
|
21
|
+
|
|
22
|
+
| User Expression | Scan Range |
|
|
23
|
+
| ------------------- | -------------------------------------- |
|
|
24
|
+
| Today | Current day (T+0) |
|
|
25
|
+
| Tomorrow | T+1 |
|
|
26
|
+
| This week | Monday to Sunday of the current week |
|
|
27
|
+
| Next week | Monday to Sunday of the following week |
|
|
28
|
+
| Recently / Upcoming | T+0 ~ T+3 (next 3 calendar days) |
|
|
29
|
+
| No time specified | Default T+0 ~ T+3 |
|
|
30
|
+
|
|
31
|
+
**Weekend & Non-Trading Day Rules:**
|
|
32
|
+
|
|
33
|
+
Time ranges are calculated in calendar days but must ensure coverage through the next trading day. Specific rules:
|
|
34
|
+
|
|
35
|
+
1. **Auto-Extension**: When the end of the time range falls on a weekend or holiday, automatically extend to that market's next trading day. For example, saying "next 3 days" on Friday (T+0 ~ T+3 = Friday to Monday) — if Monday is a trading day, cover through Monday's after-hours; if Monday is also a holiday, extend to Tuesday.
|
|
36
|
+
2. **Per-Market Judgment**: When a user's holdings span multiple markets (e.g., US + HK + A-shares), each market has a different trading calendar and must be evaluated separately. For example, US markets are closed on Christmas but HK markets are not — the effective time windows differ.
|
|
37
|
+
3. **Use Market Closure Calendar Data**: The data collection phase already fetches market closure calendars — use them to determine actual trading day boundaries for each market.
|
|
38
|
+
4. **Indicate in Output**: When the time window extends due to weekends/holidays, reflect the actual coverage range in the title (e.g., "May 8 to May 11" rather than "next 3 days"), and note weekend/holiday arrangements where appropriate.
|
|
39
|
+
|
|
40
|
+
- **Output Style**: Default to plain language (everyday terms, no jargon); if the user demonstrates professional background or explicitly requests it, switch to fundamental-style output (preserving raw data).
|
|
41
|
+
- **Filtering & Priority**: Prioritize high-importance events. Specific filtering strategies are determined based on the importance fields returned by data sources and the user's request. **Event scope is not limited to the user's holdings and watchlist**: major global events (e.g., Fed meetings, non-farm payrolls) and trending events related to the industries of the user's holdings/watchlist should also be included, to avoid missing important market information by focusing only on existing positions.
|
|
42
|
+
- **Market Opportunity Discovery**: Beyond scanning events for holdings and watchlist, proactively discover market-level opportunities and trends. This includes:
|
|
43
|
+
- **Sector Rotation & Market Themes**: What themes/sectors the market is currently focused on (e.g., AI, tech, nuclear energy, GLP-1 weight-loss drugs), which sectors show significant capital inflows.
|
|
44
|
+
- **Cross-Market Linkages & Arbitrage Opportunities**: Recent cross-market linkage signals (e.g., A/H share premium changes, Chinese ADR and HK stock correlations, commodity and related stock correlations, ADR and underlying share price differentials), which may not be in the user's current portfolio but are worth watching.
|
|
45
|
+
- **Event-Driven Trading Opportunities**: Short-term trading windows potentially created by upcoming events (e.g., volatility trading around earnings, sector positioning before policy announcements).
|
|
46
|
+
- This information is proactively obtained via WebSearch, independent of the user's holdings scope, with the goal of helping users discover "the world beyond their portfolio".
|
|
47
|
+
|
|
48
|
+
The above default behaviors require no pre-configuration by the user. If the user requests adjustments during a conversation, follow those instructions for the current session.
|
|
49
|
+
|
|
50
|
+
## Execution Flow
|
|
51
|
+
|
|
52
|
+
Each request executes the full flow, producing output in four sections. Each section is generated if data exists and omitted if not (but the first section must always be included). Generate as much content as possible, covering all dimensions the user might care about. The same event should appear only once and not be repeated across sections.
|
|
53
|
+
|
|
54
|
+
### Data Collection (Unified Upfront)
|
|
55
|
+
|
|
56
|
+
1. Retrieve the user's holdings and watchlist (if unauthorized, stop and prompt login)
|
|
57
|
+
2. Following the `data-fetching.md` specification, **fetch all data sources in parallel** (all without `--filter`, fetching market-wide data):
|
|
58
|
+
- Earnings/performance calendar, macroeconomic calendar, dividend/ex-date calendar, market closure/trading calendar, stock split calendar, IPO/new listing calendar
|
|
59
|
+
- **Market trends and opportunity data** (proactively searched via WebSearch, fetched in parallel with the CLI data above)
|
|
60
|
+
3. After obtaining the full dataset, **tag each event** based on the holdings and watchlist (Holdings / Watchlist / Market) — tags are classification labels only and do not affect data retrieval scope
|
|
61
|
+
4. Filter results by the user's requested time range (default T+0 ~ T+3)
|
|
62
|
+
5. **Time direction: Focus on the future.** Only retain events that **have not yet occurred** (from today onward). The sole exception is earnings results released "last night / pre-market today" (i.e., published between the previous trading day's close and today's open), which may be briefly mentioned in sections one and three. Earlier historical events are excluded entirely.
|
|
63
|
+
6. If the user specifies a particular stock, provide in-depth expansion on that stock's dimension
|
|
64
|
+
|
|
65
|
+
### Section 1: Event Overview (Template 1)
|
|
66
|
+
|
|
67
|
+
All events (macro, holdings, watchlist, **high-attention market-wide events**) are merged into a single timeline, sorted uniformly by date and time, without duplication:
|
|
68
|
+
|
|
69
|
+
- If there are earnings results released **last night or pre-market today** (limited to the period from the previous trading day's close to present), mention them briefly without expanding on history
|
|
70
|
+
- Group by calendar day (e.g., "May 12 (Monday)"), sorted chronologically within each day
|
|
71
|
+
- Macro events (CPI, PPI, Fed meetings, non-farm payrolls, etc.) and security-specific events are interleaved on the same timeline, not grouped separately
|
|
72
|
+
- Source tags for securities:
|
|
73
|
+
- "Holdings" — currently held by the user
|
|
74
|
+
- "Watchlist" — in the user's watchlist
|
|
75
|
+
- "Market" — neither holdings nor watchlist, but a high-attention market event (e.g., marquee earnings, hot IPOs, industry leaders) included to help users discover opportunities
|
|
76
|
+
- **Source of "Market" securities**: These naturally emerge from the market-wide calendar data fetched without the `--filter` parameter. After fetching unfiltered data, exclude holdings and watchlist codes, then select noteworthy events from the remainder and tag them as "Market". No hard quantity requirement — event-heavy days will naturally produce more, quiet days fewer. The key is **not to lose the ability to discover opportunities by filtering on securities**
|
|
77
|
+
- May include, but is not limited to, these types:
|
|
78
|
+
- Earnings from large-cap, high-attention companies (industry leaders, recently trending companies)
|
|
79
|
+
- Hot IPOs / new listings
|
|
80
|
+
- Securities closely related to current market themes
|
|
81
|
+
- Catalyst events for companies with recent price anomalies or heavy market discussion
|
|
82
|
+
- Securities with no events do not appear
|
|
83
|
+
- No cap on the number of events — list as many as there are
|
|
84
|
+
- Output following Template 1 format in `output-template.md`
|
|
85
|
+
|
|
86
|
+
### Section 2: Key Event Impact Analysis (Template 2)
|
|
87
|
+
|
|
88
|
+
- Extract high-importance events (e.g., major earnings, Fed meetings, non-farm payrolls, significant industry policies)
|
|
89
|
+
- Provide in-depth analysis for each key event:
|
|
90
|
+
- Event content and core data
|
|
91
|
+
- Impact classification for actually affected stocks (direct impact / indirect impact), tagged if they are watchlist/holdings, omitting unrelated securities
|
|
92
|
+
- Action reference (no buy/sell instructions)
|
|
93
|
+
- If there are no high-importance events in the time range, this section may be omitted
|
|
94
|
+
- Output following Template 2 format in `output-template.md`
|
|
95
|
+
|
|
96
|
+
### Section 3: Earnings Results Express (Template 3)
|
|
97
|
+
|
|
98
|
+
- Cover earnings results released **last night or pre-market today** across all securities (from the previous trading day's close to today's open) — earlier results are excluded. Generate an earnings result card for each:
|
|
99
|
+
- Beat/miss assessment and magnitude
|
|
100
|
+
- Core business highlights
|
|
101
|
+
- Market reaction (after-hours/pre-market price movement)
|
|
102
|
+
- Next-day market closure notice (if applicable)
|
|
103
|
+
- If no earnings have been released, this section is omitted
|
|
104
|
+
- Output following Template 3 format in `output-template.md`
|
|
105
|
+
|
|
106
|
+
### Section 4: Market Trends & Opportunity Discovery (Template 4)
|
|
107
|
+
|
|
108
|
+
This section goes beyond the user's existing holdings and watchlist to proactively discover market-level opportunities:
|
|
109
|
+
|
|
110
|
+
- **Recent Market Trends & Sector Movements**: Search via WebSearch for currently trending themes, sector rotation directions, and capital flows. Not limited to securities the user already follows — the goal is to help users discover new opportunities.
|
|
111
|
+
- **Cross-Market Linkages & Arbitrage Signals**: Scan recent (especially yesterday's) cross-market linkage activity, including but not limited to:
|
|
112
|
+
- A/H share premium anomalies (price spreads for the same company listed on both A-shares and HK)
|
|
113
|
+
- Chinese ADR vs. HK underlying share price differentials
|
|
114
|
+
- Commodity price fluctuations transmitting to related listed company stock prices (e.g., copper price rise → copper mining stocks)
|
|
115
|
+
- Exchange rate movements creating cross-market impacts
|
|
116
|
+
- "Time-zone arbitrage" windows where a policy/event has already been priced into one market but another market hasn't opened yet
|
|
117
|
+
- **Event-Driven Potential Opportunities**: Based on upcoming events (earnings, policies, data releases), identify potential short-term trading opportunity windows, even if the securities involved are not in the user's portfolio
|
|
118
|
+
- Each opportunity point must explain the logic and risks; no specific buy/sell recommendations
|
|
119
|
+
- If searches yield no valuable opportunity information, this section may be omitted
|
|
120
|
+
- Output following Template 4 format in `output-template.md`
|
|
121
|
+
|
|
122
|
+
### Wrap-Up
|
|
123
|
+
|
|
124
|
+
- Append disclaimer text at the end (see output specifications)
|
|
125
|
+
- Prompt the user that they can follow up: "If you'd like to dive deeper into any event, or when earnings results come out, feel free to ask me anytime."
|
|
126
|
+
|
|
127
|
+
## Output Specifications
|
|
128
|
+
|
|
129
|
+
### Language Rules
|
|
130
|
+
|
|
131
|
+
- Sentence length ≤ 30 words; avoid long compound sentences
|
|
132
|
+
- Each event conclusion should not exceed 2 lines
|
|
133
|
+
- Use hedging language such as "may", "likely", etc.; do not make definitive predictions
|
|
134
|
+
- Action suggestions should use phrases like "consider monitoring", "wait until after the open to assess" — not "you should buy/sell"
|
|
135
|
+
- Do not use jargon such as EPS, guidance, Beta, IV, etc.; convert all terms to everyday language
|
|
136
|
+
|
|
137
|
+
### Terminology Conversion Reference
|
|
138
|
+
|
|
139
|
+
| Professional Term | Output Phrasing |
|
|
140
|
+
| -------------------------- | ------------------------------------------------------------------------------------------- |
|
|
141
|
+
| Ex-Dividend Date (Ex-Date) | Note: rules differ by market — buying after this date means you won't receive this dividend |
|
|
142
|
+
| Half-Day Trading | HK stocks only trade until noon today |
|
|
143
|
+
| Supply Chain Transmission | News from this company may cause related stocks to move together |
|
|
144
|
+
| Liquidity Risk | Trading volume will be thin that day, so price swings may be larger |
|
|
145
|
+
| Macro Data Beat | The economic data came in better than the market expected |
|
|
146
|
+
|
|
147
|
+
### Prohibitions
|
|
148
|
+
|
|
149
|
+
- Never respond with "nothing important today" or empty results
|
|
150
|
+
- No specific price predictions
|
|
151
|
+
- No direct buy or sell recommendations
|
|
152
|
+
- Events must always display tags; securities with no events are simply omitted from the output
|
|
153
|
+
- Securities not held and not in the watchlist may appear in the following cases:
|
|
154
|
+
- Major global events (e.g., Fed meetings, non-farm payrolls) should be displayed regardless of whether the user holds them
|
|
155
|
+
- Securities tagged "Market" in Section 1 — high-attention events (marquee earnings, hot IPOs, industry leaders, etc.)
|
|
156
|
+
- Trending event securities directly related to the industries of the user's holdings or watchlist
|
|
157
|
+
- Securities in Section 4 (Market Trends & Opportunity Discovery) — this section is specifically designed to help users discover opportunities beyond their portfolio
|
|
158
|
+
- Overall principle: **Full coverage** for holdings and watchlist events (no omissions); **selective coverage** for Market-tagged events (only high-value ones)
|
|
159
|
+
|
|
160
|
+
### Disclaimer Text
|
|
161
|
+
|
|
162
|
+
Appended once at the end of each complete report (not repeated in each section):
|
|
163
|
+
|
|
164
|
+
> If you'd like to dive deeper into any event, or when earnings results come out, feel free to ask me anytime.
|
|
165
|
+
> The above content is compiled from Longbridge data sources and publicly available information, provided for reference only. It does not constitute investment advice. Please make decisions based on your own judgment.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# longbridge-financial-planning
|
|
2
|
+
|
|
3
|
+
Personal financial planning framework — retirement targets, education fund, balance sheet, and portfolio gap analysis.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
1. Fetch current account value, positions, and multi-currency cash.
|
|
8
|
+
2. Ask the user for planning inputs (or use defaults):
|
|
9
|
+
- Retirement age target (default: 60)
|
|
10
|
+
- Annual living expenses in retirement
|
|
11
|
+
- Children's education fund target (if applicable)
|
|
12
|
+
- Monthly savings capacity
|
|
13
|
+
- Expected portfolio return assumption
|
|
14
|
+
3. Build the financial plan:
|
|
15
|
+
- **Net worth snapshot**: investments + cash − liabilities
|
|
16
|
+
- **Retirement gap**: target corpus − current portfolio (compounded)
|
|
17
|
+
- **Education fund gap**: target − dedicated savings
|
|
18
|
+
- **Savings rate**: monthly contribution vs. income
|
|
19
|
+
- **Years to goal**: solve for `n` given current value, rate, contribution
|
|
20
|
+
4. Output a structured plan with actionable recommendations.
|
|
21
|
+
5. Convert multi-currency assets to a common base using FX rates.
|
|
22
|
+
|
|
23
|
+
> If unsure of exact flag names, run `longbridge <subcommand> --help` before proceeding.
|
|
24
|
+
|
|
25
|
+
## CLI
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Account portfolio market value
|
|
29
|
+
longbridge portfolio --format json
|
|
30
|
+
|
|
31
|
+
# Current positions (stocks, funds)
|
|
32
|
+
longbridge positions --format json
|
|
33
|
+
|
|
34
|
+
# Multi-currency exchange rates for normalisation
|
|
35
|
+
longbridge exchange-rate --format json
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Output structure
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
PERSONAL FINANCIAL PLAN <Date>
|
|
42
|
+
|
|
43
|
+
NET WORTH SNAPSHOT
|
|
44
|
+
Investment Portfolio: $xxx,xxx (USD equivalent)
|
|
45
|
+
Cash & Money Market: $xx,xxx
|
|
46
|
+
Total Net Worth: $xxx,xxx
|
|
47
|
+
|
|
48
|
+
RETIREMENT PLANNING
|
|
49
|
+
Target Age: 60 Current Age: xx Years: xx
|
|
50
|
+
Annual Expense: $xx,xxx/yr Corpus Needed: $x,xxx,xxx
|
|
51
|
+
Current Progress: $xxx,xxx (xx% of target)
|
|
52
|
+
Gap: $xxx,xxx
|
|
53
|
+
Required Monthly Savings: $x,xxx (at x.x% p.a.)
|
|
54
|
+
|
|
55
|
+
EDUCATION FUND
|
|
56
|
+
Target: $xxx,xxx by Year 20xx
|
|
57
|
+
Current: $xx,xxx Gap: $xx,xxx
|
|
58
|
+
Monthly Top-up Needed: $x,xxx
|
|
59
|
+
|
|
60
|
+
SAVINGS RATE ANALYSIS
|
|
61
|
+
Monthly Income (estimated): $x,xxx
|
|
62
|
+
Monthly Savings: $x,xxx (xx%)
|
|
63
|
+
Recommendation: [On track | Increase savings by $x,xxx/month]
|
|
64
|
+
|
|
65
|
+
ACTION ITEMS
|
|
66
|
+
1. ...
|
|
67
|
+
2. ...
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Error handling
|
|
71
|
+
|
|
72
|
+
| Situation | 简体回复 | 繁體回復 | English reply |
|
|
73
|
+
| ------------------------------- | -------------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------- |
|
|
74
|
+
| Not logged in | 请运行 `longbridge auth login` 并授予 Trade 权限。 | 請執行 `longbridge auth login` 並授予 Trade 權限。 | Run `longbridge auth login` with Trade scope. |
|
|
75
|
+
| Empty portfolio | 账户暂无持仓,请先建立投资组合。 | 賬戶暫無持倉,請先建立投資組合。 | No positions found — build a portfolio first. |
|
|
76
|
+
| FX rate unavailable | 部分货币汇率不可用,已使用近似值。 | 部分貨幣匯率不可用,已使用近似值。 | Some FX rates unavailable — approximate values used. |
|
|
77
|
+
| `command not found: longbridge` | 请安装 longbridge-terminal 或通过 MCP 连接。 | 請安裝 longbridge-terminal 或透過 MCP 連線。 | Install longbridge-terminal or connect via MCP. |
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# forecast-eps
|
|
2
|
+
|
|
3
|
+
```
|
|
4
|
+
EPS forecasts and analyst consensus estimates for a symbol
|
|
5
|
+
|
|
6
|
+
Example: longbridge forecast-eps TSLA.US Example: longbridge forecast-eps TSLA.US --format json
|
|
7
|
+
|
|
8
|
+
Usage: longbridge forecast-eps [OPTIONS] <SYMBOL>
|
|
9
|
+
|
|
10
|
+
Arguments:
|
|
11
|
+
<SYMBOL>
|
|
12
|
+
Symbol in <CODE>.<MARKET> format
|
|
13
|
+
|
|
14
|
+
Options:
|
|
15
|
+
--format <FORMAT>
|
|
16
|
+
Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
|
|
17
|
+
|
|
18
|
+
[default: pretty]
|
|
19
|
+
[possible values: table, json]
|
|
20
|
+
|
|
21
|
+
-v, --verbose
|
|
22
|
+
Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
|
|
23
|
+
|
|
24
|
+
--lang <LANG>
|
|
25
|
+
Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
|
|
26
|
+
|
|
27
|
+
-h, --help
|
|
28
|
+
Print help (see a summary with '-h')
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Run with JSON output for AI agents
|
|
35
|
+
longbridge forecast-eps --format json
|
|
36
|
+
|
|
37
|
+
# See all options
|
|
38
|
+
longbridge forecast-eps --help
|
|
39
|
+
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# fund-holder
|
|
2
|
+
|
|
3
|
+
```
|
|
4
|
+
Funds and ETFs that hold a given symbol
|
|
5
|
+
|
|
6
|
+
Returns: fund name, ticker, currency, weight (position ratio), and report date. Pass --count -1 to return all holders. Example: longbridge fund-holder AAPL.US Example: longbridge fund-holder AAPL.US --count 20 Example: longbridge fund-holder AAPL.US --format json
|
|
7
|
+
|
|
8
|
+
Usage: longbridge fund-holder [OPTIONS] <SYMBOL>
|
|
9
|
+
|
|
10
|
+
Arguments:
|
|
11
|
+
<SYMBOL>
|
|
12
|
+
Symbol in <CODE>.<MARKET> format
|
|
13
|
+
|
|
14
|
+
Options:
|
|
15
|
+
--count <COUNT>
|
|
16
|
+
Number of results to return (-1 for all)
|
|
17
|
+
|
|
18
|
+
[default: 20]
|
|
19
|
+
|
|
20
|
+
--format <FORMAT>
|
|
21
|
+
Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
|
|
22
|
+
|
|
23
|
+
[default: pretty]
|
|
24
|
+
[possible values: table, json]
|
|
25
|
+
|
|
26
|
+
-v, --verbose
|
|
27
|
+
Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v
|
|
28
|
+
|
|
29
|
+
--lang <LANG>
|
|
30
|
+
Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en
|
|
31
|
+
|
|
32
|
+
-h, --help
|
|
33
|
+
Print help (see a summary with '-h')
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Run with JSON output for AI agents
|
|
40
|
+
longbridge fund-holder --format json
|
|
41
|
+
|
|
42
|
+
# See all options
|
|
43
|
+
longbridge fund-holder --help
|
|
44
|
+
```
|