Decision Flow

AAPL · 20260331130512-3eaefe3c

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
Provideralpaca
Attemptedalpaca,yfinance,cache
Final Sourcecache
Latest Price248.18
Fetched At2026-03-31T13:04:06.124732+00:00
Recent Candles
2026-03-06T05:00:00Z O 258.63 · H 258.77 · L 254.37 · C 257.46
2026-03-09T04:00:00Z O 255.69 · H 261.15 · L 253.6805 · C 259.88
2026-03-10T04:00:00Z O 257.645 · H 262.48 · L 256.95 · C 260.83
2026-03-11T04:00:00Z O 261.09 · H 262.13 · L 259.55 · C 260.81
2026-03-12T04:00:00Z O 258.66 · H 258.95 · L 254.18 · C 255.76

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=alpaca 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:05:13.859274
Final Actionhold
Order Resultnot available
Errornot available

Raw Inspectors

Stored Payload Snapshots

market input
{
  "cache_used": true,
  "change": -0.52,
  "change_pct": -0.21,
  "data_age_seconds": 67.25,
  "data_source_attempted": "alpaca,yfinance,cache",
  "data_source_final": "cache",
  "error_category": "empty_payload",
  "fetched_at": "2026-03-31T13:04:06.124732+00:00",
  "history": [
    {
      "close": 257.46,
      "high": 258.77,
      "low": 254.37,
      "open": 258.63,
      "timestamp": "2026-03-06T05:00:00Z",
      "volume": 41273884
    },
    {
      "close": 259.88,
      "high": 261.15,
      "low": 253.6805,
      "open": 255.69,
      "timestamp": "2026-03-09T04:00:00Z",
      "volume": 38398591
    },
    {
      "close": 260.83,
      "high": 262.48,
      "low": 256.95,
      "open": 257.645,
      "timestamp": "2026-03-10T04:00:00Z",
      "volume": 30750595
    },
    {
      "close": 260.81,
      "high": 262.13,
      "low": 259.55,
      "open": 261.09,
      "timestamp": "2026-03-11T04:00:00Z",
      "volume": 26372593
    },
    {
      "close": 255.76,
      "high": 258.95,
      "low": 254.18,
      "open": 258.66,
      "timestamp": "2026-03-12T04:00:00Z",
      "volume": 40952141
    }
  ],
  "is_stale": true,
  "last_http_status": null,
  "previous_close": 248.7,
  "price": 248.18,
  "provider_duration_ms": 934.35,
  "provider_failure_reason": "primary_failure | dns_resolution_failure | Alpaca DNS resolution failed. | retries=2; fallback_failure | empty_payload | yfinance returned an invalid empty payload.",
  "provider_name": "alpaca",
  "provider_response_timestamp": "2026-03-31T13:04:06.124732+00:00",
  "provider_success": true,
  "reason": "Live providers failed, short-term cache used.",
  "retry_count": 0,
  "source_snapshot": {
    "cache_snapshot": {
      "dailyBar": {
        "c": 246.72,
        "h": 250.73,
        "l": 245.55,
        "n": 14855,
        "o": 250.04,
        "t": "2026-03-30T04:00:00Z",
        "v": 897337,
        "vw": 246.82277
      },
      "latestQuote": {
        "ap": 262.62,
        "as": 100,
        "ax": "V",
        "bp": 237.54,
        "bs": 100,
        "bx": "V",
        "c": [
          "R"
        ],
        "t": "2026-03-30T20:00:00.00067149Z",
        "z": "C"
      },
      "latestTrade": {
        "c": [
          "@",
          "T"
        ],
        "i": 3,
        "p": 248.18,
        "s": 100,
        "t": "2026-03-31T13:00:13.947480437Z",
        "x": "V",
        "z": "C"
      },
      "minuteBar": {
        "c": 248.18,
        "h": 248.18,
        "l": 248.18,
        "n": 4,
        "o": 248.18,
        "t": "2026-03-31T13:00:00Z",
        "v": 205,
        "vw": 248.18
      },
      "prevDailyBar": {
        "c": 248.7,
        "h": 255.46,
        "l": 248.1,
        "n": 17575,
        "o": 253.9,
        "t": "2026-03-27T04:00:00Z",
        "v": 1186420,
        "vw": 251.99372
      }
    },
    "fallback_failure": {
      "category": "empty_payload",
      "last_http_status": null,
      "provider": "yfinance",
      "reason": "yfinance returned an invalid empty payload.",
      "retry_count": 0
    },
    "primary_failure": {
      "category": "dns_resolution_failure",
      "last_http_status": null,
      "provider": "alpaca",
      "reason": "Alpaca DNS resolution failed.",
      "retry_count": 2
    }
  },
  "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
{}