Whats happens when a half executed order is modified with different quantity through Kite connect api.
Like initially I place for 5000 unit of XYZ stock and down the day, say 4000 units are filled and then whats happens when: 1. modify the order and new quantity is 3500 2. modify the order and new quantity is 5500 3. new quantity is 5000
5000 B placed, 4000 executed 1000 pending
Modify order New quantity 5500
Modify order New quantity 5000
So you have 4000 executed and 5000 pending to be executed all showing up under the original order number