How is profit from partial trade closures recorded?

Profit from a partial trade closure strategy is only recorded on the final day when all remaining portions of the trade have been fully closed.
Example:
March 25: Open a 1lot XAUUSD trade
March 26: Close 0.2 lots with a profit of $120
March 27: Close 0.5 lots with a profit of $190
March 28: Close the remaining 0.3 lots with a profit of $50
Total profit for the 1lot XAUUSD trade = $360, recorded on March 28.