Entry wise max profit & max loss

Is there any option to check max profit and loss
traded instrument wise function in code?

I have been using max profit and max loss which is calculated at strategy wise.

Do you got answer ? I also looking for same solution