Modifying first and second leg of cover order

vinod1962
Hi
Is it possible to modify price ( buy price- limit order) and trigger price ( sl-m) for the unexecuted cover order?

I know we can modify the sl-m with the help of parent order id once the first leg of the cover order gets executed, but there are times when I want to change both first and second leg of pending cover order.

In kite web app, if we want to do it we have to do it seperately for buy and sell leg. Is it the same for kite api ?

Or can both legs be changed by single statement
  • rakeshr
    Is it the same for kite api ?
    Yes, both will have different order_id, and you need to use the respective pending limit and SL-M order_id to modify the required order.
  • vinod1962
    Thanks for clarifying the doubt @rakeshr
    Also, could you tell me what rounding parameters does Zerodha uses for vwap, moving avg and other indicators calculation.
    Is it rounded down, rounded up or default round function.

    Or maybe it's something else like truncating to only decimal places.

    It will be really helpful.

    Thanks
  • rakeshr
    Also, could you tell me what rounding parameters does Zerodha uses for vwap, moving avg and other indicators calculation.
    Outside of Connect API scope, won't be able to help much on this.
This discussion has been closed.