Overrides an existing risk management configuration in the framework.
This function partially updates a previously registered risk configuration with new settings. Only the provided fields will be updated, other fields remain unchanged.
Partial risk configuration object
Unique risk profile identifier (must exist)
Optional: Max number of open positions
Optional: Custom validation functions
Optional: Lifecycle callbacks
overrideRisk({ riskName: "conservative", maxConcurrentPositions: 3, // Only reduce max positions}); Copy
overrideRisk({ riskName: "conservative", maxConcurrentPositions: 3, // Only reduce max positions});
Overrides an existing risk management configuration in the framework.
This function partially updates a previously registered risk configuration with new settings. Only the provided fields will be updated, other fields remain unchanged.