Method to get the Net MTM of FnO positions for the day

I need to track my MTM for the day for the Portfolio SL.
Can you please provide a method to get the FnO positions for the day NET?
Can you please provide the formula how the Net MTM is calculated, the same that we see in the positions in the app\webb?

Hi Nandan_Pandarathil,
We are working on the issue. We will get back to you soon.

Thanks for the update