Decision Flow

AAPL · 20260331132459-cb99ac58

Full read-only trace of one paper-trading cycle: market data intake, feature engineering, deterministic signal decision, risk control, execution outcome, and linked audit records.

Forced test override environment production source cache status completed

Cycle Timeline

Stage Summary

Market Data ok

cache

Features unavailable

not available

Signal Decision unknown

Forced test override

Risk Control pass

hold

Execution no_execution

not available

Position & Audit unchanged

Audit trail only

Stage 1

Market Data

Input Summary
Statusok
Provideryfinance
Attemptedalpaca,finnhub,yfinance,cache
Final Sourcecache
Latest Price246.63
Fetched At2026-03-31T13:24:35.453227+00:00
Recent Candles
2026-03-24T00:00:00-04:00 O 250.35 · H 254.83 · L 249.55 · C 251.64
2026-03-25T00:00:00-04:00 O 254.1 · H 255.0 · L 251.6 · C 252.62
2026-03-26T00:00:00-04:00 O 252.12 · H 257.0 · L 250.77 · C 252.89
2026-03-27T00:00:00-04:00 O 253.9 · H 255.49 · L 248.07 · C 248.8
2026-03-30T00:00:00-04:00 O 250.07 · H 250.87 · L 245.51 · C 246.63

Stage 2

Feature Engineering

Feature snapshots are not available for this cycle.

Stage 3 · Signal Decision Forced test override
Actionhold
Setupforced_test_action
Confidence80.0
Riskmedium
Biasneutral
Regimeunknown

Forced hold action in test mode for execution-chain validation.

provider=yfinance market_state=unknown market_regime=unknown setup_type=forced_test_action confidence=80.0
Signal Scorecard
long not available
short not available

Audit Trail

Linked Stored Records

Order Logs

No order rows are linked to this cycle.

Position Rows

No linked position rows are available.

Cycle Log Row
Started2026-03-31T13:25:01.510331
Final Actionhold
Order Resultnot available
Errornot available

Raw Inspectors

Stored Payload Snapshots

market input
{
  "cache_used": true,
  "change": -2.17,
  "change_pct": -0.87,
  "data_age_seconds": 25.52,
  "data_source_attempted": "alpaca,finnhub,yfinance,cache",
  "data_source_final": "cache",
  "error_category": "alpaca:dns_resolution_failure;finnhub:dns_resolution_failure;yfinance:empty_payload",
  "fetched_at": "2026-03-31T13:24:35.453227+00:00",
  "history": [
    {
      "close": 251.64,
      "high": 254.83,
      "low": 249.55,
      "open": 250.35,
      "timestamp": "2026-03-24T00:00:00-04:00",
      "volume": 45152300
    },
    {
      "close": 252.62,
      "high": 255.0,
      "low": 251.6,
      "open": 254.1,
      "timestamp": "2026-03-25T00:00:00-04:00",
      "volume": 28476700
    },
    {
      "close": 252.89,
      "high": 257.0,
      "low": 250.77,
      "open": 252.12,
      "timestamp": "2026-03-26T00:00:00-04:00",
      "volume": 41796700
    },
    {
      "close": 248.8,
      "high": 255.49,
      "low": 248.07,
      "open": 253.9,
      "timestamp": "2026-03-27T00:00:00-04:00",
      "volume": 47900000
    },
    {
      "close": 246.63,
      "high": 250.87,
      "low": 245.51,
      "open": 250.07,
      "timestamp": "2026-03-30T00:00:00-04:00",
      "volume": 39106000
    }
  ],
  "is_stale": true,
  "last_http_status": null,
  "previous_close": 248.8,
  "price": 246.63,
  "provider_duration_ms": 509.72,
  "provider_failure_reason": "provider_failure | dns_resolution_failure | Alpaca DNS resolution failed. | retries=2; provider_failure | dns_resolution_failure | Finnhub DNS resolution failed.; provider_failure | empty_payload | yfinance returned an invalid empty payload.",
  "provider_name": "yfinance",
  "provider_priority_used": false,
  "provider_response_timestamp": "2026-03-31T13:24:35.453227+00:00",
  "provider_success": true,
  "provider_success_map": {
    "alpaca": {
      "category": "dns_resolution_failure",
      "last_http_status": null,
      "provider_response_timestamp": null,
      "reason": "Alpaca DNS resolution failed.",
      "retry_count": 2,
      "success": false
    },
    "cache": {
      "category": "stale_cache",
      "last_http_status": null,
      "provider_response_timestamp": "2026-03-31T13:24:35.453227+00:00",
      "reason": "Short-term cache rescue used.",
      "retry_count": 0,
      "success": true
    },
    "finnhub": {
      "category": "dns_resolution_failure",
      "last_http_status": null,
      "provider_response_timestamp": null,
      "reason": "Finnhub DNS resolution failed.",
      "retry_count": 0,
      "success": false
    },
    "yfinance": {
      "category": "empty_payload",
      "last_http_status": null,
      "provider_response_timestamp": null,
      "reason": "yfinance returned an invalid empty payload.",
      "retry_count": 0,
      "success": false
    }
  },
  "provider_timestamp_diff": null,
  "reason": "Live providers failed, short-term cache used.",
  "retry_count": 0,
  "source_snapshot": {
    "cache_snapshot": [
      {
        "Adj Close": 248.8000030517578,
        "Close": 248.8000030517578,
        "Date": "2026-03-27 00:00:00-04:00",
        "Dividends": 0.0,
        "High": 255.49000549316406,
        "Low": 248.07000732421875,
        "Open": 253.89999389648438,
        "Stock Splits": 0.0,
        "Volume": 47900000
      },
      {
        "Adj Close": 246.6300048828125,
        "Close": 246.6300048828125,
        "Date": "2026-03-30 00:00:00-04:00",
        "Dividends": 0.0,
        "High": 250.8699951171875,
        "Low": 245.50999450683594,
        "Open": 250.07000732421875,
        "Stock Splits": 0.0,
        "Volume": 39106000
      }
    ],
    "provider_failures": {
      "alpaca": {
        "category": "dns_resolution_failure",
        "last_http_status": null,
        "provider": "alpaca",
        "reason": "Alpaca DNS resolution failed.",
        "retry_count": 2
      },
      "finnhub": {
        "category": "dns_resolution_failure",
        "last_http_status": null,
        "provider": "finnhub",
        "reason": "Finnhub DNS resolution failed.",
        "retry_count": 0
      },
      "yfinance": {
        "category": "empty_payload",
        "last_http_status": null,
        "provider": "yfinance",
        "reason": "yfinance returned an invalid empty payload.",
        "retry_count": 0
      }
    }
  },
  "status": "ok",
  "symbol": "AAPL"
}
decision payload
{
  "action": "hold",
  "confidence": 80.0,
  "expected_holding_period": "unknown",
  "invalidation_condition": "Forced test mode override.",
  "market_state": "unknown",
  "reason": "Forced hold action in test mode for execution-chain validation.",
  "risk_level": "medium",
  "setup_type": "forced_test_action",
  "stop_loss_pct": 0.02,
  "suggested_position_pct": 0.0,
  "take_profit_pct": 0.04
}
feature snapshot
{}
signal snapshot
{}
risk snapshot
{}
order payload
{}