# How to modify stop loss and/or take profit on already live order?

**URL:** <https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966>\
**Category:** Community Support\
**Created:** [August 30, 2021, 4:47am UTC](https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966 "2021-08-30T04:47:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@Brian](https://community.tradovate.com/u/Brian)\
**Post date:** [August 30, 2021, 4:47am UTC](https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966/1 "2021-08-30T04:47:31Z")

</div>

Hello, I can’t seem to understand how to modify the stop loss or change the take profit price in an already active order via the API. Also, any idea when you will have sample python templates?

Thank you

---

<div class="post-metadata">

**Author:** ![Alexander](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/alexander/32/988_2.png) [@Alexander](https://community.tradovate.com/u/Alexander)\
**Post date:** [August 30, 2021, 2:31pm UTC](https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966/2 "2021-08-30T14:31:19Z")

</div>

You can use the `order/modifyOrder` endpoint, [docs here](https://api.tradovate.com/#operation/modifyOrder).

As for python templates, we currently do not have a timeline for them, but I do know that some other community members are using python, so you may still get help here.

---

<div class="post-metadata">

**Author:** ![Brian](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@Brian](https://community.tradovate.com/u/Brian)\
**Post date:** [August 30, 2021, 2:42pm UTC](https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966/3 "2021-08-30T14:42:42Z")

</div>

thank you, so this endpoint will modify orders that have already been executed as well?

---

<div class="post-metadata">

**Author:** ![Alexander](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/alexander/32/988_2.png) [@Alexander](https://community.tradovate.com/u/Alexander)\
**Post date:** [August 30, 2021, 5:43pm UTC](https://community.tradovate.com/t/how-to-modify-stop-loss-and-or-take-profit-on-already-live-order/2966/4 "2021-08-30T17:43:56Z")

</div>

Yes, you could for example use the dependent orders in a brackets strategy and modify where they take profit or stop loss based on incoming data.
