Skip to content

feat(risk): forward small-account hold and pin QPK a9093762 - #490

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

  • Forward small_account_hold_policy, cash_only_execution, and current_portfolio_weights from capabilities into QPK apply_risk_gate
  • Pin QPK to a9093762 (SmallAccountRiskHoldPolicy, default-enabled under RRL)

Test plan

  • pytest tests/test_entrypoint_risk_gate.py -k "small_account_hold or runtime_risk"
  • CI

Made with Cursor

Pigbibi and others added 2 commits September 17, 2026 18:34
Pass hold policy, cash-only, and current weights into QPK apply_risk_gate
so default non-worsening RRL hold works for platform consumers.

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