finnhub
Decision Flow
AAPL · 20260331133120-3cb2549e
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 finnhub
status completed
Cycle Timeline
Stage Summary
not available
Forced test override
hold
not available
Audit trail only
Stage 1
Market Data
Statusok
Providerfinnhub
Attemptedalpaca,finnhub
Final Sourcefinnhub
Latest Price248.83
Fetched At2026-03-31T13:31:22.806914+00:00
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
2026-03-31T00:00:00-04:00
O 247.89 · H 249.1 · L 247.8 · C 248.59
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=finnhub
market_state=unknown
market_regime=unknown
setup_type=forced_test_action
confidence=80.0
long
not available
short
not available
Audit Trail
Linked Stored Records
No order rows are linked to this cycle.
No linked position rows are available.
Started2026-03-31T13:31:23.961114
Final Actionhold
Order Resultnot available
Errornot available
Raw Inspectors
Stored Payload Snapshots
market input
{
"cache_used": false,
"change": 2.2,
"change_pct": 0.89,
"data_age_seconds": 0.0,
"data_source_attempted": "alpaca,finnhub",
"data_source_final": "finnhub",
"error_category": null,
"fetched_at": "2026-03-31T13:31:22.806914+00:00",
"history": [
{
"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
},
{
"close": 248.59,
"high": 249.1,
"low": 247.8,
"open": 247.89,
"timestamp": "2026-03-31T00:00:00-04:00",
"volume": 1406550
}
],
"history_provider_name": "yfinance",
"is_stale": false,
"last_http_status": null,
"previous_close": 246.63,
"price": 248.83,
"provider_duration_ms": 1136.99,
"provider_failure_reason": "primary_failure | dns_resolution_failure | Alpaca DNS resolution failed. | retries=2",
"provider_name": "finnhub",
"provider_priority_used": true,
"provider_response_timestamp": "2026-03-31T13:31:22.806914+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
},
"finnhub": {
"category": null,
"last_http_status": null,
"provider_response_timestamp": "2026-03-31T13:31:22.806914+00:00",
"reason": null,
"retry_count": 0,
"success": true
}
},
"provider_timestamp_diff": null,
"reason": "Secondary provider used after primary failure.",
"retry_count": 0,
"source_snapshot": {
"history_source": "yfinance",
"snapshot_payload": {
"day_high": 249.2,
"day_low": 247.8,
"day_open": 247.92,
"quote": {
"c": 248.83,
"d": 2.2,
"dp": 0.892,
"h": 249.2,
"l": 247.8,
"o": 247.92,
"pc": 246.63,
"t": 1774963860
},
"timestamp": 1774963860
},
"snapshot_source": "finnhub"
},
"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
{}