Modify SL with Fyers API

Hello,

I placed BO with Fyers API. I want to modify non executed Stop Loss order using API. I have few questions regarding the payload.

Lets say I have a BO with entry price at 400 with TP at 450 and SL at 380. LTP for the symbol is 435? I want to modify my SL to 430. In this example, what should be my stop price? Is it in 30 points or the final value as 430.

Thank you!

orderId = order_id
data = {
    "id":orderId, 
    "type":1, 
    "stopPrice": ????, 
    "qty":1
}

response = fyers.modify_order(data=data)
print(response)
3 replies