CO - kite.order_modify()

rajtk
There seems to be an issue modify order function , as none of the modify order seem to be working , neither it throws an exception. Can you please if there is an issue.
Tagged:
  • sujith
    Hi @rajtk,
    Modify order API will give you success response if the request is accepted. It doesn't mean order modification is successful. You can always fetch orderbook and check for the status message of that order for failure reason.
  • rajtk
    OK, So what do you suggest I do, if the modify order is accepted at your end but not registered in the exchange/reflected in the order book. As I did not get any exception message while placing the modify order. hence assume that it is accepted and will get reflected in the order book.
    Please advise.
  • sujith
    @rajtk,
    When you place a modify request, Kite will only check for validity of params after that it will send back the successful response. After that, the request will go through series of RMS checks and OMS checks post that it will be sent to the exchange. If it fails in RMS check or any other checks then the order will not be modified and rejection reason will be in status message field of the order.
    You need to fetch orderbook and check the modified params for order modification success or status message for failure reason.
  • rajtk
    ok Thanks
This discussion has been closed.