Issue:
Unable to exit a position due to the error: "Mandatory conditional order failed".
Reason:
1. You have exceeded the number of conditional orders permitted on the exchange. The maximum number of conditional orders per pair is 10. This parameter may vary, so you need to check your exchange's rules.
2. You manually closed one of the conditional orders on the exchange. In this case, the system will first try to locate these orders on the exchange, and if the order is not found, the strategy will fail.
Solution:
1. Check the maximum number of conditional orders allowed on the exchange and avoid exceeding this limit.
2. Do not manually close conditional orders on the exchange.
Example:
1. You decided to create 2 bots for the same pair and enabled “Place Take Profit and Stop Loss on the Exchange” for both. The first bot has 6 TPs and 1 SL. The second bot has 3 TPs and 1 SL. In this case, the second bot will cause the strategy to fail due to exceeding the number of conditional orders per pair. 9 TPs + 2 SLs = 11, but the typical maximum is 10.
"Mandatory Conditional Order Failed" Error
How to troubleshoot the "Mandatory Conditional Order Failed" error.
Written by Ben Ross
