Is there any way to fetch positions P&L using fyers api .

I'm running algo code and I want to exit all positions for the day, If position's P&L reaches some defined value. Is there any fyers API can give me the positions P&L, So that I can try fetch the value for every 30 seconds something like that.

3 replies