Hi, I am coding my algo in python to place 2 buy and 2 sell orders. the sequence in which I'm passing the orders is : BUY CE, SELL CE, BUY PE, SELL PE. in response I am saving the orders id in a list. The order IDs in the list are coming in the desired sequence i.e. BUY CE, SELL CE, BUY PE, SELL PE ; but the sequence in which orders are being shown on the kite app or the terminal, is different from the sequence in which I have placed the orders.
Sequence of passing orders : BUY CE, SELL CE, BUY PE, SELL PE
Response received in python : [220726200517040', '220726200517088', '220726200517140', '220726200517208] *Note : This response is in correct sequence as mentioned above. the sequence of orders as shown in the app is as per this image :
Please clarify if the orders are being paced as shown in the image or as per the sequence of order IDs received. My concern is if the orders are not placed in the same sequence as they were passed, it will have an effect on the margin and some orders might be rejected. Thanks.