Skip to main content
All CollectionsCommon issuesStrategy errors
Mandatory conditional order failed error
Mandatory conditional order failed error

How to troubleshoot mandatory conditional order failed

Ben Ross avatar
Written by Ben Ross
Updated over 5 months ago

Issue:
Unable to exit from the position with "Mandatory conditional order failed" error.

Reason:
1. You have exceeded the number of conditional orders that are permitted on the exchange. The maximum conditional order number per pair is 10. This parameter may change and you need to check your exchange rules.
2. You have closed one of the conditional orders manually on the exchange. In this case, the system will first try to find these orders on the exchange, and then if the order will not be found, strategy is going to fail.

Solution:
1. Check the maximum number of conditional orders on the exchange and do not exceed this limit.
2. Do not close conditional orders manually on the exchange.

Example:
1. You decided to create 2 bots on the same pair and enable “Place Take Profit and Stop Loss on the Exchange” for both. First bot has 6 TPs and 1 SL. The second bot has 3 TPs and 1 SL. In that case the second bot will lead to the strategy failure due to exceeded number of conditional orders per one pair. 9 TPs and 2 SLs = 11, but usually the maximum is 10.

Did this answer your question?