How to get order wise PNL for options?

How to get order wise PNL for options? Let say I’ve entered and exit same strike multiple time in the day I want the pnl of every entry and exit how to get that ?