🧠 Metacognitive AI

Autonomous Agents • Confidence Scoring • Reflection Loops • Regime Detection

7 Signal Agents + Meta Layer Real-time Analysis 7 Strategies

🎯 Choose Asset for Analysis

Category radio → dropdown filters. Or type any Yahoo symbol.

Tip: ?symbol=TSLA?symbol=BTC-USD
🧠 Meta Analysis: AAPL buy
Signal
buy
Confidence
39.1%
Regime
sideways
🤖 ML Forecast Status hold
Agent: ml_forecast_main
Confidence: 8.0%
Status: Trained ML stack selected ENSEMBLE. Used ranked direct-model fallback because no selector winner was available. Directional forecast: neutral. Expected 5-day move: 0.04%. Probability view: 50.4% up / 49.6% down (balanced). ML stays in informational mode because the selector edge is modest at the 5-day horizon. Why it matters: Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction.

Reflection Notes

⚠️ Wide confidence gap (8-62%)

Agent Consensus

Showing all signal agents, including ML Forecast and Risk Manager.
AgentRoleSignalConfidence
researcher_main
Mixed signals from research
researcher hold 55.1%
trader_momentum
Momentum strategy: Neutral market conditions
trader hold 56.2%
trader_reversion
Mean Reversion strategy: Neutral market conditions
trader hold 56.2%
trader_breakout
Breakout strategy: Neutral market conditions
trader hold 56.2%
trader_trend
Trend Following strategy: Bullish signals from MACD, MA
trader buy 56.2%
ml_forecast_main
Trained ML stack selected ENSEMBLE. Used ranked direct-model fallback because no selector winner was available. Directional forecast: neutral. Expected 5-day move: 0.04%. Probability view: 50.4% up / 49.6% down (balanced). ML stays in informational mode because the selector edge is modest at the 5-day horizon. Why it matters: Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction. | Model: ensemble | 5D move: 0.04%
executor hold 8.0%
risk_manager_main
Moderate risk: moderate volatility
risk_manager hold 62.5%
View Raw Data
{
  "symbol": "AAPL",
  "timestamp": "2026-09-04T15:07:03.077527",
  "execution_time_ms": 1916.64,
  "regime": "sideways",
  "asset_category": "Stocks",
  "ml_suppressed": false,
  "ml_suppression_reason": "",
  "final_signal": {
    "symbol": "AAPL",
    "signal_type": "buy",
    "confidence_level": "low",
    "confidence_score": 39.065844155844154,
    "agent_consensus": {
      "researcher_main": "hold",
      "trader_momentum": "hold",
      "trader_reversion": "hold",
      "trader_breakout": "hold",
      "trader_trend": "buy",
      "ml_forecast_main": "hold",
      "risk_manager_main": "hold"
    },
    "risk_assessment": {
      "volatility_risk": 22.011403919585646,
      "regime_risk": "sideways",
      "confidence_adjusted": true,
      "position_size_factor": 0.16,
      "capital_allocator": {
        "base_position": 0.3907,
        "regime_multiplier": 0.75,
        "disagreement_multiplier": 1.0,
        "conviction_multiplier": 0.65,
        "event_multiplier": 1.05,
        "volatility_multiplier": 0.8,
        "final_allocation": 0.16,
        "conviction_used": "WEAK BUY",
        "action_mode": "event_long",
        "asset_category": "Stocks",
        "asset_multiplier": 1.0
      }
    },
    "regime": "sideways",
    "reflection_notes": [
      "\u26a0\ufe0f Wide confidence gap (8-66%)",
      "\u26a0\ufe0f Wide confidence gap (8-66%)",
      "\u26a0\ufe0f Wide confidence gap (8-62%)"
    ],
    "timestamp": "2026-09-04T15:07:03.077326",
    "expires_at": "2026-09-05T15:07:03.077318",
    "conviction": "WEAK BUY"
  },
  "meta_analysis": {
    "consensus": "buy",
    "confidence_level": "medium",
    "confidence_score": 55.80834879406308,
    "disagreement": 0.1428571428571429,
    "agent_breakdown": {
      "researcher_main": {
        "role": "researcher",
        "signal": "hold",
        "confidence": 55.09090909090909,
        "reasoning": "Mixed signals from research",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_momentum": {
        "role": "trader",
        "signal": "hold",
        "confidence": 56.25,
        "reasoning": "Momentum strategy: Neutral market conditions",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_reversion": {
        "role": "trader",
        "signal": "hold",
        "confidence": 56.25,
        "reasoning": "Mean Reversion strategy: Neutral market conditions",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_breakout": {
        "role": "trader",
        "signal": "hold",
        "confidence": 56.25,
        "reasoning": "Breakout strategy: Neutral market conditions",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_trend": {
        "role": "trader",
        "signal": "buy",
        "confidence": 56.25,
        "reasoning": "Trend Following strategy: Bullish signals from MACD, MA",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "ml_forecast_main": {
        "role": "executor",
        "signal": "hold",
        "confidence": 8.0,
        "reasoning": "Trained ML stack selected ENSEMBLE. Used ranked direct-model fallback because no selector winner was available. Directional forecast: neutral. Expected 5-day move: 0.04%. Probability view: 50.4% up / 49.6% down (balanced). ML stays in informational mode because the selector edge is modest at the 5-day horizon. Why it matters: Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction.",
        "weak_bias": "neutral",
        "directional_probability": {
          "up_pct": 50.4,
          "down_pct": 49.6,
          "band": "balanced"
        },
        "why_it_matters": "Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction."
      },
      "risk_manager_main": {
        "role": "risk_manager",
        "signal": "hold",
        "confidence": 62.5,
        "reasoning": "Moderate risk: moderate volatility",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      }
    },
    "signal_counts": {
      "hold": 6,
      "buy": 1
    },
    "weak_bias_summary": {
      "overall_bias": "neutral",
      "ml_weight": 0.08,
      "dominant_agents": [
        "risk_manager_main"
      ],
      "confidence_adjusted_bias": "neutral",
      "agent_biases": {}
    },
    "meta_probability": {
      "bullish": 0.251,
      "neutral": 0.749,
      "bearish": 0.0
    },
    "weighted_meta_components": {
      "bullish_weight": 0.2511,
      "neutral_weight": 0.7489,
      "bearish_weight": 0.0,
      "total_bias_weight": 1.0
    },
    "action_guidance": {
      "mode": "event_long",
      "trigger": "news catalyst follow-through and breakout above resistance (339.79)",
      "risk_note": "moderate risk; RSI 62.3; trend context: strong_uptrend"
    },
    "conviction": "WEAK BUY",
    "portfolio_overlay": {
      "mode": "standalone",
      "related_symbols": [],
      "impact_scope": "single_symbol"
    },
    "event_overlay": {
      "significant_news": true,
      "news_volume": 100,
      "event_bias": "neutral",
      "trigger": "news catalyst follow-through and breakout above resistance (339.79)",
      "override_applied": true
    }
  },
  "agent_signals": [
    {
      "agent_id": "researcher_main",
      "agent_role": "researcher",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 55.09090909090909,
      "reasoning": "Mixed signals from research",
      "timestamp": "2026-09-04T15:07:01.981462",
      "metadata": {
        "sentiment": 0.45454545454545453,
        "news_volume": 100,
        "significant_news": true,
        "pe_ratio": 37.68,
        "pb_ratio": 44.13,
        "eps": 8.71,
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "trader_momentum",
      "agent_role": "trader",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 56.25,
      "reasoning": "Momentum strategy: Neutral market conditions",
      "timestamp": "2026-09-04T15:07:02.023093",
      "metadata": {
        "price": 318.82000732421875,
        "sma_20": 313.0824996948242,
        "sma_50": 314.96476806640624,
        "sma_200": 283.43327537536624,
        "ema_12": 318.53016596763416,
        "ema_26": 315.9801568426165,
        "macd": 2.5500091250176524,
        "macd_signal": 1.073802695114114,
        "macd_hist": 1.4762064299035385,
        "rsi_14": 62.27501844702913,
        "bb_upper": 327.8959836520376,
        "bb_middle": 313.0824996948242,
        "bb_lower": 298.2690157376108,
        "bb_width": 0.0946299072714239,
        "bb_position": 0.6936582793746056,
        "atr_14": 7.431427001953125,
        "volume_ratio": 0.3530286146394334,
        "obv": 1223174381.0,
        "support_60d": 274.91290283203125,
        "resistance_60d": 339.78692626953125,
        "adx": -56.11621561420798,
        "volatility_20d": 22.011403919585646,
        "volatility_60d": 31.828951635680703,
        "crossovers": {
          "golden_cross": "False",
          "death_cross": "False",
          "price_above_50": "True",
          "price_above_200": "True",
          "macd_bullish": "False",
          "macd_bearish": "False"
        },
        "trend": "strong_uptrend",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "trader_reversion",
      "agent_role": "trader",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 56.25,
      "reasoning": "Mean Reversion strategy: Neutral market conditions",
      "timestamp": "2026-09-04T15:07:02.070297",
      "metadata": {
        "price": 318.82000732421875,
        "sma_20": 313.0824996948242,
        "sma_50": 314.96476806640624,
        "sma_200": 283.43327537536624,
        "ema_12": 318.53016596763416,
        "ema_26": 315.9801568426165,
        "macd": 2.5500091250176524,
        "macd_signal": 1.073802695114114,
        "macd_hist": 1.4762064299035385,
        "rsi_14": 62.27501844702913,
        "bb_upper": 327.8959836520376,
        "bb_middle": 313.0824996948242,
        "bb_lower": 298.2690157376108,
        "bb_width": 0.0946299072714239,
        "bb_position": 0.6936582793746056,
        "atr_14": 7.431427001953125,
        "volume_ratio": 0.3530286146394334,
        "obv": 1223174381.0,
        "support_60d": 274.91290283203125,
        "resistance_60d": 339.78692626953125,
        "adx": -56.11621561420798,
        "volatility_20d": 22.011403919585646,
        "volatility_60d": 31.828951635680703,
        "crossovers": {
          "golden_cross": "False",
          "death_cross": "False",
          "price_above_50": "True",
          "price_above_200": "True",
          "macd_bullish": "False",
          "macd_bearish": "False"
        },
        "trend": "strong_uptrend",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "trader_breakout",
      "agent_role": "trader",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 56.25,
      "reasoning": "Breakout strategy: Neutral market conditions",
      "timestamp": "2026-09-04T15:07:02.105227",
      "metadata": {
        "price": 318.82000732421875,
        "sma_20": 313.0824996948242,
        "sma_50": 314.96476806640624,
        "sma_200": 283.43327537536624,
        "ema_12": 318.53016596763416,
        "ema_26": 315.9801568426165,
        "macd": 2.5500091250176524,
        "macd_signal": 1.073802695114114,
        "macd_hist": 1.4762064299035385,
        "rsi_14": 62.27501844702913,
        "bb_upper": 327.8959836520376,
        "bb_middle": 313.0824996948242,
        "bb_lower": 298.2690157376108,
        "bb_width": 0.0946299072714239,
        "bb_position": 0.6936582793746056,
        "atr_14": 7.431427001953125,
        "volume_ratio": 0.3530286146394334,
        "obv": 1223174381.0,
        "support_60d": 274.91290283203125,
        "resistance_60d": 339.78692626953125,
        "adx": -56.11621561420798,
        "volatility_20d": 22.011403919585646,
        "volatility_60d": 31.828951635680703,
        "crossovers": {
          "golden_cross": "False",
          "death_cross": "False",
          "price_above_50": "True",
          "price_above_200": "True",
          "macd_bullish": "False",
          "macd_bearish": "False"
        },
        "trend": "strong_uptrend",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "trader_trend",
      "agent_role": "trader",
      "symbol": "AAPL",
      "signal_type": "buy",
      "confidence": 56.25,
      "reasoning": "Trend Following strategy: Bullish signals from MACD, MA",
      "timestamp": "2026-09-04T15:07:02.165078",
      "metadata": {
        "price": 318.82000732421875,
        "sma_20": 313.0824996948242,
        "sma_50": 314.96476806640624,
        "sma_200": 283.43327537536624,
        "ema_12": 318.53016596763416,
        "ema_26": 315.9801568426165,
        "macd": 2.5500091250176524,
        "macd_signal": 1.073802695114114,
        "macd_hist": 1.4762064299035385,
        "rsi_14": 62.27501844702913,
        "bb_upper": 327.8959836520376,
        "bb_middle": 313.0824996948242,
        "bb_lower": 298.2690157376108,
        "bb_width": 0.0946299072714239,
        "bb_position": 0.6936582793746056,
        "atr_14": 7.431427001953125,
        "volume_ratio": 0.3530286146394334,
        "obv": 1223174381.0,
        "support_60d": 274.91290283203125,
        "resistance_60d": 339.78692626953125,
        "adx": -56.11621561420798,
        "volatility_20d": 22.011403919585646,
        "volatility_60d": 31.828951635680703,
        "crossovers": {
          "golden_cross": "False",
          "death_cross": "False",
          "price_above_50": "True",
          "price_above_200": "True",
          "macd_bullish": "False",
          "macd_bearish": "False"
        },
        "trend": "strong_uptrend",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "ml_forecast_main",
      "agent_role": "executor",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 8.0,
      "reasoning": "Trained ML stack selected ENSEMBLE. Used ranked direct-model fallback because no selector winner was available. Directional forecast: neutral. Expected 5-day move: 0.04%. Probability view: 50.4% up / 49.6% down (balanced). ML stays in informational mode because the selector edge is modest at the 5-day horizon. Why it matters: Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction.",
      "timestamp": "2026-09-04T15:07:02.987376",
      "metadata": {
        "source": "trained_ml",
        "global_regime": "sideways",
        "detected_regime": "sideways",
        "market_regime": "sideways",
        "coverage_snapshot": {
          "symbol": "AAPL",
          "roots": [
            "/home/forpy/public_html/python_app/modules/ml/ml_models",
            "/home/forpy/public_html/python_app/modules/ml/ml_models/research"
          ],
          "method_counts": {
            "rf": 15,
            "xgb": 15,
            "lightgbm": 15
          },
          "latest_artifacts": {
            "rf": "/home/forpy/public_html/python_app/modules/ml/ml_models/research/AAPL_rf_5d_20260430.pkl",
            "xgb": "/home/forpy/public_html/python_app/modules/ml/ml_models/research/AAPL_xgb_5d_20260430.pkl",
            "lightgbm": "/home/forpy/public_html/python_app/modules/ml/ml_models/research/AAPL_lightgbm_5d_20260430.pkl"
          },
          "total_matches": 45,
          "has_any": true
        },
        "selector_payload": {
          "error": "No backtest winner available for this symbol",
          "error_code": "NO_BACKTEST_WINNER",
          "symbol": "AAPL",
          "horizon": "5d"
        },
        "live_model_attempts": [
          {
            "method": "ensemble",
            "status": "ok",
            "quality_score": 11.385
          },
          {
            "method": "xgb",
            "status": "ok",
            "quality_score": 9.08
          },
          {
            "method": "rf",
            "status": "ok",
            "quality_score": 7.75
          },
          {
            "method": "lstm",
            "status": "error",
            "detail": "Model not trained for this symbol",
            "error_code": "MODEL_NOT_TRAINED"
          },
          {
            "method": "gru",
            "status": "error",
            "detail": "Model not trained for this symbol",
            "error_code": "MODEL_NOT_TRAINED"
          }
        ],
        "selected_model": "ensemble",
        "selection_source": "ranked_direct_fallback",
        "expected_move_pct": 0.04,
        "direction": "neutral",
        "score": 0.35,
        "selector_score": 0.0,
        "derived_score": 0.35,
        "institutional_ml_score": 10.6,
        "used_live_model_fallback": true,
        "directional_probability": {
          "up_pct": 50.4,
          "down_pct": 49.6,
          "band": "balanced"
        },
        "weak_bias": "neutral",
        "quality_gate": {
          "passed": false,
          "reason": "neutral_micro_move",
          "selection_source": "ranked_direct_fallback",
          "expected_move_pct": 0.04,
          "confidence_before_gate": 5.1,
          "confidence_after_gate": 8.0,
          "score_before_gate": 0.35,
          "applied_as_soft_cap": true,
          "probability_band": "balanced",
          "weak_bias": "neutral",
          "global_regime": "sideways"
        },
        "action_layer": {
          "applied": false,
          "reason": null,
          "prob_up_pct": 50.4,
          "weak_bias": "neutral",
          "selector_score": 0.0,
          "score_used": 0.35,
          "institutional_ml_score": 10.6,
          "expected_move_pct": 0.04,
          "regime": "sideways"
        },
        "weak_bias_signal": "hold",
        "why_it_matters": "Model edge is very small, so ML stays informational rather than actionable. Probability tilt is 50.4% up vs 49.6% down. Expected move is extremely small over the forecast horizon in a sideways consolidation regime with range-bound movement and low trend conviction."
      }
    },
    {
      "agent_id": "risk_manager_main",
      "agent_role": "risk_manager",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 62.5,
      "reasoning": "Moderate risk: moderate volatility",
      "timestamp": "2026-09-04T15:07:03.057056",
      "metadata": {
        "regime": "sideways",
        "volatility": 22.011403919585646,
        "risk_level": "moderate",
        "volatility_contraction": true,
        "current_drawdown": -6.170607908757731,
        "max_drawdown_1y": -13.798523953754415,
        "risk_action": "NEUTRAL",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    }
  ],
  "reflection_notes": [
    "\u26a0\ufe0f Wide confidence gap (8-62%)"
  ],
  "drift_analysis": {
    "drift_detected": true,
    "drift_score": 80,
    "regime_changes_30d": 4,
    "current_regime": "sideways",
    "recommendation": "Retrain models"
  },
  "technical_summary": {
    "price": 318.82000732421875,
    "rsi": 62.27501844702913,
    "trend": "strong_uptrend",
    "volatility": 22.011403919585646,
    "support": 274.91290283203125,
    "resistance": 339.78692626953125
  }
}
📄 PDF Report 📊 Excel Report 🔧 JSON Data
🤖 Active Agent Architecture

Research & Analysis

  • • Researcher Agent - Fundamentals & Sentiment
  • • Trader (Momentum) - Technical Momentum
  • • Trader (Mean Reversion) - Oversold/Overbought
  • • Trader (Breakout) - Price Breakouts
  • • ML Forecast Agent - Trained Model Inference

Risk & Meta

  • • Trader (Trend Following) - Trend Analysis
  • • Risk Manager - Volatility & Drawdown
  • • Meta Analyst - Consensus & Confidence