feat: auto-clamp buy orders to fit within position limits instead of hard-rejecting
This commit is contained in:
@@ -251,6 +251,11 @@ RISK_CHECK_FAILURES = Counter(
|
||||
["check_name"],
|
||||
)
|
||||
|
||||
ORDERS_CLAMPED = Counter(
|
||||
"stonks_orders_clamped_total",
|
||||
"Orders auto-clamped to fit within position limits",
|
||||
)
|
||||
|
||||
POSITIONS_SYNCED = Counter(
|
||||
"stonks_positions_synced_total",
|
||||
"Position sync operations completed",
|
||||
|
||||
Reference in New Issue
Block a user