🧠 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 hold
Signal
hold
Confidence
58.7%
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-58%)

Agent Consensus

Showing all signal agents, including ML Forecast and Risk Manager.
AgentRoleSignalConfidence
researcher_main
Mixed signals from research
researcher hold 39.2%
trader_momentum
Momentum strategy: Bullish signals from MACD, MA
trader buy 57.2%
trader_reversion
Mean Reversion strategy: Neutral market conditions
trader hold 57.2%
trader_breakout
Breakout strategy: Bullish signals from MACD, MA
trader buy 57.2%
trader_trend
Trend Following strategy: Bullish signals from MACD, MA
trader buy 57.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: high volatility
risk_manager hold 58.0%
View Raw Data
{
  "symbol": "AAPL",
  "timestamp": "2026-07-26T09:04:28.239323",
  "execution_time_ms": 2053.47,
  "regime": "sideways",
  "asset_category": "Stocks",
  "ml_suppressed": false,
  "ml_suppression_reason": "",
  "final_signal": {
    "symbol": "AAPL",
    "signal_type": "hold",
    "confidence_level": "medium",
    "confidence_score": 58.67024,
    "agent_consensus": {
      "researcher_main": "hold",
      "trader_momentum": "buy",
      "trader_reversion": "hold",
      "trader_breakout": "buy",
      "trader_trend": "buy",
      "ml_forecast_main": "hold",
      "risk_manager_main": "hold"
    },
    "risk_assessment": {
      "volatility_risk": 30.0898780815273,
      "regime_risk": "sideways",
      "confidence_adjusted": false,
      "position_size_factor": 0.03,
      "capital_allocator": {
        "base_position": 0.5867,
        "regime_multiplier": 0.75,
        "disagreement_multiplier": 0.7,
        "conviction_multiplier": 0.2,
        "event_multiplier": 0.75,
        "volatility_multiplier": 0.65,
        "final_allocation": 0.03,
        "conviction_used": "HOLD",
        "action_mode": "lean_long",
        "asset_category": "Stocks",
        "asset_multiplier": 1.0
      }
    },
    "regime": "sideways",
    "reflection_notes": [
      "\u26a0\ufe0f Wide confidence gap (8-58%)",
      "\u26a0\ufe0f Wide confidence gap (8-62%)",
      "\u26a0\ufe0f Wide confidence gap (8-58%)"
    ],
    "timestamp": "2026-07-26T09:04:28.239074",
    "expires_at": "2026-07-27T09:04:28.239064",
    "conviction": "HOLD"
  },
  "meta_analysis": {
    "consensus": "hold",
    "confidence_level": "low",
    "confidence_score": 37.517660794014596,
    "disagreement": 0.4285714285714286,
    "agent_breakdown": {
      "researcher_main": {
        "role": "researcher",
        "signal": "hold",
        "confidence": 39.24825071031181,
        "reasoning": "Mixed signals from research",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_momentum": {
        "role": "trader",
        "signal": "buy",
        "confidence": 57.25,
        "reasoning": "Momentum strategy: Bullish signals from MACD, MA",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_reversion": {
        "role": "trader",
        "signal": "hold",
        "confidence": 57.25,
        "reasoning": "Mean Reversion strategy: Neutral market conditions",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_breakout": {
        "role": "trader",
        "signal": "buy",
        "confidence": 57.25,
        "reasoning": "Breakout strategy: Bullish signals from MACD, MA",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      },
      "trader_trend": {
        "role": "trader",
        "signal": "buy",
        "confidence": 57.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": 58.00000000000001,
        "reasoning": "Moderate risk: high volatility",
        "weak_bias": null,
        "directional_probability": null,
        "why_it_matters": null
      }
    },
    "signal_counts": {
      "hold": 4,
      "buy": 3
    },
    "weak_bias_summary": {
      "overall_bias": "bullish",
      "ml_weight": 0.08,
      "dominant_agents": [
        "risk_manager_main"
      ],
      "confidence_adjusted_bias": "bullish",
      "agent_biases": {}
    },
    "meta_probability": {
      "bullish": 0.654,
      "neutral": 0.346,
      "bearish": 0.0
    },
    "weighted_meta_components": {
      "bullish_weight": 0.6544,
      "neutral_weight": 0.3456,
      "bearish_weight": 0.0,
      "total_bias_weight": 1.0
    },
    "action_guidance": {
      "mode": "lean_long",
      "trigger": "breakout above resistance (333.74) OR volume expansion",
      "risk_note": "trend context: strong uptrend; agent disagreement is elevated"
    },
    "conviction": "HOLD",
    "portfolio_overlay": {
      "mode": "standalone",
      "related_symbols": [],
      "impact_scope": "single_symbol"
    },
    "event_overlay": {
      "significant_news": false,
      "news_volume": 6,
      "event_bias": "neutral",
      "trigger": null,
      "override_applied": false
    }
  },
  "agent_signals": [
    {
      "agent_id": "researcher_main",
      "agent_role": "researcher",
      "symbol": "AAPL",
      "signal_type": "hold",
      "confidence": 39.24825071031181,
      "reasoning": "Mixed signals from research",
      "timestamp": "2026-07-26T09:04:27.175095",
      "metadata": {
        "sentiment": -0.33758746448440946,
        "news_volume": 6,
        "pe_ratio": 38.9,
        "pb_ratio": 44.36,
        "eps": 8.56,
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    },
    {
      "agent_id": "trader_momentum",
      "agent_role": "trader",
      "symbol": "AAPL",
      "signal_type": "buy",
      "confidence": 57.25,
      "reasoning": "Momentum strategy: Bullish signals from MACD, MA",
      "timestamp": "2026-07-26T09:04:27.212648",
      "metadata": {
        "price": 333.0199890136719,
        "sma_20": 314.38549957275393,
        "sma_50": 306.23140014648436,
        "sma_200": 275.66342994689944,
        "ema_12": 323.0474112343734,
        "ema_26": 314.59629994578137,
        "macd": 8.451111288592017,
        "macd_signal": 7.5451792198861085,
        "macd_hist": 0.9059320687059085,
        "rsi_14": 67.69819197013604,
        "bb_upper": 346.35770536764323,
        "bb_middle": 314.38549957275393,
        "bb_lower": 282.4132937778646,
        "bb_width": 0.20339491381338606,
        "bb_position": 0.7914170132718311,
        "atr_14": 7.848573957170759,
        "volume_ratio": 0.773169507879928,
        "obv": 1295016200.0,
        "support_60d": 269.92132568359375,
        "resistance_60d": 333.739990234375,
        "adx": 7.024544516698697,
        "volatility_20d": 30.0898780815273,
        "volatility_60d": 28.78807857974854,
        "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": 57.25,
      "reasoning": "Mean Reversion strategy: Neutral market conditions",
      "timestamp": "2026-07-26T09:04:27.245739",
      "metadata": {
        "price": 333.0199890136719,
        "sma_20": 314.38549957275393,
        "sma_50": 306.23140014648436,
        "sma_200": 275.66342994689944,
        "ema_12": 323.0474112343734,
        "ema_26": 314.59629994578137,
        "macd": 8.451111288592017,
        "macd_signal": 7.5451792198861085,
        "macd_hist": 0.9059320687059085,
        "rsi_14": 67.69819197013604,
        "bb_upper": 346.35770536764323,
        "bb_middle": 314.38549957275393,
        "bb_lower": 282.4132937778646,
        "bb_width": 0.20339491381338606,
        "bb_position": 0.7914170132718311,
        "atr_14": 7.848573957170759,
        "volume_ratio": 0.773169507879928,
        "obv": 1295016200.0,
        "support_60d": 269.92132568359375,
        "resistance_60d": 333.739990234375,
        "adx": 7.024544516698697,
        "volatility_20d": 30.0898780815273,
        "volatility_60d": 28.78807857974854,
        "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": "buy",
      "confidence": 57.25,
      "reasoning": "Breakout strategy: Bullish signals from MACD, MA",
      "timestamp": "2026-07-26T09:04:27.279172",
      "metadata": {
        "price": 333.0199890136719,
        "sma_20": 314.38549957275393,
        "sma_50": 306.23140014648436,
        "sma_200": 275.66342994689944,
        "ema_12": 323.0474112343734,
        "ema_26": 314.59629994578137,
        "macd": 8.451111288592017,
        "macd_signal": 7.5451792198861085,
        "macd_hist": 0.9059320687059085,
        "rsi_14": 67.69819197013604,
        "bb_upper": 346.35770536764323,
        "bb_middle": 314.38549957275393,
        "bb_lower": 282.4132937778646,
        "bb_width": 0.20339491381338606,
        "bb_position": 0.7914170132718311,
        "atr_14": 7.848573957170759,
        "volume_ratio": 0.773169507879928,
        "obv": 1295016200.0,
        "support_60d": 269.92132568359375,
        "resistance_60d": 333.739990234375,
        "adx": 7.024544516698697,
        "volatility_20d": 30.0898780815273,
        "volatility_60d": 28.78807857974854,
        "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": 57.25,
      "reasoning": "Trend Following strategy: Bullish signals from MACD, MA",
      "timestamp": "2026-07-26T09:04:27.309219",
      "metadata": {
        "price": 333.0199890136719,
        "sma_20": 314.38549957275393,
        "sma_50": 306.23140014648436,
        "sma_200": 275.66342994689944,
        "ema_12": 323.0474112343734,
        "ema_26": 314.59629994578137,
        "macd": 8.451111288592017,
        "macd_signal": 7.5451792198861085,
        "macd_hist": 0.9059320687059085,
        "rsi_14": 67.69819197013604,
        "bb_upper": 346.35770536764323,
        "bb_middle": 314.38549957275393,
        "bb_lower": 282.4132937778646,
        "bb_width": 0.20339491381338606,
        "bb_position": 0.7914170132718311,
        "atr_14": 7.848573957170759,
        "volume_ratio": 0.773169507879928,
        "obv": 1295016200.0,
        "support_60d": 269.92132568359375,
        "resistance_60d": 333.739990234375,
        "adx": 7.024544516698697,
        "volatility_20d": 30.0898780815273,
        "volatility_60d": 28.78807857974854,
        "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-07-26T09:04:28.139397",
      "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.465
          },
          {
            "method": "xgb",
            "status": "ok",
            "quality_score": 9.12
          },
          {
            "method": "rf",
            "status": "ok",
            "quality_score": 7.63
          },
          {
            "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.37,
        "selector_score": 0.0,
        "derived_score": 0.37,
        "institutional_ml_score": 10.96,
        "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.37,
          "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.37,
          "institutional_ml_score": 10.96,
          "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": 58.00000000000001,
      "reasoning": "Moderate risk: high volatility",
      "timestamp": "2026-07-26T09:04:28.215818",
      "metadata": {
        "regime": "sideways",
        "volatility": 30.0898780815273,
        "risk_level": "high",
        "current_drawdown": -0.21573717318008612,
        "max_drawdown_1y": -13.798524071888174,
        "risk_action": "NEUTRAL",
        "global_regime": "sideways",
        "detected_regime": "sideways"
      }
    }
  ],
  "reflection_notes": [
    "\u26a0\ufe0f Wide confidence gap (8-58%)"
  ],
  "drift_analysis": {
    "drift_detected": false,
    "drift_score": 20,
    "regime_changes_30d": 1,
    "current_regime": "sideways",
    "recommendation": "Models performing as expected"
  },
  "technical_summary": {
    "price": 333.0199890136719,
    "rsi": 67.69819197013604,
    "trend": "strong_uptrend",
    "volatility": 30.0898780815273,
    "support": 269.92132568359375,
    "resistance": 333.739990234375
  }
}
📄 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