Is there any api call to get the overall pnl of the positions ? please could u provide latest and more indept API documentation

i am currently developing a automated also i want to fetch the Overall P&L for that i want to know if there is any api other than position to direectly get the overall pnl. i am currently using get position api to get the order.

Yes, @KAUSTUBH_MANJREKAR, thats the current way which retrieves the total P&L of positions. However, if you wish to calculate the P&L for a specific trade, you may refer to the Trade Profit and Loss APIs.

thankx for the information , if u have any indept documention other than the website related to the api could u share it with me please. also every 2-3 month i have to download the complete data file from upstock website, is there any other way from where i can get the file automatically .