跳到正文
Skillpedia
分析与电子表格81k · #1675

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-neural-trader/skills/trader-train/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请用这只股票过去的价格数据训练一个 LSTM 模型,训练 50 个 epoch,并展示预测结果。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能对所选的模型和股票代码运行训练命令,然后检查输出结果。在当前版本中,工具可能只返回占位内容,这项技能会说明未拟合出模型,而不会把数字当作准确率来引用。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Train neural prediction models using neural-trader's ML engine.

Steps:

  1. Ensure neural-trader is available: npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader
  2. Train the specified model:
    npx neural-trader --train --model lstm --symbol TICKER --epochs 50
    
    --train is required; --model X --symbol T alone is rejected ("Unknown command"), and --confidence and --decompose do not exist. In 2.8.11 the result carries upstreamStub: 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.
  3. Review training output: loss curves, validation metrics, prediction accuracy
  4. Generate predictions with confidence intervals:
    npx neural-trader --predict --model MODEL --symbol TICKER [--gpu]
    
    --horizon is not supported, and neuralPredict is also a placeholder (upstreamStub: true) in 2.8.11.
  5. 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.
  6. Store model results (canonical trading-analysis namespace per ADR-126 Phase 1 — was previously stored to undeclared trading-models): mcp__plugin_ruflo-core_ruflo__memory_store({ key: "model-MODEL-TICKER-DATE", value: "TRAINING_RESULTS", namespace: "trading-analysis" })
  7. Train SONA on model outcomes: mcp__plugin_ruflo-core_ruflo__neural_train({ modelType: "moe", epochs: 10 }) (modelType is required; there is no patternType). 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能