Remove risk limits to unbur den agent trading#11
Merged
Conversation
…ectiveness Removed all pre-trade risk checks, guards, and enforcement infrastructure including: - Risk engine (RiskEngine, position size/order value/daily loss/sector/rate/duplicate checks) - Risk monitors (HeartbeatMonitor, ConnectionLossMonitor, drawdown circuit breaker) - Risk commands (broker check/limits/set/halt/resume/override) - Risk config, risk audit events, and risk error codes - Preserved: health check polling (reconnection), --dry-run (now simple preview), RATE_LIMITED (broker HTTP 429) All tests pass: daemon (95 tests), CLI (38 tests), Python SDK (3 tests), TypeScript compiles, website builds. Co-Authored-By: Bryce Bjork <brycedbjork@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensively removed the risk limits system to maximize agent trading effectiveness. The system acted as a pre-trade brake, preventing orders that violated configured thresholds.
Removed:
Preserved:
--dry-runon orders (now simple preview without risk validation)runtime.keepalive(lightweight ping)RATE_LIMITEDerror code (used by E*Trade provider for HTTP 429)Test Results
Net change: 49 files, +70/-1571 lines (1,501 line reduction)
🤖 Generated with Claude Code