Query on Modify Order

Vishnuvardhan
Let's assume I have placed an SL order (Buy) with trigger price 20 and price 22 and quantity 500.
Let's say 250 quantity filled and reaming 250 not filled and priced breached above 22.

If I modify the order using order id as below to MARKET order
kiteobj.modify_order(variety=kiteobj.VARIETY_REGULAR, order_id=open_order_id, order_type=kiteobj.ORDER_TYPE_MARKET, price=0, trigger_price=0)

Since I am not passing quantity while modifying the order. Will this execute only pending 250 quantity or it will execute 500 quantity ?
This discussion has been closed.