I am looking to access the realized profit/loss during the day. When backtesting, how do we get the realized profit at any instant for that day alone? thanks.

Author