# How to stop the order that is placed via API at breakeven automatically

**URL:** <https://community.tradovate.com/t/how-to-stop-the-order-that-is-placed-via-api-at-breakeven-automatically/4619>\
**Category:** API Developers\
**Created:** [May 11, 2022, 8:32pm UTC](https://community.tradovate.com/t/how-to-stop-the-order-that-is-placed-via-api-at-breakeven-automatically/4619 "2022-05-11T20:32:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smart-money](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@smart-money](https://community.tradovate.com/u/smart-money)\
**Post date:** [May 11, 2022, 8:32pm UTC](https://community.tradovate.com/t/how-to-stop-the-order-that-is-placed-via-api-at-breakeven-automatically/4619/1 "2022-05-11T20:32:47Z")

</div>

Step are :

1. place a API buy/sell order
2. order gets into some profit (lets say $400)
3. now i would like that i have auto stop placed to be stopped out at breakeven?

- i do no have dom access to place bracket order after the order is placed. is it possible with OSO? if any example would be great.

appreciate any help here.

---

<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:** [May 12, 2022, 1:05pm UTC](https://community.tradovate.com/t/how-to-stop-the-order-that-is-placed-via-api-at-breakeven-automatically/4619/2 "2022-05-12T13:05:48Z")

</div>

You could just send another `/order/placeOrder` and make it a Stop at the price you originally bought.

---

<div class="post-metadata">

**Author:** ![smart-money](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@smart-money](https://community.tradovate.com/u/smart-money)\
**Post date:** [May 12, 2022, 8:50pm UTC](https://community.tradovate.com/t/how-to-stop-the-order-that-is-placed-via-api-at-breakeven-automatically/4619/3 "2022-05-12T20:50:48Z")

</div>

The problem with that is i am using Autoview with tradingview and its sort of one way communication. i have no handle over the buy or sell price that my order was executed at.
