Hi @VINIT
There is a bug or missing validation which is making partial execution of the order. Algo is not checking available margin before placing order. Due to that sell order is not being executed and hedging option is getting executed. Kindly requesting you to add margin check before placing order. So that false entry can be avoided.
Another issue is that if I have created custom strategy with 1 transaction max per day and it executed once and closed. Then If I edit that strategy and restarts it, it is executing again if condition is matched. It should not execute again if earlier it has already executed for the same day if transaction limit is hit.