@weaxs/openclaw-stock-analysis 0.2.9 → 0.2.11
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/README.md +5 -2
- package/dist/index.js +368 -437
- package/index.ts +69 -2
- package/openclaw.plugin.json +2 -0
- package/package.json +3 -3
- package/scripts/profile-offline.py +127 -0
- package/scripts/profile-workflows.py +87 -0
- package/skills/growth-quality/SKILL.md +2 -0
- package/skills/stock-analysis/SKILL.md +14 -3
- package/skills/stock-analysis/references/stateless-analysis.md +16 -2
- package/skills/stock-screener/SKILL.md +4 -0
- package/skills/strategy-backtest/SKILL.md +8 -3
- package/tools/_cache.py +93 -21
- package/tools/_subproc.py +43 -8
- package/tools/alert_rules.py +63 -14
- package/tools/anomaly_detect.py +11 -6
- package/tools/backtest.py +225 -70
- package/tools/capabilities.py +1 -0
- package/tools/gather.py +63 -8
- package/tools/market_regime.py +26 -15
- package/tools/market_review.py +2 -2
- package/tools/name_resolver.py +16 -14
- package/tools/position_context.py +5 -2
- package/tools/requirements.txt +4 -4
- package/tools/risk_screening.py +40 -15
- package/tools/screener.py +44 -18
- package/tools/search_intel.py +95 -33
- package/tools/sec_holders.py +27 -25
- package/tools/signal_tracker.py +106 -54
- package/tools/stateless_analysis.py +600 -33
- package/tools/stock_data.py +366 -50
- package/tools/technical.py +42 -40
- package/tools/tiaa_disclosures.py +263 -0
- package/tools/trading_calendar.py +26 -21
- package/tools/value_data.py +6 -2
- package/tools/watchlist.py +24 -15
- package/tools/watchlist_context.py +63 -49
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Stock Analysis — OpenClaw Plugin
|
|
2
2
|
|
|
3
|
-
A股 / 港股 / 美股 / 日股 / 韩股 / 台股 行情、技术分析、筛选与回测。OpenClaw Gateway 加载后即可在对话中调用
|
|
3
|
+
A股 / 港股 / 美股 / 日股 / 韩股 / 台股 行情、技术分析、筛选与回测。OpenClaw Gateway 加载后即可在对话中调用 72 个工具。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -25,7 +25,8 @@ npm install
|
|
|
25
25
|
|
|
26
26
|
### 行情数据
|
|
27
27
|
- `get_kline` — K线 OHLCV(A/HK/US/JP/KR/TW)
|
|
28
|
-
- `get_quote` —
|
|
28
|
+
- `get_quote` — 股票实时报价;场外基金用 `get_fund_quote`,TIAAxxxxxx 返回投顾组合识别、`advisor_org` 与无统一净值提示;长钱/海外长钱/稳钱另有有知有行 `official_disclosures`(`partial=true`,非实时完整持仓);其他组合搜索可用时为 `search_partial`,否则 `unsupported_provider`
|
|
29
|
+
- `get_fund_quote` — 场外公募基金净值;`nav` 为已披露日终净值(非实时价),含 `accumulated_nav` / `change_pct` / `nav_date`;`estimated_nav` 可能为 null,QDII 可能滞后 1-2 交易日
|
|
29
30
|
- `get_capital_flow` — A股资金流(个股 / 多日 / 板块)
|
|
30
31
|
- `get_news` — 财经新闻
|
|
31
32
|
- `get_financials` — 关键财务指标
|
|
@@ -35,6 +36,8 @@ npm install
|
|
|
35
36
|
- `analyze_pattern` — 12+ 种 K 线形态识别
|
|
36
37
|
- `calculate_ma` — 独立均线计算
|
|
37
38
|
- `get_volume_analysis` — 量价分析
|
|
39
|
+
- `analyze_portfolio_risk` — 组合敞口、相关性、止损与确定性压力测试
|
|
40
|
+
- `plan_portfolio_rebalance` — 目标权重、整手和现金约束下的调仓清单
|
|
38
41
|
|
|
39
42
|
### 市场全景
|
|
40
43
|
- `get_market_indices` — 主要指数(CN/HK/US/JP/KR/TW)
|