I would like to request a feature in the order management system or “Exit” settings that allows for conditional exits based on a mathematical relationship between multiple legs.
Specifically, the ability to trigger an exit for a specific leg when a calculation involving other legs is met.
The Logic/Formula:
The trigger should occur when:
IF: (LTP of PE Leg 1) + (LTP of PE Leg 2) EQUALS (LTP of CE Leg 1) + (LTP of CE Leg 2)
THEN: EXIT (PE Leg 1)