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”,
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?