Skip to content

feat(risk): SmallAccountRiskHoldPolicy for non-worsening RRL overruns - #605

Merged
Pigbibi merged 2 commits into
mainfrom
fix/runtime-risk-small-account-hold
Sep 17, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
fix/runtime-risk-small-account-hold

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add opt-in SmallAccountRiskHoldPolicy so small verified NAV accounts can hold/reduce-only when already over RuntimeRiskLimits caps
  • Does not raise authorized nominal/effective caps; absent policy keeps reject-on-overrun
  • Diagnostics mark runtime_risk_small_account_hold when the hold path applies

Test plan

  • pytest tests/test_risk_gate.py -k small_account_hold
  • CI full suite

Made with Cursor

Pigbibi and others added 2 commits September 17, 2026 18:27
…runs

Allow opt-in hold/reduce-only when a small verified NAV already exceeds
RuntimeRiskLimits caps, without raising authorized exposure caps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Apply hold/reduce-only by default for verified RuntimeRiskLimits when NAV
is below 1000 and cash-only holds; allow explicit enabled=false opt-out.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit a909376 into main Sep 17, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/runtime-risk-small-account-hold branch September 17, 2026 10:33
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