股票预测分析
输入沪深 A 股代码,自动用逻辑回归、SVM、随机森林、LightGBM 四个模型做 walk-forward 样本外回测,对比买入持有等双基线,输出收益、夏普、换手与成本拖累指标、净值曲线和完整 HTML 报告。历史回测,不构成投资建议。 模板设置步骤(Setup Guide) 前置条件 - 一台可运行 Python 3.10–3.12 的机器(Windows / Linux /macOS 均可),用于运行回测后端 API(Dify 本身不执行 pandas / 机器学习计算,这是本模板的必要外部服务) - 一个可用的大模型 API Key(如 DeepSeek、通义千问、OpenAI 等),供「参数提取器」和「LLM 总结」节点使用 - 后端机器需能访问公网(首次查询新股票时要从 baostock 拉取行情,约 10–40 秒) 步骤 1・部署回测后端 API 1. 获取后端代码包(api.py、compare_models.py、requirements.txt、src/,目录结构需保持不变) 2. Windows 用户直接双击 **一键部署.bat**,脚本会自动创建虚拟环境、安装全部依赖并启动服务;其他系统手动执行: 3. 浏览器访问 http://127
Rank
88
Safety
82
Updated
Oct 9, 2026
Source
Dify
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/dify-123qwer/snapshot"
Documentation
Dify
1,964 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Dify",
"href": "https://marketplace.dify.ai/api/v1/templates/6b34588e-3954-4bc7-9a4b-89567823b065",
"sourceUrl": "https://marketplace.dify.ai/api/v1/templates/6b34588e-3954-4bc7-9a4b-89567823b065",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:56.516Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-123qwer/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-123qwer/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": []
}Record generated Oct 9, 2026.
