Skip to main content
AI/MLruvnet

trader-regime

Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--trader-regime
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-neural-trader/skills/trader-regime/SKILL.md -o .claude/skills/trader-regime.md

Drops the SKILL.md into .claude/skills/trader-regime.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Detect the current market regime using neural-trader's regime detection engine.

Steps:

  1. Ensure neural-trader is available: npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader
  2. Run regime detection:
    npx neural-trader --regime-detect --symbol TICKER
    
    For multiple symbols:
    npx neural-trader --regime-detect --symbols "AAPL,MSFT,GOOGL,AMZN"
    
  3. Get technical indicators for context:
    npx neural-trader --symbol TICKER --indicators rsi,macd,bollinger,adx,atr
    
  4. Use SONA for regime prediction: mcp__claude-flow__neural_predict({ input: "indicators: RSI=X, ADX=Y, VIX=Z" })
  5. Search for similar historical regimes: mcp__claude-flow__memory_search({ query: "regime similar to CURRENT", namespace: "trading-analysis" })
  6. Present: regime classification, confidence, recommended strategy type, historical precedents
  7. Store analysis: mcp__claude-flow__memory_store({ key: "regime-DATE", value: "REGIME_ANALYSIS", namespace: "trading-analysis" })