Skip to content

Handle missing Firstrade trade threshold#75

Merged
Pigbibi merged 1 commit into
mainfrom
codex/fix-runtime-guard-threshold
Jun 5, 2026
Merged

Handle missing Firstrade trade threshold#75
Pigbibi merged 1 commit into
mainfrom
codex/fix-runtime-guard-threshold

Conversation

@Pigbibi
Copy link
Copy Markdown
Contributor

@Pigbibi Pigbibi commented Jun 5, 2026

Summary

  • add a Firstrade-side fallback trade threshold when value-target decisions omit execution annotations
  • cover value-target and no-execute hold-current paths in decision mapper tests

Root cause

Runtime Guard failed because the deployed mega cap runtime hit a no-action/value-target path without trade_threshold_value, and the pinned QuantPlatformKit now validates that field strictly.

Validation

  • timeout 120 pytest -q tests/test_decision_mapper.py
  • git diff --check

@Pigbibi Pigbibi merged commit 5541b91 into main Jun 5, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/fix-runtime-guard-threshold branch June 5, 2026 23:44
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