Is there a way to send 2 legged IOC(immediate or cancel) order using KiteConnect?

Jagruti
I want to send orders on 2 legs and either both of them should be filled or none. Is there a way to implement this?
Tagged:
  • rakeshr
    @Jagruti
    I want to send orders on 2 legs and either both of them should be filled or none
    You want both Buy and sell (both legs) to be executed immediately at the same time?
  • rakeshr
    No, this is not allowed as it will be self-trading.
  • Jagruti
    Here, the two orders are on different instruments.
    So the case of self trading does not arise.
  • rakeshr
    I want to send orders on 2 legs and either both of them should be filled or none
    Here, the two orders are on different instruments.
    As your one order is dependent on others. You need to handle this at your end. Place the first IOC order, check it's status then place the subsequent dependent order.
Sign In or Register to comment.