partially exiting bracket

nikhil154
i have bought 10 shares of bankbaroda via bracket order @ 102.75 and sltrigger order @101.5 .
Now i want to exit only partially by selling only 5 shares and hold the remaining 5 ...
How do i do that . I searched in the documentation also , but could not find anything useful

please help.... please post the python format , if it is possible
  • sujith
    You need to send a cancel request for the first leg of the bracket order.
  • nikhil154

    what do u mean by first leg ?

    if it is the buy order , it is already executed , so cant be modified.

    if it is the sl order , the whole position will get cancelled.
    i have tried the below to modify the sl order , but none of them work

    kite.modify_order(order_id=190214000629113,quantity=5,variety="bo",transaction_type="sell")
    kite.modify_order(order_id=190214000629113,quantity=5,variety="bo")
Sign In or Register to comment.