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:
For multiple symbols:npx neural-trader --regime-detect --symbol TICKERnpx neural-trader --regime-detect --symbols "AAPL,MSFT,GOOGL,AMZN" - Get technical indicators for context:
npx neural-trader --symbol TICKER --indicators rsi,macd,bollinger,adx,atr - Use SONA for regime prediction:
mcp__claude-flow__neural_predict({ input: "indicators: RSI=X, ADX=Y, VIX=Z" }) - Search for similar historical regimes:
mcp__claude-flow__memory_search({ query: "regime similar to CURRENT", namespace: "trading-analysis" }) - Present: regime classification, confidence, recommended strategy type, historical precedents
- Store analysis:
mcp__claude-flow__memory_store({ key: "regime-DATE", value: "REGIME_ANALYSIS", namespace: "trading-analysis" })