I am trying to update a limit order but getting this weird error
End point: https://api-t1.fyers.in/api/v3/orders/sync
Method : PATCH
Req body: {“id”:“24041200279250”,“limitPrice”:107.75}
responseBody : {“code”:-50,“message”:“limitPrice: Must be less than or equal to 0”,“s”:“error”}
Here i am passing the ltp of the ordered symbol and as per documentation these 2 parameters only needed to do this. I also tried with v2 api with PUT method but there also getting same response.