What would be the end of day balance in account?

one day a trader trade like this means what is his end of day balance in his account.
shares 500 qty first trade of day begins with 500 shares, first trade 500 shares then he sell 1000 shares and buy 1000 shares like and close with 500 shares, sl for 500 shares only.
stock price 622 per share BUY = B, SELL =S. STOPLOSS=SL, CLOSE=C.
account opening balance 25000.

B 622
S 618 - L 4
B 600 - P 18
SL 596 - L 4
S 596
B 580 - P 16
S 583 - P 3
B 538 - P 45
S 546 - P 8
SL 557 - L 11
S 551
B 546 - P 5
SL 542 - L 4
B 550
C 559 - P 9
total trade 12
TOTAL LOSS 23
TAKE COUNT ALL CHARGES IN COUNT.