Modifying order to a higher quantity !?

Hi All,
Assumption: I have one “open” order of initial quantity “400” that is partially filled now with 200” quantity and has “200” pending quantity. lot_size = 100 for simplicity.

Question-1: What happens to the open order if modify order request is placed with new quantity of “100” ? Will the order get cancelled immediately or would the modify request fail, yet keeping the order in open state ?

Question-2: What happens to the open order if modify order request is placed with new quantity of “300” ? Does this shrunk the open order and will the charges still be for 300 units as single order if the remaining “100” gets filled later ?

Question-3: What if modify order request is placed with higher quantity of “500” ? Will the modify fail or if the modify request succeeds, what happens to charges calculation if the remaining units get filled ?

Could someone please help with answers that align with the internal implementation of API ? Thanks In Advance. Thank you.

I guess it will not allow to update quantity as order status is not in pending state anymore.

@Sathish_49417565 Order modification is only allowed for open or pending orders.

Thanks for your question. In theory:

  • Reducing quantity is allowed only if the new quantity is greater than or equal to the already filled quantity.

  • Increasing the original quantity is not allowed.

  • Charges are always based on executed trades, not on the original order size.

I’ll raise this internally and get back with a confirmed answer.

1 Like

Relying inline to response:

  1. Got it. Just want to know what happens to the order, is it still kept open (despite a bad modify request)
  2. Got it.
  3. Got it.

Thanks @Pradeep_Jaiswar