Decision Flow

AAPL · 20260331122235-11f4f445

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.

Not available environment production source alpaca status partial

Cycle Timeline

Stage Summary

Market Data ok

not available

Features unavailable

not available

Signal Decision unknown

Not available

Risk Control pass

buy

Execution executed

pending_new

Position & Audit unchanged

Audit trail only

Stage 1

Market Data

Input Summary
Statusok
Provideralpaca
Attemptednot available
Final Sourcenot available
Latest Price246.72
Fetched At2026-03-31T12:22:35.862077+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 Not available
Actionbuy
Setupforced_test_action
Confidence92.0
Risklow
Biaslong
Regimeunknown

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

provider=alpaca market_state=bullish market_regime=unknown setup_type=forced_test_action confidence=92.0
Signal Scorecard
long not available
short not available

Audit Trail

Linked Stored Records

Order Logs
#1 · 2026-03-31T12:22:37.284731 buy / pending_new
Position Rows

No linked position rows are available.

Cycle Log Row
Started2026-03-31T12:22:36.318207
Final Actionbuy
Order Resultnot available
Errornot available

Raw Inspectors

Stored Payload Snapshots

market input
{
  "change": -1.98,
  "change_pct": -0.8,
  "fetched_at": "2026-03-31T12:22:35.862077+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
    }
  ],
  "previous_close": 248.7,
  "price": 246.72,
  "provider_duration_ms": 909.24,
  "provider_failure_reason": null,
  "provider_name": "alpaca",
  "provider_response_timestamp": "2026-03-31T12:22:35.862077+00:00",
  "provider_success": true,
  "reason": "Alpaca snapshot loaded.",
  "source_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": [
        "@",
        "F"
      ],
      "i": 14842,
      "p": 246.72,
      "s": 100,
      "t": "2026-03-30T19:59:56.382883943Z",
      "x": "V",
      "z": "C"
    },
    "minuteBar": {
      "c": 246.72,
      "h": 246.96,
      "l": 246.48,
      "n": 423,
      "o": 246.67,
      "t": "2026-03-30T19:59:00Z",
      "v": 27435,
      "vw": 246.650995
    },
    "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
    }
  },
  "status": "ok",
  "symbol": "AAPL"
}
decision payload
{
  "action": "buy",
  "confidence": 92.0,
  "expected_holding_period": "swing",
  "invalidation_condition": "Forced test mode override.",
  "market_state": "bullish",
  "reason": "Forced buy action in test mode for execution-chain validation.",
  "risk_level": "low",
  "setup_type": "forced_test_action",
  "stop_loss_pct": 0.02,
  "suggested_position_pct": 0.1,
  "take_profit_pct": 0.04
}
feature snapshot
{}
signal snapshot
{}
risk snapshot
{}
order payload
{
  "broker_mode": "paper",
  "filled_avg_price": null,
  "order_type": "market",
  "provider_name": "alpaca_paper",
  "provider_order_id": "ce1edf4a-4b9d-4e5e-8ddb-e671e16602e1",
  "qty": 40,
  "raw_response": {
    "asset_class": "us_equity",
    "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",
    "canceled_at": null,
    "client_order_id": "a59ad226-37b6-4775-b387-c3ac06b7da18",
    "created_at": "2026-03-31T12:22:37.197629586Z",
    "expired_at": null,
    "expires_at": "2026-03-31T20:00:00Z",
    "extended_hours": false,
    "failed_at": null,
    "filled_at": null,
    "filled_avg_price": null,
    "filled_qty": "0",
    "hwm": null,
    "id": "ce1edf4a-4b9d-4e5e-8ddb-e671e16602e1",
    "legs": null,
    "limit_price": null,
    "notional": null,
    "order_class": "",
    "order_type": "market",
    "position_intent": "buy_to_open",
    "qty": "40",
    "replaced_at": null,
    "replaced_by": null,
    "replaces": null,
    "side": "buy",
    "source": null,
    "status": "pending_new",
    "stop_price": null,
    "submitted_at": "2026-03-31T12:22:37.197629586Z",
    "subtag": null,
    "symbol": "AAPL",
    "time_in_force": "day",
    "trail_percent": null,
    "trail_price": null,
    "type": "market",
    "updated_at": "2026-03-31T12:22:37.198694176Z"
  },
  "side": "buy",
  "status": "pending_new",
  "submitted_price": null,
  "symbol": "AAPL"
}