It looks like you're new here. If you want to get involved, click one of these buttons!
kite.modify_order(variety=order["variety"], order_id=order["order_id"], trigger_price=price)
kite.modify_order(variety=order["variety"], order_id=order["order_id"], trigger_price=price,quantity=order["pending_quantity"])
It makes sense. We have asked the concerned team to take a look at this. You can follow up here.
Please note that if you send original quantity while modifying the order, it won't increase the total order quantity.
But I tried this earlier today, and as far as I remember, it increased the quantity by Is this a new update you guys made just now? Or it was like this before also?
2024-02-26 13:27:36,890 - INFO - zerodha Order modify failed: Invalid order_type. - 81
2024-02-26 13:27:36,890 - ERROR - TradeManager: Failed to update SL for tradeID cf09091a-8513-4559-a95e-8cd9a202cbe9 orderId 240226502256281: Error => Invalid order_type. - 702
2024-02-26 13:27:38,077 - INFO - zerodha: Going to modify order with params newPrice=50.9, newTriggerPrice=50.8, newQty=75, newOrderType=SL_LIMIT - 63
2024-02-26 13:27:38,090 - INFO - rb1 Min PNL -71 - 526