Skip to content

feat(decision_mapper): forward unrealized PnL diagnostics into decision - #312

Merged
Pigbibi merged 1 commit into
mainfrom
feat/runtime-pnl-diagnostics
Jul 8, 2026
Merged

feat(decision_mapper): forward unrealized PnL diagnostics into decision#312
Pigbibi merged 1 commit into
mainfrom
feat/runtime-pnl-diagnostics

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Map runtime_metadata.unrealized_pnl_pct / consecutive_losses into StrategyDecision.diagnostics
  • Enables QPK apply_risk_gate stop-loss / circuit-breaker checks without changing strategy entrypoints

Test plan

  • pytest tests/test_decision_mapper.py -q

Made with Cursor

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@chatgpt-codex-connector

This comment has been minimized.

@cursor

cursor Bot commented Jul 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pigbibi
Pigbibi enabled auto-merge (squash) July 8, 2026 15:38
@Pigbibi
Pigbibi merged commit 3fe6c1e into main Jul 8, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the feat/runtime-pnl-diagnostics branch July 8, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant