# Update Stop Loss on a filled order

**URL:** <https://forum.alpaca.markets/t/update-stop-loss-on-a-filled-order/1374>\
**Category:** Alpaca Integration Applications\
**Created:** [May 5, 2020, 3:06pm UTC](https://forum.alpaca.markets/t/update-stop-loss-on-a-filled-order/1374 "2020-05-05T15:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Raveendran](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/rajesh_raveendran/32/721_2.png) [@Rajesh\_Raveendran](https://forum.alpaca.markets/u/Rajesh_Raveendran)\
**Post date:** [May 5, 2020, 3:06pm UTC](https://forum.alpaca.markets/t/update-stop-loss-on-a-filled-order/1374/1 "2020-05-05T15:06:37Z")

</div>

hi there, I am trying to update the stop loss after knowing the price at which a order was filled. So I call list\_positions to get the fill price and calculate a stop loss to update. I call

order = api.replace\_order(order\_id=“97d0953b-5bbc-4a3f-8c39-241cd8a5d014”,  
stop\_price=208.90  
)  
BUt i get an error saying,

alpaca\_trade\_api.rest.APIError: only simple orders can be replaced at this time

Is it not possible to update stop\_price?

---

<div class="post-metadata">

**Author:** ![Brian\_Rowe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/brian_rowe/32/2322_2.png) [@Brian\_Rowe](https://forum.alpaca.markets/u/Brian_Rowe)\
**Post date:** [June 17, 2021, 10:37pm UTC](https://forum.alpaca.markets/t/update-stop-loss-on-a-filled-order/1374/2 "2021-06-17T22:37:54Z")

</div>

Did you ever get an answer or figure this out? I don’t see how, so I am cancelling the original and creating a new order. But there is no documentation on how to create a ‘simple’ order with a stop\_loss, so I’m wondering if you found it?
