trader-train
它能做什么
这项技能尝试使用 neural-trader 工具,基于市场数据训练神经网络预测模型。适用于探索价格机器学习、并需要了解是否真的产生了模型的人。
适用场景
- ✓当你想基于某个股票代码的价格数据训练预测模型的时候。
- ✓当你想用已训练的模型生成预测的时候。
- ✓当你想保存模型结果以便之后复查的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-neural-trader/skills/trader-train/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用这只股票过去的价格数据训练一个 LSTM 模型,训练 50 个 epoch,并展示预测结果。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能对所选的模型和股票代码运行训练命令,然后检查输出结果。在当前版本中,工具可能只返回占位内容,这项技能会说明未拟合出模型,而不会把数字当作准确率来引用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Train neural prediction models using neural-trader's ML engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Train the specified model:
npx neural-trader --train --model lstm --symbol TICKER --epochs 50--trainis required;--model X --symbol Talone is rejected ("Unknown command"), and--confidenceand--decomposedo not exist. In 2.8.11 the result carriesupstreamStub: true("neuralTrain returns a placeholder shape (no real LSTM/Transformer fit yet)"). Report that no model was fitted; never describe the output as a trained model or quote its numbers as accuracy. - Review training output: loss curves, validation metrics, prediction accuracy
- Generate predictions with confidence intervals:
npx neural-trader --predict --model MODEL --symbol TICKER [--gpu]--horizonis not supported, andneuralPredictis also a placeholder (upstreamStub: true) in 2.8.11. - Model comparison (
--model-compare) does not exist in the CLI. Without a real fit there is nothing to compare; say so rather than fabricating a ranking. - Store model results (canonical
trading-analysisnamespace per ADR-126 Phase 1 — was previously stored to undeclaredtrading-models):mcp__plugin_ruflo-core_ruflo__memory_store({ key: "model-MODEL-TICKER-DATE", value: "TRAINING_RESULTS", namespace: "trading-analysis" }) - Train SONA on model outcomes:
mcp__plugin_ruflo-core_ruflo__neural_train({ modelType: "moe", epochs: 10 })(modelTypeis required; there is nopatternType). Skip this step when step 2 returned a stub, so placeholder runs do not train SONA.
常见问题
我能得到一个真正训练好的模型吗?
来源说明,当前版本可能返回占位内容。这项技能会明确说明这一点,而不会把它当作训练好的模型。
我能比较多个模型吗?
使用这个工具做不到。这项技能会如实说明,而不会编造排名。
结果保存在哪里?
结果会保存到交易分析记忆的命名空间中。
详情
作者的原始描述
Train neural models (LSTM, Transformer, N-BEATS) on market data using npx neural-trader with confidence intervals
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1675
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。