Stop Order Modifying?

i can modify my limit order but in modify_order function, there is no stop price parameter, so how can i modify my stop order.

As far as I understand you, you want to create an OCO order: https://academy.binance.com/en/glossary/oco-order

An OCO (One Cancels the Other) order allows you to place two orders at the same time. It combines a limit order with a stop-limit order but only one of them can be executed.

Does that help you?

hello there, i am a beginner trader on binance and i wanted to automate my strategy using trendlines, i made a bot that calculates a slope for t.lines but it should modify the limit order every 5 min acording to price,its been a month since i stuck on modifying limit order, how i can modify placed limit order using binance’s api on python? thankyou