I have a query regarding the execution of simultaneous buy and short sell orders on the Zerodha trading platform, as well as through APIs. I would greatly appreciate your guidance on this matter.
To clarify, my scenario involves:
Initiating a Buy Order let's say for Stock A at a specified price, e.g., 100. Initiate a Short Sell Order for the same Stock A if a stock reaches specified sell price, e.g., 99. Importantly, the intention is to maintain the previously opened Buy Order, without exiting it. This means having two distinct orders for the same stock simultaneously—a Buy Order and a new Short Sell Order.
Could you please provide instructions or insights on how this can be accomplished within the Zerodha trading portal or via APIs?
@zerodhaVyankatesh You can do this using the MIS product type. However, once either the Buy or Sell is executed, the other open order will become an exit order to the position created.