I cannot find a way to exit a trade based on the Order Id in the Fyers API V3.
Is it possible?
Hey @ganesh_iyer ,
You can find the option to exit by ID here :
https://myapi.fyers.in/docsv3#tag/Other-Transactions/paths/~1OtherTrans/patch
I am referring to Order Id not this ID. When you place an order a unique no is generated (25071600112400). I want to use it to close an order. The method pointed out by the link will close all the orders of the same symbol at once. I want to close them individually base on my exit criteria. There is a way to do this for Stocks where I can place an opposite order. But on Option symbol it is not possible.