Skip to content

QT desk: every risk check with its reading and max (desk.proto 1.4.0) - #134

Merged
dominickdupuy merged 1 commit into
mainfrom
qt/desk-risk-checks
Oct 14, 2026
Merged

dominickdupuy merged 1 commit into
mainfrom
qt/desk-risk-checks

Conversation

@dominickdupuy

Copy link
Copy Markdown
Member

Dom (2026-10-14): show every risk limit with its max, breach or not; the maxes come from trade-ngin, none hardcoded in AlgoLens.

  • Vendors desk.proto 1.4.0 from trade-ngin 0b9dbf6e (QT desk: every risk check with its reading and max (C9, desk.proto 1.4.0) trade-ngin#207); version header desk=1.4.0.
  • desk_client maps DeskRisk.checks to checks: [{term, label, value, max, unit, status, detail}] (an unset value is null: not measured).
  • RiskReport renders the checks table (Limit / Stored book / Max / Status / note) in trade-ngin's order; margin cushion and equity/margin sit under it. The old pairing of risk.json names with hardcoded labels and the RISK_TERMS map are gone; the binding line uses the check's label.
  • Approve gate unchanged.

Deploy after trade-ngin #207's engine image.

…esk.proto 1.4.0)

Vendor desk.proto 1.4.0 (trade-ngin 0b9dbf6e). The risk report lists DeskRisk.checks as
trade-ngin sends them: label, stored-book reading, max, status (within, bound, over, not
measured) and a sentence, breach or not. AlgoLens no longer pairs config names with labels
or limits; the binding line takes the check's label.
@dominickdupuy
dominickdupuy merged commit 6788832 into main Oct 14, 2026
6 checks passed
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