Trading Cockpit

Railway is runtime authority. UI is read-only evidence.

Autonomous Trading Cockpit

Operator Dashboard

Engine health, controls, trade evidence, learning evidence, and market freshness.

Latest bar:
Engine
ok
Autonomous
Yes
Mode
unknown
Scheduler
Yes
Market Data
healthy

Controls

Safe Railway actions via server proxy. API key stays server-side.

Last Cycle Funnel

Scanned0
Ranked0
Filtered0
Executed0
Rejected0

Trade Event Timeline

No scheduler evidence recorded yet.

Learning Evidence

No learning evidence recorded yet. This is better than falsely showing scheduler data.

Market Freshness Grid

No per-symbol market data returned by the engine.

Trades / Positions Evidence

TimeSymbolSideStatusP/L
6/1/2026, 1:12:18 PMMSFTbuyblocked
6/1/2026, 1:12:17 PMAAPLbuyblocked
6/1/2026, 12:45:48 PMMSFTbuyblocked
6/1/2026, 12:45:48 PMAAPLbuypending_new
6/1/2026, 12:17:28 PMMSFTbuypending_new
6/1/2026, 1:25:43 AMQQQbuyblocked
6/1/2026, 1:25:43 AMMSFTbuyblocked
Debug payloads
{
  "health": {
    "ok": true,
    "data": {
      "status": "ok",
      "settings_autonomous_enabled": true,
      "bot_state_autonomous_enabled": true,
      "autonomous_enabled": true,
      "autonomous_enabled_source": "env",
      "kill_switch": false,
      "paper_mode": true,
      "live_trading_enabled": false,
      "bot_status": "idle"
    }
  },
  "audit": {
    "ok": true,
    "data": {
      "count": 500,
      "entries": [
        {
          "id": "da93d175-5626-4790-b38f-f0277f5b1c54",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.501009+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.650308+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.552172+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.577349+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.602449+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:46:05.080606+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.526974+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.610340+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.618005+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.625709+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.658293+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.666273+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.501009+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.526974+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.552172+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.577349+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.602449+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.610340+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.618005+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.625709+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.650308+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.658293+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.666273+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:46:05.085268+00:00"
        },
        {
          "id": "43911e1d-c0c0-4045-aa0e-f5e5d186ae5f",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.501009+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.650308+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.552172+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.577349+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.602449+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:46:05.080606+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.526974+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.610340+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.618005+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.625709+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.658293+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.666273+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.501009+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.526974+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.552172+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.577349+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.602449+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.610340+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.618005+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.625709+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.650308+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.658293+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:46:04.666273+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:46:05.081633+00:00"
        },
        {
          "id": "104b52c0-eb5d-45d8-b0a9-96debff2ee81",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "7e21466f-a0ae-452c-8723-c3b6c13f1c21",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:46:05.077612+00:00"
        },
        {
          "id": "bcacc777-6119-4352-b347-a84ba067bd6c",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "d8876aba-97bc-4c67-9339-068922e4d4ef",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:46:05.071159+00:00"
        },
        {
          "id": "176b3a00-73a5-4e2e-af81-27dc06b010ca",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "3f750951-16e8-4bec-8b0e-c48d307fbb16",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:46:05.064084+00:00"
        },
        {
          "id": "425d47e6-a6d1-4c9f-9c9c-eb3a56fcc141",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T15:46:04.896578+00:00"
        },
        {
          "id": "1f1a9cdd-cf7e-4621-a61f-d63db8001010",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.357329+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.517681+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.411961+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.438418+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.465853+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:31:04.978460+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.386061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.475517+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.483306+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.491100+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.525897+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.533684+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.357329+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.386061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.411961+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.438418+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.465853+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.475517+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.483306+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.491100+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.517681+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.525897+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.533684+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:31:04.984304+00:00"
        },
        {
          "id": "ae192398-f823-4ac5-b695-5aaba2b2a1ce",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.357329+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.517681+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.411961+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.438418+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.465853+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:31:04.978460+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.386061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.475517+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.483306+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.491100+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.525897+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.533684+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.357329+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.386061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.411961+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.438418+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.465853+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.475517+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.483306+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.491100+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.517681+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.525897+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:31:04.533684+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:31:04.979539+00:00"
        },
        {
          "id": "3cbe908e-b9f5-4408-8585-bf8e13848554",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ac4d894e-924d-4376-b884-03279520c3f6",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:31:04.976076+00:00"
        },
        {
          "id": "5a0ecd31-d338-461d-b9ef-7fe90a87405e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c42e6df1-b530-4348-8fd5-8e8f744b320d",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:31:04.969391+00:00"
        },
        {
          "id": "279e78ee-5a98-40f2-9feb-94632d942d8f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6e6ab63f-b7a1-42d5-b99f-21343f99f5ee",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:31:04.961521+00:00"
        },
        {
          "id": "9868c8ff-0643-4b48-a3bd-63339f700b03",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T15:31:04.763485+00:00"
        },
        {
          "id": "8acb9d84-1cc2-426a-81f6-6a25ffc44f4b",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.491305+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.641556+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.544823+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.569998+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.595051+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:16:05.090776+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.519378+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.602602+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.609888+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.617421+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.649080+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.656692+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.491305+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.519378+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.544823+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.569998+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.595051+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.602602+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.609888+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.617421+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.641556+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.649080+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.656692+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:16:05.097000+00:00"
        },
        {
          "id": "47436e7f-c6fd-4762-9d90-eb238575a8b7",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.491305+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.641556+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.544823+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.569998+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.595051+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:16:05.090776+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.519378+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.602602+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.609888+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.617421+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.649080+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.656692+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.491305+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.519378+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.544823+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.569998+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.595051+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.602602+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.609888+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.617421+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.641556+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.649080+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:16:04.656692+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:16:05.091741+00:00"
        },
        {
          "id": "429390af-d633-438c-b885-e11475e57e18",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "db371bf8-4295-4315-9562-758fa20fe980",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:16:05.087827+00:00"
        },
        {
          "id": "272ab7ea-7b60-4db1-a047-4c8af8ce9cfb",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ac95497e-26c6-456b-b284-b122d0eff424",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:16:05.080974+00:00"
        },
        {
          "id": "149ebb04-fc7f-42fa-8e44-24698e3d449a",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6b276176-88f5-431a-9300-bc610f80ce1b",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:16:05.074066+00:00"
        },
        {
          "id": "230938e2-c9b6-407e-a00a-bf82ab7dde52",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T15:16:04.877129+00:00"
        },
        {
          "id": "1bd527c9-0080-406b-8c61-2d892ad78e48",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.175852+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.346336+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.235780+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.265242+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.293152+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:01:06.799525+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.207675+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.302629+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.310948+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.319762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.354891+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.363669+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.175852+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.207675+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.235780+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.265242+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.293152+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.302629+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.310948+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.319762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.346336+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.354891+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.363669+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:01:06.804909+00:00"
        },
        {
          "id": "741cd18e-feaf-4425-b48b-4e9d43077f32",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.175852+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.346336+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.235780+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.265242+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.293152+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T15:01:06.799525+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.207675+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.302629+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.310948+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.319762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.354891+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.363669+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.175852+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.207675+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.235780+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.265242+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.293152+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.302629+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.310948+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.319762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.346336+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.354891+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T15:01:06.363669+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T15:01:06.800365+00:00"
        },
        {
          "id": "90ab296c-829c-4b0e-9439-baf3919ae4f4",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "72dbe1a3-6b79-4e23-b338-17eae212b43f",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:01:06.795709+00:00"
        },
        {
          "id": "6f304b2d-ca67-46fd-90be-92144fc80b42",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "19d4a787-cf74-4ba6-a094-309c8bef0cbc",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:01:06.786652+00:00"
        },
        {
          "id": "b883fa56-9d67-4365-b2aa-7d4573a8a60e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c08d54a9-edda-4b4a-a4c1-660b69ad3e37",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T15:01:06.775324+00:00"
        },
        {
          "id": "d025cf9b-6d72-49ca-a55b-dd76672eddec",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T15:01:06.624174+00:00"
        },
        {
          "id": "6d303415-b25e-479e-b161-60419c3737a2",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.435234+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.585187+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.485292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.511247+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.535944+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:46:05.068252+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.460521+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.544129+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.553171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.560892+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.592403+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.600032+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.435234+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.460521+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.485292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.511247+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.535944+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.544129+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.553171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.560892+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.585187+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.592403+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.600032+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:46:05.073016+00:00"
        },
        {
          "id": "ab701242-fe70-4918-8d63-dedc4cf7edd1",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.435234+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.585187+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.485292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.511247+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.535944+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:46:05.068252+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.460521+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.544129+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.553171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.560892+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.592403+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.600032+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.435234+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.460521+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.485292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.511247+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.535944+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.544129+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.553171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.560892+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.585187+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.592403+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:46:04.600032+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:46:05.069187+00:00"
        },
        {
          "id": "fad9d0b4-a0da-4036-8db0-49ca30cd088c",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "cecd4a93-b0a7-41d2-ba36-ba13528ea4fe",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:46:05.064987+00:00"
        },
        {
          "id": "c8109269-9070-470d-af35-41288299cde3",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ba01ca7c-8e82-499b-8df7-474812281408",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:46:05.057098+00:00"
        },
        {
          "id": "de26cdbd-f178-47f9-98b8-1e4fe206a77e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "16a7aa6b-57a8-448a-9115-2f0b65110865",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:46:05.047079+00:00"
        },
        {
          "id": "b7c21f5e-72de-4ec1-83f6-5f237393daf2",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T14:46:04.812446+00:00"
        },
        {
          "id": "bec01058-f686-4602-951a-5863c8d27963",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.736186+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.892854+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.787849+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.813277+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.842855+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:31:05.363577+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.762202+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.851617+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.859523+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.867756+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.900439+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.908171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.736186+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.762202+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.787849+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.813277+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.842855+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.851617+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.859523+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.867756+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.892854+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.900439+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.908171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:31:05.370183+00:00"
        },
        {
          "id": "54dd414e-ab93-4631-a073-0918425ab2ae",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.736186+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.892854+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.787849+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.813277+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.842855+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:31:05.363577+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.762202+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.851617+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.859523+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.867756+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.900439+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.908171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.736186+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.762202+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.787849+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.813277+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.842855+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.851617+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.859523+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.867756+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.892854+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.900439+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:31:04.908171+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:31:05.364663+00:00"
        },
        {
          "id": "f9c76f95-d366-405c-b3ed-18ffdf51b553",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "2f718dcd-79d3-42de-9493-9c0048c22172",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:31:05.361326+00:00"
        },
        {
          "id": "f006e6bf-819c-4b46-8141-2cd7a85d0d6e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "70c9957c-dfc6-4906-8dea-c219a25eac81",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:31:05.355077+00:00"
        },
        {
          "id": "9692d5bd-fe18-4147-897f-aea8dcfdcc4b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "1062a3cc-360c-48cb-9138-2a483cfc95de",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:31:05.347495+00:00"
        },
        {
          "id": "6561b8ec-ee51-4daa-9400-f31a323e32c9",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T14:31:05.112573+00:00"
        },
        {
          "id": "d3a24a54-dc2a-420f-b812-54d79aa98340",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.387950+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.541951+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.439527+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.466918+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.492069+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:16:05.017356+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.414271+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.499723+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.508592+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.516962+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.549491+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.557067+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.387950+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.414271+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.439527+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.466918+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.492069+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.499723+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.508592+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.516962+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.541951+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.549491+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.557067+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:16:05.023770+00:00"
        },
        {
          "id": "6e540596-5062-4b25-92b4-7760c7daf336",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.387950+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.541951+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.439527+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.466918+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.492069+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:16:05.017356+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.414271+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.499723+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.508592+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.516962+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.549491+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.557067+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.387950+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.414271+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.439527+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.466918+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.492069+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.499723+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.508592+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.516962+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.541951+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.549491+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:16:04.557067+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:16:05.018384+00:00"
        },
        {
          "id": "e59afe75-c781-4263-9f08-5c472ae49132",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ecf474ad-b2a1-43dd-80c5-9e85302a7abc",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:16:05.014301+00:00"
        },
        {
          "id": "3d8aef80-8fdf-4302-a148-a6cd96b42022",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4a70a0ff-aa4d-449b-a15b-348776b358bf",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:16:05.007857+00:00"
        },
        {
          "id": "008454f3-4426-49c6-9d0e-bd5962d2fd38",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "0000a221-770c-4381-9670-474b140a5ffe",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:16:04.999015+00:00"
        },
        {
          "id": "2cb495c9-fa3a-4e57-911c-4e2a14e42689",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T14:16:04.798497+00:00"
        },
        {
          "id": "89af5fc7-8fd4-4ea0-ac90-82e998715155",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:04.972252+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.138561+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.027663+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.055981+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.086805+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:01:05.618874+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.001137+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.096069+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.103906+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.111488+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.146722+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.154841+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:04.972252+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.001137+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.027663+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.055981+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.086805+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.096069+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.103906+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.111488+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.138561+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.146722+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.154841+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:01:05.624027+00:00"
        },
        {
          "id": "85103c72-78fc-4af6-a0c6-7f6786a95e24",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:04.972252+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.138561+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.027663+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.055981+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.086805+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T14:01:05.618874+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.001137+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.096069+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.103906+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.111488+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.146722+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.154841+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:04.972252+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.001137+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.027663+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.055981+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.086805+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.096069+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.103906+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.111488+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.138561+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.146722+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T14:01:05.154841+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T14:01:05.620499+00:00"
        },
        {
          "id": "fffeb4d1-332f-4ae7-ae35-b84d6ec5a37e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4ab2c1e6-1788-434f-b494-7653fe29482c",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:01:05.615081+00:00"
        },
        {
          "id": "78e8d7df-8a17-40c2-8230-a020fafecc9d",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "cbdd67e7-5568-47d4-a416-c4cb0aad01bf",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:01:05.605951+00:00"
        },
        {
          "id": "28de932d-099e-4693-ac67-637b0555dc96",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "f08afe78-552a-469b-b33a-f58c3c48b4ea",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T14:01:05.598045+00:00"
        },
        {
          "id": "71cb7fd7-a828-4e26-abba-e362a0054a9a",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T14:01:05.365987+00:00"
        },
        {
          "id": "2ad12a96-410d-46aa-b540-59007d08f2a3",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.583815+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.743246+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.637230+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.663044+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.689332+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:46:05.183638+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.610348+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.697702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.706051+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.713990+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.750702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.758119+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.583815+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.610348+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.637230+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.663044+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.689332+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.697702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.706051+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.713990+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.743246+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.750702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.758119+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:46:05.190261+00:00"
        },
        {
          "id": "c4263693-f188-4946-83d6-a74a8c4a8471",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.583815+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.743246+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.637230+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.663044+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.689332+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:46:05.183638+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.610348+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.697702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.706051+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.713990+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.750702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.758119+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.583815+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.610348+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.637230+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.663044+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.689332+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.697702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.706051+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.713990+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.743246+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.750702+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:46:04.758119+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 11
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:46:05.184594+00:00"
        },
        {
          "id": "8344f406-54e7-4e41-8a93-fa1a94c65e86",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "a3565bf2-fa52-4d15-9384-1a3f87107cf3",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:46:05.180927+00:00"
        },
        {
          "id": "3a0e9908-ee2a-4529-bcba-1e99e5ab5d6b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "f253909a-ed08-4688-be0e-6836af0a75ff",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:46:05.173831+00:00"
        },
        {
          "id": "0df4bb6e-9ec4-4a46-91a2-6ad3e79bbec5",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "53797a7a-893a-4d40-bf5b-5563b8be747e",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:46:05.165791+00:00"
        },
        {
          "id": "718f59b7-abc5-4275-a7f8-7ef4e1ca8283",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T13:46:04.965904+00:00"
        },
        {
          "id": "89541e4e-3962-4a36-a3dc-711d8d0fce26",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.792292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.948068+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.844837+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.871067+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.896191+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:31:06.385090+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.819321+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.438353+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.912839+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.922066+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.956048+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.965094+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.792292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.819321+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.844837+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.871067+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.896191+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.438353+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.912839+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.922066+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.948068+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.956048+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.965094+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 9,
              "ALPACA_LIVE_FALLBACK": 2
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:31:06.391282+00:00"
        },
        {
          "id": "65c56121-2ac7-4dac-b85b-00bbf12f8a4b",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.792292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.948068+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.844837+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.871067+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.896191+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:31:06.385090+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.819321+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.438353+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.912839+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.922066+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.956048+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.965094+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.792292+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 52.9589,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.819321+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 31.6385,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 51.4332,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.844837+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 34.6247,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 54.9633,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.871067+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 33.8807,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.711,
                "prediction": "down",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T17:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:04.896191+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 35.7043,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.438353+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.912839+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.922066+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.948068+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.956048+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:31:05.965094+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 9,
              "ALPACA_LIVE_FALLBACK": 2
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:31:06.385954+00:00"
        },
        {
          "id": "1155f4c5-7745-404d-b11b-abe296b9234a",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "eb8c630d-ec14-4622-936d-e266e449e7eb",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:31:06.381867+00:00"
        },
        {
          "id": "5e42e774-bfdd-406c-a234-aea0b64eaf8c",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "274f0560-40b0-48f8-83af-1a3d057dccec",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:31:06.374974+00:00"
        },
        {
          "id": "a79ce18a-6c97-4e2e-8a39-7d979ea53d16",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "39d0a37a-3021-47ee-b631-0ffcb7f54ef0",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:31:06.367045+00:00"
        },
        {
          "id": "a7ab684f-b6d4-431a-acf6-26ef41879f19",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T13:31:05.110178+00:00"
        },
        {
          "id": "29f0ae15-5c43-4e35-9a6f-219b9f06a0a1",
          "action": "broker_orders_reconciled",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "broker": "alpaca",
            "orders": [
              {
                "qty": 1,
                "raw": {
                  "id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:20:52.094157919Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:20:52.105010339Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:20:52.104014268Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:20:52.104014268Z",
                "broker_order_id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                "filled_avg_price": 0
              },
              {
                "qty": 1,
                "raw": {
                  "id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:19:45.395180497Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:19:45.403305227Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:19:45.401465677Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:19:45.401465677Z",
                "broker_order_id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                "filled_avg_price": 0
              },
              {
                "qty": 10.2566,
                "raw": {
                  "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                  "hwm": null,
                  "qty": "10.2566",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:45:47.984584793Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:45:47.991911782Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:45:47.990838404Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "filled_avg_price": 0
              },
              {
                "qty": 5.366,
                "raw": {
                  "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                  "hwm": null,
                  "qty": "5.366",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:17:28.391610438Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:17:28.399699448Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:17:28.398316679Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "filled_avg_price": 0
              },
              {
                "qty": 3.3641,
                "raw": {
                  "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                  "hwm": null,
                  "qty": "3.3641",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:20:07.044988Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:07.324061Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:07.32406Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:20:07.044988Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "QQQ",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:07.32406Z",
                "submitted_at": "2026-06-01T01:20:07.044988Z",
                "broker_order_id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "filled_avg_price": 0
              },
              {
                "qty": 8.9241,
                "raw": {
                  "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                  "hwm": null,
                  "qty": "8.9241",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:00:05.036286Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:08.29688Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:08.296879Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:00:05.036286Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:08.296879Z",
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "broker_order_id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "filled_avg_price": 0
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:35:20.263265Z",
                  "created_at": "2026-05-16T13:21:13.162583Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:35:20.265341Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.698757Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "710.832422"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-18T13:35:20.263265Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.698757Z",
                "broker_order_id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                "filled_avg_price": 710.832422
              },
              {
                "qty": 1,
                "raw": {
                  "id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:31:12.138144Z",
                  "created_at": "2026-05-16T13:19:57.651663Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:31:12.141907Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.529409Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "418.19"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-18T13:31:12.138144Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.529409Z",
                "broker_order_id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                "filled_avg_price": 418.19
              },
              {
                "qty": 1,
                "raw": {
                  "id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:32:49.085505Z",
                  "created_at": "2026-05-08T21:03:33.900044Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:32:49.088443Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.444405Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "423.33"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-11T13:32:49.085505Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.444405Z",
                "broker_order_id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                "filled_avg_price": 423.33
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": "access_key",
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:33:24.15009Z",
                  "created_at": "2026-05-11T07:06:31.417611Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:33:24.151825Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.392308Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "712.556912"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-11T13:33:24.15009Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.392308Z",
                "broker_order_id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                "filled_avg_price": 712.556912
              },
              {
                "qty": 1,
                "raw": {
                  "id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-05-08T21:02:25.79161Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-08T21:04:03.879342Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-05-08T21:04:03.879341Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-08T21:02:25.79161Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "TSLA",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-05-08T21:04:03.879341Z",
                "submitted_at": "2026-05-08T21:02:25.79161Z",
                "broker_order_id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                "filled_avg_price": 0
              }
            ],
            "status": "ok",
            "order_status_filter": "all"
          },
          "created_at": "2026-06-01T13:25:00.965927+00:00"
        },
        {
          "id": "0902cdf9-ef62-4b1d-95f5-718eb4d6404a",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 20,
            "status": "all"
          },
          "created_at": "2026-06-01T13:24:54.594390+00:00"
        },
        {
          "id": "40909d18-81be-46da-8e6e-66531189e12d",
          "action": "broker_orders_reconciled",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "broker": "alpaca",
            "orders": [
              {
                "qty": 1,
                "raw": {
                  "id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:20:52.094157919Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:20:52.105010339Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:20:52.104014268Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:20:52.104014268Z",
                "broker_order_id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                "filled_avg_price": 0
              },
              {
                "qty": 1,
                "raw": {
                  "id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:19:45.395180497Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:19:45.403305227Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:19:45.401465677Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:19:45.401465677Z",
                "broker_order_id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                "filled_avg_price": 0
              },
              {
                "qty": 10.2566,
                "raw": {
                  "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                  "hwm": null,
                  "qty": "10.2566",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:45:47.984584793Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:45:47.991911782Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:45:47.990838404Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "filled_avg_price": 0
              },
              {
                "qty": 5.366,
                "raw": {
                  "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                  "hwm": null,
                  "qty": "5.366",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:17:28.391610438Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:17:28.399699448Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:17:28.398316679Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "filled_avg_price": 0
              },
              {
                "qty": 3.3641,
                "raw": {
                  "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                  "hwm": null,
                  "qty": "3.3641",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:20:07.044988Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:07.324061Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:07.32406Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:20:07.044988Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "QQQ",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:07.32406Z",
                "submitted_at": "2026-06-01T01:20:07.044988Z",
                "broker_order_id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "filled_avg_price": 0
              },
              {
                "qty": 8.9241,
                "raw": {
                  "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                  "hwm": null,
                  "qty": "8.9241",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:00:05.036286Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:08.29688Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:08.296879Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:00:05.036286Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:08.296879Z",
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "broker_order_id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "filled_avg_price": 0
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:35:20.263265Z",
                  "created_at": "2026-05-16T13:21:13.162583Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:35:20.265341Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.698757Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "710.832422"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-18T13:35:20.263265Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.698757Z",
                "broker_order_id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                "filled_avg_price": 710.832422
              },
              {
                "qty": 1,
                "raw": {
                  "id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:31:12.138144Z",
                  "created_at": "2026-05-16T13:19:57.651663Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:31:12.141907Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.529409Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "418.19"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-18T13:31:12.138144Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.529409Z",
                "broker_order_id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                "filled_avg_price": 418.19
              },
              {
                "qty": 1,
                "raw": {
                  "id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:32:49.085505Z",
                  "created_at": "2026-05-08T21:03:33.900044Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:32:49.088443Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.444405Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "423.33"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-11T13:32:49.085505Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.444405Z",
                "broker_order_id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                "filled_avg_price": 423.33
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": "access_key",
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:33:24.15009Z",
                  "created_at": "2026-05-11T07:06:31.417611Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:33:24.151825Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.392308Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "712.556912"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-11T13:33:24.15009Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.392308Z",
                "broker_order_id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                "filled_avg_price": 712.556912
              },
              {
                "qty": 1,
                "raw": {
                  "id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-05-08T21:02:25.79161Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-08T21:04:03.879342Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-05-08T21:04:03.879341Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-08T21:02:25.79161Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "TSLA",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-05-08T21:04:03.879341Z",
                "submitted_at": "2026-05-08T21:02:25.79161Z",
                "broker_order_id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                "filled_avg_price": 0
              }
            ],
            "status": "ok",
            "order_status_filter": "all"
          },
          "created_at": "2026-06-01T13:24:00.734304+00:00"
        },
        {
          "id": "4763ac72-9fb4-4d56-84c9-5a3161358b4c",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 20,
            "status": "all"
          },
          "created_at": "2026-06-01T13:23:48.595436+00:00"
        },
        {
          "id": "a338307c-c2c1-4997-9364-f9959ba321d4",
          "action": "broker_orders_reconciled",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "broker": "alpaca",
            "orders": [
              {
                "qty": 1,
                "raw": {
                  "id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:20:52.094157919Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:20:52.105010339Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:20:52.104014268Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:20:52.104014268Z",
                "broker_order_id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
                "client_order_id": "cda73473-654c-4561-8e1a-51aea932d7e3",
                "filled_avg_price": 0
              },
              {
                "qty": 1,
                "raw": {
                  "id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T13:19:45.395180497Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T13:19:45.403305227Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T13:19:45.401465677Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T13:19:45.401465677Z",
                "broker_order_id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
                "client_order_id": "d99bff7c-9cb6-43f8-bb7b-902ad89cb26c",
                "filled_avg_price": 0
              },
              {
                "qty": 10.2566,
                "raw": {
                  "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                  "hwm": null,
                  "qty": "10.2566",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:45:47.984584793Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:45:47.991911782Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:45:47.990838404Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "filled_avg_price": 0
              },
              {
                "qty": 5.366,
                "raw": {
                  "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                  "hwm": null,
                  "qty": "5.366",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:17:28.391610438Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:17:28.399699448Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:17:28.398316679Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "filled_avg_price": 0
              },
              {
                "qty": 3.3641,
                "raw": {
                  "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                  "hwm": null,
                  "qty": "3.3641",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:20:07.044988Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:07.324061Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:07.32406Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:20:07.044988Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "QQQ",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:07.32406Z",
                "submitted_at": "2026-06-01T01:20:07.044988Z",
                "broker_order_id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "filled_avg_price": 0
              },
              {
                "qty": 8.9241,
                "raw": {
                  "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                  "hwm": null,
                  "qty": "8.9241",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:00:05.036286Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:08.29688Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:08.296879Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:00:05.036286Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:08.296879Z",
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "broker_order_id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "filled_avg_price": 0
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:35:20.263265Z",
                  "created_at": "2026-05-16T13:21:13.162583Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:35:20.265341Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.698757Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "710.832422"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-18T13:35:20.263265Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.698757Z",
                "broker_order_id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                "filled_avg_price": 710.832422
              },
              {
                "qty": 1,
                "raw": {
                  "id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:31:12.138144Z",
                  "created_at": "2026-05-16T13:19:57.651663Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:31:12.141907Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.529409Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "418.19"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-18T13:31:12.138144Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.529409Z",
                "broker_order_id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                "filled_avg_price": 418.19
              },
              {
                "qty": 1,
                "raw": {
                  "id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:32:49.085505Z",
                  "created_at": "2026-05-08T21:03:33.900044Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:32:49.088443Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.444405Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "423.33"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-11T13:32:49.085505Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.444405Z",
                "broker_order_id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                "filled_avg_price": 423.33
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": "access_key",
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:33:24.15009Z",
                  "created_at": "2026-05-11T07:06:31.417611Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:33:24.151825Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.392308Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "712.556912"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-11T13:33:24.15009Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.392308Z",
                "broker_order_id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                "filled_avg_price": 712.556912
              },
              {
                "qty": 1,
                "raw": {
                  "id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-05-08T21:02:25.79161Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-08T21:04:03.879342Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-05-08T21:04:03.879341Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-08T21:02:25.79161Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "TSLA",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-05-08T21:04:03.879341Z",
                "submitted_at": "2026-05-08T21:02:25.79161Z",
                "broker_order_id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                "filled_avg_price": 0
              }
            ],
            "status": "ok",
            "order_status_filter": "all"
          },
          "created_at": "2026-06-01T13:22:24.105178+00:00"
        },
        {
          "id": "321b2154-1c4d-40f2-b8cd-a10bdec4581b",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 11,
            "limit": 20,
            "status": "all"
          },
          "created_at": "2026-06-01T13:22:15.696425+00:00"
        },
        {
          "id": "c2ca85bc-2bad-4345-ba87-c2da2bddf678",
          "action": "diagnostics_submit_test_order",
          "entity_type": "diagnostics",
          "payload": {
            "qty": 1,
            "symbol": "AAPL",
            "timestamp": "2026-06-01T13:20:51.930718+00:00",
            "submit_error": null,
            "broker_order_id": "7339a9c2-13c9-4d98-992b-2fc680507a25",
            "get_order_status": "new",
            "get_order_rejection_reason": null
          },
          "created_at": "2026-06-01T13:20:52.521315+00:00"
        },
        {
          "id": "ec7b5696-1323-4150-9878-511901fe9e8c",
          "action": "diagnostics_broker_status",
          "entity_type": "diagnostics",
          "payload": {
            "timestamp": "2026-06-01T13:20:44.872121+00:00",
            "orders_count": 10,
            "orders_error": null,
            "account_error": null,
            "positions_count": 0,
            "positions_error": null,
            "orders_status_distribution": {
              "new": 3,
              "filled": 4,
              "canceled": 3
            }
          },
          "created_at": "2026-06-01T13:20:45.451703+00:00"
        },
        {
          "id": "a5ee5261-d1d4-4770-a0fa-d3979a4ef3f2",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6369,
                  "bar_count": 892,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 670,
                  "feature_rows": 838,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4302,
                  "bar_count": 910,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 856,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4152,
                  "bar_count": 907,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 682,
                  "feature_rows": 853,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4477,
                  "bar_count": 914,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 688,
                  "feature_rows": 860,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6167,
                  "bar_count": 952,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 718,
                  "feature_rows": 898,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.6203,
                  "bar_count": 988,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 747,
                  "feature_rows": 934,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 207,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 207,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 4837,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 207,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 207,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 4837,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1238,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1238,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 223,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 223,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1239,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 223,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 223,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 223,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 1,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1239,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 223,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 1,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T13:20:40.590218+00:00"
        },
        {
          "id": "fe5a3def-f807-4806-a1a2-6b1b718f57df",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 4837,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 4837,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1238,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1238,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 223,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 223,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1239,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 223,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 223,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 223,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 1,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1239,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 223,
                "updated_bar_count": 0,
                "inserted_bar_count": 1,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T13:20:39.588523+00:00"
        },
        {
          "id": "9f324a42-8073-4010-a34b-b68c08dace86",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T13:20:36.663580Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T13:20:36.672735+00:00"
        },
        {
          "id": "bf497bb3-9122-44f6-a856-f517e386f874",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T13:20:36.668274+00:00"
        },
        {
          "id": "9d6ac81f-8b14-45d9-995a-c4aee160fa31",
          "action": "diagnostics_submit_test_order",
          "entity_type": "diagnostics",
          "payload": {
            "qty": 1,
            "symbol": "AAPL",
            "timestamp": "2026-06-01T13:19:45.220890+00:00",
            "submit_error": null,
            "broker_order_id": "c16d8411-3757-4ad9-8001-2e10ae7ac36c",
            "get_order_status": "new",
            "get_order_rejection_reason": null
          },
          "created_at": "2026-06-01T13:19:45.822107+00:00"
        },
        {
          "id": "e9656c65-aa52-49a4-8e46-37de50c961b3",
          "action": "diagnostics_broker_status",
          "entity_type": "diagnostics",
          "payload": {
            "timestamp": "2026-06-01T13:19:25.850215+00:00",
            "orders_count": 9,
            "orders_error": null,
            "account_error": null,
            "positions_count": 0,
            "positions_error": null,
            "orders_status_distribution": {
              "new": 2,
              "filled": 4,
              "canceled": 3
            }
          },
          "created_at": "2026-06-01T13:19:26.433267+00:00"
        },
        {
          "id": "b20e1c1d-d0d7-46fe-ac45-d323012713a3",
          "action": "broker_orders_reconciled",
          "entity_type": "broker",
          "payload": {
            "count": 9,
            "broker": "alpaca",
            "orders": [
              {
                "qty": 10.2566,
                "raw": {
                  "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                  "hwm": null,
                  "qty": "10.2566",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:45:47.984584793Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:45:47.991911782Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:45:47.990838404Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "filled_avg_price": 0
              },
              {
                "qty": 5.366,
                "raw": {
                  "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                  "hwm": null,
                  "qty": "5.366",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:17:28.391610438Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:17:28.399699448Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:17:28.398316679Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "filled_avg_price": 0
              },
              {
                "qty": 3.3641,
                "raw": {
                  "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                  "hwm": null,
                  "qty": "3.3641",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:20:07.044988Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:07.324061Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:07.32406Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:20:07.044988Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "QQQ",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:07.32406Z",
                "submitted_at": "2026-06-01T01:20:07.044988Z",
                "broker_order_id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "filled_avg_price": 0
              },
              {
                "qty": 8.9241,
                "raw": {
                  "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                  "hwm": null,
                  "qty": "8.9241",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:00:05.036286Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:08.29688Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:08.296879Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:00:05.036286Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:08.296879Z",
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "broker_order_id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "filled_avg_price": 0
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:35:20.263265Z",
                  "created_at": "2026-05-16T13:21:13.162583Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:35:20.265341Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.698757Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "710.832422"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-18T13:35:20.263265Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.698757Z",
                "broker_order_id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                "filled_avg_price": 710.832422
              },
              {
                "qty": 1,
                "raw": {
                  "id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:31:12.138144Z",
                  "created_at": "2026-05-16T13:19:57.651663Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:31:12.141907Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.529409Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "418.19"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-18T13:31:12.138144Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.529409Z",
                "broker_order_id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                "filled_avg_price": 418.19
              },
              {
                "qty": 1,
                "raw": {
                  "id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:32:49.085505Z",
                  "created_at": "2026-05-08T21:03:33.900044Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:32:49.088443Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.444405Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "423.33"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-11T13:32:49.085505Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.444405Z",
                "broker_order_id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                "filled_avg_price": 423.33
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": "access_key",
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:33:24.15009Z",
                  "created_at": "2026-05-11T07:06:31.417611Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:33:24.151825Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.392308Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "712.556912"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-11T13:33:24.15009Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.392308Z",
                "broker_order_id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                "filled_avg_price": 712.556912
              },
              {
                "qty": 1,
                "raw": {
                  "id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-05-08T21:02:25.79161Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-08T21:04:03.879342Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-05-08T21:04:03.879341Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-08T21:02:25.79161Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "TSLA",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-05-08T21:04:03.879341Z",
                "submitted_at": "2026-05-08T21:02:25.79161Z",
                "broker_order_id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                "filled_avg_price": 0
              }
            ],
            "status": "ok",
            "order_status_filter": "all"
          },
          "created_at": "2026-06-01T13:17:02.378364+00:00"
        },
        {
          "id": "8526b6ed-f652-4092-845a-72970db2f091",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 9,
            "limit": 20,
            "status": "all"
          },
          "created_at": "2026-06-01T13:16:55.208425+00:00"
        },
        {
          "id": "6f4b4a63-1b69-4cf4-b29d-937f8f9ed2fd",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6369,
                  "bar_count": 892,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 670,
                  "feature_rows": 838,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4302,
                  "bar_count": 910,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 856,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4152,
                  "bar_count": 907,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 682,
                  "feature_rows": 853,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4477,
                  "bar_count": 914,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 688,
                  "feature_rows": 860,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6167,
                  "bar_count": 952,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 718,
                  "feature_rows": 898,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.6257,
                  "bar_count": 987,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 746,
                  "feature_rows": 933,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 207,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 207,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 4607,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 207,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 207,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 4608,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 1,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1008,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 1,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1009,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 223,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 1,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1010,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T13:00:00+00:00",
                  "fetched_bar_count": 223,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 1,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 4610,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T13:16:51.786721+00:00"
        },
        {
          "id": "a8108afb-bc2e-467f-b1ea-d28d062057ef",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 4607,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 4608,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 1,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1008,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 1,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1009,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 223,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 1,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1010,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T13:00:00+00:00",
                "fetched_bar_count": 223,
                "updated_bar_count": 0,
                "inserted_bar_count": 1,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T13:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T13:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T13:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T13:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 4610,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T13:16:50.770354+00:00"
        },
        {
          "id": "f6996c1b-4a57-45ae-9660-0e219c591436",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T13:16:47.398881Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T13:16:47.408507+00:00"
        },
        {
          "id": "d96b1a3b-35a3-4487-9cfd-af89e0529773",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T13:16:47.403646+00:00"
        },
        {
          "id": "82766fe4-1fc4-4f3a-87bb-37203d5d1543",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:04.726258+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.560920+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.366048+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.392530+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.420327+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:16:06.988710+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.9004,
                "prediction": "down",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.338824+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.986245+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.525914+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.534233+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.568644+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.576664+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:04.726258+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.9004,
                "prediction": "down",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.338824+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.366048+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.392530+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.420327+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.986245+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.525914+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.534233+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.560920+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.568644+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.576664+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 8,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:16:06.994874+00:00"
        },
        {
          "id": "493d3918-073a-4491-8207-61c56a842500",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:04.726258+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.560920+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.366048+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.392530+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.420327+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:16:06.988710+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.9004,
                "prediction": "down",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.338824+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.986245+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.525914+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.534233+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.568644+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.576664+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 6,
            "symbols_rejected": 3,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:04.726258+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 0,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.9004,
                "prediction": "down",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "hold",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Score 0.00 < minimum 5.0",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T13:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.338824+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.366048+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.392530+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.420327+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:05.986245+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.525914+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.534233+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.560920+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.568644+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:16:06.576664+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 8,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:16:06.989429+00:00"
        },
        {
          "id": "f5300733-e670-4fb6-9bdb-3696aca53a90",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4d6f2cec-935c-423c-8ef8-6271b2c67c26",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:16:06.986522+00:00"
        },
        {
          "id": "29adeae8-b54c-43db-be3e-9360a0664dab",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "e502d929-7ddc-403a-9667-c19ebafa4dce",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:16:06.980015+00:00"
        },
        {
          "id": "9edba4b4-0158-49fc-97e2-bf8c14a1df59",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "02794b52-b849-477c-a6c9-6c60af12134c",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:16:06.972739+00:00"
        },
        {
          "id": "252ef3af-0956-412b-87cd-f92efe8ac42f",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 9,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T13:16:04.949163+00:00"
        },
        {
          "id": "df1ed010-955c-4b02-b158-747f831adff9",
          "action": "bot_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T13:12:18.067882Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T13:12:28.722518+00:00"
        },
        {
          "id": "dc072b21-0483-4894-a4e7-f53688b0f332",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_with_orders",
            "dry_run": false,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "ml_model": "AAPL",
                "order_id": "e61adda3-9eb8-4276-9d7f-76a075152184",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.432375+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "ml_model": "MSFT",
                "order_id": "96731057-c157-4c89-af57-9273b9a481a0",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.458311+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.483785+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.041957+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.068600+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.095997+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:12:18.067894+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.104328+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.591321+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:17.223221+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:17.231297+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 2,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "ml_model": "AAPL",
                "order_id": "e61adda3-9eb8-4276-9d7f-76a075152184",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.432375+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "ml_model": "MSFT",
                "order_id": "96731057-c157-4c89-af57-9273b9a481a0",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.458311+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:15.483785+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.041957+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.068600+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.095997+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.104328+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:16.591321+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:17.223221+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:12:17.231297+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T13:12:18.068857+00:00"
        },
        {
          "id": "f0b44fed-24d6-43d2-a7bf-97422a3658a9",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "67cfabd5-770e-40c4-bf02-7c4095e1ed97",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:18.064716+00:00"
        },
        {
          "id": "bb1f44c8-f89e-4077-8980-c04cbe35c559",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "43a75c3b-1a0b-405a-b0ad-8bec4a0e776a",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:18.059190+00:00"
        },
        {
          "id": "cf984353-60ef-4678-8a66-44fb70465525",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "2943f4a9-0942-499e-9ce5-4c75c553e919",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:18.051772+00:00"
        },
        {
          "id": "4ea312a4-7692-411e-8c47-795ae0477477",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "449ad624-0f48-4884-b3e2-874763c50c90",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:18.044106+00:00"
        },
        {
          "id": "42ad6c2a-0483-4b0e-9784-f9613ce04546",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "554371b2-1f33-4fb1-8aed-c8988db12b5a",
            "status": "open",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:18.036576+00:00"
        },
        {
          "id": "e2599a41-a245-4d93-a2a7-65965666127f",
          "action": "trade_blocked_duplicate_guard",
          "entity_type": "trade",
          "payload": {
            "id": "96731057-c157-4c89-af57-9273b9a481a0",
            "qty": 5.366,
            "side": "buy",
            "price": null,
            "reason": "open_broker_order_exists",
            "status": "blocked",
            "symbol": "MSFT",
            "details": {
              "side": "buy",
              "symbol": "MSFT",
              "open_order": {
                "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "hwm": null,
                "qty": "5.366",
                "legs": null,
                "side": "buy",
                "type": "market",
                "source": "access_key",
                "status": "new",
                "subtag": null,
                "symbol": "MSFT",
                "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                "notional": null,
                "replaces": null,
                "failed_at": null,
                "filled_at": null,
                "created_at": "2026-06-01T12:17:28.39161Z",
                "expired_at": null,
                "expires_at": "2026-06-01T20:00:00Z",
                "filled_qty": "0",
                "order_type": "market",
                "stop_price": null,
                "updated_at": "2026-06-01T12:17:28.399699Z",
                "asset_class": "us_equity",
                "canceled_at": null,
                "limit_price": null,
                "order_class": "",
                "replaced_at": null,
                "replaced_by": null,
                "trail_price": null,
                "submitted_at": "2026-06-01T12:17:28.398317Z",
                "time_in_force": "day",
                "trail_percent": null,
                "extended_hours": false,
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "position_intent": "buy_to_open",
                "filled_avg_price": null
              }
            },
            "created_at": "2026-06-01T13:12:18.021619Z",
            "block_reason": "open_broker_order_exists",
            "broker_status": null,
            "broker_order_id": null,
            "submitted_to_broker": false,
            "requires_reconciliation": false
          },
          "created_at": "2026-06-01T13:12:18.023010+00:00"
        },
        {
          "id": "89d49cbd-c384-4a82-89f9-09a97298ba83",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "8d792854-d8e8-4b06-abb7-8354de22d39d",
            "status": "open",
            "symbol": "AAPL",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:12:17.826759+00:00"
        },
        {
          "id": "7a1468cc-f021-4ce1-9401-05e3e8138270",
          "action": "trade_blocked_duplicate_guard",
          "entity_type": "trade",
          "payload": {
            "id": "e61adda3-9eb8-4276-9d7f-76a075152184",
            "qty": 10.2566,
            "side": "buy",
            "price": null,
            "reason": "open_broker_order_exists",
            "status": "blocked",
            "symbol": "AAPL",
            "details": {
              "side": "buy",
              "symbol": "AAPL",
              "open_order": {
                "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "hwm": null,
                "qty": "10.2566",
                "legs": null,
                "side": "buy",
                "type": "market",
                "source": null,
                "status": "new",
                "subtag": null,
                "symbol": "AAPL",
                "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                "notional": null,
                "replaces": null,
                "failed_at": null,
                "filled_at": null,
                "created_at": "2026-06-01T12:45:47.984584793Z",
                "expired_at": null,
                "expires_at": "2026-06-01T20:00:00Z",
                "filled_qty": "0",
                "order_type": "market",
                "stop_price": null,
                "updated_at": "2026-06-01T12:45:47.991911782Z",
                "asset_class": "us_equity",
                "canceled_at": null,
                "limit_price": null,
                "order_class": "",
                "replaced_at": null,
                "replaced_by": null,
                "trail_price": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "time_in_force": "day",
                "trail_percent": null,
                "extended_hours": false,
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "position_intent": "buy_to_open",
                "filled_avg_price": null
              }
            },
            "created_at": "2026-06-01T13:12:17.805129Z",
            "block_reason": "open_broker_order_exists",
            "broker_status": null,
            "broker_order_id": null,
            "submitted_to_broker": false,
            "requires_reconciliation": false
          },
          "created_at": "2026-06-01T13:12:17.812551+00:00"
        },
        {
          "id": "03585b50-cb34-4a56-9bf2-80321f1007fa",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.158261+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.185073+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.211095+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.698541+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.725029+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.751099+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:11:17.110918+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.759653+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.209830+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.688014+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.695762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.158261+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.185073+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.211095+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.698541+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.725029+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.751099+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:15.759653+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.209830+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.688014+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:11:16.695762+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T13:11:17.112091+00:00"
        },
        {
          "id": "331a3b61-e24a-49a1-b39b-978e39ed4cac",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4a564ab7-e27d-40d3-98f3-0e31c0c4d6af",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:11:17.107926+00:00"
        },
        {
          "id": "be38ec62-8da1-4132-86ed-395a425c99e0",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "018e05fc-267c-40c6-af94-b5aacf456818",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:11:17.101128+00:00"
        },
        {
          "id": "27810569-2555-42ab-8704-b8decfca4b1b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c42fb0d5-0a54-40ba-8428-11133a96e6f9",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:11:17.093786+00:00"
        },
        {
          "id": "d80701f1-88fd-4f9b-88a2-7dceac1f8425",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "65d0c434-6a6a-4db2-83c5-7fcd60e98921",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:11:17.085899+00:00"
        },
        {
          "id": "1f501bae-b457-4587-b156-225d4f681bc0",
          "action": "broker_orders_reconciled",
          "entity_type": "broker",
          "payload": {
            "count": 9,
            "broker": "alpaca",
            "orders": [
              {
                "qty": 10.2566,
                "raw": {
                  "id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                  "hwm": null,
                  "qty": "10.2566",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "AAPL",
                  "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:45:47.984584793Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:45:47.991911782Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:45:47.990838404Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "AAPL",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:45:47.990838404Z",
                "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
                "client_order_id": "0d87ecd0-8be0-47eb-b644-2bdd47e1a642",
                "filled_avg_price": 0
              },
              {
                "qty": 5.366,
                "raw": {
                  "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                  "hwm": null,
                  "qty": "5.366",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "new",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T12:17:28.391610438Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T12:17:28.399699448Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T12:17:28.398316679Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "new",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "filled_avg_price": 0
              },
              {
                "qty": 3.3641,
                "raw": {
                  "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                  "hwm": null,
                  "qty": "3.3641",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:20:07.044988Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:07.324061Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:07.32406Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:20:07.044988Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "QQQ",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:07.32406Z",
                "submitted_at": "2026-06-01T01:20:07.044988Z",
                "broker_order_id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "filled_avg_price": 0
              },
              {
                "qty": 8.9241,
                "raw": {
                  "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                  "hwm": null,
                  "qty": "8.9241",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "MSFT",
                  "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-06-01T01:00:05.036286Z",
                  "expired_at": null,
                  "expires_at": "2026-06-01T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-06-01T01:45:08.29688Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-06-01T01:45:08.296879Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-06-01T01:00:05.036286Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "MSFT",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-06-01T01:45:08.296879Z",
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "broker_order_id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "filled_avg_price": 0
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:35:20.263265Z",
                  "created_at": "2026-05-16T13:21:13.162583Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:35:20.265341Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.698757Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "710.832422"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-18T13:35:20.263265Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.698757Z",
                "broker_order_id": "1633d0fd-59e7-46f9-b4c1-2b58045a060a",
                "client_order_id": "30b3a0eb-4883-47a3-9b07-ee9f7d8901d4",
                "filled_avg_price": 710.832422
              },
              {
                "qty": 1,
                "raw": {
                  "id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "sell",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-18T13:31:12.138144Z",
                  "created_at": "2026-05-16T13:19:57.651663Z",
                  "expired_at": null,
                  "expires_at": "2026-05-18T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-18T13:31:12.141907Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-18T08:00:28.529409Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                  "position_intent": "sell_to_close",
                  "filled_avg_price": "418.19"
                },
                "side": "sell",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-18T13:31:12.138144Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-18T08:00:28.529409Z",
                "broker_order_id": "8b1e53f0-c8c7-4693-a66c-059c4e45baed",
                "client_order_id": "cc474d3c-8840-4cdd-9f55-fb1b31c654b2",
                "filled_avg_price": 418.19
              },
              {
                "qty": 1,
                "raw": {
                  "id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "filled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:32:49.085505Z",
                  "created_at": "2026-05-08T21:03:33.900044Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "1",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:32:49.088443Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.444405Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "423.33"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "TSLA",
                "filled_at": "2026-05-11T13:32:49.085505Z",
                "expired_at": null,
                "filled_qty": 1,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.444405Z",
                "broker_order_id": "aee4b77c-c14b-40e9-a972-d217fa0c0459",
                "client_order_id": "518d13f4-88e7-4be7-bfcc-6668bb679ae3",
                "filled_avg_price": 423.33
              },
              {
                "qty": 4.0449,
                "raw": {
                  "id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                  "hwm": null,
                  "qty": "4.0449",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": "access_key",
                  "status": "filled",
                  "subtag": null,
                  "symbol": "QQQ",
                  "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": "2026-05-11T13:33:24.15009Z",
                  "created_at": "2026-05-11T07:06:31.417611Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "4.0449",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-11T13:33:24.151825Z",
                  "asset_class": "us_equity",
                  "canceled_at": null,
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-11T08:00:54.392308Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": "712.556912"
                },
                "side": "buy",
                "status": "filled",
                "symbol": "QQQ",
                "filled_at": "2026-05-11T13:33:24.15009Z",
                "expired_at": null,
                "filled_qty": 4.0449,
                "canceled_at": null,
                "submitted_at": "2026-05-11T08:00:54.392308Z",
                "broker_order_id": "fa89135a-cffa-4865-84d4-dfb0a7d601ca",
                "client_order_id": "44a082ed-bec3-44f8-a8aa-2b857747f329",
                "filled_avg_price": 712.556912
              },
              {
                "qty": 1,
                "raw": {
                  "id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                  "hwm": null,
                  "qty": "1",
                  "legs": null,
                  "side": "buy",
                  "type": "market",
                  "source": null,
                  "status": "canceled",
                  "subtag": null,
                  "symbol": "TSLA",
                  "asset_id": "8ccae427-5dd0-45b3-b5fe-7ba5e422c766",
                  "notional": null,
                  "replaces": null,
                  "failed_at": null,
                  "filled_at": null,
                  "created_at": "2026-05-08T21:02:25.79161Z",
                  "expired_at": null,
                  "expires_at": "2026-05-11T20:00:00Z",
                  "filled_qty": "0",
                  "order_type": "market",
                  "stop_price": null,
                  "updated_at": "2026-05-08T21:04:03.879342Z",
                  "asset_class": "us_equity",
                  "canceled_at": "2026-05-08T21:04:03.879341Z",
                  "limit_price": null,
                  "order_class": "",
                  "replaced_at": null,
                  "replaced_by": null,
                  "trail_price": null,
                  "submitted_at": "2026-05-08T21:02:25.79161Z",
                  "time_in_force": "day",
                  "trail_percent": null,
                  "extended_hours": false,
                  "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                  "position_intent": "buy_to_open",
                  "filled_avg_price": null
                },
                "side": "buy",
                "status": "canceled",
                "symbol": "TSLA",
                "filled_at": null,
                "expired_at": null,
                "filled_qty": 0,
                "canceled_at": "2026-05-08T21:04:03.879341Z",
                "submitted_at": "2026-05-08T21:02:25.79161Z",
                "broker_order_id": "699fd619-de20-4c0f-8667-2c12cee9ae98",
                "client_order_id": "7a1ddce2-d353-432d-acb4-7977946fdf01",
                "filled_avg_price": 0
              }
            ],
            "status": "ok",
            "order_status_filter": "all"
          },
          "created_at": "2026-06-01T13:08:11.486264+00:00"
        },
        {
          "id": "1f250717-9301-4310-9442-ed1c36315a54",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T13:07:05.665777+00:00"
        },
        {
          "id": "8e300a5f-1906-4893-9d46-20eb852877e1",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T13:06:50.637872+00:00"
        },
        {
          "id": "1cf4f7b3-811a-46ab-bedd-9d0c95681cad",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T13:06:21.150719+00:00"
        },
        {
          "id": "5e4cd8cf-a2b9-412f-a1ab-1360fce90a2f",
          "action": "broker_account_checked",
          "entity_type": "broker",
          "payload": {
            "paper": true,
            "broker": "alpaca",
            "status": "connected"
          },
          "created_at": "2026-06-01T13:05:05.100867+00:00"
        },
        {
          "id": "1bed3e63-a8c8-4f64-92c0-dbba46718dce",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T13:04:58.706311+00:00"
        },
        {
          "id": "d6eb3055-a581-48d9-b261-c18c991e71e9",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.671939+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.701517+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.729485+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.230355+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.256608+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.283259+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:03:46.705956+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.290947+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.759952+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:46.276579+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:46.284422+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.671939+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.701517+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:44.729485+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.230355+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.256608+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.283259+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.290947+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:45.759952+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:46.276579+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:03:46.284422+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T13:03:46.706982+00:00"
        },
        {
          "id": "7ba7bf42-6862-4c64-8457-c088164476e1",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "083007ce-41b2-46f0-976c-515f726acb16",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:03:46.702935+00:00"
        },
        {
          "id": "a36292cc-de6e-497e-b2c8-1a8df2f58982",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "9a387873-63dc-4fa8-82de-1c0a71773fc7",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:03:46.694956+00:00"
        },
        {
          "id": "a9279ce5-b1de-4f00-882a-17033fa71829",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "29b2c5dd-59fb-4d0d-89b2-1bc87d9dcdee",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:03:46.687204+00:00"
        },
        {
          "id": "d0daac7a-2da9-44c1-a15e-cddb287a0f52",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "7194e847-2d84-4e03-b026-f83f57f62390",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:03:46.680129+00:00"
        },
        {
          "id": "91e2f64f-3cc8-4dcd-9c48-f39fd19ff8a5",
          "action": "automation_trading_cycle",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.158651+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.436594+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.743061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.770604+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.800479+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.826444+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:01:08.350651+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:06.892846+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.391590+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.405824+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.445874+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.933234+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 5,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.158651+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.743061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.770604+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.800479+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.826444+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:06.892846+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.391590+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.405824+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.436594+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.445874+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.933234+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 4
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:01:08.355247+00:00"
        },
        {
          "id": "50638071-d6be-40ac-b3e7-2b4c98a4d7cf",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.158651+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.436594+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.743061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.770604+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.800479+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.826444+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T13:01:08.350651+00:00",
            "symbols_scanned": 11,
            "filtered_symbols": [
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:06.892846+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.391590+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.405824+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.445874+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.933234+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 5,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.158651+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.743061+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.770604+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.800479+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:05.826444+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:06.892846+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.391590+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.405824+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.436594+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.445874+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 2.9113,
                "regime": "sideways/chop",
                "symbol": "NFLX",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T13:01:07.933234+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 11,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 4
            },
            "not_allowed_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 5,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "META",
              "AMZN",
              "GOOGL",
              "AMD",
              "NFLX"
            ]
          },
          "created_at": "2026-06-01T13:01:08.351457+00:00"
        },
        {
          "id": "b171d6ec-36ed-449e-bed4-1cfca26c3bc3",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "21e15c39-1556-4006-86d3-e867384ef4b0",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:01:08.348287+00:00"
        },
        {
          "id": "380432f4-ad66-424d-b2f4-815c8f047c93",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "8df437ee-2e1d-496b-9b97-54dcb97125d0",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:01:08.339595+00:00"
        },
        {
          "id": "5473c24f-aee6-4bf1-9914-d9341002a77b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6288b1ba-8197-43cc-a561-d459c180339f",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:01:08.333418+00:00"
        },
        {
          "id": "73f31bd8-d2a9-4034-8d32-a65b91fb9db5",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "140a45b6-cfc0-4c1b-8783-e49641855627",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T13:01:08.323518+00:00"
        },
        {
          "id": "8b80e5b8-7317-48c5-aa89-82ed18a19c8d",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 9,
            "limit": 100,
            "status": "all"
          },
          "created_at": "2026-06-01T13:01:05.363700+00:00"
        },
        {
          "id": "933cab65-43f8-495c-8389-5ab8a5165c07",
          "action": "broker_account_checked",
          "entity_type": "broker",
          "payload": {
            "paper": true,
            "broker": "alpaca",
            "status": "connected"
          },
          "created_at": "2026-06-01T12:52:17.408910+00:00"
        },
        {
          "id": "a15fd367-dc1f-4f34-8e25-5ab0750f3712",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T12:52:15.444306+00:00"
        },
        {
          "id": "d5dd610f-ab5e-4a67-b6bf-37e1a59b62f9",
          "action": "broker_account_checked",
          "entity_type": "broker",
          "payload": {
            "paper": true,
            "broker": "alpaca",
            "status": "connected"
          },
          "created_at": "2026-06-01T12:51:43.279902+00:00"
        },
        {
          "id": "0242d6af-5d37-4b66-b759-9c77300b53e7",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T12:51:41.264879+00:00"
        },
        {
          "id": "d6420c69-c8a2-4872-bd13-5f3a44a1971c",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T12:47:49.687964+00:00"
        },
        {
          "id": "ecd4b08e-e7bd-4109-8120-f405c38a2cd0",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_with_orders",
            "dry_run": false,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "ml_model": "AAPL",
                "order_id": "37349548-cd22-466e-9e80-d6691819fbe7",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "pending_new",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.435552+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "ml_model": "MSFT",
                "order_id": "f3e0b26b-7980-4be8-ab26-d1b93530512b",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.462046+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.486448+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.963680+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.989468+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.015164+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:45:48.276231+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.022726+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.519860+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:47.039568+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:47.048835+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 2,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "ml_model": "AAPL",
                "order_id": "37349548-cd22-466e-9e80-d6691819fbe7",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "pending_new",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.435552+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "ml_model": "MSFT",
                "order_id": "f3e0b26b-7980-4be8-ab26-d1b93530512b",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "order_status": "blocked",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.462046+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.486448+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.963680+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:45.989468+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.015164+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.022726+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:46.519860+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:47.039568+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:45:47.048835+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T12:45:48.277317+00:00"
        },
        {
          "id": "421b3606-36fb-4bd3-8324-957e1f34f3f7",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4d378627-cdd6-42e6-9ac3-db473db32734",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.273210+00:00"
        },
        {
          "id": "4357f6d6-94ea-4e70-9908-89d330e62db6",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "bd03b70d-4174-4595-9e6b-3f90ba783727",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.266936+00:00"
        },
        {
          "id": "8ff2027e-da18-4b2f-82f2-9fb729772837",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "a6d05836-3016-4578-9a16-4cd6c7aa493a",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.260607+00:00"
        },
        {
          "id": "62b675b2-1e21-44c5-a098-70b62c026fb1",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "445e3e33-b279-45ff-a803-6eeffb8a863a",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.254422+00:00"
        },
        {
          "id": "cb516e52-b57b-43e0-9b31-32fc1fcf8b40",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "574a452b-185c-4427-90ec-0cd865061a29",
            "status": "open",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.247726+00:00"
        },
        {
          "id": "cdcd7ef1-bc57-4ef8-aecc-2ee518680a8d",
          "action": "trade_blocked_duplicate_guard",
          "entity_type": "trade",
          "payload": {
            "id": "f3e0b26b-7980-4be8-ab26-d1b93530512b",
            "qty": 5.366,
            "side": "buy",
            "price": null,
            "reason": "open_broker_order_exists",
            "status": "blocked",
            "symbol": "MSFT",
            "details": {
              "side": "buy",
              "symbol": "MSFT",
              "open_order": {
                "id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
                "hwm": null,
                "qty": "5.366",
                "legs": null,
                "side": "buy",
                "type": "market",
                "source": null,
                "status": "new",
                "subtag": null,
                "symbol": "MSFT",
                "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                "notional": null,
                "replaces": null,
                "failed_at": null,
                "filled_at": null,
                "created_at": "2026-06-01T12:17:28.391610438Z",
                "expired_at": null,
                "expires_at": "2026-06-01T20:00:00Z",
                "filled_qty": "0",
                "order_type": "market",
                "stop_price": null,
                "updated_at": "2026-06-01T12:17:28.399699448Z",
                "asset_class": "us_equity",
                "canceled_at": null,
                "limit_price": null,
                "order_class": "",
                "replaced_at": null,
                "replaced_by": null,
                "trail_price": null,
                "submitted_at": "2026-06-01T12:17:28.398316679Z",
                "time_in_force": "day",
                "trail_percent": null,
                "extended_hours": false,
                "client_order_id": "af5bee78-1d57-4730-9bee-aee2ed836851",
                "position_intent": "buy_to_open",
                "filled_avg_price": null
              }
            },
            "created_at": "2026-06-01T12:45:48.231131Z",
            "block_reason": "open_broker_order_exists",
            "broker_status": null,
            "broker_order_id": null,
            "submitted_to_broker": false,
            "requires_reconciliation": false
          },
          "created_at": "2026-06-01T12:45:48.232506+00:00"
        },
        {
          "id": "0224ca65-9e1d-4ce8-ae52-a3d678f8dc24",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "01759dd3-dd3f-4770-8746-4a33bf56636b",
            "status": "open",
            "symbol": "AAPL",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:45:48.036756+00:00"
        },
        {
          "id": "49de11a5-cabb-4cec-9fcf-072fdf6e2ef3",
          "action": "order_submitted",
          "entity_type": "trade",
          "payload": {
            "id": "37349548-cd22-466e-9e80-d6691819fbe7",
            "qty": 10.2566,
            "side": "buy",
            "price": null,
            "filled": false,
            "reason": "Auto-cycle: composite=29.28, regime=sideways/chop, ml=up",
            "status": "pending_new",
            "symbol": "AAPL",
            "created_at": "2026-06-01T12:45:48.017875Z",
            "broker_status": "pending_new",
            "broker_order_id": "1f91236f-25bb-4909-a0fb-58df7b2affbb",
            "submitted_to_broker": true,
            "requires_reconciliation": true
          },
          "created_at": "2026-06-01T12:45:48.019480+00:00"
        },
        {
          "id": "a3414204-f724-40c8-a871-fc967334059f",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.272609+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.299042+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.324161+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.841375+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.866550+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.892238+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:43:42.228556+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.899464+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.336797+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.788932+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.801519+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.272609+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.299042+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.324161+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.841375+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.866550+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.892238+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:40.899464+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.336797+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.788932+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:43:41.801519+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T12:43:42.230302+00:00"
        },
        {
          "id": "2fa9396f-c420-443a-a5d4-5fca7d9fd6e0",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "8c6605fb-9fba-450e-b52a-60fc693b1fb1",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:43:42.225681+00:00"
        },
        {
          "id": "fa79c481-10a0-472e-a246-b3d82ea0c3e5",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "bdbcf412-58a5-42f6-baf6-11bd559bfa68",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:43:42.218482+00:00"
        },
        {
          "id": "e5f43bc6-0794-4293-9651-4adec42c06a4",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "b64dc641-f8d5-42da-b57a-98dbce6415e4",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:43:42.212158+00:00"
        },
        {
          "id": "46c7e879-0328-4306-87de-5829927476aa",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "0f466a65-2ff4-41af-b569-4b085a4de9b5",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:43:42.204336+00:00"
        },
        {
          "id": "8a3ded51-0469-4cbb-a8cc-a5065c01687e",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.878914+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.906035+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "rejected": [
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.931436+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.579674+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.613408+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.640012+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:42:16.079885+00:00",
            "symbols_scanned": 10,
            "filtered_symbols": [
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.649950+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.192760+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.649000+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.656859+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "orders_submitted": 0,
            "symbols_executed": 2,
            "symbols_filtered": 4,
            "symbols_rejected": 4,
            "evaluated_symbols": [
              {
                "score": 29.2838,
                "regime": "sideways/chop",
                "symbol": "AAPL",
                "dry_run": true,
                "ml_model": "AAPL",
                "confidence": 79.5316,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.878914+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "ml_model": "MSFT",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "allowed_symbol": true,
                "final_decision": "buy",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.906035+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "ml_model": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:13.931436+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 6.2286,
                "regime": "sideways/chop",
                "symbol": "TSLA",
                "ml_model": "TSLA",
                "confidence": 55.2373,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T15:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.579674+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "ml_model": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.613408+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "ml_model": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "allowed_symbol": true,
                "final_decision": "blocked",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Confidence below minimum",
                "feature_timestamp": "2026-05-29T16:00:00+00:00",
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.640012+00:00",
                "used_historical_prediction": true,
                "historical_prediction_found": true,
                "reason_if_prediction_missing": null
              },
              {
                "score": 4.4332,
                "regime": "sideways/chop",
                "symbol": "AMD",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:14.649950+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.192760+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 11.8842,
                "regime": "sideways/chop",
                "symbol": "AMZN",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.649000+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              },
              {
                "score": 0,
                "regime": "bear trend",
                "symbol": "GOOGL",
                "ml_model": null,
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "allowed_symbol": false,
                "final_decision": "blocked",
                "passed_filters": false,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": "Symbol is not allowed",
                "feature_timestamp": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00",
                "ml_prediction_timestamp": "2026-06-01T12:42:15.656859+00:00",
                "used_historical_prediction": false,
                "historical_prediction_found": false,
                "reason_if_prediction_missing": "model_not_found"
              }
            ],
            "symbols_evaluated": 10,
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "not_allowed_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "prediction_source_summary": {
              "model_loaded": 6,
              "model_not_found": 4,
              "insufficient_data": 0,
              "feature_build_failed": 0
            },
            "missing_prediction_symbols": [
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ]
          },
          "created_at": "2026-06-01T12:42:16.080802+00:00"
        },
        {
          "id": "1696b6bc-1e89-4770-ad04-3642c24c6351",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "0b2f6744-8fd0-4b97-8e3d-e8de75a466fa",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:42:16.077976+00:00"
        },
        {
          "id": "29f3f66d-f846-4053-8d50-125a328f80c2",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "5cab9795-d8a7-4847-ae71-8fc4f4bbfa85",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:42:16.069473+00:00"
        },
        {
          "id": "dc23fa5f-6f2a-4f2a-9f98-d5532ab741a7",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "d7aefabb-29ce-46a6-a697-21ebecfc2ce9",
            "status": "rejected",
            "symbol": "TSLA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:42:16.061226+00:00"
        },
        {
          "id": "b9e9e2be-bbfa-4618-9b51-4a96ef8d287b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "b1303484-bf56-4a1d-9192-927b95fa1c33",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:42:16.054278+00:00"
        },
        {
          "id": "09b3e9a3-acd3-4c92-8681-285c6854e982",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6369,
                  "bar_count": 892,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 670,
                  "feature_rows": 838,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4302,
                  "bar_count": 910,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 856,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4035,
                  "bar_count": 906,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 681,
                  "feature_rows": 852,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6056,
                  "bar_count": 951,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 717,
                  "feature_rows": 897,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.6257,
                  "bar_count": 987,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 746,
                  "feature_rows": 933,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 207,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 207,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2362,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 207,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 207,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2363,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2363,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 232764,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2364,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2365,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T12:39:26.253307+00:00"
        },
        {
          "id": "1f92ecd5-9b57-4ec7-9d27-3d2d196aba40",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2362,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2363,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2363,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 232764,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2364,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2365,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T12:39:25.256418+00:00"
        },
        {
          "id": "92e6a37f-486e-412a-a111-b87918a04f44",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T12:39:22.357812Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T12:39:22.366602+00:00"
        },
        {
          "id": "37116711-d7e9-44ca-a8dd-0c6897156c09",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T12:39:22.361916+00:00"
        },
        {
          "id": "b2082532-4e03-4d6d-bac8-7c48c4586608",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6369,
                  "bar_count": 892,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 670,
                  "feature_rows": 838,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4302,
                  "bar_count": 910,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 856,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4035,
                  "bar_count": 906,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 681,
                  "feature_rows": 852,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6056,
                  "bar_count": 951,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 717,
                  "feature_rows": 897,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.6257,
                  "bar_count": 987,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 746,
                  "feature_rows": 933,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 207,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 207,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2277,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 207,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 207,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2278,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2278,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 232679,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2279,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 2280,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T12:38:01.212248+00:00"
        },
        {
          "id": "12b9b684-3c5a-4ac6-ba65-d76054934027",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2277,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2278,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2278,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 232679,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2279,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 2280,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T12:38:00.185890+00:00"
        },
        {
          "id": "12b21cb5-1ea4-4bd9-af9b-2b9a4b3ccb97",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T12:37:57.213976Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T12:37:57.222811+00:00"
        },
        {
          "id": "d61c77e9-2a3c-419b-bdd9-c1ce4203bb47",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T12:37:57.218049+00:00"
        },
        {
          "id": "ff428d35-638e-4e9d-a4de-28f193335296",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:35:14.284538+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 7,
              "ALPACA_LIVE_FALLBACK": 3
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:35:14.285266+00:00"
        },
        {
          "id": "0e17535d-701a-4318-ab24-764385014054",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c12def64-3970-4034-be17-896e6d14aef5",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:35:14.282635+00:00"
        },
        {
          "id": "f95334db-0fa4-4362-92f0-0d02b63e373f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "a776193c-18a8-4d1e-b706-2466edd730f6",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:35:14.275326+00:00"
        },
        {
          "id": "f5de8a99-4328-45ff-aba1-e7ec15aae25d",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "8e3e9c02-1786-4768-9c97-54291bf2be5a",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:35:14.267688+00:00"
        },
        {
          "id": "064c83fa-64c9-4345-a47e-ee926d43061b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "25cec7f0-56f3-4c4e-babb-f65066220924",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:35:14.261021+00:00"
        },
        {
          "id": "20f2a06d-3d7f-4ae7-9a49-9dad06e9b4c8",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3478,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.5535,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.9748,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 55.4123,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 42.6611,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 57.5734,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:34:31.959059+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 6,
              "ALPACA_LIVE_FALLBACK": 4
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:34:31.959768+00:00"
        },
        {
          "id": "8d8fba99-62be-4df7-929c-a79b70857240",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "90136126-4639-4e5a-bdbc-c26965ddcd7e",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:34:31.956121+00:00"
        },
        {
          "id": "38686ae2-db1f-4a54-8401-67c63c5e8e74",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "3e57319a-df35-4ce3-9f9f-5538aedc2f3a",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:34:31.945196+00:00"
        },
        {
          "id": "2a7752b8-e883-4595-b605-3a0845f123d9",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "8a3de6fa-4b1d-4cb3-bb2f-fad17da21dd7",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:34:31.938027+00:00"
        },
        {
          "id": "45f6575d-1660-4f09-9f3a-d0d5b82d2c90",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6133f77d-9201-4a24-81a7-0daed62570b5",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:34:31.930708+00:00"
        },
        {
          "id": "2a31d069-8108-4e03-a19c-23ca8c604dab",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6369,
                  "bar_count": 892,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 670,
                  "feature_rows": 838,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4302,
                  "bar_count": 910,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 856,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4035,
                  "bar_count": 906,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 681,
                  "feature_rows": 852,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6056,
                  "bar_count": 951,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 717,
                  "feature_rows": 897,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.6257,
                  "bar_count": 987,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 746,
                  "feature_rows": 933,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 207,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 207,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1993,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 207,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 207,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 219,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 219,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1993,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 219,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 219,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1994,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 232394,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1995,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                },
                {
                  "total": 222,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 222,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 1995,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-06-01T12:00:00+00:00",
                  "fetched_bar_count": 222,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                  "skipped_duplicate_count": 222,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                  "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T12:33:16.892226+00:00"
        },
        {
          "id": "9e52c630-b8f4-48a6-b630-130dea1d4eca",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1993,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1993,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1994,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 232394,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1995,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1995,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T12:33:15.916251+00:00"
        },
        {
          "id": "1029b172-693e-4fce-8d22-b2d805835767",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T12:33:12.873738Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T12:33:12.883742+00:00"
        },
        {
          "id": "ab606b0c-761f-41e6-ac5f-561fae80329b",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T12:33:12.878141+00:00"
        },
        {
          "id": "16a594c6-0448-4e92-a0e1-ff1a32253deb",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3805,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.772,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.6161,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 53.021,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:27:50.763235+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 6,
              "ALPACA_LIVE_FALLBACK": 4
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:27:50.764017+00:00"
        },
        {
          "id": "7bb7b6ac-6879-4cac-b341-12ee75d51349",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "316ee4c1-7049-44e1-b838-553a06f0eabd",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:50.759958+00:00"
        },
        {
          "id": "88cfe42c-d3f0-40be-8e6e-ebbeb7e2fe3b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "7b1425cb-274c-4cc0-8431-a63f2942c718",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:50.751751+00:00"
        },
        {
          "id": "8aafa91e-2804-46d6-bffb-880a10996d01",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4bd446ed-eec7-40ad-bf9f-6acd29f71e03",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:50.743172+00:00"
        },
        {
          "id": "2453e425-9797-4c10-86c8-04d1d62afdb3",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "aa3f24d6-da01-49ac-a125-f5662f57c5d0",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:50.734901+00:00"
        },
        {
          "id": "55ce92a8-6e47-4634-a027-cc4a8dbb8b90",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3805,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.772,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.6161,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 53.021,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:27:46.088062+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 6,
              "ALPACA_LIVE_FALLBACK": 4
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:27:46.088894+00:00"
        },
        {
          "id": "946d5508-7dd3-4dda-bb3a-6d0ad9e03ea7",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "39536ec2-669d-40b6-8b9b-76c27fbcf7ba",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:46.084327+00:00"
        },
        {
          "id": "65e013f0-0cfe-4b72-98a5-c59230ef074f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "7c52daba-18dd-46be-a26c-f2b3f5acd5e5",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:46.071714+00:00"
        },
        {
          "id": "4811c4ec-3418-4acb-a97e-c864856946b9",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "1d582a8b-7fb8-4ccb-8f4e-882bb1c000ca",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:46.062713+00:00"
        },
        {
          "id": "8a9fb9e5-e7a0-4802-a2d4-40dee8392abb",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "3c981abc-2317-4536-8ada-8c24f4c6f161",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:27:46.053814+00:00"
        },
        {
          "id": "971e3595-78d7-47dd-9f33-277f260684d1",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3805,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.772,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.6161,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 53.021,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:22:49.097492+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 5,
              "ALPACA_LIVE_FALLBACK": 5
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:22:49.098502+00:00"
        },
        {
          "id": "9b25e6ed-b6c7-42e7-ac71-d2716813183a",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "cf628921-7d9d-40ed-b849-29c6daaa728b",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:22:49.094264+00:00"
        },
        {
          "id": "88e09ee6-eeb3-48b5-919d-7109be1aebaf",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "67def861-c6ae-4f7d-b15a-dd5c29f744be",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:22:49.085891+00:00"
        },
        {
          "id": "edfe81dc-a762-4f0b-ba75-2466e457dbbf",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "fe83b105-e5b7-4ff8-bc36-ed5d336ce0ba",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:22:49.074508+00:00"
        },
        {
          "id": "6a65a823-4f55-43b8-9caf-86afe3f03eac",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "4f70a29c-44d3-4d5c-a77f-bba9f6f44284",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:22:49.065512+00:00"
        },
        {
          "id": "2b4a5ad4-ae49-4fde-bdff-c90071dc6635",
          "action": "automation_market_data_cycle",
          "entity_type": "automation",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1060,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1060,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1061,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231461,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1062,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1062,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AMD",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231463,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-22T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 208,
                "source": "alpaca",
                "status": "ok",
                "symbol": "META",
                "skipped": 208,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231463,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 208,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 208,
                "first_incoming_timestamp": "2026-04-23T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 198,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AMZN",
                "skipped": 198,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231464,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 198,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 198,
                "first_incoming_timestamp": "2026-04-23T17:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 213,
                "source": "alpaca",
                "status": "ok",
                "symbol": "GOOGL",
                "skipped": 213,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231464,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 213,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 213,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ",
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "timeframe": "1Hour",
            "requested_feed": null,
            "internal_errors": [],
            "requested_limit": 10000,
            "requested_symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ",
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "has_internal_errors": false,
            "requested_timeframe": "1Hour"
          },
          "created_at": "2026-06-01T12:17:44.541484+00:00"
        },
        {
          "id": "0c41f559-be35-4c27-b282-b1f772a19fe5",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 207,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 207,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1060,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 207,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 207,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 219,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 219,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1060,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 219,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 219,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1061,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231461,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1062,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 1062,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-06-01T12:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-06-01T12:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-06-01T12:00:00+00:00",
                "latest_persisted_bar_date": "2026-06-01T12:00:00+00:00",
                "latest_persisted_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "total": 222,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AMD",
                "skipped": 222,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231463,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 222,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 222,
                "first_incoming_timestamp": "2026-04-22T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 208,
                "source": "alpaca",
                "status": "ok",
                "symbol": "META",
                "skipped": 208,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231463,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 208,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 208,
                "first_incoming_timestamp": "2026-04-23T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 198,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AMZN",
                "skipped": 198,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231464,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 198,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 198,
                "first_incoming_timestamp": "2026-04-23T17:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 213,
                "source": "alpaca",
                "status": "ok",
                "symbol": "GOOGL",
                "skipped": 213,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 231464,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 213,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 213,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ",
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T12:17:44.537427+00:00"
        },
        {
          "id": "09407b0b-e8ed-4d67-8f18-c934dbf441a5",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_with_orders",
            "dry_run": false,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "status": "pending_new",
                "symbol": "MSFT",
                "order_id": "0a5fb927-2ae5-46ab-b838-f15e79bbc1d8",
                "confidence": 62.8435,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "filled_price": null,
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 47.3805,
                "regime": "sideways/chop",
                "symbol": "NVDA",
                "confidence": 51.772,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              },
              {
                "score": 45.6161,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 53.021,
                "prediction": "up",
                "data_source": "ALPACA_LIVE_FALLBACK",
                "passed_filters": true,
                "latest_bar_date": "2026-06-01",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-06-01T12:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T12:17:28.483520+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 1,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "ALPACA_LIVE_FALLBACK": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T12:17:28.484314+00:00"
        },
        {
          "id": "8fedadac-7ce3-483d-8f30-6e7ebfe40152",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "a621f615-f043-4b4a-89af-76afde6266ed",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:17:28.479793+00:00"
        },
        {
          "id": "e224ed07-0512-442e-be99-dff06e11138a",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "81a8b821-f02f-4157-9bcd-e252e43a1cc2",
            "status": "rejected",
            "symbol": "NVDA",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:17:28.473319+00:00"
        },
        {
          "id": "f5573fff-8889-4f73-b3ce-7d082f77dd9c",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "5188e78d-f189-482d-ab2d-cc202354c710",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:17:28.461020+00:00"
        },
        {
          "id": "cf546986-b253-4792-8191-02cb55900f86",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "f980b946-d82e-44c9-9ed4-f38a2d9902f5",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:17:28.453767+00:00"
        },
        {
          "id": "dede253d-ea0a-4a8e-8136-9ad5434cebbc",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "52532bf0-d356-4131-bbac-54d7b2b53b9a",
            "status": "open",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T12:17:28.439475+00:00"
        },
        {
          "id": "c70e5229-6ca3-4b33-983f-3f8d1122f571",
          "action": "order_submitted",
          "entity_type": "trade",
          "payload": {
            "id": "0a5fb927-2ae5-46ab-b838-f15e79bbc1d8",
            "qty": 5.366,
            "side": "buy",
            "price": null,
            "filled": false,
            "reason": "Auto-cycle: composite=100.00, regime=bull trend, ml=up",
            "status": "pending_new",
            "symbol": "MSFT",
            "created_at": "2026-06-01T12:17:28.424581Z",
            "broker_status": "pending_new",
            "broker_order_id": "1754fec9-38ac-49d8-9cc7-d3ea0d033079",
            "submitted_to_broker": true,
            "requires_reconciliation": true
          },
          "created_at": "2026-06-01T12:17:28.426215+00:00"
        },
        {
          "id": "98588090-620f-4c5b-b3d2-34117e9f5a9f",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T01:44:56.975469+00:00"
        },
        {
          "id": "42d32d17-3e31-4658-b608-7d59c6025fc2",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 65.5,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "dry_run": true,
                "confidence": 62.0631,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 56.4799,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T01:43:44.992931+00:00",
            "symbols_scanned": 10,
            "trades_executed": 2,
            "trades_rejected": 3,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T01:43:44.993883+00:00"
        },
        {
          "id": "5e999f33-6639-4fb5-a343-745cf79b8725",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "9ac2ea33-01e5-42ef-84c6-a65cf1214f69",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:43:44.990582+00:00"
        },
        {
          "id": "b0a954e7-4543-445a-8bee-8cdb66790c42",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c1c61764-d01c-4fec-849c-7a6b9deb5128",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:43:44.982985+00:00"
        },
        {
          "id": "b1989b49-06cc-4544-82a0-7e772fb02fbe",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "f0a29013-4d29-4b16-819a-9148086da8d4",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:43:44.974992+00:00"
        },
        {
          "id": "04d2f77e-853f-4b07-8789-66f5cc0e3b26",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193417,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193417,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193418,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193418,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193419,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 193419,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T01:43:40.868584+00:00"
        },
        {
          "id": "849048b4-79d1-45d1-9b4a-c82c218bd630",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193417,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193417,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193418,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193418,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193419,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 193419,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T01:43:39.869289+00:00"
        },
        {
          "id": "adce30c0-5651-4eab-9d09-91509b12424c",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T01:43:37.023750Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T01:43:37.037995+00:00"
        },
        {
          "id": "25a08c8a-e9a6-4c69-9146-74d01be27f6b",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T01:43:37.033069+00:00"
        },
        {
          "id": "969cc7eb-2ca2-4f46-8d89-47cafee0e365",
          "action": "broker_orders_checked",
          "entity_type": "broker",
          "payload": {
            "count": 2,
            "limit": 100,
            "status": "open"
          },
          "created_at": "2026-06-01T01:28:00.259677+00:00"
        },
        {
          "id": "3f5505d0-bc62-45f3-9a85-92e80481884b",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_with_orders",
            "dry_run": false,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "status": "blocked",
                "symbol": "MSFT",
                "order_id": "4aa66848-9c68-4162-874f-50ccec583bcd",
                "confidence": 65.5,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "status": "blocked",
                "symbol": "QQQ",
                "order_id": "bc41568b-071f-466b-83c2-514cf4bc3ddc",
                "confidence": 62.0631,
                "prediction": "up",
                "data_source": "POSTGRES",
                "filled_price": null,
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 56.4799,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T01:25:43.851218+00:00",
            "symbols_scanned": 10,
            "trades_executed": 2,
            "trades_rejected": 3,
            "filtered_symbols": [],
            "orders_submitted": 2,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T01:25:43.852061+00:00"
        },
        {
          "id": "27297530-ddd1-428c-b90f-3b71a18c2797",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "3d6c3350-6215-49aa-a7f5-e9ccd94b56c5",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:25:43.848886+00:00"
        },
        {
          "id": "b336e705-c337-4259-a3f3-ecd8b17c7dee",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c7f08557-5474-4588-9ab1-16a2fd511d48",
            "status": "open",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:25:43.841689+00:00"
        },
        {
          "id": "7640d762-d8a4-4eb7-8f58-aee9ccb6e7a3",
          "action": "trade_blocked_duplicate_guard",
          "entity_type": "trade",
          "payload": {
            "id": "bc41568b-071f-466b-83c2-514cf4bc3ddc",
            "qty": 3.3641,
            "side": "buy",
            "price": null,
            "reason": "open_broker_order_exists",
            "status": "blocked",
            "symbol": "QQQ",
            "details": {
              "side": "buy",
              "symbol": "QQQ",
              "open_order": {
                "id": "ecf40e4e-f852-45da-938d-36481ee55a27",
                "hwm": null,
                "qty": "3.3641",
                "legs": null,
                "side": "buy",
                "type": "market",
                "source": null,
                "status": "accepted",
                "subtag": null,
                "symbol": "QQQ",
                "asset_id": "2d9e926c-e17c-47c3-ad8c-26c7a594e48f",
                "notional": null,
                "replaces": null,
                "failed_at": null,
                "filled_at": null,
                "created_at": "2026-06-01T01:20:07.0449884Z",
                "expired_at": null,
                "expires_at": "2026-06-01T20:00:00Z",
                "filled_qty": "0",
                "order_type": "market",
                "stop_price": null,
                "updated_at": "2026-06-01T01:20:07.04928268Z",
                "asset_class": "us_equity",
                "canceled_at": null,
                "limit_price": null,
                "order_class": "",
                "replaced_at": null,
                "replaced_by": null,
                "trail_price": null,
                "submitted_at": "2026-06-01T01:20:07.0449884Z",
                "time_in_force": "day",
                "trail_percent": null,
                "extended_hours": false,
                "client_order_id": "9cf95e23-b582-4d20-a3bb-76b21e20e8d0",
                "position_intent": "buy_to_open",
                "filled_avg_price": null
              }
            },
            "created_at": "2026-06-01T01:25:43.829897Z",
            "block_reason": "open_broker_order_exists",
            "submitted_to_broker": false
          },
          "created_at": "2026-06-01T01:25:43.831501+00:00"
        },
        {
          "id": "49207dfe-0fcf-43a2-98a8-42b7327316c9",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "84e0420b-d7cf-42bc-b596-56027e699fd6",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:25:43.629989+00:00"
        },
        {
          "id": "471aa912-7a40-45b3-b94c-20a29d1e59f9",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6847316a-afd2-49bc-9382-be631a65af11",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:25:43.623558+00:00"
        },
        {
          "id": "6cc931ca-9c1a-45c4-aba6-0abf709557ee",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "99029830-a010-4df1-83a4-492cfb5cba91",
            "status": "open",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:25:43.616191+00:00"
        },
        {
          "id": "501d51ce-cab2-48d3-901f-1c3d380f51e6",
          "action": "trade_blocked_duplicate_guard",
          "entity_type": "trade",
          "payload": {
            "id": "4aa66848-9c68-4162-874f-50ccec583bcd",
            "qty": 5.8453,
            "side": "buy",
            "price": null,
            "reason": "open_broker_order_exists",
            "status": "blocked",
            "symbol": "MSFT",
            "details": {
              "side": "buy",
              "symbol": "MSFT",
              "open_order": {
                "id": "9b17c45e-6c12-4550-acf1-4d7e62749f37",
                "hwm": null,
                "qty": "8.9241",
                "legs": null,
                "side": "buy",
                "type": "market",
                "source": "access_key",
                "status": "accepted",
                "subtag": null,
                "symbol": "MSFT",
                "asset_id": "b6d1aa75-5c9c-4353-a305-9e2caa1925ab",
                "notional": null,
                "replaces": null,
                "failed_at": null,
                "filled_at": null,
                "created_at": "2026-06-01T01:00:05.036286Z",
                "expired_at": null,
                "expires_at": "2026-06-01T20:00:00Z",
                "filled_qty": "0",
                "order_type": "market",
                "stop_price": null,
                "updated_at": "2026-06-01T01:00:05.037646Z",
                "asset_class": "us_equity",
                "canceled_at": null,
                "limit_price": null,
                "order_class": "",
                "replaced_at": null,
                "replaced_by": null,
                "trail_price": null,
                "submitted_at": "2026-06-01T01:00:05.036286Z",
                "time_in_force": "day",
                "trail_percent": null,
                "extended_hours": false,
                "client_order_id": "3bbee1fa-2efe-41aa-8da4-4e45d8809992",
                "position_intent": "buy_to_open",
                "filled_avg_price": null
              }
            },
            "created_at": "2026-06-01T01:25:43.595467Z",
            "block_reason": "open_broker_order_exists",
            "submitted_to_broker": false
          },
          "created_at": "2026-06-01T01:25:43.598273+00:00"
        },
        {
          "id": "8c52f54e-ef10-4d9d-866f-cdcc41d1defc",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192204,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192205,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192205,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192206,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192206,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 192207,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T01:23:28.246589+00:00"
        },
        {
          "id": "0ce482e3-3cf3-4bf3-bc5d-bbbc784517cb",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192204,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192205,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192205,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192206,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192206,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 192207,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T01:23:27.251346+00:00"
        },
        {
          "id": "1e35ab39-5bfb-4503-aa04-fbf6c15b8ef9",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T01:23:24.458429Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T01:23:24.468946+00:00"
        },
        {
          "id": "e42d285d-257e-42d4-b039-b70960785601",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T01:23:24.462670+00:00"
        },
        {
          "id": "68df5e71-7d78-44f2-8485-49d80d80b6f2",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_no_approved",
            "dry_run": false,
            "executed": [],
            "rejected": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "confidence": 65.5,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Execution failed: 1 validation error for Trade\nprice\n  Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]\n    For further information visit https://errors.pydantic.dev/2.10/v/float_type",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 62.0631,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Execution failed: 1 validation error for Trade\nprice\n  Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]\n    For further information visit https://errors.pydantic.dev/2.10/v/float_type",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 56.4799,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T01:20:07.095159+00:00",
            "symbols_scanned": 10,
            "trades_executed": 0,
            "trades_rejected": 5,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T01:20:07.095957+00:00"
        },
        {
          "id": "c863df56-253f-4018-a161-8ea588bda128",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "835e458c-1ff9-4c5d-ab76-2fd9acc2b25e",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:20:07.092742+00:00"
        },
        {
          "id": "79a545a1-0b55-4eea-bebf-0f2801f440e5",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "947fd238-8a8c-4f71-8690-7739d4982472",
            "status": "error",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:20:07.086083+00:00"
        },
        {
          "id": "48845fd2-b077-4658-b3a4-e44d6361a8b4",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6ea206ff-6ce4-4270-8c2d-811ded2d3056",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:20:06.488355+00:00"
        },
        {
          "id": "c344f5e1-654e-4bcd-9b89-34fbcedf4d0f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "19db85a7-9dbe-4796-b087-62402d23279c",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:20:06.479953+00:00"
        },
        {
          "id": "c73fd431-33cd-4a69-adc2-53b36489e2a2",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "3542469a-7384-45c8-be86-a03ea5fc4ed7",
            "status": "error",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:20:06.473739+00:00"
        },
        {
          "id": "9f429bdd-b804-42de-842f-8fca5ddc90af",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191990,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191991,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191991,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191992,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191992,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191993,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T01:19:54.236870+00:00"
        },
        {
          "id": "3ca40a3c-85ac-430b-9047-f53faef1be42",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191990,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191991,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191991,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191992,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191992,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191993,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T01:19:53.252793+00:00"
        },
        {
          "id": "0cd19b32-9fb8-4ba5-a85c-033fe286842e",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T01:19:50.215573Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T01:19:50.224162+00:00"
        },
        {
          "id": "393c89e8-9e9a-49d5-a7d5-846407dc22ee",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T01:19:50.219647+00:00"
        },
        {
          "id": "de5a1ac3-d069-4202-b238-0742b8a762b9",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 65.5,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "dry_run": true,
                "confidence": 62.0631,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 0,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 56.4799,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T01:14:49.824833+00:00",
            "symbols_scanned": 10,
            "trades_executed": 2,
            "trades_rejected": 3,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T01:14:49.826603+00:00"
        },
        {
          "id": "6041d3ab-ffe8-474c-8086-ca773c460a7f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "64943c57-fbf5-41ad-b490-5d23b2741fb2",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:14:49.821332+00:00"
        },
        {
          "id": "29fad9fa-960c-4a2e-b4d8-fa91ebe1aec8",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "6f0e82bb-9bfd-4ed6-9a31-467c61d2d7db",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:14:49.813984+00:00"
        },
        {
          "id": "b4b631a8-8e4b-4dd3-9dee-b80518ba7ebc",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "b0f59de6-cfe9-4b08-bb3d-c1d635535dbb",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:14:49.806581+00:00"
        },
        {
          "id": "ff14b1df-1536-4b35-acce-682e69ec7989",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191675,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191675,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191676,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191676,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191677,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 191678,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T01:14:39.079630+00:00"
        },
        {
          "id": "5e1ca725-9c04-4f69-a19b-11171b9f8277",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191675,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191675,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191676,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191676,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191677,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 191678,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T01:14:38.013534+00:00"
        },
        {
          "id": "40d2bc39-bad4-4f82-8843-b172f34a771f",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T01:14:34.868876Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T01:14:34.878537+00:00"
        },
        {
          "id": "72909794-2d8c-4222-bc58-9cc7310784e9",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T01:14:34.873565+00:00"
        },
        {
          "id": "30893b4f-cc5c-4c9b-9a61-ce39e7bc8e7f",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_no_approved",
            "dry_run": false,
            "executed": [],
            "rejected": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "confidence": 100,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Execution failed: 1 validation error for OrderResult\nfilled_price\n  Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]\n    For further information visit https://errors.pydantic.dev/2.10/v/float_type",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 66.7776,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 62.6074,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 37.8539,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 37.125,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T01:00:05.115111+00:00",
            "symbols_scanned": 10,
            "trades_executed": 0,
            "trades_rejected": 5,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T01:00:05.115806+00:00"
        },
        {
          "id": "6f3e8c62-f673-4d5e-9270-b1c3d2cc216e",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "b3cc7da0-42f8-4e1a-9814-caf0786ca196",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:00:05.111800+00:00"
        },
        {
          "id": "41f4d66f-0865-45af-b967-216b7e26fa6a",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "185e0195-8e1f-45b3-beb5-1b0d0ee167b6",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:00:05.104170+00:00"
        },
        {
          "id": "d7956df8-72f8-47fb-862b-41bff8c2733f",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ea119195-1fea-4b71-aba3-4f2cb624ed68",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:00:05.091405+00:00"
        },
        {
          "id": "bcf0fecd-4503-487b-86f2-8a0cd905877c",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "50f8b44b-534b-4067-bbbf-065c4e771c90",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:00:05.085129+00:00"
        },
        {
          "id": "333148e7-c480-49f3-b5ee-ffc4097f1bb0",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "22ed0149-9ec4-40c8-90a5-8820e0713a1b",
            "status": "error",
            "symbol": "MSFT",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T01:00:05.076984+00:00"
        },
        {
          "id": "4a6b4690-a04e-40b1-aef5-f4375c0de5c9",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 100,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 66.7776,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 62.6074,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 37.8539,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 37.125,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T00:35:41.566166+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T00:35:41.566928+00:00"
        },
        {
          "id": "04233ee4-ae29-4a47-8407-f5690cc0ed87",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "724c4f75-b34a-440d-80a7-82605b0a3b23",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:41.562876+00:00"
        },
        {
          "id": "b74c5b29-7260-4631-9694-39479fc9144d",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "df2b6795-6e6f-4e62-84c9-7d3c7e6727e6",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:41.556156+00:00"
        },
        {
          "id": "aad1c25a-30c3-43e7-8762-d17dcd539f40",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "109a11e7-d013-49b1-96bf-52e7559b4518",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:41.548231+00:00"
        },
        {
          "id": "3d6d2931-f69a-4a5d-8b6f-64919fe79d92",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "c6f9c282-64af-48d9-a17e-3338df7be65b",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:41.539176+00:00"
        },
        {
          "id": "b7a25a75-66ef-4bb3-bdef-d6d1c22bfcea",
          "action": "broker_account_checked",
          "entity_type": "broker",
          "payload": {
            "paper": true,
            "broker": "alpaca",
            "status": "connected"
          },
          "created_at": "2026-06-01T00:35:40.227356+00:00"
        },
        {
          "id": "74f40509-6cce-4bd4-b655-4efb9aefab69",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 100,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 66.7776,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 62.6074,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 37.8539,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 37.125,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T00:35:03.281758+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T00:35:03.283823+00:00"
        },
        {
          "id": "5ee3adb3-847c-44e3-b7d8-0a2d6a157c57",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "d31e7cf6-b70c-4dbe-8279-8995d8dbd78e",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:03.278984+00:00"
        },
        {
          "id": "b83dc505-ebe9-46a6-bdfa-8ee8bff27e2d",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "565769a7-a1b4-4f0d-965e-d5d378dda20f",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:03.268336+00:00"
        },
        {
          "id": "93c38985-f8e6-4e59-be60-fff601fe81cb",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "13f9faaa-0156-4265-9deb-8e6a0ff6908b",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:03.259396+00:00"
        },
        {
          "id": "d8e96f25-61c4-4190-b33e-55d084466d85",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ef95b282-edbb-4c07-87ba-424aaf74ab13",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:35:03.251121+00:00"
        },
        {
          "id": "5ef98ecc-4c17-4453-9ae8-52a1b3b1512c",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189291,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189291,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189292,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189292,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189293,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 189293,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T00:34:54.919058+00:00"
        },
        {
          "id": "0bd6764f-9170-449c-bb3a-16f3336c6295",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189291,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189291,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189292,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189292,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189293,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 189293,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T00:34:53.895303+00:00"
        },
        {
          "id": "23e5ac8e-69cf-4235-9ad2-73cba91a5a74",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:34:50.719862Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:34:50.731730+00:00"
        },
        {
          "id": "b03531c2-ae1b-43ac-90ca-2ecd1db49f45",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:34:50.725727+00:00"
        },
        {
          "id": "29c9157d-f8f6-4110-9497-2141c465f2fa",
          "action": "auto_cycle_completed",
          "entity_type": "automation",
          "payload": {
            "status": "completed_dry_run",
            "dry_run": true,
            "executed": [
              {
                "score": 100,
                "regime": "bull trend",
                "symbol": "MSFT",
                "dry_run": true,
                "confidence": 100,
                "prediction": "up",
                "data_source": "POSTGRES",
                "order_status": "dry_run_approved",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": null,
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "rejected": [
              {
                "score": 66.7776,
                "regime": "bull trend",
                "symbol": "AMD",
                "confidence": 66.7776,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 62.6074,
                "regime": "sideways/chop",
                "symbol": "META",
                "confidence": 62.6074,
                "prediction": "unknown",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Symbol is not allowed",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.8539,
                "regime": "sideways/chop",
                "symbol": "QQQ",
                "confidence": 37.8539,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "score": 37.125,
                "regime": "sideways/chop",
                "symbol": "SPY",
                "confidence": 37.125,
                "prediction": "up",
                "data_source": "POSTGRES",
                "passed_filters": true,
                "latest_bar_date": "2026-05-29",
                "rejection_reason": null,
                "risk_block_reason": "Confidence below minimum",
                "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "test_mode": false,
            "timestamp": "2026-06-01T00:33:22.241401+00:00",
            "symbols_scanned": 10,
            "trades_executed": 1,
            "trades_rejected": 4,
            "filtered_symbols": [],
            "orders_submitted": 0,
            "rejected_symbols": [],
            "evaluated_symbols": [],
            "data_source_summary": {
              "POSTGRES": 10
            },
            "opportunities_ranked": 10,
            "opportunities_filtered": 5
          },
          "created_at": "2026-06-01T00:33:22.241930+00:00"
        },
        {
          "id": "629b3eef-6ee6-40c3-aae8-79e146e1001b",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "36ab74c0-4252-4849-9d58-89075c259a33",
            "status": "rejected",
            "symbol": "SPY",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:33:22.239404+00:00"
        },
        {
          "id": "61f52126-5d2d-463a-a99c-ecabb8158b14",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "f128dd61-89d0-4524-a074-60ec5034a5a6",
            "status": "rejected",
            "symbol": "QQQ",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:33:22.228972+00:00"
        },
        {
          "id": "8aef0b35-d95f-455a-805b-9929d43076be",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "ad044508-4452-4c47-a6fc-69cef99bbd2d",
            "status": "rejected",
            "symbol": "META",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:33:22.222833+00:00"
        },
        {
          "id": "8f879cd8-4394-482e-99d4-a3ed27d10aad",
          "action": "trade_journal_entry_created",
          "entity_type": "journal",
          "payload": {
            "id": "63a34722-e2ba-4fe2-8efe-30d5b615bd20",
            "status": "rejected",
            "symbol": "AMD",
            "strategy": "auto_cycle"
          },
          "created_at": "2026-06-01T00:33:22.215929+00:00"
        },
        {
          "id": "4ff03155-f4fe-490d-afb7-9d1c542a0aa6",
          "action": "broker_account_checked",
          "entity_type": "broker",
          "payload": {
            "paper": true,
            "broker": "alpaca",
            "status": "connected"
          },
          "created_at": "2026-06-01T00:33:20.830603+00:00"
        },
        {
          "id": "59cdea19-2015-4325-955e-509ce2551b22",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188953,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188953,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188953,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188954,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188954,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188955,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T00:29:16.290446+00:00"
        },
        {
          "id": "5316ba33-d56d-4a51-b74e-921c4719ee65",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188953,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188953,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188953,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188954,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188954,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188955,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T00:29:15.300584+00:00"
        },
        {
          "id": "177986a8-2dc8-4d9f-9b87-a35a040a25ca",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:29:12.484810Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:29:12.492184+00:00"
        },
        {
          "id": "9c954dfa-2ff2-4ab9-8ccb-d7cbce97105d",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:29:12.488681+00:00"
        },
        {
          "id": "eb0112e8-4c7d-4567-8f65-18bfbe3576bb",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 206,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188660,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 206,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 218,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188660,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 218,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188661,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 217,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188661,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 217,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188662,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 221,
                  "storage": "database",
                  "inserted": 0,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188662,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 221,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T00:24:23.655868+00:00"
        },
        {
          "id": "42cc9c6b-02a3-47da-91d4-d2c5c2b6c252",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 206,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188660,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 206,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 218,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188660,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 218,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188661,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 217,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188661,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 217,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188662,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 221,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188662,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 221,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T00:24:22.619087+00:00"
        },
        {
          "id": "69ce4ce5-bcaa-4829-9cf9-13d108509560",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:24:19.762128Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:24:19.771245+00:00"
        },
        {
          "id": "a1618216-b1e2-4c3e-8545-be35695d333f",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:24:19.766598+00:00"
        },
        {
          "id": "55306744-c085-48ee-91ba-532e2a6d260e",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "success",
            "results": [
              {
                "total": 50,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 50,
                "storage": "database",
                "inserted": 0,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188646,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 50,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 50,
                "first_incoming_timestamp": "2026-05-21T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T00:24:06.520458+00:00"
        },
        {
          "id": "8b8e86d2-fba9-4007-9f7d-3b9c168059cc",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6429,
                  "bar_count": 891,
                  "test_rows": 168,
                  "timeframe": "1Hour",
                  "train_rows": 669,
                  "feature_rows": 837,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4269,
                  "bar_count": 909,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 684,
                  "feature_rows": 855,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.3977,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.4709,
                  "bar_count": 913,
                  "test_rows": 172,
                  "timeframe": "1Hour",
                  "train_rows": 687,
                  "feature_rows": 859,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.6333,
                  "bar_count": 950,
                  "test_rows": 180,
                  "timeframe": "1Hour",
                  "train_rows": 716,
                  "feature_rows": 896,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.5989,
                  "bar_count": 986,
                  "test_rows": 187,
                  "timeframe": "1Hour",
                  "train_rows": 745,
                  "feature_rows": 932,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "success",
              "results": [
                {
                  "total": 206,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "AAPL",
                  "skipped": 129,
                  "storage": "database",
                  "inserted": 77,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188545,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 206,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 77,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 129,
                  "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 218,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "MSFT",
                  "skipped": 137,
                  "storage": "database",
                  "inserted": 81,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188545,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 218,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 81,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 137,
                  "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "NVDA",
                  "skipped": 138,
                  "storage": "database",
                  "inserted": 79,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188546,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 79,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 138,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 217,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "TSLA",
                  "skipped": 136,
                  "storage": "database",
                  "inserted": 81,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188546,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 217,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 81,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 136,
                  "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "SPY",
                  "skipped": 141,
                  "storage": "database",
                  "inserted": 80,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188547,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 80,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 141,
                  "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                },
                {
                  "total": 221,
                  "source": "alpaca",
                  "status": "ok",
                  "symbol": "QQQ",
                  "skipped": 140,
                  "storage": "database",
                  "inserted": 81,
                  "is_fresh": true,
                  "feed_used": "iex",
                  "timeframe": "1Hour",
                  "age_seconds": 188547,
                  "freshness_reason": "fresh",
                  "latest_timestamp": "2026-05-29T20:00:00+00:00",
                  "fetched_bar_count": 221,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 81,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                  "skipped_duplicate_count": 140,
                  "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                  "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                  "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [],
              "has_internal_errors": false
            }
          },
          "created_at": "2026-06-01T00:22:28.901930+00:00"
        },
        {
          "id": "2b3ca5ba-3d87-43de-9f21-27a4e25ee01e",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "success",
            "results": [
              {
                "total": 206,
                "source": "alpaca",
                "status": "ok",
                "symbol": "AAPL",
                "skipped": 129,
                "storage": "database",
                "inserted": 77,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188545,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 206,
                "updated_bar_count": 0,
                "inserted_bar_count": 77,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 129,
                "first_incoming_timestamp": "2026-04-24T13:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 218,
                "source": "alpaca",
                "status": "ok",
                "symbol": "MSFT",
                "skipped": 137,
                "storage": "database",
                "inserted": 81,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188545,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 218,
                "updated_bar_count": 0,
                "inserted_bar_count": 81,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 137,
                "first_incoming_timestamp": "2026-04-23T18:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "NVDA",
                "skipped": 138,
                "storage": "database",
                "inserted": 79,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188546,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 79,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 138,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 217,
                "source": "alpaca",
                "status": "ok",
                "symbol": "TSLA",
                "skipped": 136,
                "storage": "database",
                "inserted": 81,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188546,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 217,
                "updated_bar_count": 0,
                "inserted_bar_count": 81,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 136,
                "first_incoming_timestamp": "2026-04-23T19:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "SPY",
                "skipped": 141,
                "storage": "database",
                "inserted": 80,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188547,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 80,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 141,
                "first_incoming_timestamp": "2026-04-24T14:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              },
              {
                "total": 221,
                "source": "alpaca",
                "status": "ok",
                "symbol": "QQQ",
                "skipped": 140,
                "storage": "database",
                "inserted": 81,
                "is_fresh": true,
                "feed_used": "iex",
                "timeframe": "1Hour",
                "age_seconds": 188547,
                "freshness_reason": "fresh",
                "latest_timestamp": "2026-05-29T20:00:00+00:00",
                "fetched_bar_count": 221,
                "updated_bar_count": 0,
                "inserted_bar_count": 81,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": "2026-05-29T20:00:00+00:00",
                "skipped_duplicate_count": 140,
                "first_incoming_timestamp": "2026-04-24T15:00:00+00:00",
                "latest_incoming_timestamp": "2026-05-29T20:00:00+00:00",
                "latest_persisted_bar_date": "2026-05-29T20:00:00+00:00",
                "latest_persisted_timestamp": "2026-05-29T20:00:00+00:00"
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [],
            "has_internal_errors": false
          },
          "created_at": "2026-06-01T00:22:27.816816+00:00"
        },
        {
          "id": "40eb1058-dbec-4211-9135-ad6fb49ceb53",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:22:24.332908Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:22:24.342590+00:00"
        },
        {
          "id": "d494ab4b-176f-4e15-a475-b79bb49637e9",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:22:24.337087+00:00"
        },
        {
          "id": "507efd53-28e9-4888-837e-4c2dcdbfd381",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.043319%2B00%3A00&end=2026-06-01T00%3A16%3A46.043319%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.302243%2B00%3A00&end=2026-06-01T00%3A16%3A46.302243%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.496761%2B00%3A00&end=2026-06-01T00%3A16%3A46.496761%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.691452%2B00%3A00&end=2026-06-01T00%3A16%3A46.691452%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.883514%2B00%3A00&end=2026-06-01T00%3A16%3A46.883514%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A47.074495%2B00%3A00&end=2026-06-01T00%3A16%3A47.074495%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.043319%2B00%3A00&end=2026-06-01T00%3A16%3A46.043319%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.302243%2B00%3A00&end=2026-06-01T00%3A16%3A46.302243%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.496761%2B00%3A00&end=2026-06-01T00%3A16%3A46.496761%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.691452%2B00%3A00&end=2026-06-01T00%3A16%3A46.691452%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.883514%2B00%3A00&end=2026-06-01T00%3A16%3A46.883514%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A47.074495%2B00%3A00&end=2026-06-01T00%3A16%3A47.074495%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:16:48.246612+00:00"
        },
        {
          "id": "13854146-4ea6-414a-98c2-692c32311bc2",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.043319%2B00%3A00&end=2026-06-01T00%3A16%3A46.043319%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.302243%2B00%3A00&end=2026-06-01T00%3A16%3A46.302243%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.496761%2B00%3A00&end=2026-06-01T00%3A16%3A46.496761%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.691452%2B00%3A00&end=2026-06-01T00%3A16%3A46.691452%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.883514%2B00%3A00&end=2026-06-01T00%3A16%3A46.883514%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A47.074495%2B00%3A00&end=2026-06-01T00%3A16%3A47.074495%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.043319%2B00%3A00&end=2026-06-01T00%3A16%3A46.043319%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.302243%2B00%3A00&end=2026-06-01T00%3A16%3A46.302243%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.496761%2B00%3A00&end=2026-06-01T00%3A16%3A46.496761%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.691452%2B00%3A00&end=2026-06-01T00%3A16%3A46.691452%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A46.883514%2B00%3A00&end=2026-06-01T00%3A16%3A46.883514%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A16%3A47.074495%2B00%3A00&end=2026-06-01T00%3A16%3A47.074495%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:16:47.266487+00:00"
        },
        {
          "id": "8969abfb-b62e-4ba2-8d30-8d3cd3fb99af",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:16:46.027721Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:16:46.039477+00:00"
        },
        {
          "id": "424bd3dc-5ed6-4968-b660-2fe0a0536968",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:16:46.033221+00:00"
        },
        {
          "id": "1f39e587-4eef-4fe8-b14e-b35ff453ea2e",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.204542%2B00%3A00&end=2026-06-01T00%3A15%3A04.204542%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.493288%2B00%3A00&end=2026-06-01T00%3A15%3A04.493288%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.711747%2B00%3A00&end=2026-06-01T00%3A15%3A04.711747%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.919260%2B00%3A00&end=2026-06-01T00%3A15%3A04.919260%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.109882%2B00%3A00&end=2026-06-01T00%3A15%3A05.109882%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.301220%2B00%3A00&end=2026-06-01T00%3A15%3A05.301220%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.204542%2B00%3A00&end=2026-06-01T00%3A15%3A04.204542%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.493288%2B00%3A00&end=2026-06-01T00%3A15%3A04.493288%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.711747%2B00%3A00&end=2026-06-01T00%3A15%3A04.711747%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.919260%2B00%3A00&end=2026-06-01T00%3A15%3A04.919260%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.109882%2B00%3A00&end=2026-06-01T00%3A15%3A05.109882%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.301220%2B00%3A00&end=2026-06-01T00%3A15%3A05.301220%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:15:06.453350+00:00"
        },
        {
          "id": "a8035833-3d20-462b-a9a1-4e9a8cfc853d",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.204542%2B00%3A00&end=2026-06-01T00%3A15%3A04.204542%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.493288%2B00%3A00&end=2026-06-01T00%3A15%3A04.493288%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.711747%2B00%3A00&end=2026-06-01T00%3A15%3A04.711747%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.919260%2B00%3A00&end=2026-06-01T00%3A15%3A04.919260%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.109882%2B00%3A00&end=2026-06-01T00%3A15%3A05.109882%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.301220%2B00%3A00&end=2026-06-01T00%3A15%3A05.301220%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.204542%2B00%3A00&end=2026-06-01T00%3A15%3A04.204542%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.493288%2B00%3A00&end=2026-06-01T00%3A15%3A04.493288%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.711747%2B00%3A00&end=2026-06-01T00%3A15%3A04.711747%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A04.919260%2B00%3A00&end=2026-06-01T00%3A15%3A04.919260%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.109882%2B00%3A00&end=2026-06-01T00%3A15%3A05.109882%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A15%3A05.301220%2B00%3A00&end=2026-06-01T00%3A15%3A05.301220%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:15:05.501449+00:00"
        },
        {
          "id": "964c05cc-be72-4ba4-87be-b61ec1e27e37",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:15:04.189015Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:15:04.200655+00:00"
        },
        {
          "id": "d81f4aa1-2084-4a77-bc2b-b194ee090466",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:15:04.194215+00:00"
        },
        {
          "id": "bc272b94-bf78-450a-a726-a9229b6c31a9",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Missing Alpaca credentials",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Missing Alpaca credentials",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:14:25.951914+00:00"
        },
        {
          "id": "426f31b3-ec0b-455d-8a52-a0f68c9a0540",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Missing Alpaca credentials",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Missing Alpaca credentials",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:14:25.008696+00:00"
        },
        {
          "id": "223312e2-f238-4c89-8a8f-688733b71a4e",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:14:24.994838Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:14:25.003291+00:00"
        },
        {
          "id": "849837aa-6875-4592-b0f2-234566b2d33c",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:14:24.999036+00:00"
        },
        {
          "id": "b2588ae6-7fb5-4710-b6c0-0929bf04dd12",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.496525%2B00%3A00&end=2026-06-01T00%3A07%3A04.496525%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.708205%2B00%3A00&end=2026-06-01T00%3A07%3A04.708205%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.903710%2B00%3A00&end=2026-06-01T00%3A07%3A04.903710%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.093996%2B00%3A00&end=2026-06-01T00%3A07%3A05.093996%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.286410%2B00%3A00&end=2026-06-01T00%3A07%3A05.286410%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.483504%2B00%3A00&end=2026-06-01T00%3A07%3A05.483504%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.496525%2B00%3A00&end=2026-06-01T00%3A07%3A04.496525%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.708205%2B00%3A00&end=2026-06-01T00%3A07%3A04.708205%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.903710%2B00%3A00&end=2026-06-01T00%3A07%3A04.903710%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.093996%2B00%3A00&end=2026-06-01T00%3A07%3A05.093996%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.286410%2B00%3A00&end=2026-06-01T00%3A07%3A05.286410%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.483504%2B00%3A00&end=2026-06-01T00%3A07%3A05.483504%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:07:06.611207+00:00"
        },
        {
          "id": "d8879fd1-300d-41a1-9495-a22173e2a418",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.496525%2B00%3A00&end=2026-06-01T00%3A07%3A04.496525%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.708205%2B00%3A00&end=2026-06-01T00%3A07%3A04.708205%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.903710%2B00%3A00&end=2026-06-01T00%3A07%3A04.903710%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.093996%2B00%3A00&end=2026-06-01T00%3A07%3A05.093996%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.286410%2B00%3A00&end=2026-06-01T00%3A07%3A05.286410%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.483504%2B00%3A00&end=2026-06-01T00%3A07%3A05.483504%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.496525%2B00%3A00&end=2026-06-01T00%3A07%3A04.496525%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.708205%2B00%3A00&end=2026-06-01T00%3A07%3A04.708205%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A04.903710%2B00%3A00&end=2026-06-01T00%3A07%3A04.903710%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.093996%2B00%3A00&end=2026-06-01T00%3A07%3A05.093996%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.286410%2B00%3A00&end=2026-06-01T00%3A07%3A05.286410%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A07%3A05.483504%2B00%3A00&end=2026-06-01T00%3A07%3A05.483504%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:07:05.677456+00:00"
        },
        {
          "id": "ce14d18e-a288-4dd1-9268-d2d409b41285",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:07:04.484055Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:07:04.491805+00:00"
        },
        {
          "id": "b584dcbb-c059-434f-bc05-87f4d2e872ac",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:07:04.488152+00:00"
        },
        {
          "id": "e380f0f0-6f30-4d35-a2a3-5c3d73407517",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.254886%2B00%3A00&end=2026-06-01T00%3A04%3A42.254886%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.472615%2B00%3A00&end=2026-06-01T00%3A04%3A42.472615%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.673103%2B00%3A00&end=2026-06-01T00%3A04%3A42.673103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.896366%2B00%3A00&end=2026-06-01T00%3A04%3A42.896366%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.091897%2B00%3A00&end=2026-06-01T00%3A04%3A43.091897%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.287543%2B00%3A00&end=2026-06-01T00%3A04%3A43.287543%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.254886%2B00%3A00&end=2026-06-01T00%3A04%3A42.254886%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.472615%2B00%3A00&end=2026-06-01T00%3A04%3A42.472615%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.673103%2B00%3A00&end=2026-06-01T00%3A04%3A42.673103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.896366%2B00%3A00&end=2026-06-01T00%3A04%3A42.896366%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.091897%2B00%3A00&end=2026-06-01T00%3A04%3A43.091897%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.287543%2B00%3A00&end=2026-06-01T00%3A04%3A43.287543%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:04:44.480627+00:00"
        },
        {
          "id": "42ff6dfd-3a03-4c2c-af28-ad72e40847dd",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.254886%2B00%3A00&end=2026-06-01T00%3A04%3A42.254886%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.472615%2B00%3A00&end=2026-06-01T00%3A04%3A42.472615%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.673103%2B00%3A00&end=2026-06-01T00%3A04%3A42.673103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.896366%2B00%3A00&end=2026-06-01T00%3A04%3A42.896366%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.091897%2B00%3A00&end=2026-06-01T00%3A04%3A43.091897%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.287543%2B00%3A00&end=2026-06-01T00%3A04%3A43.287543%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.254886%2B00%3A00&end=2026-06-01T00%3A04%3A42.254886%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.472615%2B00%3A00&end=2026-06-01T00%3A04%3A42.472615%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.673103%2B00%3A00&end=2026-06-01T00%3A04%3A42.673103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A42.896366%2B00%3A00&end=2026-06-01T00%3A04%3A42.896366%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.091897%2B00%3A00&end=2026-06-01T00%3A04%3A43.091897%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A43.287543%2B00%3A00&end=2026-06-01T00%3A04%3A43.287543%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:04:43.519453+00:00"
        },
        {
          "id": "5e1152d2-efc0-4f23-8e47-b52269ed3810",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:04:42.242901Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:04:42.251057+00:00"
        },
        {
          "id": "5f12e95d-caf8-4c71-b7f1-6930b8be70c0",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:04:42.247221+00:00"
        },
        {
          "id": "c6605897-f2ef-4734-b9cf-7240866fba20",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "failed",
            "results": [
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A03.061046%2B00%3A00&end=2026-06-01T00%3A04%3A03.061046%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A04%3A03.061046%2B00%3A00&end=2026-06-01T00%3A04%3A03.061046%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "AAPL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:04:03.252775+00:00"
        },
        {
          "id": "1d73fefa-f90b-4133-85ae-422a6b606a77",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "failed",
            "results": [
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A02%3A10.081131%2B00%3A00&end=2026-06-01T00%3A02%3A10.081131%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A02%3A10.081131%2B00%3A00&end=2026-06-01T00%3A02%3A10.081131%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "AAPL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:02:10.277509+00:00"
        },
        {
          "id": "fd93a03e-2613-4c49-a6d5-bc17d975abab",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.291182%2B00%3A00&end=2026-06-01T00%3A01%3A15.291182%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.553760%2B00%3A00&end=2026-06-01T00%3A01%3A15.553760%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.742262%2B00%3A00&end=2026-06-01T00%3A01%3A15.742262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.932402%2B00%3A00&end=2026-06-01T00%3A01%3A15.932402%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.122653%2B00%3A00&end=2026-06-01T00%3A01%3A16.122653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.314548%2B00%3A00&end=2026-06-01T00%3A01%3A16.314548%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.291182%2B00%3A00&end=2026-06-01T00%3A01%3A15.291182%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.553760%2B00%3A00&end=2026-06-01T00%3A01%3A15.553760%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.742262%2B00%3A00&end=2026-06-01T00%3A01%3A15.742262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.932402%2B00%3A00&end=2026-06-01T00%3A01%3A15.932402%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.122653%2B00%3A00&end=2026-06-01T00%3A01%3A16.122653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.314548%2B00%3A00&end=2026-06-01T00%3A01%3A16.314548%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-06-01T00:01:17.488440+00:00"
        },
        {
          "id": "9a512d29-8fc5-4192-97ee-21019afb6a6f",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.291182%2B00%3A00&end=2026-06-01T00%3A01%3A15.291182%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.553760%2B00%3A00&end=2026-06-01T00%3A01%3A15.553760%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.742262%2B00%3A00&end=2026-06-01T00%3A01%3A15.742262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.932402%2B00%3A00&end=2026-06-01T00%3A01%3A15.932402%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.122653%2B00%3A00&end=2026-06-01T00%3A01%3A16.122653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.314548%2B00%3A00&end=2026-06-01T00%3A01%3A16.314548%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.291182%2B00%3A00&end=2026-06-01T00%3A01%3A15.291182%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.553760%2B00%3A00&end=2026-06-01T00%3A01%3A15.553760%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.742262%2B00%3A00&end=2026-06-01T00%3A01%3A15.742262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A15.932402%2B00%3A00&end=2026-06-01T00%3A01%3A15.932402%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.122653%2B00%3A00&end=2026-06-01T00%3A01%3A16.122653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-03T00%3A01%3A16.314548%2B00%3A00&end=2026-06-01T00%3A01%3A16.314548%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-06-01T00:01:16.512468+00:00"
        },
        {
          "id": "fef8cdf0-e9c4-43e2-b5cd-31a487822c99",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-06-01T00:01:15.277749Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-06-01T00:01:15.288103+00:00"
        },
        {
          "id": "13382db8-0c32-49fb-8da2-114577b50300",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-06-01T00:01:15.282280+00:00"
        },
        {
          "id": "2dc66b7a-0684-41c8-8cfa-eb9bf1296bab",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.172082%2B00%3A00&end=2026-05-31T23%3A54%3A42.172082%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.400839%2B00%3A00&end=2026-05-31T23%3A54%3A42.400839%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.595096%2B00%3A00&end=2026-05-31T23%3A54%3A42.595096%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.788627%2B00%3A00&end=2026-05-31T23%3A54%3A42.788627%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.981494%2B00%3A00&end=2026-05-31T23%3A54%3A42.981494%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A43.174034%2B00%3A00&end=2026-05-31T23%3A54%3A43.174034%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.172082%2B00%3A00&end=2026-05-31T23%3A54%3A42.172082%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.400839%2B00%3A00&end=2026-05-31T23%3A54%3A42.400839%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.595096%2B00%3A00&end=2026-05-31T23%3A54%3A42.595096%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.788627%2B00%3A00&end=2026-05-31T23%3A54%3A42.788627%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.981494%2B00%3A00&end=2026-05-31T23%3A54%3A42.981494%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A43.174034%2B00%3A00&end=2026-05-31T23%3A54%3A43.174034%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-31T23:54:44.346107+00:00"
        },
        {
          "id": "554e3865-9d5d-4878-9408-949d1f7ac9f3",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.172082%2B00%3A00&end=2026-05-31T23%3A54%3A42.172082%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.400839%2B00%3A00&end=2026-05-31T23%3A54%3A42.400839%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.595096%2B00%3A00&end=2026-05-31T23%3A54%3A42.595096%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.788627%2B00%3A00&end=2026-05-31T23%3A54%3A42.788627%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.981494%2B00%3A00&end=2026-05-31T23%3A54%3A42.981494%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A43.174034%2B00%3A00&end=2026-05-31T23%3A54%3A43.174034%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.172082%2B00%3A00&end=2026-05-31T23%3A54%3A42.172082%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.400839%2B00%3A00&end=2026-05-31T23%3A54%3A42.400839%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.595096%2B00%3A00&end=2026-05-31T23%3A54%3A42.595096%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.788627%2B00%3A00&end=2026-05-31T23%3A54%3A42.788627%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A42.981494%2B00%3A00&end=2026-05-31T23%3A54%3A42.981494%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '403 Forbidden' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A54%3A43.174034%2B00%3A00&end=2026-05-31T23%3A54%3A43.174034%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:54:43.366081+00:00"
        },
        {
          "id": "d3554d08-efe6-4ede-98f9-7824a8338a4e",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-31T23:54:42.155198Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-31T23:54:42.166747+00:00"
        },
        {
          "id": "c7f86acc-b207-424d-97c5-a8269b2d015b",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-31T23:54:42.159655+00:00"
        },
        {
          "id": "ccf9777c-f731-4fea-ab87-8dd112182d6c",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.029359%2B00%3A00&end=2026-05-31T23%3A36%3A36.029359%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.248325%2B00%3A00&end=2026-05-31T23%3A36%3A36.248325%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.436674%2B00%3A00&end=2026-05-31T23%3A36%3A36.436674%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.625074%2B00%3A00&end=2026-05-31T23%3A36%3A36.625074%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.814483%2B00%3A00&end=2026-05-31T23%3A36%3A36.814483%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A37.003591%2B00%3A00&end=2026-05-31T23%3A36%3A37.003591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.029359%2B00%3A00&end=2026-05-31T23%3A36%3A36.029359%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.248325%2B00%3A00&end=2026-05-31T23%3A36%3A36.248325%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.436674%2B00%3A00&end=2026-05-31T23%3A36%3A36.436674%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.625074%2B00%3A00&end=2026-05-31T23%3A36%3A36.625074%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.814483%2B00%3A00&end=2026-05-31T23%3A36%3A36.814483%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A37.003591%2B00%3A00&end=2026-05-31T23%3A36%3A37.003591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-31T23:36:38.206313+00:00"
        },
        {
          "id": "b788d5e9-190f-4f90-b66d-911c6b6832d4",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.029359%2B00%3A00&end=2026-05-31T23%3A36%3A36.029359%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.248325%2B00%3A00&end=2026-05-31T23%3A36%3A36.248325%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.436674%2B00%3A00&end=2026-05-31T23%3A36%3A36.436674%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.625074%2B00%3A00&end=2026-05-31T23%3A36%3A36.625074%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.814483%2B00%3A00&end=2026-05-31T23%3A36%3A36.814483%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A37.003591%2B00%3A00&end=2026-05-31T23%3A36%3A37.003591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.029359%2B00%3A00&end=2026-05-31T23%3A36%3A36.029359%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.248325%2B00%3A00&end=2026-05-31T23%3A36%3A36.248325%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.436674%2B00%3A00&end=2026-05-31T23%3A36%3A36.436674%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.625074%2B00%3A00&end=2026-05-31T23%3A36%3A36.625074%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A36.814483%2B00%3A00&end=2026-05-31T23%3A36%3A36.814483%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A36%3A37.003591%2B00%3A00&end=2026-05-31T23%3A36%3A37.003591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:36:37.200985+00:00"
        },
        {
          "id": "fed3c06e-76cf-4d80-993a-e9211cecd7ef",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-31T23:36:36.014834Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-31T23:36:36.024828+00:00"
        },
        {
          "id": "83186c43-605a-41d5-8b0d-b6ac61fa4ea2",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-31T23:36:36.019300+00:00"
        },
        {
          "id": "8260d5cf-4bc8-4818-a93d-40558cdea938",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.593185%2B00%3A00&end=2026-05-31T23%3A34%3A46.593185%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.803394%2B00%3A00&end=2026-05-31T23%3A34%3A46.803394%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.991653%2B00%3A00&end=2026-05-31T23%3A34%3A46.991653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.180960%2B00%3A00&end=2026-05-31T23%3A34%3A47.180960%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.372585%2B00%3A00&end=2026-05-31T23%3A34%3A47.372585%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.561943%2B00%3A00&end=2026-05-31T23%3A34%3A47.561943%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.593185%2B00%3A00&end=2026-05-31T23%3A34%3A46.593185%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.803394%2B00%3A00&end=2026-05-31T23%3A34%3A46.803394%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.991653%2B00%3A00&end=2026-05-31T23%3A34%3A46.991653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.180960%2B00%3A00&end=2026-05-31T23%3A34%3A47.180960%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.372585%2B00%3A00&end=2026-05-31T23%3A34%3A47.372585%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.561943%2B00%3A00&end=2026-05-31T23%3A34%3A47.561943%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-31T23:34:48.745950+00:00"
        },
        {
          "id": "b6cd2b7f-c47e-489e-b976-959d0541715e",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.593185%2B00%3A00&end=2026-05-31T23%3A34%3A46.593185%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.803394%2B00%3A00&end=2026-05-31T23%3A34%3A46.803394%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.991653%2B00%3A00&end=2026-05-31T23%3A34%3A46.991653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.180960%2B00%3A00&end=2026-05-31T23%3A34%3A47.180960%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.372585%2B00%3A00&end=2026-05-31T23%3A34%3A47.372585%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.561943%2B00%3A00&end=2026-05-31T23%3A34%3A47.561943%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.593185%2B00%3A00&end=2026-05-31T23%3A34%3A46.593185%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.803394%2B00%3A00&end=2026-05-31T23%3A34%3A46.803394%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A46.991653%2B00%3A00&end=2026-05-31T23%3A34%3A46.991653%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.180960%2B00%3A00&end=2026-05-31T23%3A34%3A47.180960%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.372585%2B00%3A00&end=2026-05-31T23%3A34%3A47.372585%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '404 Not Found' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A34%3A47.561943%2B00%3A00&end=2026-05-31T23%3A34%3A47.561943%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:34:47.760172+00:00"
        },
        {
          "id": "4bf215b0-f680-4642-8544-cb14102fc1d6",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-31T23:34:46.578515Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-31T23:34:46.590223+00:00"
        },
        {
          "id": "843a6615-1afa-4ee9-b40d-d15d57997537",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-31T23:34:46.584302+00:00"
        },
        {
          "id": "c4e8a836-1e32-468a-a3cc-7ad3f06815ae",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.495958%2B00%3A00&end=2026-05-31T23%3A31%3A01.495958%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.712090%2B00%3A00&end=2026-05-31T23%3A31%3A01.712090%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.903513%2B00%3A00&end=2026-05-31T23%3A31%3A01.903513%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.093208%2B00%3A00&end=2026-05-31T23%3A31%3A02.093208%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.280591%2B00%3A00&end=2026-05-31T23%3A31%3A02.280591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.469792%2B00%3A00&end=2026-05-31T23%3A31%3A02.469792%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.495958%2B00%3A00&end=2026-05-31T23%3A31%3A01.495958%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.712090%2B00%3A00&end=2026-05-31T23%3A31%3A01.712090%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.903513%2B00%3A00&end=2026-05-31T23%3A31%3A01.903513%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.093208%2B00%3A00&end=2026-05-31T23%3A31%3A02.093208%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.280591%2B00%3A00&end=2026-05-31T23%3A31%3A02.280591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.469792%2B00%3A00&end=2026-05-31T23%3A31%3A02.469792%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-31T23:31:03.661661+00:00"
        },
        {
          "id": "0d177043-4fd7-481b-baa1-9a9db9012b66",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.495958%2B00%3A00&end=2026-05-31T23%3A31%3A01.495958%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.712090%2B00%3A00&end=2026-05-31T23%3A31%3A01.712090%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.903513%2B00%3A00&end=2026-05-31T23%3A31%3A01.903513%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.093208%2B00%3A00&end=2026-05-31T23%3A31%3A02.093208%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.280591%2B00%3A00&end=2026-05-31T23%3A31%3A02.280591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.469792%2B00%3A00&end=2026-05-31T23%3A31%3A02.469792%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.495958%2B00%3A00&end=2026-05-31T23%3A31%3A01.495958%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.712090%2B00%3A00&end=2026-05-31T23%3A31%3A01.712090%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A01.903513%2B00%3A00&end=2026-05-31T23%3A31%3A01.903513%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.093208%2B00%3A00&end=2026-05-31T23%3A31%3A02.093208%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.280591%2B00%3A00&end=2026-05-31T23%3A31%3A02.280591%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://paper-api.alpaca.markets/v2/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A31%3A02.469792%2B00%3A00&end=2026-05-31T23%3A31%3A02.469792%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:31:02.662449+00:00"
        },
        {
          "id": "ccecc9f3-4c44-4e48-b5a4-a66890caedd8",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-31T23:31:01.480364Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-31T23:31:01.490796+00:00"
        },
        {
          "id": "01849c06-832c-403b-b234-8dbd34567167",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-31T23:31:01.485101+00:00"
        },
        {
          "id": "5001af57-8417-437f-809a-23846c548a03",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A29%3A08.322910%2B00%3A00&end=2026-05-31T23%3A29%3A08.322910%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A29%3A08.322910%2B00%3A00&end=2026-05-31T23%3A29%3A08.322910%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:29:08.517277+00:00"
        },
        {
          "id": "a0bc5cea-9718-4393-a9b9-1e15392aca40",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.205753%2B00%3A00&end=2026-05-31T23%3A28%3A42.205753%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.418418%2B00%3A00&end=2026-05-31T23%3A28%3A42.418418%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.608810%2B00%3A00&end=2026-05-31T23%3A28%3A42.608810%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.797215%2B00%3A00&end=2026-05-31T23%3A28%3A42.797215%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.990197%2B00%3A00&end=2026-05-31T23%3A28%3A42.990197%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A43.186380%2B00%3A00&end=2026-05-31T23%3A28%3A43.186380%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.205753%2B00%3A00&end=2026-05-31T23%3A28%3A42.205753%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.418418%2B00%3A00&end=2026-05-31T23%3A28%3A42.418418%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.608810%2B00%3A00&end=2026-05-31T23%3A28%3A42.608810%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.797215%2B00%3A00&end=2026-05-31T23%3A28%3A42.797215%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.990197%2B00%3A00&end=2026-05-31T23%3A28%3A42.990197%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A43.186380%2B00%3A00&end=2026-05-31T23%3A28%3A43.186380%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-31T23:28:44.422678+00:00"
        },
        {
          "id": "9fb6fc7d-c062-4161-b623-b5c48fbd8fe0",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.205753%2B00%3A00&end=2026-05-31T23%3A28%3A42.205753%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.418418%2B00%3A00&end=2026-05-31T23%3A28%3A42.418418%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.608810%2B00%3A00&end=2026-05-31T23%3A28%3A42.608810%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.797215%2B00%3A00&end=2026-05-31T23%3A28%3A42.797215%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.990197%2B00%3A00&end=2026-05-31T23%3A28%3A42.990197%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A43.186380%2B00%3A00&end=2026-05-31T23%3A28%3A43.186380%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.205753%2B00%3A00&end=2026-05-31T23%3A28%3A42.205753%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.418418%2B00%3A00&end=2026-05-31T23%3A28%3A42.418418%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.608810%2B00%3A00&end=2026-05-31T23%3A28%3A42.608810%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.797215%2B00%3A00&end=2026-05-31T23%3A28%3A42.797215%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A42.990197%2B00%3A00&end=2026-05-31T23%3A28%3A42.990197%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A43.186380%2B00%3A00&end=2026-05-31T23%3A28%3A43.186380%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:28:43.380884+00:00"
        },
        {
          "id": "49dd2149-5073-4e50-bae1-8680b8bbdb76",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-31T23:28:42.191007Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-31T23:28:42.201075+00:00"
        },
        {
          "id": "2ac31272-35b2-4382-9a16-8bfb2e5cfd5d",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-31T23:28:42.196461+00:00"
        },
        {
          "id": "b397ff19-9fc7-4e31-abb1-dbc67eda02bb",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A04.835097%2B00%3A00&end=2026-05-31T23%3A28%3A04.835097%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A28%3A04.835097%2B00%3A00&end=2026-05-31T23%3A28%3A04.835097%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:28:05.022296+00:00"
        },
        {
          "id": "92a9bc08-13fb-40c3-910f-f4b6a34cbd37",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 50,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A26%3A39.075500%2B00%3A00&end=2026-05-31T23%3A26%3A39.075500%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-02T23%3A26%3A39.075500%2B00%3A00&end=2026-05-31T23%3A26%3A39.075500%2B00%3A00&limit=120&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-31T23:26:39.313504+00:00"
        },
        {
          "id": "31275443-a3cf-489b-a512-806dbd274f2f",
          "action": "startup_training_completed",
          "entity_type": "startup",
          "payload": {
            "models": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 6
            },
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "auto_start": true,
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.693408%2B00%3A00&end=2026-05-30T07%3A18%3A54.693408%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.914303%2B00%3A00&end=2026-05-30T07%3A18%3A54.914303%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.101982%2B00%3A00&end=2026-05-30T07%3A18%3A55.101982%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.290253%2B00%3A00&end=2026-05-30T07%3A18%3A55.290253%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.479291%2B00%3A00&end=2026-05-30T07%3A18%3A55.479291%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.669105%2B00%3A00&end=2026-05-30T07%3A18%3A55.669105%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.693408%2B00%3A00&end=2026-05-30T07%3A18%3A54.693408%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.914303%2B00%3A00&end=2026-05-30T07%3A18%3A54.914303%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.101982%2B00%3A00&end=2026-05-30T07%3A18%3A55.101982%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.290253%2B00%3A00&end=2026-05-30T07%3A18%3A55.290253%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.479291%2B00%3A00&end=2026-05-30T07%3A18%3A55.479291%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.669105%2B00%3A00&end=2026-05-30T07%3A18%3A55.669105%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "QQQ"
                }
              ],
              "has_internal_errors": true
            }
          },
          "created_at": "2026-05-30T07:18:56.823190+00:00"
        },
        {
          "id": "06f4ce31-0461-4da9-bc21-92c012f67183",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.693408%2B00%3A00&end=2026-05-30T07%3A18%3A54.693408%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.914303%2B00%3A00&end=2026-05-30T07%3A18%3A54.914303%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.101982%2B00%3A00&end=2026-05-30T07%3A18%3A55.101982%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.290253%2B00%3A00&end=2026-05-30T07%3A18%3A55.290253%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.479291%2B00%3A00&end=2026-05-30T07%3A18%3A55.479291%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.669105%2B00%3A00&end=2026-05-30T07%3A18%3A55.669105%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.693408%2B00%3A00&end=2026-05-30T07%3A18%3A54.693408%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A54.914303%2B00%3A00&end=2026-05-30T07%3A18%3A54.914303%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.101982%2B00%3A00&end=2026-05-30T07%3A18%3A55.101982%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.290253%2B00%3A00&end=2026-05-30T07%3A18%3A55.290253%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.479291%2B00%3A00&end=2026-05-30T07%3A18%3A55.479291%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-03-01T07%3A18%3A55.669105%2B00%3A00&end=2026-05-30T07%3A18%3A55.669105%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "QQQ"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-30T07:18:55.857382+00:00"
        },
        {
          "id": "a322f7b0-0053-403c-9655-7352b32c5d98",
          "action": "bot_auto_started",
          "entity_type": "bot",
          "payload": {
            "status": "trading",
            "last_error": null,
            "paper_mode": true,
            "risk_limits": {
              "mode": "aggressive",
              "allow_short": false,
              "allow_leverage": false,
              "max_daily_loss": 2500,
              "min_confidence": 60,
              "allow_overnight": false,
              "allowed_symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "blocked_symbols": [],
              "max_weekly_loss": 7500,
              "max_open_positions": 5,
              "max_position_value": 10000,
              "max_drawdown_percent": 12,
              "max_symbol_exposure_percent": 20
            },
            "last_heartbeat": "2026-05-30T07:18:54.680939Z",
            "active_strategy": {
              "name": "momentum_breakout_v1",
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ"
              ],
              "fast_window": 5,
              "slow_window": 20,
              "breakout_window": 20,
              "risk_reward_min": 1.5
            },
            "autonomous_enabled": true
          },
          "created_at": "2026-05-30T07:18:54.690128+00:00"
        },
        {
          "id": "9038e12d-a159-4182-af79-a8130c83d3b7",
          "action": "bot_state_synced_from_settings",
          "entity_type": "startup",
          "payload": {
            "paper_trading": true,
            "autonomous_enabled": {
              "value": true,
              "source": "env",
              "synced": true
            },
            "kill_switch_active": false,
            "live_trading_enabled": false
          },
          "created_at": "2026-05-30T07:18:54.685495+00:00"
        },
        {
          "id": "bcdc2384-93b4-4057-9242-d714b5f6b5d3",
          "action": "automation_nightly_research_cycle",
          "entity_type": "automation",
          "payload": {
            "model": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AMD",
                  "accuracy": 0.6013,
                  "bar_count": 818,
                  "test_rows": 153,
                  "timeframe": "1Hour",
                  "train_rows": 611,
                  "feature_rows": 764,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "META",
                  "accuracy": 0.5093,
                  "bar_count": 859,
                  "test_rows": 161,
                  "timeframe": "1Hour",
                  "train_rows": 644,
                  "feature_rows": 805,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AMZN",
                  "accuracy": 0.6242,
                  "bar_count": 797,
                  "test_rows": 149,
                  "timeframe": "1Hour",
                  "train_rows": 594,
                  "feature_rows": 743,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "GOOGL",
                  "accuracy": 0.5449,
                  "bar_count": 830,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 620,
                  "feature_rows": 776,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 10
            },
            "status": "completed",
            "backtest": {
              "total_trade_count": 160,
              "validation_verdict": {
                "status": "rejected",
                "summary": {
                  "avg_sharpe": 0.5447,
                  "total_trades": 160,
                  "avg_profit_factor": 5.6236,
                  "max_drawdown_percent": 3.38,
                  "avg_walk_forward_pass_rate": 46.67,
                  "monte_carlo_risk_20pct_drawdown": 69
                },
                "failed_reasons": [
                  "Walk-forward pass rate below 60%",
                  "Monte Carlo 20% drawdown risk too high"
                ],
                "allowed_to_trade": false
              },
              "total_return_percent": 9.1527,
              "portfolio_profit_factor": 4.8225
            },
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.283461%2B00%3A00&end=2026-05-29T22%3A00%3A18.283461%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.470766%2B00%3A00&end=2026-05-29T22%3A00%3A18.470766%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.655599%2B00%3A00&end=2026-05-29T22%3A00%3A18.655599%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.864183%2B00%3A00&end=2026-05-29T22%3A00%3A18.864183%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.052189%2B00%3A00&end=2026-05-29T22%3A00%3A19.052189%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.245391%2B00%3A00&end=2026-05-29T22%3A00%3A19.245391%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.438046%2B00%3A00&end=2026-05-29T22%3A00%3A19.438046%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AMD",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.624769%2B00%3A00&end=2026-05-29T22%3A00%3A19.624769%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "META",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.805403%2B00%3A00&end=2026-05-29T22%3A00%3A19.805403%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AMZN",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.998936%2B00%3A00&end=2026-05-29T22%3A00%3A19.998936%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "GOOGL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ",
                "AMD",
                "META",
                "AMZN",
                "GOOGL"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.283461%2B00%3A00&end=2026-05-29T22%3A00%3A18.283461%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.470766%2B00%3A00&end=2026-05-29T22%3A00%3A18.470766%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.655599%2B00%3A00&end=2026-05-29T22%3A00%3A18.655599%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.864183%2B00%3A00&end=2026-05-29T22%3A00%3A18.864183%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.052189%2B00%3A00&end=2026-05-29T22%3A00%3A19.052189%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.245391%2B00%3A00&end=2026-05-29T22%3A00%3A19.245391%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "QQQ"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.438046%2B00%3A00&end=2026-05-29T22%3A00%3A19.438046%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AMD"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.624769%2B00%3A00&end=2026-05-29T22%3A00%3A19.624769%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "META"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.805403%2B00%3A00&end=2026-05-29T22%3A00%3A19.805403%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AMZN"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.998936%2B00%3A00&end=2026-05-29T22%3A00%3A19.998936%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "GOOGL"
                }
              ],
              "has_internal_errors": true
            },
            "allowed_to_trade": false
          },
          "created_at": "2026-05-29T22:00:24.849629+00:00"
        },
        {
          "id": "e9059300-f5b7-484e-93d9-008aad1b1f8c",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.283461%2B00%3A00&end=2026-05-29T22%3A00%3A18.283461%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.470766%2B00%3A00&end=2026-05-29T22%3A00%3A18.470766%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.655599%2B00%3A00&end=2026-05-29T22%3A00%3A18.655599%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.864183%2B00%3A00&end=2026-05-29T22%3A00%3A18.864183%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.052189%2B00%3A00&end=2026-05-29T22%3A00%3A19.052189%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.245391%2B00%3A00&end=2026-05-29T22%3A00%3A19.245391%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.438046%2B00%3A00&end=2026-05-29T22%3A00%3A19.438046%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AMD",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.624769%2B00%3A00&end=2026-05-29T22%3A00%3A19.624769%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "META",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.805403%2B00%3A00&end=2026-05-29T22%3A00%3A19.805403%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AMZN",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.998936%2B00%3A00&end=2026-05-29T22%3A00%3A19.998936%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "GOOGL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ",
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.283461%2B00%3A00&end=2026-05-29T22%3A00%3A18.283461%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.470766%2B00%3A00&end=2026-05-29T22%3A00%3A18.470766%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.655599%2B00%3A00&end=2026-05-29T22%3A00%3A18.655599%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A18.864183%2B00%3A00&end=2026-05-29T22%3A00%3A18.864183%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.052189%2B00%3A00&end=2026-05-29T22%3A00%3A19.052189%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.245391%2B00%3A00&end=2026-05-29T22%3A00%3A19.245391%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "QQQ"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.438046%2B00%3A00&end=2026-05-29T22%3A00%3A19.438046%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AMD"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.624769%2B00%3A00&end=2026-05-29T22%3A00%3A19.624769%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "META"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.805403%2B00%3A00&end=2026-05-29T22%3A00%3A19.805403%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AMZN"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-28T22%3A00%3A19.998936%2B00%3A00&end=2026-05-29T22%3A00%3A19.998936%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "GOOGL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-29T22:00:20.220351+00:00"
        },
        {
          "id": "11664dfe-e012-49b4-b9f0-6c518652677e",
          "action": "automation_nightly_research_cycle",
          "entity_type": "automation",
          "payload": {
            "model": {
              "limit": 1000,
              "results": [
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AAPL",
                  "accuracy": 0.6776,
                  "bar_count": 814,
                  "test_rows": 152,
                  "timeframe": "1Hour",
                  "train_rows": 608,
                  "feature_rows": 760,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "MSFT",
                  "accuracy": 0.4839,
                  "bar_count": 828,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 619,
                  "feature_rows": 774,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "NVDA",
                  "accuracy": 0.4839,
                  "bar_count": 826,
                  "test_rows": 155,
                  "timeframe": "1Hour",
                  "train_rows": 617,
                  "feature_rows": 772,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "TSLA",
                  "accuracy": 0.3974,
                  "bar_count": 832,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 622,
                  "feature_rows": 778,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "SPY",
                  "accuracy": 0.3963,
                  "bar_count": 870,
                  "test_rows": 164,
                  "timeframe": "1Hour",
                  "train_rows": 652,
                  "feature_rows": 816,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "QQQ",
                  "accuracy": 0.614,
                  "bar_count": 905,
                  "test_rows": 171,
                  "timeframe": "1Hour",
                  "train_rows": 680,
                  "feature_rows": 851,
                  "first_bar_timestamp": "2022-12-07T13:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AMD",
                  "accuracy": 0.6013,
                  "bar_count": 818,
                  "test_rows": 153,
                  "timeframe": "1Hour",
                  "train_rows": 611,
                  "feature_rows": 764,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "META",
                  "accuracy": 0.5093,
                  "bar_count": 859,
                  "test_rows": 161,
                  "timeframe": "1Hour",
                  "train_rows": 644,
                  "feature_rows": 805,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "AMZN",
                  "accuracy": 0.6242,
                  "bar_count": 797,
                  "test_rows": 149,
                  "timeframe": "1Hour",
                  "train_rows": 594,
                  "feature_rows": 743,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T19:00:00+00:00"
                },
                {
                  "source": "stored_alpaca_bars",
                  "status": "trained",
                  "symbol": "GOOGL",
                  "accuracy": 0.5449,
                  "bar_count": 830,
                  "test_rows": 156,
                  "timeframe": "1Hour",
                  "train_rows": 620,
                  "feature_rows": 776,
                  "first_bar_timestamp": "2022-12-07T14:00:00+00:00",
                  "latest_bar_timestamp": "2026-05-15T20:00:00+00:00"
                }
              ],
              "timeframe": "1Hour",
              "trained_models": 10
            },
            "status": "completed",
            "backtest": {
              "total_trade_count": 160,
              "validation_verdict": {
                "status": "rejected",
                "summary": {
                  "avg_sharpe": 0.5447,
                  "total_trades": 160,
                  "avg_profit_factor": 5.6236,
                  "max_drawdown_percent": 3.38,
                  "avg_walk_forward_pass_rate": 46.67,
                  "monte_carlo_risk_20pct_drawdown": 66.6
                },
                "failed_reasons": [
                  "Walk-forward pass rate below 60%",
                  "Monte Carlo 20% drawdown risk too high"
                ],
                "allowed_to_trade": false
              },
              "total_return_percent": 9.1527,
              "portfolio_profit_factor": 4.8225
            },
            "market_data": {
              "limit": 10000,
              "status": "failed",
              "results": [
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A17.888320%2B00%3A00&end=2026-05-28T22%3A00%3A17.888320%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AAPL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.077103%2B00%3A00&end=2026-05-28T22%3A00%3A18.077103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "MSFT",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.262651%2B00%3A00&end=2026-05-28T22%3A00%3A18.262651%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "NVDA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.472471%2B00%3A00&end=2026-05-28T22%3A00%3A18.472471%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "TSLA",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.656879%2B00%3A00&end=2026-05-28T22%3A00%3A18.656879%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "SPY",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.847199%2B00%3A00&end=2026-05-28T22%3A00%3A18.847199%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "QQQ",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.030490%2B00%3A00&end=2026-05-28T22%3A00%3A19.030490%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AMD",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.217111%2B00%3A00&end=2026-05-28T22%3A00%3A19.217111%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "META",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.432262%2B00%3A00&end=2026-05-28T22%3A00%3A19.432262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "AMZN",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                },
                {
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.631547%2B00%3A00&end=2026-05-28T22%3A00%3A19.631547%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "total": 0,
                  "source": "alpaca",
                  "status": "error",
                  "symbol": "GOOGL",
                  "skipped": 0,
                  "storage": "none",
                  "inserted": 0,
                  "is_fresh": false,
                  "feed_used": "sip",
                  "timeframe": "1Hour",
                  "freshness_reason": "fetch_failed",
                  "fetched_bar_count": 0,
                  "updated_bar_count": 0,
                  "inserted_bar_count": 0,
                  "failed_insert_count": 0,
                  "latest_fetched_bar_date": null,
                  "skipped_duplicate_count": 0,
                  "latest_persisted_bar_date": null
                }
              ],
              "symbols": [
                "AAPL",
                "MSFT",
                "NVDA",
                "TSLA",
                "SPY",
                "QQQ",
                "AMD",
                "META",
                "AMZN",
                "GOOGL"
              ],
              "timeframe": "1Hour",
              "internal_errors": [
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A17.888320%2B00%3A00&end=2026-05-28T22%3A00%3A17.888320%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AAPL"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.077103%2B00%3A00&end=2026-05-28T22%3A00%3A18.077103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "MSFT"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.262651%2B00%3A00&end=2026-05-28T22%3A00%3A18.262651%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "NVDA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.472471%2B00%3A00&end=2026-05-28T22%3A00%3A18.472471%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "TSLA"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.656879%2B00%3A00&end=2026-05-28T22%3A00%3A18.656879%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "SPY"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.847199%2B00%3A00&end=2026-05-28T22%3A00%3A18.847199%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "QQQ"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.030490%2B00%3A00&end=2026-05-28T22%3A00%3A19.030490%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AMD"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.217111%2B00%3A00&end=2026-05-28T22%3A00%3A19.217111%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "META"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.432262%2B00%3A00&end=2026-05-28T22%3A00%3A19.432262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "AMZN"
                },
                {
                  "type": "fetch_error",
                  "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.631547%2B00%3A00&end=2026-05-28T22%3A00%3A19.631547%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                  "symbol": "GOOGL"
                }
              ],
              "has_internal_errors": true
            },
            "allowed_to_trade": false
          },
          "created_at": "2026-05-28T22:00:24.735201+00:00"
        },
        {
          "id": "3b05f5c3-3a36-4f54-8c7b-6db05ee743f8",
          "action": "market_data_ingested",
          "entity_type": "market_data",
          "payload": {
            "limit": 10000,
            "status": "failed",
            "results": [
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A17.888320%2B00%3A00&end=2026-05-28T22%3A00%3A17.888320%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AAPL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.077103%2B00%3A00&end=2026-05-28T22%3A00%3A18.077103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "MSFT",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.262651%2B00%3A00&end=2026-05-28T22%3A00%3A18.262651%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "NVDA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.472471%2B00%3A00&end=2026-05-28T22%3A00%3A18.472471%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "TSLA",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.656879%2B00%3A00&end=2026-05-28T22%3A00%3A18.656879%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "SPY",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.847199%2B00%3A00&end=2026-05-28T22%3A00%3A18.847199%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "QQQ",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.030490%2B00%3A00&end=2026-05-28T22%3A00%3A19.030490%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AMD",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.217111%2B00%3A00&end=2026-05-28T22%3A00%3A19.217111%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "META",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.432262%2B00%3A00&end=2026-05-28T22%3A00%3A19.432262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "AMZN",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              },
              {
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.631547%2B00%3A00&end=2026-05-28T22%3A00%3A19.631547%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "total": 0,
                "source": "alpaca",
                "status": "error",
                "symbol": "GOOGL",
                "skipped": 0,
                "storage": "none",
                "inserted": 0,
                "is_fresh": false,
                "feed_used": "sip",
                "timeframe": "1Hour",
                "freshness_reason": "fetch_failed",
                "fetched_bar_count": 0,
                "updated_bar_count": 0,
                "inserted_bar_count": 0,
                "failed_insert_count": 0,
                "latest_fetched_bar_date": null,
                "skipped_duplicate_count": 0,
                "latest_persisted_bar_date": null
              }
            ],
            "symbols": [
              "AAPL",
              "MSFT",
              "NVDA",
              "TSLA",
              "SPY",
              "QQQ",
              "AMD",
              "META",
              "AMZN",
              "GOOGL"
            ],
            "timeframe": "1Hour",
            "internal_errors": [
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AAPL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A17.888320%2B00%3A00&end=2026-05-28T22%3A00%3A17.888320%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AAPL"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/MSFT/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.077103%2B00%3A00&end=2026-05-28T22%3A00%3A18.077103%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "MSFT"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/NVDA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.262651%2B00%3A00&end=2026-05-28T22%3A00%3A18.262651%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "NVDA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/TSLA/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.472471%2B00%3A00&end=2026-05-28T22%3A00%3A18.472471%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "TSLA"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/SPY/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.656879%2B00%3A00&end=2026-05-28T22%3A00%3A18.656879%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "SPY"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/QQQ/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A18.847199%2B00%3A00&end=2026-05-28T22%3A00%3A18.847199%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "QQQ"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMD/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.030490%2B00%3A00&end=2026-05-28T22%3A00%3A19.030490%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AMD"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/META/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.217111%2B00%3A00&end=2026-05-28T22%3A00%3A19.217111%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "META"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/AMZN/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.432262%2B00%3A00&end=2026-05-28T22%3A00%3A19.432262%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "AMZN"
              },
              {
                "type": "fetch_error",
                "error": "Client error '401 Unauthorized' for url 'https://data.alpaca.markets/v2/stocks/GOOGL/bars?timeframe=1Hour&start=2026-02-27T22%3A00%3A19.631547%2B00%3A00&end=2026-05-28T22%3A00%3A19.631547%2B00%3A00&limit=10000&adjustment=raw&feed=sip&sort=desc'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",
                "symbol": "GOOGL"
              }
            ],
            "has_internal_errors": true
          },
          "created_at": "2026-05-28T22:00:19.854531+00:00"
        },
        {
          "id": "f68ee12d-0b4c-45c3-83cc-211742ed0ed5",
          "action": "backtest_run",
          "entity_type": "backtest",
          "payload": {
            "limit": 10000,
            "results": [
              {
                "regime": "high_volatility",
                "sharpe": 0.6915,
                "symbol": "AAPL",
                "trades": [
                  {
                    "pnl": -131.3907,
                    "qty": 23.071244,
                    "symbol": "AAPL",
                    "pnl_pct": -3.9417,
                    "exit_time": "2022-12-15 15:00:00+00:00",
                    "exit_price": 138.785,
                    "entry_price": 144.48
                  },
                  {
                    "pnl": -78.2174,
                    "qty": 24.519565,
                    "symbol": "AAPL",
                    "pnl_pct": -2.3558,
                    "exit_time": "2022-12-22 20:00:00+00:00",
                    "exit_price": 132.22,
                    "entry_price": 135.41
                  },
                  {
                    "pnl": -82.8061,
                    "qty": 25.71618,
                    "symbol": "AAPL",
                    "pnl_pct": -2.4999,
                    "exit_time": "2023-01-03 15:00:00+00:00",
                    "exit_price": 125.585,
                    "entry_price": 128.805
                  },
                  {
                    "pnl": 2495.7953,
                    "qty": 25.643928,
                    "symbol": "AAPL",
                    "pnl_pct": 75.5365,
                    "exit_time": "2024-09-03 13:00:00+00:00",
                    "exit_price": 226.17,
                    "entry_price": 128.845
                  },
                  {
                    "pnl": -105.0645,
                    "qty": 15.967251,
                    "symbol": "AAPL",
                    "pnl_pct": -2.9565,
                    "exit_time": "2024-09-16 15:00:00+00:00",
                    "exit_price": 215.98,
                    "entry_price": 222.56
                  },
                  {
                    "pnl": 0.1559,
                    "qty": 15.588055,
                    "symbol": "AAPL",
                    "pnl_pct": 0.0044,
                    "exit_time": "2024-09-24 17:00:00+00:00",
                    "exit_price": 227.31,
                    "entry_price": 227.3
                  },
                  {
                    "pnl": 509.1773,
                    "qty": 15.485929,
                    "symbol": "AAPL",
                    "pnl_pct": 14.3706,
                    "exit_time": "2026-02-12 21:00:00+00:00",
                    "exit_price": 261.68,
                    "entry_price": 228.8
                  },
                  {
                    "pnl": -35.3771,
                    "qty": 13.554451,
                    "symbol": "AAPL",
                    "pnl_pct": -0.9843,
                    "exit_time": "2026-02-20 15:00:00+00:00",
                    "exit_price": 262.55,
                    "entry_price": 265.16
                  },
                  {
                    "pnl": 24.156,
                    "qty": 13.457369,
                    "symbol": "AAPL",
                    "pnl_pct": 0.6728,
                    "exit_time": "2026-02-27 16:00:00+00:00",
                    "exit_price": 268.605,
                    "entry_price": 266.81
                  },
                  {
                    "pnl": -81.3099,
                    "qty": 13.758022,
                    "symbol": "AAPL",
                    "pnl_pct": -2.263,
                    "exit_time": "2026-03-12 16:00:00+00:00",
                    "exit_price": 255.245,
                    "entry_price": 261.155
                  },
                  {
                    "pnl": 235.0603,
                    "qty": 14.100795,
                    "symbol": "AAPL",
                    "pnl_pct": 6.5571,
                    "exit_time": "2026-04-24 23:00:00+00:00",
                    "exit_price": 270.9,
                    "entry_price": 254.23
                  },
                  {
                    "pnl": 2.2727,
                    "qty": 13.368968,
                    "symbol": "AAPL",
                    "pnl_pct": 0.063,
                    "exit_time": "2026-04-29 18:00:00+00:00",
                    "exit_price": 270.075,
                    "entry_price": 269.905
                  },
                  {
                    "pnl": 101.1263,
                    "qty": 13.3765,
                    "symbol": "AAPL",
                    "pnl_pct": 2.8024,
                    "exit_time": "2026-05-04 14:00:00+00:00",
                    "exit_price": 277.33,
                    "entry_price": 269.77
                  },
                  {
                    "pnl": 213.1798,
                    "qty": 12.772903,
                    "symbol": "AAPL",
                    "pnl_pct": 5.8911,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 300,
                    "entry_price": 283.31
                  }
                ],
                "sortino": 3.8576,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 34857.3,
                  "p90_final_balance": 130679,
                  "median_final_balance": 62886.99,
                  "worst_drawdown_percent": 25.95,
                  "risk_of_10pct_drawdown_percent": 25.6,
                  "risk_of_20pct_drawdown_percent": 0.6
                },
                "trade_count": 14,
                "equity_curve": [
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35945.93,
                  35932.03,
                  35924.19,
                  35929.97,
                  35923.36,
                  35923.85,
                  35924.19,
                  35921.03,
                  35916.35,
                  35925.02,
                  35852.85,
                  35844.39,
                  35846.73,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35836.25,
                  35823.78,
                  35813.62,
                  35802.98,
                  35807.84,
                  36126.52,
                  36137.1,
                  36123.14,
                  36126.24,
                  36118.91,
                  36113.12,
                  36112.98,
                  36126.03,
                  36119.33,
                  36099.02,
                  36100.72,
                  36103.96,
                  36107.48,
                  36097.05,
                  36098.74,
                  36103.46,
                  36113.83,
                  36106.07,
                  36094.37,
                  36091.34,
                  36085.38,
                  36077.52,
                  36068.08,
                  36072.37,
                  36085.77,
                  36083.09,
                  36082.67,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36099.89,
                  36079.97,
                  36083.98,
                  36091.67,
                  36085.59,
                  36094.94,
                  36085.45,
                  36078.9,
                  36078.5,
                  36078.1,
                  36078.5,
                  36077.16,
                  36074.76,
                  36063.26,
                  36061.25,
                  36075.02,
                  36075.56,
                  36066.47,
                  36097.48,
                  36087.06,
                  36085.79,
                  36085.79,
                  36085.79,
                  36085.79,
                  36092.21,
                  36101.57,
                  36099.03,
                  36106.25,
                  36100.5,
                  36108.26,
                  36110.13,
                  36096.89,
                  36100.37,
                  36114.54,
                  36115.01,
                  36137.15,
                  36130.26,
                  36104.98,
                  36090.87,
                  36239.87,
                  36199.75,
                  36174.47,
                  36206.31,
                  36219.15,
                  36214.33,
                  36239.18,
                  36223.3,
                  36275.46,
                  36257.54,
                  36286.17,
                  36264.32,
                  36242.36,
                  36228.65,
                  36224.63,
                  36220.35,
                  36220.62,
                  36220.62,
                  36223.56,
                  36213.53,
                  36213.26,
                  36207.64,
                  36207.71,
                  36214.46,
                  36161.76,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36192.08,
                  36198.41,
                  36186.4,
                  36178.86,
                  36179.63,
                  36175.29,
                  36176.31,
                  36172.73,
                  36185.12,
                  36173.24,
                  36170.18,
                  36222.8,
                  36206.84,
                  36216.1,
                  36224.21,
                  36242.52,
                  36237.89,
                  36241.07,
                  36240.56,
                  36237.88,
                  36242.6,
                  36240.3,
                  36236.6,
                  36230.98,
                  36232.38,
                  36253.08,
                  36257.67,
                  36285.77,
                  36284.87,
                  36263.67,
                  36254.86,
                  36260.99,
                  36239.41,
                  36239.92,
                  36232.89,
                  36234.04,
                  36243.24,
                  36246.56,
                  36248.09,
                  36249.26,
                  36261.44,
                  36282.6,
                  36277.23,
                  36322.69,
                  36317.71,
                  36301.93,
                  36299.7,
                  36299.63,
                  36309.21,
                  36313.49,
                  36309.53,
                  36313.62,
                  36316.3,
                  36321.66,
                  36298.8,
                  36312.72,
                  36317.83,
                  36321.54,
                  36306.9,
                  36293.05,
                  36301.36,
                  36311.7,
                  36303.21,
                  36289.99,
                  36305.44,
                  36292.67,
                  36323.96,
                  36333.93,
                  36328.56,
                  36322.05,
                  36327.16,
                  36329.2,
                  36332.65,
                  36327.03,
                  36341.72,
                  36355.26,
                  36361.2,
                  36388.98,
                  36402.26,
                  36392.43,
                  36386.68,
                  36390.51,
                  36366.75,
                  36382.34,
                  36389.11,
                  36369.56,
                  36376.97,
                  36382.02,
                  36377.74,
                  36377.48,
                  36338.14,
                  36375.95,
                  36412.35,
                  36413.06,
                  36425.64,
                  36428.57,
                  36421.42,
                  36402.52,
                  36400.09
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -0.594,
                      "test_trade_count": 3,
                      "test_return_percent": -0.1818,
                      "train_return_percent": 7.8418,
                      "test_max_drawdown_percent": 0.4622
                    },
                    {
                      "test_sharpe": 0.6468,
                      "test_trade_count": 3,
                      "test_return_percent": 0.4378,
                      "train_return_percent": 8.0414,
                      "test_max_drawdown_percent": 0.3977
                    },
                    {
                      "test_sharpe": 1.5926,
                      "test_trade_count": 3,
                      "test_return_percent": 0.8914,
                      "train_return_percent": 1.8393,
                      "test_max_drawdown_percent": 0.3428
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 36400.09,
                "profit_factor": 6.9645,
                "initial_balance": 33333.33,
                "win_rate_percent": 57.14,
                "parameter_ranking": [
                  {
                    "score": 10.4098,
                    "sharpe": 0.7252,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 9.5171,
                    "max_drawdown_percent": 1.1154
                  },
                  {
                    "score": 9.997,
                    "sharpe": 0.71,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 10,
                    "return_percent": 9.2648,
                    "max_drawdown_percent": 1.3755
                  },
                  {
                    "score": 9.971,
                    "sharpe": 0.6915,
                    "fast_window": 10,
                    "slow_window": 30,
                    "trade_count": 14,
                    "return_percent": 9.2003,
                    "max_drawdown_percent": 1.2247
                  },
                  {
                    "score": 9.9487,
                    "sharpe": 0.708,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 9.3163,
                    "max_drawdown_percent": 1.5673
                  },
                  {
                    "score": 9.5694,
                    "sharpe": 0.6658,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 15,
                    "return_percent": 8.8897,
                    "max_drawdown_percent": 1.3039
                  }
                ],
                "expectancy_percent": 6.4926,
                "max_drawdown_percent": 1.2247,
                "total_return_percent": 9.2003,
                "win_loss_distribution": {
                  "wins": 8,
                  "losses": 6,
                  "breakeven": 0,
                  "avg_win_pct": 13.2372,
                  "avg_loss_pct": -2.5002,
                  "largest_win_pct": 75.5365,
                  "largest_loss_pct": -3.9417
                }
              },
              {
                "regime": "high_volatility",
                "sharpe": 0.5402,
                "symbol": "MSFT",
                "trades": [
                  {
                    "pnl": -131.1791,
                    "qty": 12.822979,
                    "symbol": "MSFT",
                    "pnl_pct": -3.9354,
                    "exit_time": "2022-12-15 19:00:00+00:00",
                    "exit_price": 249.72,
                    "entry_price": 259.95
                  },
                  {
                    "pnl": -121.8889,
                    "qty": 13.588505,
                    "symbol": "MSFT",
                    "pnl_pct": -3.6711,
                    "exit_time": "2022-12-22 17:00:00+00:00",
                    "exit_price": 235.37,
                    "entry_price": 244.34
                  },
                  {
                    "pnl": -161.3789,
                    "qty": 13.740219,
                    "symbol": "MSFT",
                    "pnl_pct": -4.8784,
                    "exit_time": "2023-01-04 14:00:00+00:00",
                    "exit_price": 229.01,
                    "entry_price": 240.755
                  },
                  {
                    "pnl": 2798.8952,
                    "qty": 14.493412,
                    "symbol": "MSFT",
                    "pnl_pct": 85.024,
                    "exit_time": "2024-08-29 14:00:00+00:00",
                    "exit_price": 420.245,
                    "entry_price": 227.13
                  },
                  {
                    "pnl": -71.7098,
                    "qty": 8.516603,
                    "symbol": "MSFT",
                    "pnl_pct": -2.0077,
                    "exit_time": "2024-09-03 17:00:00+00:00",
                    "exit_price": 410.97,
                    "entry_price": 419.39
                  },
                  {
                    "pnl": 208.9102,
                    "qty": 8.697346,
                    "symbol": "MSFT",
                    "pnl_pct": 5.8607,
                    "exit_time": "2024-09-23 17:00:00+00:00",
                    "exit_price": 433.87,
                    "entry_price": 409.85
                  },
                  {
                    "pnl": -16.7673,
                    "qty": 8.990492,
                    "symbol": "MSFT",
                    "pnl_pct": -0.4676,
                    "exit_time": "2026-02-19 19:00:00+00:00",
                    "exit_price": 396.945,
                    "entry_price": 398.81
                  },
                  {
                    "pnl": -58.0301,
                    "qty": 8.976047,
                    "symbol": "MSFT",
                    "pnl_pct": -1.6192,
                    "exit_time": "2026-02-27 20:00:00+00:00",
                    "exit_price": 392.8,
                    "entry_price": 399.265
                  },
                  {
                    "pnl": 14.8691,
                    "qty": 8.824373,
                    "symbol": "MSFT",
                    "pnl_pct": 0.4156,
                    "exit_time": "2026-03-09 16:00:00+00:00",
                    "exit_price": 407.155,
                    "entry_price": 405.47
                  },
                  {
                    "pnl": -19.1434,
                    "qty": 9.008671,
                    "symbol": "MSFT",
                    "pnl_pct": -0.5348,
                    "exit_time": "2026-03-18 14:00:00+00:00",
                    "exit_price": 395.215,
                    "entry_price": 397.34
                  },
                  {
                    "pnl": 64.4858,
                    "qty": 8.552487,
                    "symbol": "MSFT",
                    "pnl_pct": 1.8025,
                    "exit_time": "2026-04-28 14:00:00+00:00",
                    "exit_price": 425.85,
                    "entry_price": 418.31
                  },
                  {
                    "pnl": -22.5885,
                    "qty": 8.380082,
                    "symbol": "MSFT",
                    "pnl_pct": -0.6303,
                    "exit_time": "2026-04-29 18:00:00+00:00",
                    "exit_price": 424.99,
                    "entry_price": 427.6855
                  },
                  {
                    "pnl": -42.3132,
                    "qty": 8.626536,
                    "symbol": "MSFT",
                    "pnl_pct": -1.1813,
                    "exit_time": "2026-05-05 14:00:00+00:00",
                    "exit_price": 410.3,
                    "entry_price": 415.205
                  },
                  {
                    "pnl": 21.2473,
                    "qty": 8.654699,
                    "symbol": "MSFT",
                    "pnl_pct": 0.5939,
                    "exit_time": "2026-05-08 17:00:00+00:00",
                    "exit_price": 415.82,
                    "entry_price": 413.365
                  },
                  {
                    "pnl": 88.8358,
                    "qty": 8.717942,
                    "symbol": "MSFT",
                    "pnl_pct": 2.4817,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 420.8,
                    "entry_price": 410.61
                  }
                ],
                "sortino": 3.0687,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 28541.97,
                  "p90_final_balance": 114933.92,
                  "median_final_balance": 54121.32,
                  "worst_drawdown_percent": 29.23,
                  "risk_of_10pct_drawdown_percent": 58.2,
                  "risk_of_20pct_drawdown_percent": 8
                },
                "trade_count": 15,
                "equity_curve": [
                  35776.04,
                  35780.8,
                  35765.45,
                  35828.1,
                  35794.13,
                  35824.66,
                  35809.31,
                  35803.88,
                  35816.81,
                  35825.98,
                  35784.24,
                  35825.37,
                  35830.62,
                  35837.28,
                  35818.22,
                  35818.31,
                  35823.91,
                  35808.86,
                  35807.98,
                  35775.95,
                  35780.01,
                  35798.36,
                  35804.63,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35800.28,
                  35775.91,
                  35775.91,
                  35775.91,
                  35782.67,
                  35796.78,
                  35783.52,
                  35786.69,
                  35776,
                  35787.5,
                  35788.4,
                  35797.51,
                  35810.89,
                  35829.96,
                  35828,
                  35824.57,
                  35823.71,
                  35823.55,
                  35825.21,
                  35824.49,
                  35825.51,
                  35814.48,
                  35816.19,
                  35790.28,
                  35822.39,
                  35810.46,
                  35827.95,
                  35839.2,
                  35840.78,
                  35833.64,
                  35832.27,
                  35828.94,
                  35835.69,
                  35837.14,
                  35820.38,
                  35812.09,
                  35804.22,
                  35797.21,
                  35792.59,
                  35847.49,
                  35840.4,
                  35840.4,
                  35847.43,
                  35841.9,
                  35840.05,
                  35854.43,
                  35840.52,
                  35843.37,
                  35843.45,
                  35843.03,
                  35845.96,
                  35833.65,
                  35838.93,
                  35836.66,
                  35837.25,
                  35822.46,
                  35820.66,
                  35812.32,
                  35796.44,
                  35804.06,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35815.18,
                  35811.81,
                  35795.94,
                  35797.75,
                  35800.34,
                  35800.87,
                  35802.84,
                  35803.1,
                  35795.08,
                  35795.25,
                  35797.06,
                  35823.8,
                  35835.92,
                  35815.82,
                  35807.76,
                  35812.07,
                  35802.02,
                  35804.82,
                  35797.06,
                  35800.94,
                  35798.35,
                  35796.2,
                  35827.77,
                  35820.7,
                  35819.06,
                  35819.49,
                  35821.91,
                  35777.65,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35778.91,
                  35777.53,
                  35779.61,
                  35775.49,
                  35776.58,
                  35784.97,
                  35784.97,
                  35784.02,
                  35811.54,
                  35826.34,
                  35869.44,
                  35883.42,
                  35879.65,
                  35843.91,
                  35849.62,
                  35858.45,
                  35841.49,
                  35832.92,
                  35813.88,
                  35820.63,
                  35840.71,
                  35845.55,
                  35841.57,
                  35841.4,
                  35843.3,
                  35826.69,
                  35801.76,
                  35801.93,
                  35798.21,
                  35800.81,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35838.5,
                  35917.4,
                  35892.81,
                  35921.67,
                  35947.04,
                  35919.58,
                  35896.04,
                  35885.58
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -0.5372,
                      "test_trade_count": 3,
                      "test_return_percent": -0.1671,
                      "train_return_percent": 7.5649,
                      "test_max_drawdown_percent": 0.3661
                    },
                    {
                      "test_sharpe": 0.0913,
                      "test_trade_count": 4,
                      "test_return_percent": 0.0275,
                      "train_return_percent": 8.0056,
                      "test_max_drawdown_percent": 0.1706
                    },
                    {
                      "test_sharpe": 0.3481,
                      "test_trade_count": 4,
                      "test_return_percent": 0.1257,
                      "train_return_percent": -0.0872,
                      "test_max_drawdown_percent": 0.2416
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 35885.58,
                "profit_factor": 4.957,
                "initial_balance": 33333.33,
                "win_rate_percent": 40,
                "parameter_ranking": [
                  {
                    "score": 9.7366,
                    "sharpe": 0.6473,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 8.9999,
                    "max_drawdown_percent": 1.1158
                  },
                  {
                    "score": 8.7285,
                    "sharpe": 0.5706,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 12,
                    "return_percent": 8.0992,
                    "max_drawdown_percent": 1.0238
                  },
                  {
                    "score": 8.2493,
                    "sharpe": 0.5487,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 22,
                    "return_percent": 7.7417,
                    "max_drawdown_percent": 1.1796
                  },
                  {
                    "score": 8.08,
                    "sharpe": 0.5402,
                    "fast_window": 10,
                    "slow_window": 30,
                    "trade_count": 15,
                    "return_percent": 7.6567,
                    "max_drawdown_percent": 1.3143
                  },
                  {
                    "score": 8.0373,
                    "sharpe": 0.5355,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 10,
                    "return_percent": 7.2938,
                    "max_drawdown_percent": 0.655
                  }
                ],
                "expectancy_percent": 5.1502,
                "max_drawdown_percent": 1.3143,
                "total_return_percent": 7.6567,
                "win_loss_distribution": {
                  "wins": 6,
                  "losses": 9,
                  "breakeven": 0,
                  "avg_win_pct": 16.0297,
                  "avg_loss_pct": -2.1029,
                  "largest_win_pct": 85.024,
                  "largest_loss_pct": -4.8784
                }
              },
              {
                "regime": "bull_trend",
                "sharpe": 0.5313,
                "symbol": "SPY",
                "trades": [
                  {
                    "pnl": -76.7635,
                    "qty": 8.366591,
                    "symbol": "SPY",
                    "pnl_pct": -2.3029,
                    "exit_time": "2022-12-15 16:00:00+00:00",
                    "exit_price": 389.235,
                    "entry_price": 398.41
                  },
                  {
                    "pnl": -67.9882,
                    "qty": 8.606105,
                    "symbol": "SPY",
                    "pnl_pct": -2.0444,
                    "exit_time": "2022-12-22 19:00:00+00:00",
                    "exit_price": 378.53,
                    "entry_price": 386.43
                  },
                  {
                    "pnl": -36.4061,
                    "qty": 8.678455,
                    "symbol": "SPY",
                    "pnl_pct": -1.0969,
                    "exit_time": "2022-12-28 16:00:00+00:00",
                    "exit_price": 378.23,
                    "entry_price": 382.425
                  },
                  {
                    "pnl": -3.459,
                    "qty": 8.647566,
                    "symbol": "SPY",
                    "pnl_pct": -0.1043,
                    "exit_time": "2023-01-04 13:00:00+00:00",
                    "exit_price": 382.97,
                    "entry_price": 383.37
                  },
                  {
                    "pnl": -30.0168,
                    "qty": 8.625515,
                    "symbol": "SPY",
                    "pnl_pct": -0.9055,
                    "exit_time": "2023-01-05 19:00:00+00:00",
                    "exit_price": 380.83,
                    "entry_price": 384.31
                  },
                  {
                    "pnl": 1509.6917,
                    "qty": 8.59244,
                    "symbol": "SPY",
                    "pnl_pct": 45.5843,
                    "exit_time": "2024-08-29 13:00:00+00:00",
                    "exit_price": 561.14,
                    "entry_price": 385.44
                  },
                  {
                    "pnl": -17.908,
                    "qty": 6.164542,
                    "symbol": "SPY",
                    "pnl_pct": -0.5171,
                    "exit_time": "2024-08-30 17:00:00+00:00",
                    "exit_price": 558.83,
                    "entry_price": 561.735
                  },
                  {
                    "pnl": -50.5437,
                    "qty": 6.141402,
                    "symbol": "SPY",
                    "pnl_pct": -1.4604,
                    "exit_time": "2024-09-03 14:00:00+00:00",
                    "exit_price": 555.33,
                    "entry_price": 563.56
                  },
                  {
                    "pnl": 149.1782,
                    "qty": 6.318434,
                    "symbol": "SPY",
                    "pnl_pct": 4.3165,
                    "exit_time": "2024-09-30 18:00:00+00:00",
                    "exit_price": 570.58,
                    "entry_price": 546.97
                  },
                  {
                    "pnl": -22.7011,
                    "qty": 6.053634,
                    "symbol": "SPY",
                    "pnl_pct": -0.654,
                    "exit_time": "2024-10-01 13:00:00+00:00",
                    "exit_price": 569.61,
                    "entry_price": 573.36
                  },
                  {
                    "pnl": -58.2629,
                    "qty": 4.996819,
                    "symbol": "SPY",
                    "pnl_pct": -1.6797,
                    "exit_time": "2026-02-13 15:00:00+00:00",
                    "exit_price": 682.51,
                    "entry_price": 694.17
                  },
                  {
                    "pnl": -32.737,
                    "qty": 5.036456,
                    "symbol": "SPY",
                    "pnl_pct": -0.9454,
                    "exit_time": "2026-02-23 19:00:00+00:00",
                    "exit_price": 681.05,
                    "entry_price": 687.55
                  },
                  {
                    "pnl": -18.1692,
                    "qty": 5.033012,
                    "symbol": "SPY",
                    "pnl_pct": -0.5252,
                    "exit_time": "2026-02-27 13:00:00+00:00",
                    "exit_price": 683.76,
                    "entry_price": 687.37
                  },
                  {
                    "pnl": -47.6952,
                    "qty": 5.036451,
                    "symbol": "SPY",
                    "pnl_pct": -1.3794,
                    "exit_time": "2026-03-05 19:00:00+00:00",
                    "exit_price": 677.07,
                    "entry_price": 686.54
                  },
                  {
                    "pnl": -65.2696,
                    "qty": 5.067517,
                    "symbol": "SPY",
                    "pnl_pct": -1.8903,
                    "exit_time": "2026-03-12 14:00:00+00:00",
                    "exit_price": 668.51,
                    "entry_price": 681.39
                  },
                  {
                    "pnl": 222.3718,
                    "qty": 5.155851,
                    "symbol": "SPY",
                    "pnl_pct": 6.4522,
                    "exit_time": "2026-04-28 13:00:00+00:00",
                    "exit_price": 711.58,
                    "entry_price": 668.45
                  },
                  {
                    "pnl": 40.2037,
                    "qty": 4.867278,
                    "symbol": "SPY",
                    "pnl_pct": 1.1591,
                    "exit_time": "2026-05-04 14:00:00+00:00",
                    "exit_price": 720.91,
                    "entry_price": 712.65
                  },
                  {
                    "pnl": 33.4235,
                    "qty": 4.802232,
                    "symbol": "SPY",
                    "pnl_pct": 0.9625,
                    "exit_time": "2026-05-07 22:00:00+00:00",
                    "exit_price": 730.1,
                    "entry_price": 723.14
                  },
                  {
                    "pnl": -23.5332,
                    "qty": 4.716072,
                    "symbol": "SPY",
                    "pnl_pct": -0.677,
                    "exit_time": "2026-05-12 16:00:00+00:00",
                    "exit_price": 732.07,
                    "entry_price": 737.06
                  },
                  {
                    "pnl": -20.6421,
                    "qty": 4.680746,
                    "symbol": "SPY",
                    "pnl_pct": -0.5942,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 737.71,
                    "entry_price": 742.12
                  }
                ],
                "sortino": 2.9362,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 30499.52,
                  "p90_final_balance": 72541.54,
                  "median_final_balance": 44290.6,
                  "worst_drawdown_percent": 22.21,
                  "risk_of_10pct_drawdown_percent": 31.6,
                  "risk_of_20pct_drawdown_percent": 0.4
                },
                "trade_count": 20,
                "equity_curve": [
                  34526.63,
                  34527.34,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.96,
                  34532.9,
                  34514.91,
                  34507.96,
                  34512.98,
                  34498.94,
                  34511.08,
                  34512.73,
                  34493.22,
                  34503.63,
                  34497.22,
                  34498.56,
                  34503.96,
                  34500.31,
                  34479.23,
                  34465.8,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34476.14,
                  34492.12,
                  34487.69,
                  34477.53,
                  34477.22,
                  34480.94,
                  34676.14,
                  34672.63,
                  34672.37,
                  34676.45,
                  34686.71,
                  34682.17,
                  34678.2,
                  34685.83,
                  34697.95,
                  34697.12,
                  34697.33,
                  34696.71,
                  34699.03,
                  34699.39,
                  34699.08,
                  34700.17,
                  34699.18,
                  34696.55,
                  34696.4,
                  34699.08,
                  34700.68,
                  34696.04,
                  34699.57,
                  34697.17,
                  34696.04,
                  34699.8,
                  34703.67,
                  34703.64,
                  34705.06,
                  34704.44,
                  34704.59,
                  34710.15,
                  34710.78,
                  34702.07,
                  34698.31,
                  34696.97,
                  34681.19,
                  34686.45,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34693.48,
                  34698.43,
                  34679.94,
                  34692.59,
                  34696.15,
                  34694.92,
                  34708.12,
                  34714.5,
                  34714.79,
                  34718.92,
                  34722.67,
                  34720,
                  34721.8,
                  34721.85,
                  34723.21,
                  34723.5,
                  34724.57,
                  34725.84,
                  34742.75,
                  34735.67,
                  34738.9,
                  34731.63,
                  34736.06,
                  34728.12,
                  34725.69,
                  34721.16,
                  34723.55,
                  34723.35,
                  34722.43,
                  34728.32,
                  34729.65,
                  34720.87,
                  34720.24,
                  34722.19,
                  34726.13,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.38,
                  34728.44,
                  34731.04,
                  34732.53,
                  34729.74,
                  34733.82,
                  34735.02,
                  34743.91,
                  34742.8,
                  34753.75,
                  34756.44,
                  34763.83,
                  34759.13,
                  34754.86,
                  34758.12,
                  34770.13,
                  34767.68,
                  34764.53,
                  34770.01,
                  34774.02,
                  34778,
                  34777.86,
                  34774.78,
                  34773.54,
                  34774.21,
                  34782,
                  34781.08,
                  34781.99,
                  34782.79,
                  34785.01,
                  34778.72,
                  34789,
                  34778.91,
                  34769.6,
                  34768.06,
                  34765.28,
                  34767.29,
                  34761.53,
                  34753.27,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34759.48,
                  34759.62,
                  34760.9,
                  34757.08,
                  34762.5,
                  34761.79,
                  34761.65,
                  34762.64,
                  34763.87,
                  34759.29,
                  34759.9,
                  34758.54,
                  34759.81,
                  34756.65,
                  34767.88,
                  34769.62,
                  34770,
                  34775.73,
                  34769.71,
                  34775.75,
                  34768.39,
                  34766.08,
                  34761.51,
                  34751.06,
                  34744.84,
                  34738.82,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34739.23,
                  34737.59,
                  34739.79,
                  34747.89,
                  34747.56,
                  34760.48,
                  34770.17,
                  34763.1,
                  34763.05,
                  34765.72,
                  34764.74,
                  34763.34,
                  34725.14,
                  34722.94,
                  34731.37,
                  34728.18,
                  34731.46,
                  34740.63,
                  34734.41,
                  34722.61,
                  34716.11
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -2.1805,
                      "test_trade_count": 4,
                      "test_return_percent": -0.3742,
                      "train_return_percent": 4.0531,
                      "test_max_drawdown_percent": 0.417
                    },
                    {
                      "test_sharpe": 0.7014,
                      "test_trade_count": 3,
                      "test_return_percent": 0.3164,
                      "train_return_percent": 4.1965,
                      "test_max_drawdown_percent": 0.3305
                    },
                    {
                      "test_sharpe": 0.4637,
                      "test_trade_count": 5,
                      "test_return_percent": 0.0855,
                      "train_return_percent": -0.0497,
                      "test_max_drawdown_percent": 0.2095
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 34716.11,
                "profit_factor": 3.417,
                "initial_balance": 33333.33,
                "win_rate_percent": 25,
                "parameter_ranking": [
                  {
                    "score": 5.4581,
                    "sharpe": 0.5912,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 17,
                    "return_percent": 4.5602,
                    "max_drawdown_percent": 0.5689
                  },
                  {
                    "score": 5.3454,
                    "sharpe": 0.5763,
                    "fast_window": 15,
                    "slow_window": 50,
                    "trade_count": 12,
                    "return_percent": 4.4311,
                    "max_drawdown_percent": 0.4766
                  },
                  {
                    "score": 5.1683,
                    "sharpe": 0.5673,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 28,
                    "return_percent": 4.3623,
                    "max_drawdown_percent": 0.6572
                  },
                  {
                    "score": 5.0042,
                    "sharpe": 0.5536,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 26,
                    "return_percent": 4.2714,
                    "max_drawdown_percent": 0.7488
                  },
                  {
                    "score": 4.9558,
                    "sharpe": 0.5538,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 20,
                    "return_percent": 4.3071,
                    "max_drawdown_percent": 0.9177
                  }
                ],
                "expectancy_percent": 2.0849,
                "max_drawdown_percent": 0.9654,
                "total_return_percent": 4.1483,
                "win_loss_distribution": {
                  "wins": 5,
                  "losses": 15,
                  "breakeven": 0,
                  "avg_win_pct": 11.6949,
                  "avg_loss_pct": -1.1184,
                  "largest_win_pct": 45.5843,
                  "largest_loss_pct": -2.3029
                }
              }
            ],
            "warning": "This backtest uses stored Alpaca market data when available, with synthetic fallback only when stored data is insufficient. It is not proof of live edge. Validate with fees, slippage, paper trading, walk-forward testing, and live micro-size testing before risking capital.",
            "timeframe": "1Hour",
            "symbol_count": 3,
            "final_balance": 107001.78,
            "symbols_tested": [
              "AAPL",
              "MSFT",
              "SPY"
            ],
            "initial_balance": 100000,
            "total_trade_count": 49,
            "validation_verdict": {
              "status": "approved_for_paper",
              "summary": {
                "avg_sharpe": 0.5877,
                "total_trades": 49,
                "avg_profit_factor": 5.1128,
                "max_drawdown_percent": 1.31,
                "avg_walk_forward_pass_rate": 66.67,
                "monte_carlo_risk_20pct_drawdown": 8
              },
              "failed_reasons": [],
              "allowed_to_trade": true
            },
            "total_return_percent": 7.0018,
            "portfolio_profit_factor": 5.0443,
            "portfolio_expectancy_percent": 4.2826,
            "portfolio_win_loss_distribution": {
              "wins": 19,
              "losses": 30,
              "breakeven": 0,
              "avg_win_pct": 13.7132,
              "avg_loss_pct": -1.6901,
              "largest_win_pct": 85.024,
              "largest_loss_pct": -4.8784
            }
          },
          "created_at": "2026-05-28T03:38:45.137086+00:00"
        },
        {
          "id": "366f3afc-0b46-443b-b980-215081142f41",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.274062+00:00"
        },
        {
          "id": "4408ff1d-0e45-4fd9-baee-bf9a2ea7b9fd",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.237563+00:00"
        },
        {
          "id": "1affc3f6-3c46-4fcb-9d0c-1f3dfa059c23",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.201042+00:00"
        },
        {
          "id": "03a68312-322d-45c0-a62b-c30ea1ea5a4f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.161558+00:00"
        },
        {
          "id": "10bee076-cbc1-492e-8eb8-881b85d74ee3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.119670+00:00"
        },
        {
          "id": "02882a80-81f4-40a2-850a-86bda38af73b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:44.012839+00:00"
        },
        {
          "id": "2e2741e3-30fb-4ce9-9617-609ed19c4e18",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.976998+00:00"
        },
        {
          "id": "46200957-6bea-4c0b-90b1-fbd042a77d27",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.931280+00:00"
        },
        {
          "id": "56379490-510a-4e14-8555-26cc4c8eb26f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.893571+00:00"
        },
        {
          "id": "0d508066-2cc6-47b6-9365-b5538aa892c9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.854659+00:00"
        },
        {
          "id": "5e34dac0-1f47-419e-b90b-0aa1fffc86b4",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.819004+00:00"
        },
        {
          "id": "4760dd5f-ada6-4ed2-9ee9-55dc1bdf20fc",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:43.765347+00:00"
        },
        {
          "id": "a93927cd-4733-47b1-8a16-c422d28fef13",
          "action": "backtest_run",
          "entity_type": "backtest",
          "payload": {
            "limit": 10000,
            "results": [
              {
                "regime": "high_volatility",
                "sharpe": 0.6915,
                "symbol": "AAPL",
                "trades": [
                  {
                    "pnl": -131.3907,
                    "qty": 23.071244,
                    "symbol": "AAPL",
                    "pnl_pct": -3.9417,
                    "exit_time": "2022-12-15 15:00:00+00:00",
                    "exit_price": 138.785,
                    "entry_price": 144.48
                  },
                  {
                    "pnl": -78.2174,
                    "qty": 24.519565,
                    "symbol": "AAPL",
                    "pnl_pct": -2.3558,
                    "exit_time": "2022-12-22 20:00:00+00:00",
                    "exit_price": 132.22,
                    "entry_price": 135.41
                  },
                  {
                    "pnl": -82.8061,
                    "qty": 25.71618,
                    "symbol": "AAPL",
                    "pnl_pct": -2.4999,
                    "exit_time": "2023-01-03 15:00:00+00:00",
                    "exit_price": 125.585,
                    "entry_price": 128.805
                  },
                  {
                    "pnl": 2495.7953,
                    "qty": 25.643928,
                    "symbol": "AAPL",
                    "pnl_pct": 75.5365,
                    "exit_time": "2024-09-03 13:00:00+00:00",
                    "exit_price": 226.17,
                    "entry_price": 128.845
                  },
                  {
                    "pnl": -105.0645,
                    "qty": 15.967251,
                    "symbol": "AAPL",
                    "pnl_pct": -2.9565,
                    "exit_time": "2024-09-16 15:00:00+00:00",
                    "exit_price": 215.98,
                    "entry_price": 222.56
                  },
                  {
                    "pnl": 0.1559,
                    "qty": 15.588055,
                    "symbol": "AAPL",
                    "pnl_pct": 0.0044,
                    "exit_time": "2024-09-24 17:00:00+00:00",
                    "exit_price": 227.31,
                    "entry_price": 227.3
                  },
                  {
                    "pnl": 509.1773,
                    "qty": 15.485929,
                    "symbol": "AAPL",
                    "pnl_pct": 14.3706,
                    "exit_time": "2026-02-12 21:00:00+00:00",
                    "exit_price": 261.68,
                    "entry_price": 228.8
                  },
                  {
                    "pnl": -35.3771,
                    "qty": 13.554451,
                    "symbol": "AAPL",
                    "pnl_pct": -0.9843,
                    "exit_time": "2026-02-20 15:00:00+00:00",
                    "exit_price": 262.55,
                    "entry_price": 265.16
                  },
                  {
                    "pnl": 24.156,
                    "qty": 13.457369,
                    "symbol": "AAPL",
                    "pnl_pct": 0.6728,
                    "exit_time": "2026-02-27 16:00:00+00:00",
                    "exit_price": 268.605,
                    "entry_price": 266.81
                  },
                  {
                    "pnl": -81.3099,
                    "qty": 13.758022,
                    "symbol": "AAPL",
                    "pnl_pct": -2.263,
                    "exit_time": "2026-03-12 16:00:00+00:00",
                    "exit_price": 255.245,
                    "entry_price": 261.155
                  },
                  {
                    "pnl": 235.0603,
                    "qty": 14.100795,
                    "symbol": "AAPL",
                    "pnl_pct": 6.5571,
                    "exit_time": "2026-04-24 23:00:00+00:00",
                    "exit_price": 270.9,
                    "entry_price": 254.23
                  },
                  {
                    "pnl": 2.2727,
                    "qty": 13.368968,
                    "symbol": "AAPL",
                    "pnl_pct": 0.063,
                    "exit_time": "2026-04-29 18:00:00+00:00",
                    "exit_price": 270.075,
                    "entry_price": 269.905
                  },
                  {
                    "pnl": 101.1263,
                    "qty": 13.3765,
                    "symbol": "AAPL",
                    "pnl_pct": 2.8024,
                    "exit_time": "2026-05-04 14:00:00+00:00",
                    "exit_price": 277.33,
                    "entry_price": 269.77
                  },
                  {
                    "pnl": 213.1798,
                    "qty": 12.772903,
                    "symbol": "AAPL",
                    "pnl_pct": 5.8911,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 300,
                    "entry_price": 283.31
                  }
                ],
                "sortino": 3.8576,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 33819.73,
                  "p90_final_balance": 138658.82,
                  "median_final_balance": 62974.76,
                  "worst_drawdown_percent": 23.2,
                  "risk_of_10pct_drawdown_percent": 29.4,
                  "risk_of_20pct_drawdown_percent": 1.2
                },
                "trade_count": 14,
                "equity_curve": [
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35929.76,
                  35945.93,
                  35932.03,
                  35924.19,
                  35929.97,
                  35923.36,
                  35923.85,
                  35924.19,
                  35921.03,
                  35916.35,
                  35925.02,
                  35852.85,
                  35844.39,
                  35846.73,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35848.45,
                  35836.25,
                  35823.78,
                  35813.62,
                  35802.98,
                  35807.84,
                  36126.52,
                  36137.1,
                  36123.14,
                  36126.24,
                  36118.91,
                  36113.12,
                  36112.98,
                  36126.03,
                  36119.33,
                  36099.02,
                  36100.72,
                  36103.96,
                  36107.48,
                  36097.05,
                  36098.74,
                  36103.46,
                  36113.83,
                  36106.07,
                  36094.37,
                  36091.34,
                  36085.38,
                  36077.52,
                  36068.08,
                  36072.37,
                  36085.77,
                  36083.09,
                  36082.67,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36083.51,
                  36099.89,
                  36079.97,
                  36083.98,
                  36091.67,
                  36085.59,
                  36094.94,
                  36085.45,
                  36078.9,
                  36078.5,
                  36078.1,
                  36078.5,
                  36077.16,
                  36074.76,
                  36063.26,
                  36061.25,
                  36075.02,
                  36075.56,
                  36066.47,
                  36097.48,
                  36087.06,
                  36085.79,
                  36085.79,
                  36085.79,
                  36085.79,
                  36092.21,
                  36101.57,
                  36099.03,
                  36106.25,
                  36100.5,
                  36108.26,
                  36110.13,
                  36096.89,
                  36100.37,
                  36114.54,
                  36115.01,
                  36137.15,
                  36130.26,
                  36104.98,
                  36090.87,
                  36239.87,
                  36199.75,
                  36174.47,
                  36206.31,
                  36219.15,
                  36214.33,
                  36239.18,
                  36223.3,
                  36275.46,
                  36257.54,
                  36286.17,
                  36264.32,
                  36242.36,
                  36228.65,
                  36224.63,
                  36220.35,
                  36220.62,
                  36220.62,
                  36223.56,
                  36213.53,
                  36213.26,
                  36207.64,
                  36207.71,
                  36214.46,
                  36161.76,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36186.91,
                  36192.08,
                  36198.41,
                  36186.4,
                  36178.86,
                  36179.63,
                  36175.29,
                  36176.31,
                  36172.73,
                  36185.12,
                  36173.24,
                  36170.18,
                  36222.8,
                  36206.84,
                  36216.1,
                  36224.21,
                  36242.52,
                  36237.89,
                  36241.07,
                  36240.56,
                  36237.88,
                  36242.6,
                  36240.3,
                  36236.6,
                  36230.98,
                  36232.38,
                  36253.08,
                  36257.67,
                  36285.77,
                  36284.87,
                  36263.67,
                  36254.86,
                  36260.99,
                  36239.41,
                  36239.92,
                  36232.89,
                  36234.04,
                  36243.24,
                  36246.56,
                  36248.09,
                  36249.26,
                  36261.44,
                  36282.6,
                  36277.23,
                  36322.69,
                  36317.71,
                  36301.93,
                  36299.7,
                  36299.63,
                  36309.21,
                  36313.49,
                  36309.53,
                  36313.62,
                  36316.3,
                  36321.66,
                  36298.8,
                  36312.72,
                  36317.83,
                  36321.54,
                  36306.9,
                  36293.05,
                  36301.36,
                  36311.7,
                  36303.21,
                  36289.99,
                  36305.44,
                  36292.67,
                  36323.96,
                  36333.93,
                  36328.56,
                  36322.05,
                  36327.16,
                  36329.2,
                  36332.65,
                  36327.03,
                  36341.72,
                  36355.26,
                  36361.2,
                  36388.98,
                  36402.26,
                  36392.43,
                  36386.68,
                  36390.51,
                  36366.75,
                  36382.34,
                  36389.11,
                  36369.56,
                  36376.97,
                  36382.02,
                  36377.74,
                  36377.48,
                  36338.14,
                  36375.95,
                  36412.35,
                  36413.06,
                  36425.64,
                  36428.57,
                  36421.42,
                  36402.52,
                  36400.09
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -0.594,
                      "test_trade_count": 3,
                      "test_return_percent": -0.1818,
                      "train_return_percent": 7.8418,
                      "test_max_drawdown_percent": 0.4622
                    },
                    {
                      "test_sharpe": 0.6468,
                      "test_trade_count": 3,
                      "test_return_percent": 0.4378,
                      "train_return_percent": 8.0414,
                      "test_max_drawdown_percent": 0.3977
                    },
                    {
                      "test_sharpe": 1.5926,
                      "test_trade_count": 3,
                      "test_return_percent": 0.8914,
                      "train_return_percent": 1.8393,
                      "test_max_drawdown_percent": 0.3428
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 36400.09,
                "profit_factor": 6.9645,
                "initial_balance": 33333.33,
                "win_rate_percent": 57.14,
                "parameter_ranking": [
                  {
                    "score": 10.4098,
                    "sharpe": 0.7252,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 9.5171,
                    "max_drawdown_percent": 1.1154
                  },
                  {
                    "score": 9.997,
                    "sharpe": 0.71,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 10,
                    "return_percent": 9.2648,
                    "max_drawdown_percent": 1.3755
                  },
                  {
                    "score": 9.971,
                    "sharpe": 0.6915,
                    "fast_window": 10,
                    "slow_window": 30,
                    "trade_count": 14,
                    "return_percent": 9.2003,
                    "max_drawdown_percent": 1.2247
                  },
                  {
                    "score": 9.9487,
                    "sharpe": 0.708,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 9.3163,
                    "max_drawdown_percent": 1.5673
                  },
                  {
                    "score": 9.5694,
                    "sharpe": 0.6658,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 15,
                    "return_percent": 8.8897,
                    "max_drawdown_percent": 1.3039
                  }
                ],
                "expectancy_percent": 6.4926,
                "max_drawdown_percent": 1.2247,
                "total_return_percent": 9.2003,
                "win_loss_distribution": {
                  "wins": 8,
                  "losses": 6,
                  "breakeven": 0,
                  "avg_win_pct": 13.2372,
                  "avg_loss_pct": -2.5002,
                  "largest_win_pct": 75.5365,
                  "largest_loss_pct": -3.9417
                }
              },
              {
                "regime": "high_volatility",
                "sharpe": 0.5402,
                "symbol": "MSFT",
                "trades": [
                  {
                    "pnl": -131.1791,
                    "qty": 12.822979,
                    "symbol": "MSFT",
                    "pnl_pct": -3.9354,
                    "exit_time": "2022-12-15 19:00:00+00:00",
                    "exit_price": 249.72,
                    "entry_price": 259.95
                  },
                  {
                    "pnl": -121.8889,
                    "qty": 13.588505,
                    "symbol": "MSFT",
                    "pnl_pct": -3.6711,
                    "exit_time": "2022-12-22 17:00:00+00:00",
                    "exit_price": 235.37,
                    "entry_price": 244.34
                  },
                  {
                    "pnl": -161.3789,
                    "qty": 13.740219,
                    "symbol": "MSFT",
                    "pnl_pct": -4.8784,
                    "exit_time": "2023-01-04 14:00:00+00:00",
                    "exit_price": 229.01,
                    "entry_price": 240.755
                  },
                  {
                    "pnl": 2798.8952,
                    "qty": 14.493412,
                    "symbol": "MSFT",
                    "pnl_pct": 85.024,
                    "exit_time": "2024-08-29 14:00:00+00:00",
                    "exit_price": 420.245,
                    "entry_price": 227.13
                  },
                  {
                    "pnl": -71.7098,
                    "qty": 8.516603,
                    "symbol": "MSFT",
                    "pnl_pct": -2.0077,
                    "exit_time": "2024-09-03 17:00:00+00:00",
                    "exit_price": 410.97,
                    "entry_price": 419.39
                  },
                  {
                    "pnl": 208.9102,
                    "qty": 8.697346,
                    "symbol": "MSFT",
                    "pnl_pct": 5.8607,
                    "exit_time": "2024-09-23 17:00:00+00:00",
                    "exit_price": 433.87,
                    "entry_price": 409.85
                  },
                  {
                    "pnl": -16.7673,
                    "qty": 8.990492,
                    "symbol": "MSFT",
                    "pnl_pct": -0.4676,
                    "exit_time": "2026-02-19 19:00:00+00:00",
                    "exit_price": 396.945,
                    "entry_price": 398.81
                  },
                  {
                    "pnl": -58.0301,
                    "qty": 8.976047,
                    "symbol": "MSFT",
                    "pnl_pct": -1.6192,
                    "exit_time": "2026-02-27 20:00:00+00:00",
                    "exit_price": 392.8,
                    "entry_price": 399.265
                  },
                  {
                    "pnl": 14.8691,
                    "qty": 8.824373,
                    "symbol": "MSFT",
                    "pnl_pct": 0.4156,
                    "exit_time": "2026-03-09 16:00:00+00:00",
                    "exit_price": 407.155,
                    "entry_price": 405.47
                  },
                  {
                    "pnl": -19.1434,
                    "qty": 9.008671,
                    "symbol": "MSFT",
                    "pnl_pct": -0.5348,
                    "exit_time": "2026-03-18 14:00:00+00:00",
                    "exit_price": 395.215,
                    "entry_price": 397.34
                  },
                  {
                    "pnl": 64.4858,
                    "qty": 8.552487,
                    "symbol": "MSFT",
                    "pnl_pct": 1.8025,
                    "exit_time": "2026-04-28 14:00:00+00:00",
                    "exit_price": 425.85,
                    "entry_price": 418.31
                  },
                  {
                    "pnl": -22.5885,
                    "qty": 8.380082,
                    "symbol": "MSFT",
                    "pnl_pct": -0.6303,
                    "exit_time": "2026-04-29 18:00:00+00:00",
                    "exit_price": 424.99,
                    "entry_price": 427.6855
                  },
                  {
                    "pnl": -42.3132,
                    "qty": 8.626536,
                    "symbol": "MSFT",
                    "pnl_pct": -1.1813,
                    "exit_time": "2026-05-05 14:00:00+00:00",
                    "exit_price": 410.3,
                    "entry_price": 415.205
                  },
                  {
                    "pnl": 21.2473,
                    "qty": 8.654699,
                    "symbol": "MSFT",
                    "pnl_pct": 0.5939,
                    "exit_time": "2026-05-08 17:00:00+00:00",
                    "exit_price": 415.82,
                    "entry_price": 413.365
                  },
                  {
                    "pnl": 88.8358,
                    "qty": 8.717942,
                    "symbol": "MSFT",
                    "pnl_pct": 2.4817,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 420.8,
                    "entry_price": 410.61
                  }
                ],
                "sortino": 3.0687,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 28685,
                  "p90_final_balance": 120700.16,
                  "median_final_balance": 55529.05,
                  "worst_drawdown_percent": 30.91,
                  "risk_of_10pct_drawdown_percent": 51.2,
                  "risk_of_20pct_drawdown_percent": 7
                },
                "trade_count": 15,
                "equity_curve": [
                  35776.04,
                  35780.8,
                  35765.45,
                  35828.1,
                  35794.13,
                  35824.66,
                  35809.31,
                  35803.88,
                  35816.81,
                  35825.98,
                  35784.24,
                  35825.37,
                  35830.62,
                  35837.28,
                  35818.22,
                  35818.31,
                  35823.91,
                  35808.86,
                  35807.98,
                  35775.95,
                  35780.01,
                  35798.36,
                  35804.63,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35795.05,
                  35800.28,
                  35775.91,
                  35775.91,
                  35775.91,
                  35782.67,
                  35796.78,
                  35783.52,
                  35786.69,
                  35776,
                  35787.5,
                  35788.4,
                  35797.51,
                  35810.89,
                  35829.96,
                  35828,
                  35824.57,
                  35823.71,
                  35823.55,
                  35825.21,
                  35824.49,
                  35825.51,
                  35814.48,
                  35816.19,
                  35790.28,
                  35822.39,
                  35810.46,
                  35827.95,
                  35839.2,
                  35840.78,
                  35833.64,
                  35832.27,
                  35828.94,
                  35835.69,
                  35837.14,
                  35820.38,
                  35812.09,
                  35804.22,
                  35797.21,
                  35792.59,
                  35847.49,
                  35840.4,
                  35840.4,
                  35847.43,
                  35841.9,
                  35840.05,
                  35854.43,
                  35840.52,
                  35843.37,
                  35843.45,
                  35843.03,
                  35845.96,
                  35833.65,
                  35838.93,
                  35836.66,
                  35837.25,
                  35822.46,
                  35820.66,
                  35812.32,
                  35796.44,
                  35804.06,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35817.81,
                  35815.18,
                  35811.81,
                  35795.94,
                  35797.75,
                  35800.34,
                  35800.87,
                  35802.84,
                  35803.1,
                  35795.08,
                  35795.25,
                  35797.06,
                  35823.8,
                  35835.92,
                  35815.82,
                  35807.76,
                  35812.07,
                  35802.02,
                  35804.82,
                  35797.06,
                  35800.94,
                  35798.35,
                  35796.2,
                  35827.77,
                  35820.7,
                  35819.06,
                  35819.49,
                  35821.91,
                  35777.65,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35775.49,
                  35778.91,
                  35777.53,
                  35779.61,
                  35775.49,
                  35776.58,
                  35784.97,
                  35784.97,
                  35784.02,
                  35811.54,
                  35826.34,
                  35869.44,
                  35883.42,
                  35879.65,
                  35843.91,
                  35849.62,
                  35858.45,
                  35841.49,
                  35832.92,
                  35813.88,
                  35820.63,
                  35840.71,
                  35845.55,
                  35841.57,
                  35841.4,
                  35843.3,
                  35826.69,
                  35801.76,
                  35801.93,
                  35798.21,
                  35800.81,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35796.74,
                  35838.5,
                  35917.4,
                  35892.81,
                  35921.67,
                  35947.04,
                  35919.58,
                  35896.04,
                  35885.58
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -0.5372,
                      "test_trade_count": 3,
                      "test_return_percent": -0.1671,
                      "train_return_percent": 7.5649,
                      "test_max_drawdown_percent": 0.3661
                    },
                    {
                      "test_sharpe": 0.0913,
                      "test_trade_count": 4,
                      "test_return_percent": 0.0275,
                      "train_return_percent": 8.0056,
                      "test_max_drawdown_percent": 0.1706
                    },
                    {
                      "test_sharpe": 0.3481,
                      "test_trade_count": 4,
                      "test_return_percent": 0.1257,
                      "train_return_percent": -0.0872,
                      "test_max_drawdown_percent": 0.2416
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 35885.58,
                "profit_factor": 4.957,
                "initial_balance": 33333.33,
                "win_rate_percent": 40,
                "parameter_ranking": [
                  {
                    "score": 9.7366,
                    "sharpe": 0.6473,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 21,
                    "return_percent": 8.9999,
                    "max_drawdown_percent": 1.1158
                  },
                  {
                    "score": 8.7285,
                    "sharpe": 0.5706,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 12,
                    "return_percent": 8.0992,
                    "max_drawdown_percent": 1.0238
                  },
                  {
                    "score": 8.2493,
                    "sharpe": 0.5487,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 22,
                    "return_percent": 7.7417,
                    "max_drawdown_percent": 1.1796
                  },
                  {
                    "score": 8.08,
                    "sharpe": 0.5402,
                    "fast_window": 10,
                    "slow_window": 30,
                    "trade_count": 15,
                    "return_percent": 7.6567,
                    "max_drawdown_percent": 1.3143
                  },
                  {
                    "score": 8.0373,
                    "sharpe": 0.5355,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 10,
                    "return_percent": 7.2938,
                    "max_drawdown_percent": 0.655
                  }
                ],
                "expectancy_percent": 5.1502,
                "max_drawdown_percent": 1.3143,
                "total_return_percent": 7.6567,
                "win_loss_distribution": {
                  "wins": 6,
                  "losses": 9,
                  "breakeven": 0,
                  "avg_win_pct": 16.0297,
                  "avg_loss_pct": -2.1029,
                  "largest_win_pct": 85.024,
                  "largest_loss_pct": -4.8784
                }
              },
              {
                "regime": "bull_trend",
                "sharpe": 0.5313,
                "symbol": "SPY",
                "trades": [
                  {
                    "pnl": -76.7635,
                    "qty": 8.366591,
                    "symbol": "SPY",
                    "pnl_pct": -2.3029,
                    "exit_time": "2022-12-15 16:00:00+00:00",
                    "exit_price": 389.235,
                    "entry_price": 398.41
                  },
                  {
                    "pnl": -67.9882,
                    "qty": 8.606105,
                    "symbol": "SPY",
                    "pnl_pct": -2.0444,
                    "exit_time": "2022-12-22 19:00:00+00:00",
                    "exit_price": 378.53,
                    "entry_price": 386.43
                  },
                  {
                    "pnl": -36.4061,
                    "qty": 8.678455,
                    "symbol": "SPY",
                    "pnl_pct": -1.0969,
                    "exit_time": "2022-12-28 16:00:00+00:00",
                    "exit_price": 378.23,
                    "entry_price": 382.425
                  },
                  {
                    "pnl": -3.459,
                    "qty": 8.647566,
                    "symbol": "SPY",
                    "pnl_pct": -0.1043,
                    "exit_time": "2023-01-04 13:00:00+00:00",
                    "exit_price": 382.97,
                    "entry_price": 383.37
                  },
                  {
                    "pnl": -30.0168,
                    "qty": 8.625515,
                    "symbol": "SPY",
                    "pnl_pct": -0.9055,
                    "exit_time": "2023-01-05 19:00:00+00:00",
                    "exit_price": 380.83,
                    "entry_price": 384.31
                  },
                  {
                    "pnl": 1509.6917,
                    "qty": 8.59244,
                    "symbol": "SPY",
                    "pnl_pct": 45.5843,
                    "exit_time": "2024-08-29 13:00:00+00:00",
                    "exit_price": 561.14,
                    "entry_price": 385.44
                  },
                  {
                    "pnl": -17.908,
                    "qty": 6.164542,
                    "symbol": "SPY",
                    "pnl_pct": -0.5171,
                    "exit_time": "2024-08-30 17:00:00+00:00",
                    "exit_price": 558.83,
                    "entry_price": 561.735
                  },
                  {
                    "pnl": -50.5437,
                    "qty": 6.141402,
                    "symbol": "SPY",
                    "pnl_pct": -1.4604,
                    "exit_time": "2024-09-03 14:00:00+00:00",
                    "exit_price": 555.33,
                    "entry_price": 563.56
                  },
                  {
                    "pnl": 149.1782,
                    "qty": 6.318434,
                    "symbol": "SPY",
                    "pnl_pct": 4.3165,
                    "exit_time": "2024-09-30 18:00:00+00:00",
                    "exit_price": 570.58,
                    "entry_price": 546.97
                  },
                  {
                    "pnl": -22.7011,
                    "qty": 6.053634,
                    "symbol": "SPY",
                    "pnl_pct": -0.654,
                    "exit_time": "2024-10-01 13:00:00+00:00",
                    "exit_price": 569.61,
                    "entry_price": 573.36
                  },
                  {
                    "pnl": -58.2629,
                    "qty": 4.996819,
                    "symbol": "SPY",
                    "pnl_pct": -1.6797,
                    "exit_time": "2026-02-13 15:00:00+00:00",
                    "exit_price": 682.51,
                    "entry_price": 694.17
                  },
                  {
                    "pnl": -32.737,
                    "qty": 5.036456,
                    "symbol": "SPY",
                    "pnl_pct": -0.9454,
                    "exit_time": "2026-02-23 19:00:00+00:00",
                    "exit_price": 681.05,
                    "entry_price": 687.55
                  },
                  {
                    "pnl": -18.1692,
                    "qty": 5.033012,
                    "symbol": "SPY",
                    "pnl_pct": -0.5252,
                    "exit_time": "2026-02-27 13:00:00+00:00",
                    "exit_price": 683.76,
                    "entry_price": 687.37
                  },
                  {
                    "pnl": -47.6952,
                    "qty": 5.036451,
                    "symbol": "SPY",
                    "pnl_pct": -1.3794,
                    "exit_time": "2026-03-05 19:00:00+00:00",
                    "exit_price": 677.07,
                    "entry_price": 686.54
                  },
                  {
                    "pnl": -65.2696,
                    "qty": 5.067517,
                    "symbol": "SPY",
                    "pnl_pct": -1.8903,
                    "exit_time": "2026-03-12 14:00:00+00:00",
                    "exit_price": 668.51,
                    "entry_price": 681.39
                  },
                  {
                    "pnl": 222.3718,
                    "qty": 5.155851,
                    "symbol": "SPY",
                    "pnl_pct": 6.4522,
                    "exit_time": "2026-04-28 13:00:00+00:00",
                    "exit_price": 711.58,
                    "entry_price": 668.45
                  },
                  {
                    "pnl": 40.2037,
                    "qty": 4.867278,
                    "symbol": "SPY",
                    "pnl_pct": 1.1591,
                    "exit_time": "2026-05-04 14:00:00+00:00",
                    "exit_price": 720.91,
                    "entry_price": 712.65
                  },
                  {
                    "pnl": 33.4235,
                    "qty": 4.802232,
                    "symbol": "SPY",
                    "pnl_pct": 0.9625,
                    "exit_time": "2026-05-07 22:00:00+00:00",
                    "exit_price": 730.1,
                    "entry_price": 723.14
                  },
                  {
                    "pnl": -23.5332,
                    "qty": 4.716072,
                    "symbol": "SPY",
                    "pnl_pct": -0.677,
                    "exit_time": "2026-05-12 16:00:00+00:00",
                    "exit_price": 732.07,
                    "entry_price": 737.06
                  },
                  {
                    "pnl": -20.6421,
                    "qty": 4.680746,
                    "symbol": "SPY",
                    "pnl_pct": -0.5942,
                    "exit_time": "2026-05-15 20:00:00+00:00",
                    "exit_price": 737.71,
                    "entry_price": 742.12
                  }
                ],
                "sortino": 2.9362,
                "strategy": "momentum_ma_cross",
                "data_source": "stored_market_data_or_synthetic_fallback",
                "monte_carlo": {
                  "runs": 500,
                  "status": "ok",
                  "p10_final_balance": 29695.69,
                  "p90_final_balance": 78247.23,
                  "median_final_balance": 44548.68,
                  "worst_drawdown_percent": 21.76,
                  "risk_of_10pct_drawdown_percent": 33.8,
                  "risk_of_20pct_drawdown_percent": 0.8
                },
                "trade_count": 20,
                "equity_curve": [
                  34526.63,
                  34527.34,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.55,
                  34529.96,
                  34532.9,
                  34514.91,
                  34507.96,
                  34512.98,
                  34498.94,
                  34511.08,
                  34512.73,
                  34493.22,
                  34503.63,
                  34497.22,
                  34498.56,
                  34503.96,
                  34500.31,
                  34479.23,
                  34465.8,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34464.28,
                  34476.14,
                  34492.12,
                  34487.69,
                  34477.53,
                  34477.22,
                  34480.94,
                  34676.14,
                  34672.63,
                  34672.37,
                  34676.45,
                  34686.71,
                  34682.17,
                  34678.2,
                  34685.83,
                  34697.95,
                  34697.12,
                  34697.33,
                  34696.71,
                  34699.03,
                  34699.39,
                  34699.08,
                  34700.17,
                  34699.18,
                  34696.55,
                  34696.4,
                  34699.08,
                  34700.68,
                  34696.04,
                  34699.57,
                  34697.17,
                  34696.04,
                  34699.8,
                  34703.67,
                  34703.64,
                  34705.06,
                  34704.44,
                  34704.59,
                  34710.15,
                  34710.78,
                  34702.07,
                  34698.31,
                  34696.97,
                  34681.19,
                  34686.45,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34686.65,
                  34693.48,
                  34698.43,
                  34679.94,
                  34692.59,
                  34696.15,
                  34694.92,
                  34708.12,
                  34714.5,
                  34714.79,
                  34718.92,
                  34722.67,
                  34720,
                  34721.8,
                  34721.85,
                  34723.21,
                  34723.5,
                  34724.57,
                  34725.84,
                  34742.75,
                  34735.67,
                  34738.9,
                  34731.63,
                  34736.06,
                  34728.12,
                  34725.69,
                  34721.16,
                  34723.55,
                  34723.35,
                  34722.43,
                  34728.32,
                  34729.65,
                  34720.87,
                  34720.24,
                  34722.19,
                  34726.13,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.86,
                  34726.38,
                  34728.44,
                  34731.04,
                  34732.53,
                  34729.74,
                  34733.82,
                  34735.02,
                  34743.91,
                  34742.8,
                  34753.75,
                  34756.44,
                  34763.83,
                  34759.13,
                  34754.86,
                  34758.12,
                  34770.13,
                  34767.68,
                  34764.53,
                  34770.01,
                  34774.02,
                  34778,
                  34777.86,
                  34774.78,
                  34773.54,
                  34774.21,
                  34782,
                  34781.08,
                  34781.99,
                  34782.79,
                  34785.01,
                  34778.72,
                  34789,
                  34778.91,
                  34769.6,
                  34768.06,
                  34765.28,
                  34767.29,
                  34761.53,
                  34753.27,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34760.28,
                  34759.48,
                  34759.62,
                  34760.9,
                  34757.08,
                  34762.5,
                  34761.79,
                  34761.65,
                  34762.64,
                  34763.87,
                  34759.29,
                  34759.9,
                  34758.54,
                  34759.81,
                  34756.65,
                  34767.88,
                  34769.62,
                  34770,
                  34775.73,
                  34769.71,
                  34775.75,
                  34768.39,
                  34766.08,
                  34761.51,
                  34751.06,
                  34744.84,
                  34738.82,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34736.75,
                  34739.23,
                  34737.59,
                  34739.79,
                  34747.89,
                  34747.56,
                  34760.48,
                  34770.17,
                  34763.1,
                  34763.05,
                  34765.72,
                  34764.74,
                  34763.34,
                  34725.14,
                  34722.94,
                  34731.37,
                  34728.18,
                  34731.46,
                  34740.63,
                  34734.41,
                  34722.61,
                  34716.11
                ],
                "walk_forward": {
                  "status": "pass",
                  "windows": [
                    {
                      "test_sharpe": -2.1805,
                      "test_trade_count": 4,
                      "test_return_percent": -0.3742,
                      "train_return_percent": 4.0531,
                      "test_max_drawdown_percent": 0.417
                    },
                    {
                      "test_sharpe": 0.7014,
                      "test_trade_count": 3,
                      "test_return_percent": 0.3164,
                      "train_return_percent": 4.1965,
                      "test_max_drawdown_percent": 0.3305
                    },
                    {
                      "test_sharpe": 0.4637,
                      "test_trade_count": 5,
                      "test_return_percent": 0.0855,
                      "train_return_percent": -0.0497,
                      "test_max_drawdown_percent": 0.2095
                    }
                  ],
                  "pass_rate_percent": 66.67
                },
                "final_balance": 34716.11,
                "profit_factor": 3.417,
                "initial_balance": 33333.33,
                "win_rate_percent": 25,
                "parameter_ranking": [
                  {
                    "score": 5.4581,
                    "sharpe": 0.5912,
                    "fast_window": 5,
                    "slow_window": 50,
                    "trade_count": 17,
                    "return_percent": 4.5602,
                    "max_drawdown_percent": 0.5689
                  },
                  {
                    "score": 5.3454,
                    "sharpe": 0.5763,
                    "fast_window": 15,
                    "slow_window": 50,
                    "trade_count": 12,
                    "return_percent": 4.4311,
                    "max_drawdown_percent": 0.4766
                  },
                  {
                    "score": 5.1683,
                    "sharpe": 0.5673,
                    "fast_window": 15,
                    "slow_window": 20,
                    "trade_count": 28,
                    "return_percent": 4.3623,
                    "max_drawdown_percent": 0.6572
                  },
                  {
                    "score": 5.0042,
                    "sharpe": 0.5536,
                    "fast_window": 10,
                    "slow_window": 20,
                    "trade_count": 26,
                    "return_percent": 4.2714,
                    "max_drawdown_percent": 0.7488
                  },
                  {
                    "score": 4.9558,
                    "sharpe": 0.5538,
                    "fast_window": 15,
                    "slow_window": 30,
                    "trade_count": 20,
                    "return_percent": 4.3071,
                    "max_drawdown_percent": 0.9177
                  }
                ],
                "expectancy_percent": 2.0849,
                "max_drawdown_percent": 0.9654,
                "total_return_percent": 4.1483,
                "win_loss_distribution": {
                  "wins": 5,
                  "losses": 15,
                  "breakeven": 0,
                  "avg_win_pct": 11.6949,
                  "avg_loss_pct": -1.1184,
                  "largest_win_pct": 45.5843,
                  "largest_loss_pct": -2.3029
                }
              }
            ],
            "warning": "This backtest uses stored Alpaca market data when available, with synthetic fallback only when stored data is insufficient. It is not proof of live edge. Validate with fees, slippage, paper trading, walk-forward testing, and live micro-size testing before risking capital.",
            "timeframe": "1Hour",
            "symbol_count": 3,
            "final_balance": 107001.78,
            "symbols_tested": [
              "AAPL",
              "MSFT",
              "SPY"
            ],
            "initial_balance": 100000,
            "total_trade_count": 49,
            "validation_verdict": {
              "status": "approved_for_paper",
              "summary": {
                "avg_sharpe": 0.5877,
                "total_trades": 49,
                "avg_profit_factor": 5.1128,
                "max_drawdown_percent": 1.31,
                "avg_walk_forward_pass_rate": 66.67,
                "monte_carlo_risk_20pct_drawdown": 7
              },
              "failed_reasons": [],
              "allowed_to_trade": true
            },
            "total_return_percent": 7.0018,
            "portfolio_profit_factor": 5.0443,
            "portfolio_expectancy_percent": 4.2826,
            "portfolio_win_loss_distribution": {
              "wins": 19,
              "losses": 30,
              "breakeven": 0,
              "avg_win_pct": 13.7132,
              "avg_loss_pct": -1.6901,
              "largest_win_pct": 85.024,
              "largest_loss_pct": -4.8784
            }
          },
          "created_at": "2026-05-28T03:38:42.317058+00:00"
        },
        {
          "id": "758aaa0e-1fff-4c7a-a405-1a0b6c3bf496",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.384353+00:00"
        },
        {
          "id": "941c55c2-41a8-4d71-841f-2f7bf38695bb",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.339504+00:00"
        },
        {
          "id": "da9309b4-2a6a-4af4-9a29-cd5532409043",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.266323+00:00"
        },
        {
          "id": "925d1c99-5cbe-4ebf-8885-8c0115e0e728",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.220673+00:00"
        },
        {
          "id": "c4833dbb-df66-4e96-a988-a543d980c7bc",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.178394+00:00"
        },
        {
          "id": "3c519c06-55ba-47fa-bebd-d3b5dcc5d33a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:41.140780+00:00"
        },
        {
          "id": "608816dd-d19a-444b-b5a4-42befd4f1f34",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.989384+00:00"
        },
        {
          "id": "778d7fe8-7643-4e83-82d3-dafcb0f41050",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.951058+00:00"
        },
        {
          "id": "b936fd1c-a2af-410d-a82d-e42d387ad277",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.914165+00:00"
        },
        {
          "id": "7817c512-f878-4f96-b3ac-9d9b911eb5d8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.875748+00:00"
        },
        {
          "id": "e3741b1a-ece6-41f7-a180-033a28e7519b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.751258+00:00"
        },
        {
          "id": "d5177e03-fe91-4dae-ab0f-c8f1a3afa244",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:40.707092+00:00"
        },
        {
          "id": "04b3e3ad-9ec4-4bbf-a0de-35276db6c12c",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.879609+00:00"
        },
        {
          "id": "95cd510a-0bc4-4b83-99a2-c746640a9443",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.832794+00:00"
        },
        {
          "id": "4cbf2034-3fd3-4648-947d-59dc2967ff62",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.793199+00:00"
        },
        {
          "id": "fef40736-30b1-47a4-921f-381b9caec8c2",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.748608+00:00"
        },
        {
          "id": "d3cb88d9-4e90-4fdb-aebd-b79644b3b4bb",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.707453+00:00"
        },
        {
          "id": "5f9c660c-c908-4b8f-a52e-6ebdf3b73ec7",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:38:30.657369+00:00"
        },
        {
          "id": "205deaca-535c-4444-bd32-a7efc44243d6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.928617+00:00"
        },
        {
          "id": "ac684138-40d4-4736-b3f7-d664634cffd3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.893238+00:00"
        },
        {
          "id": "90f824a8-b3be-4ec5-922c-77a5d2e38b7c",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.852153+00:00"
        },
        {
          "id": "b62dde3f-56ec-4138-8172-2802841cf60d",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.816153+00:00"
        },
        {
          "id": "e2217250-cf23-430d-8188-8fa911107d58",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.774208+00:00"
        },
        {
          "id": "b43e2d9c-9161-4806-95f1-fdbcfbe756d9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T03:37:38.734024+00:00"
        },
        {
          "id": "ef99f1c6-9dd8-4d8d-a962-94ba02559e3f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.258939+00:00"
        },
        {
          "id": "98be1b06-9ebf-486c-a80f-ee7916b06d37",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.219026+00:00"
        },
        {
          "id": "221b8be5-66aa-439f-8ea2-5ed8ffc68548",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.175112+00:00"
        },
        {
          "id": "90bf5d95-085d-4560-afdd-2edab8292e84",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.126238+00:00"
        },
        {
          "id": "e1c409ab-f0b1-4549-b76b-74b92c77762d",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.074033+00:00"
        },
        {
          "id": "aad99b93-52dc-4206-b983-977f55ea7ce5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:44:36.031352+00:00"
        },
        {
          "id": "7fb9924a-78fb-451f-a38b-37abde449280",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.345236+00:00"
        },
        {
          "id": "1235a9fa-7c0b-4e2b-bc35-de61d3eceff1",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.289103+00:00"
        },
        {
          "id": "bf6732b9-2bf8-4fbc-9ca6-a5cda1a41d35",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.244288+00:00"
        },
        {
          "id": "80b1344d-c18c-4565-ab21-a08a8bac50f5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.203190+00:00"
        },
        {
          "id": "e9eab020-212e-4396-89b7-91bc70c38892",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.164831+00:00"
        },
        {
          "id": "02200b29-4057-45f9-9812-df87b8a0b0bf",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:43:36.122868+00:00"
        },
        {
          "id": "562b1309-cd4f-456c-8e89-cca4a829e5d9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.593579+00:00"
        },
        {
          "id": "ea0bb9ce-8a41-403e-a758-a1129ae70ea2",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.554966+00:00"
        },
        {
          "id": "0c6eeb1f-14de-45ab-9ad4-d1af52f247f5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.518660+00:00"
        },
        {
          "id": "ef985a31-98cf-472b-8d4f-f94a06a63262",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.479518+00:00"
        },
        {
          "id": "c678c2b7-e8ce-4889-bc06-9714659eb6f3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.303106+00:00"
        },
        {
          "id": "1481f517-d68f-4fe5-8eb0-86b6ba4cd72f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:42:36.185707+00:00"
        },
        {
          "id": "b4cb6765-6268-4159-887b-73d97eabaef5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.406664+00:00"
        },
        {
          "id": "c5e7d902-2230-4ccd-9116-9e65b8d65347",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.372009+00:00"
        },
        {
          "id": "6301a832-b815-4c89-ac7a-60d3d486c766",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.334090+00:00"
        },
        {
          "id": "d6979dbf-f2d5-4ef6-baf8-08a1392b65e3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.286114+00:00"
        },
        {
          "id": "da525cc0-d930-42ba-8276-9f8bdd89d58e",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.093759+00:00"
        },
        {
          "id": "0c813012-e01e-461b-819d-b2eb82e514e4",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:41:36.039179+00:00"
        },
        {
          "id": "3024df0f-a159-409d-b90f-ea3c356f39f7",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.374823+00:00"
        },
        {
          "id": "c983a94e-ea39-4fe0-887c-7e295d75e6b6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.333882+00:00"
        },
        {
          "id": "b75e4001-da36-444e-9431-fe41d86c0f64",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.293151+00:00"
        },
        {
          "id": "18d57afd-e155-4310-b4f4-bb4db51ccc67",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.254224+00:00"
        },
        {
          "id": "482d9e3b-e4e2-49b5-acc6-67a4b175ecc4",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.215058+00:00"
        },
        {
          "id": "b7b63217-dc19-4f2c-b5ef-e7ac9b8a3878",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:40:36.177595+00:00"
        },
        {
          "id": "0641cf08-8a68-453a-abc4-ccbf11e90a11",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.558079+00:00"
        },
        {
          "id": "0776fd8c-acd0-42e4-909e-da47981f2f8f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.514199+00:00"
        },
        {
          "id": "0d9f37fb-e2b1-48fd-80e3-179a828aa780",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.475710+00:00"
        },
        {
          "id": "6f290199-e05f-4b5f-9a65-7da43f6e56f2",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.433402+00:00"
        },
        {
          "id": "29738bbf-f899-42de-916b-1514fb8a14a2",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.397832+00:00"
        },
        {
          "id": "80fc48f2-4810-4da3-921e-39d9f2c0a51b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:39:36.355124+00:00"
        },
        {
          "id": "f5d55ee6-d6b9-4647-9d4e-23d29c62c96f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.992949+00:00"
        },
        {
          "id": "a719f4ef-3361-4836-9915-75fb3e86774a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.943919+00:00"
        },
        {
          "id": "b115a48a-4545-4d71-9526-05586195c82e",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.899370+00:00"
        },
        {
          "id": "d3425c02-41d6-45d1-b508-6bb039ddd04f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.781769+00:00"
        },
        {
          "id": "5c141b31-458a-4874-bfea-72cc2a6331b8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.741126+00:00"
        },
        {
          "id": "59bd83c7-1128-44f5-bbce-9cde4f705c04",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T02:37:40.698743+00:00"
        },
        {
          "id": "61ba9087-c529-4711-a2e9-eab965441ea6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.293483+00:00"
        },
        {
          "id": "0d99b3c0-ac76-4659-80d4-2d229a8e2485",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.256835+00:00"
        },
        {
          "id": "f5d15362-aa14-4c2a-8e39-e95dc07d22c6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.214751+00:00"
        },
        {
          "id": "92ef21e6-3e91-4546-824e-fda11f04465f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.165332+00:00"
        },
        {
          "id": "3971c0af-f37c-4e50-a497-033895d15371",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.117977+00:00"
        },
        {
          "id": "f65b3a5f-ff37-48fc-9756-f17ed1a9681d",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:35:36.075195+00:00"
        },
        {
          "id": "7e6b608d-4cbb-4291-bcb4-11ab68f9d817",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.642901+00:00"
        },
        {
          "id": "9d1d0e9f-1f1f-42c2-be51-5fdda8b2ddcf",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.530104+00:00"
        },
        {
          "id": "c2457aae-e982-4f9c-9e87-3714bc63aaef",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.493039+00:00"
        },
        {
          "id": "eb8a2880-8f5f-4a00-a6b7-25184fdfaab8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.456827+00:00"
        },
        {
          "id": "f7b4cf71-cc05-4291-a29f-1577c365efa8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.403165+00:00"
        },
        {
          "id": "be818722-e724-4e08-b196-3bcec18482d9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:34:36.363333+00:00"
        },
        {
          "id": "92020f8c-aced-4d4b-8fca-0da0dfc21aa8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:36.296040+00:00"
        },
        {
          "id": "1ecdc440-c684-4b9e-9172-d9e53708e0f1",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:36.228317+00:00"
        },
        {
          "id": "6fc11aed-a8aa-4173-ac46-ee6d25340fd9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:36.185001+00:00"
        },
        {
          "id": "6f7ae5f7-a27d-4b25-a92e-e31dfa732fa9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:36.143721+00:00"
        },
        {
          "id": "e640610b-c237-495b-8fe0-5eb50facb33a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:36.101521+00:00"
        },
        {
          "id": "250ecfee-7638-440c-b244-93821072763a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:33:35.985175+00:00"
        },
        {
          "id": "35e5abc4-c3fd-4e4a-a9be-f8dbee89329d",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.970049+00:00"
        },
        {
          "id": "9d7e76b6-256d-46c4-b88f-cdc655a39af6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.931091+00:00"
        },
        {
          "id": "bdcfa7b1-5d85-4481-941e-dcf1d97b8868",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.892997+00:00"
        },
        {
          "id": "445d34a2-ce98-4990-af97-3589b8ab67a9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.854108+00:00"
        },
        {
          "id": "7f0e52fd-b82a-4d5a-894b-97373d3feb55",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.810994+00:00"
        },
        {
          "id": "cca74ea4-696e-488a-9e48-445f28f997f7",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:32:35.769778+00:00"
        },
        {
          "id": "f3dc4dc6-85d1-440a-9626-46ef66de8717",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.420685+00:00"
        },
        {
          "id": "304efeee-9e1f-4f0e-8d3d-7044765d3141",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.381172+00:00"
        },
        {
          "id": "b8e76be8-0439-46eb-bc4a-c63c7d7c7614",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.338382+00:00"
        },
        {
          "id": "69c1e972-8298-4cc9-8f17-eb8fe09ad271",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.291945+00:00"
        },
        {
          "id": "c3a5c168-3ffa-45da-967f-83937c4d3c05",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.166954+00:00"
        },
        {
          "id": "66d76bcb-e927-4f86-8cfe-e66c9bc0eeec",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:31:36.126347+00:00"
        },
        {
          "id": "8b414f2d-e830-42cb-9126-075aee1ededd",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.292633+00:00"
        },
        {
          "id": "ba7aaba5-6ad1-4fe0-b173-67a2a91be5c3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.240391+00:00"
        },
        {
          "id": "4600b656-b386-4a90-9169-1662e917c35e",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.203324+00:00"
        },
        {
          "id": "8629da3d-9350-4f70-8a10-2bc078002b16",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.163882+00:00"
        },
        {
          "id": "bdb7cf4c-3105-4739-b4db-2820981c5fb1",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.109280+00:00"
        },
        {
          "id": "c868f0ad-ae1c-4d2c-ae3b-b349d11869f9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:30:36.067693+00:00"
        },
        {
          "id": "66f8ed2e-8994-4d32-aa11-8b762d64211c",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.847099+00:00"
        },
        {
          "id": "875e3b6f-8af9-4ffb-ba50-0d19765439cd",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.800599+00:00"
        },
        {
          "id": "94a4a5e0-8971-4d97-aef3-fa446d7341a4",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.738031+00:00"
        },
        {
          "id": "d9e1feec-46fc-48aa-bb62-a3e4728163e9",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.684421+00:00"
        },
        {
          "id": "ebd52245-2b5e-4bd3-96ea-a631c57a1a93",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.638989+00:00"
        },
        {
          "id": "07f1c629-a356-4220-a577-6eeee984a346",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T01:28:40.596968+00:00"
        },
        {
          "id": "12bcfdfb-bcf8-4871-ac1e-c62d22f828e5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.969251+00:00"
        },
        {
          "id": "2f9066fa-db75-4b79-a9ef-f3617a0fb111",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.928447+00:00"
        },
        {
          "id": "12f31452-fdac-471f-b3f8-bbf95e078cac",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.888459+00:00"
        },
        {
          "id": "057e2df5-4d96-491f-b1c9-8ba93956fde6",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.833839+00:00"
        },
        {
          "id": "dc66da3b-b0fe-486e-8db3-6cd70c4e19c8",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.798570+00:00"
        },
        {
          "id": "c6c271ea-f99e-49f1-8daf-2238f0a69e92",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:35:38.744971+00:00"
        },
        {
          "id": "09e392f7-448a-4a62-9f8f-786c292a74ce",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:39.095270+00:00"
        },
        {
          "id": "bce0cf61-7a32-4dba-98c6-62b66b2e248d",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:38.945430+00:00"
        },
        {
          "id": "a615a15e-c9d9-4938-8977-5e330f1ddb3a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:38.897077+00:00"
        },
        {
          "id": "3e817a13-7df4-41c4-b7b4-f30d4e15c12a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:38.857720+00:00"
        },
        {
          "id": "28ecd583-60ba-4df8-bdf8-c8f8fa53de37",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:38.817476+00:00"
        },
        {
          "id": "0386d608-23bc-4254-957e-35cea83c1676",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:34:38.774929+00:00"
        },
        {
          "id": "a14934be-bb4e-42e1-b4b3-9c5b210e026b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.238097+00:00"
        },
        {
          "id": "8170d560-1276-4fa3-855a-1b9bb900653a",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.200238+00:00"
        },
        {
          "id": "261f20bb-bf25-4af3-befc-392c29c254fc",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.161110+00:00"
        },
        {
          "id": "5cf94b91-a44c-4939-a0a6-ae381d2ccc50",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.118026+00:00"
        },
        {
          "id": "5b0be327-736f-4741-a3b0-41893cab9374",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.077736+00:00"
        },
        {
          "id": "ef4502dd-eb52-4807-a90d-02ddca6a8c46",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:33:39.031388+00:00"
        },
        {
          "id": "94dc46db-b9e6-4f44-bfe3-80b7474aface",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:39.108767+00:00"
        },
        {
          "id": "da656759-c8e9-4a5f-9600-e02a2ef30fee",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:39.059733+00:00"
        },
        {
          "id": "d054659b-774e-4ada-a575-e6ca0d9c0ccc",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:39.021318+00:00"
        },
        {
          "id": "bc72e469-d584-4dd3-9f83-9456f81e345f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:38.977229+00:00"
        },
        {
          "id": "fd50319a-21d5-46e4-9616-c6e4ffdec541",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:38.933669+00:00"
        },
        {
          "id": "df6a7899-36b5-4220-b829-6446eb382bd3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:32:38.888697+00:00"
        },
        {
          "id": "eb497b2d-ea04-4123-9e02-2c2b8be6d5fb",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.835587+00:00"
        },
        {
          "id": "df5bf357-6079-4e29-90cd-9c2eb467758f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.799226+00:00"
        },
        {
          "id": "19ac4ce2-c76b-4068-946f-64357d93d61b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.759273+00:00"
        },
        {
          "id": "1a9853e9-3e85-4100-9ebc-303201e453f3",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.720812+00:00"
        },
        {
          "id": "421061b9-2091-41fd-86ce-dd9aa608867e",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.609986+00:00"
        },
        {
          "id": "ad787edd-cdce-4f5a-9d30-38b65981efb4",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:31:38.569770+00:00"
        },
        {
          "id": "f547b93e-45c3-4281-8f87-5c84868424ce",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.521315+00:00"
        },
        {
          "id": "beedfe93-3e34-4d2f-b232-2edd8d447606",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.480324+00:00"
        },
        {
          "id": "775b8812-3300-4781-b844-460bc028f056",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.442890+00:00"
        },
        {
          "id": "bfd467c1-b496-4be7-8e27-472ff5482b6f",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.402554+00:00"
        },
        {
          "id": "de7c464a-aa40-43ec-b219-475c9a247967",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.365317+00:00"
        },
        {
          "id": "77b6b630-767f-4ed9-8b0d-47327397e2e0",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:30:39.327739+00:00"
        },
        {
          "id": "1591302c-cfa2-4210-9368-0d5896c9dcbc",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.716883+00:00"
        },
        {
          "id": "1d70c0a0-3cbb-48d4-9857-07a9ecf3e80b",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.585613+00:00"
        },
        {
          "id": "e4f04019-559c-4974-a634-8931c24c109c",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.537735+00:00"
        },
        {
          "id": "21697ace-8558-428a-b1e0-d9433f326f04",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.497763+00:00"
        },
        {
          "id": "abad6d69-5541-4694-b20c-32a032cddf21",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.462317+00:00"
        },
        {
          "id": "c85289db-4f83-4098-b013-7cf9a7f61a85",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-28T00:29:38.425933+00:00"
        },
        {
          "id": "70b0e024-e9c9-4920-8325-60e7b12aff46",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.950998+00:00"
        },
        {
          "id": "e62de157-3eff-40d7-8b33-6379c2e364c5",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.913137+00:00"
        },
        {
          "id": "90c8fd76-a4c1-4f29-8408-68d5873bcabe",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.877462+00:00"
        },
        {
          "id": "b6687d91-18fe-4b2e-a21a-b51877a12317",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "MSFT",
            "bar_count": 828,
            "confidence": 0.7467,
            "prediction": "up",
            "feature_rows": 774,
            "up_probability": 0.7467,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.837128+00:00"
        },
        {
          "id": "4bc1860d-364b-4cbe-a2a3-e26305c44e00",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.799077+00:00"
        },
        {
          "id": "1098d97c-d034-4f68-a3ad-29c9562fcc45",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "AAPL",
            "bar_count": 814,
            "confidence": 0.7477,
            "prediction": "up",
            "feature_rows": 760,
            "up_probability": 0.7477,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:51:38.760018+00:00"
        },
        {
          "id": "df8452a3-9ba3-420a-8b37-0cc14f8569da",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "NVDA",
            "bar_count": 826,
            "confidence": 0.5739,
            "prediction": "up",
            "feature_rows": 772,
            "up_probability": 0.5739,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:50:39.081114+00:00"
        },
        {
          "id": "da7c2267-40e8-40dd-a783-a4af297489cf",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "TSLA",
            "bar_count": 832,
            "confidence": 0.7231,
            "prediction": "up",
            "feature_rows": 778,
            "up_probability": 0.7231,
            "feature_timestamp": "2026-05-15T14:00:00+00:00"
          },
          "created_at": "2026-05-27T23:50:39.044919+00:00"
        },
        {
          "id": "1e1f8d87-eea4-491f-8b76-2f4eb5ae08da",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "QQQ",
            "bar_count": 905,
            "confidence": 0.5673,
            "prediction": "up",
            "feature_rows": 851,
            "up_probability": 0.5673,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:50:39.009201+00:00"
        },
        {
          "id": "33ce493f-063e-41fe-a787-5b7df1507335",
          "action": "ml_prediction_generated",
          "entity_type": "ml",
          "payload": {
            "model": "per_symbol_random_forest",
            "status": "ok",
            "symbol": "SPY",
            "bar_count": 870,
            "confidence": 0.6859,
            "prediction": "up",
            "feature_rows": 816,
            "up_probability": 0.6859,
            "feature_timestamp": "2026-05-15T15:00:00+00:00"
          },
          "created_at": "2026-05-27T23:50:38.967924+00:00"
        }
      ]
    }
  },
  "market": {
    "ok": true,
    "data": {
      "status": "healthy",
      "provider": "alpaca",
      "feed": "iex",
      "sample_symbol": "AAPL",
      "alpaca_connected": true,
      "has_api_key": true,
      "has_secret_key": true,
      "latest_quote_timestamp": "2026-06-01T15:47:44.462894212Z",
      "latest_live_bar_timestamp": "2026-06-01T15:00:00+00:00",
      "latest_stored_bar_timestamp": "2026-06-01T12:00:00+00:00",
      "data_source": "alpaca",
      "bar_error": null
    }
  },
  "bot": {
    "ok": true,
    "data": {
      "status": "idle",
      "paper_mode": true,
      "autonomous_enabled": true,
      "kill_switch_active": false,
      "active_strategy": {
        "name": "momentum_breakout_v1",
        "symbols": [
          "AAPL",
          "MSFT",
          "NVDA",
          "TSLA",
          "SPY",
          "QQQ"
        ],
        "fast_window": 5,
        "slow_window": 20,
        "breakout_window": 20,
        "risk_reward_min": 1.5
      },
      "last_heartbeat": "2026-06-01T15:46:05.080597+00:00",
      "last_error": null
    }
  },
  "trades": {
    "ok": true,
    "data": [
      {
        "id": "dc747e91-137c-4f78-9ae3-bc388198a1a4",
        "symbol": "MSFT",
        "side": "buy",
        "qty": 5.366,
        "filled_price": null,
        "pnl": null,
        "status": "blocked",
        "strategy_name": "auto_cycle",
        "confidence": 62.8435,
        "sentiment_score": null,
        "raw": {
          "qty": 5.366,
          "side": "buy",
          "regime": "bull trend",
          "status": "blocked",
          "symbol": "MSFT",
          "confidence": 62.8435,
          "filled_price": null,
          "broker_status": "blocked",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 100,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T13:12:18.027394+00:00"
      },
      {
        "id": "9b249b97-a6d3-4d9d-b886-91497d230b05",
        "symbol": "AAPL",
        "side": "buy",
        "qty": 10.2566,
        "filled_price": null,
        "pnl": null,
        "status": "blocked",
        "strategy_name": "auto_cycle",
        "confidence": 79.5316,
        "sentiment_score": null,
        "raw": {
          "qty": 10.2566,
          "side": "buy",
          "regime": "sideways/chop",
          "status": "blocked",
          "symbol": "AAPL",
          "confidence": 79.5316,
          "filled_price": null,
          "broker_status": "blocked",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 29.2838,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T13:12:17.819284+00:00"
      },
      {
        "id": "92c5c17b-35e0-46b3-9191-d7ef0e99984d",
        "symbol": "MSFT",
        "side": "buy",
        "qty": 5.366,
        "filled_price": null,
        "pnl": null,
        "status": "blocked",
        "strategy_name": "auto_cycle",
        "confidence": 62.8435,
        "sentiment_score": null,
        "raw": {
          "qty": 5.366,
          "side": "buy",
          "regime": "bull trend",
          "status": "blocked",
          "symbol": "MSFT",
          "confidence": 62.8435,
          "filled_price": null,
          "broker_status": "blocked",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 100,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T12:45:48.239757+00:00"
      },
      {
        "id": "7010d29d-0422-43c1-aecb-b23f8deb144e",
        "symbol": "AAPL",
        "side": "buy",
        "qty": 10.2566,
        "filled_price": null,
        "pnl": null,
        "status": "pending_new",
        "strategy_name": "auto_cycle",
        "confidence": 79.5316,
        "sentiment_score": null,
        "raw": {
          "qty": 10.2566,
          "side": "buy",
          "regime": "sideways/chop",
          "status": "pending_new",
          "symbol": "AAPL",
          "confidence": 79.5316,
          "filled_price": null,
          "broker_status": "pending_new",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 29.2838,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T12:45:48.029540+00:00"
      },
      {
        "id": "2d5e8111-d6bc-4e72-8da8-987c54edcb64",
        "symbol": "MSFT",
        "side": "buy",
        "qty": 5.366,
        "filled_price": null,
        "pnl": null,
        "status": "pending_new",
        "strategy_name": "auto_cycle",
        "confidence": 62.8435,
        "sentiment_score": null,
        "raw": {
          "qty": 5.366,
          "side": "buy",
          "regime": "bull trend",
          "status": "pending_new",
          "symbol": "MSFT",
          "confidence": 62.8435,
          "filled_price": null,
          "broker_status": "pending_new",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 100,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T12:17:28.431571+00:00"
      },
      {
        "id": "7e8657ee-d7b0-472c-b4d9-2256f534ff90",
        "symbol": "QQQ",
        "side": "buy",
        "qty": 3.3641,
        "filled_price": null,
        "pnl": null,
        "status": "blocked",
        "strategy_name": "auto_cycle",
        "confidence": 62.0631,
        "sentiment_score": null,
        "raw": {
          "qty": 3.3641,
          "side": "buy",
          "regime": "sideways/chop",
          "status": "blocked",
          "symbol": "QQQ",
          "confidence": 62.0631,
          "filled_price": null,
          "broker_status": "blocked",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 37.8539,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T01:25:43.835457+00:00"
      },
      {
        "id": "a6d500c7-5587-43de-ae40-bc6f06c2a9d4",
        "symbol": "MSFT",
        "side": "buy",
        "qty": 5.8453,
        "filled_price": null,
        "pnl": null,
        "status": "blocked",
        "strategy_name": "auto_cycle",
        "confidence": 65.5,
        "sentiment_score": null,
        "raw": {
          "qty": 5.8453,
          "side": "buy",
          "regime": "bull trend",
          "status": "blocked",
          "symbol": "MSFT",
          "confidence": 65.5,
          "filled_price": null,
          "broker_status": "blocked",
          "strategy_name": "auto_cycle",
          "broker_order_id": null,
          "composite_score": 100,
          "requires_reconciliation": true
        },
        "created_at": "2026-06-01T01:25:43.606092+00:00"
      }
    ]
  }
}