股票/基金/期货量化分析工具(新增MCP接入)
全球智能投研工具 v11.0 — 多源数据强化 + AI 期货/资金流/指数/组合深度分析 + 金融六日 MCP 桥接。 叠加 v10.0 多源金融数据 + v9.8 知识库 12 适配器 + v9.5 大佬圆桌。 全资产量化 + 真实数据源,覆盖 12 个全球市场,零依赖核心(纯 stdlib)。 🆕 v11.0 量化锋刃(11 大变更): 数据:data_multi_source.py 新增 4 数据源适配器 + SinaFinanceAdapter(新浪财经:A股/港股/美股实时行情+K线,免费无 Key) + XueqiuAdapter(雪球:A股行情+情绪,免费无 Key) + FuturesExchangeAdapter(上期所/大商所/郑商所:期货快照+历史K线+夜盘,免费无 Key) + TonghuashunAdapter(同花顺:A股行情+资金流,免费无 Key) + ExternalMCPAdapter(占位:金融六日外部 MCP,通过 stdio 桥接) + DataCategory 新增 3 类(FUTURES_HISTORY/MONEY_FLOW/SENTI
价格
免费
- 安装:免费
在组织开通时一次性收取;再次读取清单或下载不重复收费。
以上为公开标价。你的组织可能有协议价,以控制台显示的价格为准。
如何使用
为组织安装
开通即安装:组织固定使用开通时的版本(当前为 1.0.0)。升级到新版本需要取消后重新开通。
创建凭证
客户端使用组织凭证读取;绑定到数字人后,数字人使用绑定凭证按需加载。请求中携带:
Authorization: Bearer $ZGI_MARKET_KEY读取清单与安装包
清单列出版本、文件和校验值;安装包是一个 zip 文件。
读取清单 curl "https://market-api.zgi.im/v1/market/skills/aistockresearcher/manifest" \ -H "Authorization: Bearer $ZGI_MARKET_KEY"下载安装包 curl "https://market-api.zgi.im/v1/market/skills/aistockresearcher/package" \ -H "Authorization: Bearer $ZGI_MARKET_KEY" \ -o aistockresearcher.zip读取清单和下载安装包不计入用量。下载后请用响应头中的 SHA-256 校验文件。
技能说明
- 名称
- stock-researcher
- 说明
- 全球智能投研工具 v11.0 — 多源数据强化 + AI 期货/资金流/指数/组合深度分析 + 金融六日 MCP 桥接。 叠加 v10.0 多源金融数据 + v9.8 知识库 12 适配器 + v9.5 大佬圆桌。 全资产量化 + 真实数据源,覆盖 12 个全球市场,零依赖核心(纯 stdlib)。 🆕 v11.0 量化锋刃(11 大变更): 数据:data_multi_source.py 新增 4 数据源适配器 + SinaFinanceAdapter(新浪财经:A股/港股/美股实时行情+K线,免费无 Key) + XueqiuAdapter(雪球:A股行情+情绪,免费无 Key) + FuturesExchangeAdapter(上期所/大商所/郑商所:期货快照+历史K线+夜盘,免费无 Key) + TonghuashunAdapter(同花顺:A股行情+资金流,免费无 Key) + ExternalMCPAdapter(占位:金融六日外部 MCP,通过 stdio 桥接) + DataCategory 新增 3 类(FUTURES_HISTORY/MONEY_FLOW/SENTIMENT) + ETag/If-Modified-Since 缓存 + 时效分级 (realtime/delayed_15m/closing/estimated/stale) + 多源交叉验证 (cross_validate, 字段中位数融合 + 偏差容忍度) + 3σ + IQR 二阶段异常值检测 (detect_anomaly) + query_with_validation 一站式:查询+验证+置信度 AI:ai_analysis_engine.py 7 → 11 模板(新增 4 + 强化 4) + 新增 futures_analysis(期货:持仓/基差/龙虎榜/展期收益) + 新增 money_flow_analysis(资金流:主力/北向/融资/ETF/聪明钱) + 新增 index_forecast(指数:PE分位/RS评分/多周期方向) + 新增 portfolio_diagnosis(组合:业绩归因/再平衡/风格漂移) + 强化 market_regime(新增 PCR/AH 折溢价/科创50/AD 比率) + 强化 macro_outlook(新增 房地产/社零/出口/DR007/Fed Funds) + 强化
技能包内含脚本文件,加载技能的运行时可能会执行它们,安装前请先阅读。
SKILL.md 节选
# 股票研究员 v11.0 — 多源强化 + AI 期货/资金流/指数/组合 + 金融六日 MCP 桥接
> 纯 Python 标准库核心,零 pip 依赖。覆盖 12 个全球市场 + 股票/基金/指数/债券/商品/期货/货币基金/可转债;数据源:腾讯 + 东方财富 + akshare + 新浪 + 雪球 + 同花顺 + yfinance(均免费无 Key)。
## ⚠️ 支持范围与限制(重要,请先读)
### v11.0 数据源(12 个)
| 数据源 | 标识 | 覆盖 | Key |
|------|------|------|-----|
| 东方财富 API | `eastmoney_api` | A 股/指数/资金流 | ❌ |
| 新浪财经 | `sina` 🆕 | A 股/港股/美股/K线 | ❌ |
| 雪球 | `xueqiu` 🆕 | A 股行情+情绪 | ❌ |
| 同花顺 | `tonghuashun` 🆕 | A 股行情+资金流 | ❌ |
| 期货交易所 | `futures_exchange` 🆕 | 上期所/大商所/郑商所 | ❌ |
| akshare | `akshare` | A 股/基金/期货/宏观/可转债 | ❌ |
| yfinance | `yfinance` | 全球市场 | ❌ |
| Finnhub | `finnhub` | 美股深度 | ✅ 可选 |
| 腾讯 | `tencent` | A 股/港股/美股 | ❌ |
| 外部 MCP | `external_mcp` 🆕 | 金融六日桥接 | 视子 MCP |
### 限制
| 限制 | 说明 |
|------|------|
| 🔴 需国内直连 | 腾讯/东财/新浪/雪球/同花顺为国内接口,开代理反而失败。v9.6 已固化导入即自动安装无代理 opener |
| 🔴 非实时数据 | 国内接口延迟约 3~5 秒,非交易时段返回收盘价 |
| 🔴 评分≠盈利 | 预测评分表示历史上相似条件下约 X% 概率上涨,不保证未来 |
| 🟡 不构成投资建议 | 仅供学习参考 |
| 🟡 akshare 可选 | 部分高级功能(基金净值/债券/可转债/宏观)需 `pip install akshare` |
| 🟡 金融六日 MCP | 配置 `STOCK_RESEARCHER_EXTERNAL_MCP_COMMAND` 环境变量启用 |
## ⚡ 快速上手
```bash
# v11.0 新增功能
python -c "from stock_researcher import predict_multi_horizon; print(predict_multi_horizon('600519').overall_signal)"
python -c "from stock_researcher import get_router; r=get_router(); print(r.query_money_flow('600519').source)"
python -c "from stock_researcher import analyze; print(analyze('futures_analysis', {'contract':'AU2502', ...}).content[:200])"
# v10.0 + v9.x(兼容)
python scripts/stock_predict.py 600519
python scripts/stock_predict.py --masters 600519
python scripts/stock_predict.py --topdown cn
```
## MCP Server 20 工具(v11.0)
```bash
# 配置 Claude Code mcpServers
{
"mcpServers": {
"stock-researcher": {
"command": "python",
"args": ["./mcp_server.py"],
"env": {
"DEEPSEEK_API_KEY": "sk-...",
"PYTHONDONTWRITEBYTECODE": "1",
# v11.0 可选:金融六日外部 MCP
"STOCK_RESEARCHER_EXTERNAL_MCP_COMMAND": "python jinrong_liuri.py",
"STOCK_RESEARCHER_EXTERNAL_MCP_NAME": "金融六日",
"STOCK_RESEARCHER_EXTERNAL_MCP_ENV_TOKEN": "your_token"
}
}
}
}
```
工具分类:
| 类别 | 工具数 | 工具 |
|------|--------|------|
| 数据查询 | 5 | get_stock_quote / get_fund_nav / get_macro_data / **get_futures_quote** 🆕 / list_data_sources |
| AI 分析 | 11 | ai_analyze_stock / ai_analyze_fund / ai_analyze_market_regime / ai_analyze_master_council / ai_analyze_macro_outlook / ai_analyze_risk_report / ai_analyze_sector_rotation / **ai_analyze_futures** 🆕 / **ai_analyze_money_flow** 🆕 / **ai_analyze_index_forecast** 🆕 / **ai_analyze_portfolio** 🆕 |
| 量化分析 | 3 | run_master_council / quick_predict / **predict_multi_horizon** 🆕 |
| 系统 | 1 | get_skill_status |
## 🆕 v11.0 核心 API
```python
# 多周期预测(股票/基金/期货/指数通用)
from stock_researcher import predict_multi_horizon, calibrate_probability
result = predict_multi_horizon("600519", prices=[100, 101, ...])
print(result.overall_signal, result.overall_confidence) # bullish, 0.85
for h, pred in result.horizons.items():
print(f"{h}: {pred.direction} ({pred.probability*100:.0f}%) [{pred.range_low:.1f}%, {pred.range_high:.1f}%]")
# 多源数据 + 交叉验证SKILL.md 不止这些内容,安装后可阅读全文。
技能包内容
共 188 个文件,合计 2.6 MiB
- .cache/v5/25bd924b4a0181695ebe4fbd4ba87929.json602 B
- .cache/v5/68a5cf8156dfb88c47833c55b6e85eb4.json1.3 KiB
- .cache/v5/abba39ba2673e380c212cadd830fca64.json43 B
- .cache/v5/c05ccc7b0fe8012dffacff7322bd284e.json605 B
- .codebuddy-plugin/plugin.json2.8 KiB
- README.md17.4 KiB
- SKILL.md21.1 KiB
- _meta.json111 B
- agents/stock-researcher.md8.1 KiB
- build_expert_package.py17.7 KiB
- clean.py4.5 KiB
- config/api_keys.json1.6 KiB
- config/settings.json5.9 KiB
- mcp_server.py53.8 KiB
- pkg/__init__.py326 B
- pkg/crawl_utils.py4.8 KiB
- pkg/fund_analyzer.py52.3 KiB
- pkg/hk_fund.py16.8 KiB
- pytest.ini168 B
- requirements.txt1.3 KiB
- run_voice.py1.4 KiB
- runtests.py1.4 KiB
- scripts/market_overview.py16.1 KiB
- scripts/stock_predict.py48.3 KiB
- stock_researcher/__init__.py17.4 KiB
- stock_researcher/advisor_portfolio_analyzer.py5.4 KiB
- stock_researcher/advisor_rebalance_advisor.py7.5 KiB
- stock_researcher/advisor_user_profile.py3.9 KiB
- stock_researcher/agents_buffett.py10.6 KiB
- stock_researcher/agents_dalio.py3.4 KiB
- stock_researcher/agents_fisher.py4.9 KiB
- stock_researcher/agents_graham.py8.2 KiB
- stock_researcher/agents_greenblatt.py3.4 KiB
- stock_researcher/agents_livermore.py3.9 KiB
- stock_researcher/agents_lynch.py7.7 KiB
- stock_researcher/agents_marks.py4.0 KiB
- stock_researcher/agents_master_council.py6.7 KiB
- stock_researcher/agents_master_input.py7.1 KiB
- stock_researcher/agents_sentiment.py9.7 KiB
- stock_researcher/agents_soros.py3.9 KiB
- stock_researcher/agents_technical.py13.4 KiB
- stock_researcher/ai_analysis_engine.py34.1 KiB
- stock_researcher/analysis_asset_forecaster.py20.2 KiB
- stock_researcher/analysis_five_dim_analyzer.py16.7 KiB
- stock_researcher/analysis_top_down.py8.8 KiB
- stock_researcher/constants.py9.7 KiB
- stock_researcher/core_analyzer.py25.3 KiB
- stock_researcher/core_prediction_engine.py19.5 KiB
- stock_researcher/core_technical.py23.6 KiB
- stock_researcher/core_valuation.py11.5 KiB
- stock_researcher/data_akshare_provider.py6.8 KiB
- stock_researcher/data_batch.py2.9 KiB
- stock_researcher/data_cache.py6.2 KiB
- stock_researcher/data_data_quality.py3.7 KiB
- stock_researcher/data_errors.py4.0 KiB
- stock_researcher/data_financial_statements.py23.1 KiB
- stock_researcher/data_fundamental.py7.9 KiB
- stock_researcher/data_global_market.py29.4 KiB
- stock_researcher/data_hk_market.py8.4 KiB
- stock_researcher/data_index_constituents.py4.4 KiB
- stock_researcher/data_macro.py6.6 KiB
- stock_researcher/data_macro_series.py6.7 KiB
- stock_researcher/data_market.py11.2 KiB
- stock_researcher/data_market_all_stocks_crawler.py20.4 KiB
- stock_researcher/data_market_classifier.py12.9 KiB
- stock_researcher/data_money_flow.py6.5 KiB
- stock_researcher/data_multi_source.py57.3 KiB
- stock_researcher/data_news.py7.2 KiB
- stock_researcher/data_proxy_guard.py3.4 KiB
- stock_researcher/data_sentiment_forum_crawler.py22.9 KiB
- stock_researcher/data_source_manager.py15.0 KiB
- stock_researcher/data_sources_fallback.py8.0 KiB
- stock_researcher/data_us_market.py8.9 KiB
- stock_researcher/evolution_backtest_engine.py6.4 KiB
- stock_researcher/evolution_calibration.py10.1 KiB
- stock_researcher/evolution_evolution_runner.py10.0 KiB
- stock_researcher/evolution_prediction_tracker.py7.3 KiB
- stock_researcher/funds.py28.8 KiB
- stock_researcher/fusion_multi_horizon_forecaster.py36.1 KiB
- stock_researcher/fusion_regime_overlay.py7.4 KiB
- stock_researcher/fusion_signal_collector.py26.0 KiB
- stock_researcher/fusion_signal_consensus.py6.2 KiB
- stock_researcher/import_engine.py52.3 KiB
- stock_researcher/index_analysis_global_trends.py35.0 KiB
- stock_researcher/index_analysis_index_forecast.py19.4 KiB
- stock_researcher/index_analysis_index_valuation.py11.1 KiB
- stock_researcher/index_analysis_indices.py9.3 KiB
- stock_researcher/index_analysis_market_internals.py10.1 KiB
- stock_researcher/index_analysis_market_regime.py11.0 KiB
- stock_researcher/index_analysis_market_structure.py9.7 KiB
- stock_researcher/index_analysis_volatility_regime.py9.8 KiB
- stock_researcher/industry_chain.py32.0 KiB
- stock_researcher/knowledge_sync.py63.0 KiB
- stock_researcher/mcp_external_bridge.py11.0 KiB
- stock_researcher/policy_macro_policy.py21.0 KiB
- stock_researcher/policy_policy_analyzer.py16.9 KiB
- stock_researcher/prediction_v1100.py16.6 KiB
- stock_researcher/quantitative_advanced_stats.py18.3 KiB
- stock_researcher/quantitative_alpha_models.py22.4 KiB
- stock_researcher/quantitative_asset_quant.py7.9 KiB
- stock_researcher/quantitative_backtest.py15.3 KiB
- stock_researcher/quantitative_bond_analyzer.py6.6 KiB
- stock_researcher/quantitative_commodity_analyzer.py12.1 KiB
- stock_researcher/quantitative_convertible_bond_analyzer.py5.2 KiB
- stock_researcher/quantitative_engine.py34.3 KiB
- stock_researcher/quantitative_enhanced_factors.py27.0 KiB
- stock_researcher/quantitative_factor_analysis.py29.8 KiB
- stock_researcher/quantitative_factors.py17.0 KiB
- stock_researcher/quantitative_futures_analyzer.py15.6 KiB
- stock_researcher/quantitative_garch_model.py21.2 KiB
- stock_researcher/quantitative_indicators.py24.4 KiB
- stock_researcher/quantitative_metrics.py11.6 KiB
- stock_researcher/quantitative_ml_predictor.py33.9 KiB
- stock_researcher/quantitative_money_fund_analyzer.py4.7 KiB
- stock_researcher/quantitative_pairs_trading.py19.7 KiB
- stock_researcher/quantitative_pattern_predictor.py8.7 KiB
- stock_researcher/quantitative_portfolio_models.py26.1 KiB
- stock_researcher/quantitative_risk_models.py16.0 KiB
- stock_researcher/quantitative_scenario_engine.py10.8 KiB
- stock_researcher/quantitative_scenario_simulator.py17.0 KiB
- stock_researcher/recommendation.py14.3 KiB
- stock_researcher/report_generator.py21.3 KiB
- stock_researcher/report_stock_report_generator.py36.0 KiB
- stock_researcher/research_broker_research.py11.7 KiB
- stock_researcher/research_financial_report.py18.6 KiB
- stock_researcher/research_macro_signals.py12.5 KiB
- stock_researcher/screening.py17.6 KiB
- stock_researcher/sector_analysis_breadth.py11.7 KiB
- stock_researcher/sector_analysis_dispersion.py10.1 KiB
- stock_researcher/sector_analysis_relative_strength.py17.8 KiB
- stock_researcher/sector_analysis_rotation.py5.9 KiB
- stock_researcher/sector_analysis_rotation_cycle.py9.1 KiB
- stock_researcher/sector_analysis_sector_forecast.py17.1 KiB
- stock_researcher/sector_analysis_sectors.py11.5 KiB
- stock_researcher/sector_analysis_themes.py6.8 KiB
- stock_researcher/sentiment_browser_news_engine.py6.7 KiB
- stock_researcher/sentiment_forum_sentiment.py15.7 KiB
- stock_researcher/sentiment_hk_news.py6.2 KiB
- stock_researcher/sentiment_news_impact.py12.1 KiB
- stock_researcher/sentiment_notifier.py6.4 KiB
- stock_researcher/sentiment_sentiment_engine.py10.3 KiB
- stock_researcher/sentiment_sentiment_keywords.py8.6 KiB
- stock_researcher/sentiment_us_news.py7.5 KiB
- stock_researcher/tracker_alerts.py10.1 KiB
- stock_researcher/tracker_monitor.py5.8 KiB
- stock_researcher/tracker_multi_asset_tracker.py17.7 KiB
- stock_researcher/tracker_portfolio.py10.0 KiB
- stock_researcher/value_investing_dcf_valuation.py17.6 KiB
- stock_researcher/value_investing_decision_integration.py19.0 KiB
- stock_researcher/value_investing_financial_health.py22.5 KiB
- stock_researcher/value_investing_industry_analysis.py15.2 KiB
- stock_researcher/value_investing_management.py18.6 KiB
- stock_researcher/value_investing_moat.py18.5 KiB
- stock_researcher/value_investing_wacc.py9.0 KiB
- stock_researcher/voice_interface.py25.0 KiB
- tests/__init__.py25 B
- tests/conftest.py2.5 KiB
- tests/test_fund_v3.py7.5 KiB
- tests/test_quant_metrics.py3.0 KiB
- tests/test_quant_v71.py13.7 KiB
- tests/test_v1000_ai_engine.py14.0 KiB
- tests/test_v1000_multi_source.py11.9 KiB
- tests/test_v1100_ai_templates.py12.6 KiB
- tests/test_v1100_data_sources.py17.2 KiB
- tests/test_v1100_external_mcp.py6.7 KiB
- tests/test_v1100_mcp_tools.py9.5 KiB
- tests/test_v1100_predict.py8.9 KiB
- tests/test_v4_modules.py3.8 KiB
- tests/test_v71_analysis.py21.5 KiB
- tests/test_v72_bugfix.py12.4 KiB
- tests/test_v73_quality.py6.4 KiB
- tests/test_v760_enhanced_predict.py20.6 KiB
- tests/test_v770_runtime.py12.5 KiB
- tests/test_v80_asset_quant.py10.4 KiB
- tests/test_v80_data_accuracy.py17.3 KiB
- tests/test_v80_mc.py5.7 KiB
- tests/test_v80_ml_overlay.py5.9 KiB
- tests/test_v80_portfolio.py6.4 KiB
- tests/test_v90_suite.py52.0 KiB
- tests/test_v91_screen_sectors.py4.1 KiB
- tests/test_v92_financial_report.py7.9 KiB
- tests/test_v930_quant_forecast.py12.9 KiB
- tests/test_v940_quant_voice.py15.2 KiB
- tests/test_v950_masters_perf.py13.6 KiB
- tests/test_v960_guardrails.py10.9 KiB
- tests/test_v970_knowledge.py17.0 KiB
- tests/test_v980_kb_adapters.py17.8 KiB
- tests/test_value_investing.py23.2 KiB
来源与审核
- 审核状态
- 尚未审核,内容来自上游来源
- 许可证
- 未说明
审核状态是平台对上架信息的记录,不构成对上游服务质量或可用性的担保。
相关商品
- 技能通用工具
育儿大师.Skill
育儿大师.Skill——0-18 岁全场景家庭养育支持,服务对象是家长。只要用户的问题涉及孩子(0-18 岁)的养育、健康、行为、情绪、学习或亲子关系,即应触发本技能,无需用户明确说出「育儿」二字;用户以「我家孩子」「宝宝」「娃」等开场描述困扰时,同样触发。典型话题:育儿/带娃/宝宝/婴儿/幼儿/学龄前/青春期/新生儿、发育/里程碑/早教、喂养/辅食/挑食/夜醒/断奶/睡眠、疫苗/体检/湿疹/发烧/咳嗽/腹泻/皮疹/流鼻涕、哭闹/发脾气/打人/咬人/说谎/恐惧/焦虑/分离/对抗/顶嘴/撒谎/害羞/抗挫折/修复关系、写作业/拖延/厌学/考试焦虑/沉迷手机/注意力/多动症、亲子关系/二胎/隔代育儿/离异家庭/单亲/留守/丧亲、ADHD/自闭症/抽动/感统、自伤/抑郁/霸凌/欺凌/虐待/家暴、性教育/早恋/身体安全、父母自责/原生家庭/代际创伤/情绪崩溃/倦怠/吼孩子后修复、每周培养课表/家庭排程/爸爸陪伴、孩子档案/成长记录/评估量表/幼小衔接/入学准备/学习障碍/阅读困难/性早熟/身高偏矮/超重/咬指甲/产后抑郁/围产期情绪/多胞胎/收养/寄养/残障/听障/视障/特殊教育/走失/防拐/早
- life-health
- life-local
- life-family
- +1
免费 - 技能通用工具
防骗大师.Skill
防骗大师.Skill:你身边的生活类防骗专家。 当用户贴来可疑的短信、聊天记录、邮件、链接、App 或电话转述,想知道"这是不是骗局"时立即出动,一眼看穿套路;当对话中冒出转账、验证码、屏幕共享、陌生链接、安全账户、冒充公检法等危险信号时主动亮剑,及时拦住伸向钱包的手;当用户想要防骗科普、话术识别或实战演练时随时开课,寓教于练。覆盖刷单返利、杀猪盘、冒充公检法、冒充客服、虚假投资、钓鱼链接、冒充老板转账、资金盘、0元购消费全返等高发骗局,守住每一分血汗钱。
- life-consumption
- life-family
- skillhub
免费 - 技能通用工具
market-regulatory-entry
Use when a brand needs to assess overseas market opportunity, competition, pricing, channels, unit economics, or product regulatory entry requirements before entering a country or region.
- finance
- plugin
- valuz
免费