trader-regime
它能做什么
这项技能为某个股票代码判断当前的市场状态,并针对这些情况建议策略类型。适用于在选择交易方式之前研究市场情况的人。
适用场景
- ✓当你询问当前的市场状况如何的时候。
- ✓当你想选择符合当前情况的策略类型的时候。
- ✓当你想在运行回测或信号之前进行市场状态检查的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-neural-trader/skills/trader-regime/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这只股票目前处于什么样的市场中?哪种策略类型适合它?”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能对某个股票代码运行 neural-trader 状态检测器,并报告分类结果及置信度。示例数据的输出会标注为演示,因此需要真实行情数据才能得出真实判断。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Detect the current market regime using neural-trader's regime detection engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Run regime detection:
One symbol per call (npx neural-trader --regime --symbol TICKER--regime-detectand--symbolsare not recognised; the CLI answers "Unknown command"). In 2.8.11 this classifies a built-in sample price series (the result says "Synthetic prices used for demo"), so it is a demo of the output shape, not a read on TICKER. Say so in the report. For a real read, get the symbol's bars with--backtest --live(dataSource: "yahoo-finance") and classify from those. - Technical indicators have no standalone CLI flag in 2.8.11 (
--indicatorsis rejected). Use thent.calculateRsi/nt.calculateSmalibrary functions on real bars, or themulti-indicatorstrategy inside a backtest. - Use SONA for regime prediction:
mcp__plugin_ruflo-core_ruflo__neural_predict({ input: "indicators: RSI=X, ADX=Y, VIX=Z" }) - Search for similar historical regimes:
mcp__plugin_ruflo-core_ruflo__memory_search({ query: "regime similar to CURRENT", namespace: "trading-analysis" }) - Present: regime classification, confidence, recommended strategy type, historical precedents. If step 2 returned the synthetic sample, present only the output shape and state that no regime was measured.
- Store analysis:
mcp__plugin_ruflo-core_ruflo__memory_store({ key: "regime-DATE", value: "REGIME_ANALYSIS", namespace: "trading-analysis" })
常见问题
市场状态结果基于真实价格吗?
不一定。来源说明该命令可以对内置的示例数据进行分类,那只是演示,因此这项技能要求提供真实行情数据才能得出真实结论。
它会告诉我该交易什么吗?
它会为市场状态建议策略类型,但报告仅供你自己分析并做决定使用。
它能与过去的市场时期进行比较吗?
可以。它会在交易分析记忆中搜索过去相似的市场状态。
详情
作者的原始描述
Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy. Use when the user asks about market conditions, wants to pick a strategy for current conditions, or before running a backtest/signal that should be regime-aware.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1672
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。