HI yesterday , i placed a BO order using python kite. around 2 pm my target got filled and i would have expected my trade to get closed there and SL order to get canceled .
instead of that my SL order created a new order and that order opened a new position. that position got sqd of with MIS order placed by auto sqoff at 3:26 and that gave me an overnight position with order type MIS.
my account balance usage was for full overnight position.
can you explain why this behaviour became possible in your platform . i have all order list extracted from kite.orders let me know if you need any info.