Confusing Amount value

When we have a long position in CNC and we sell it on particular day, and again buy for swing trading then current day the amount of shares on hold are represented as Today’s bought - Today sold. While it should show how many shares are i hold. I already booked the profit/loss of yesterday’s buy then what is the point of showing the holdings in such a confusing way.

Attached the screenshot: i bought 80 shares of JSWSTEEL yesterday and sold today, Today i again buy 100 shares, Now my holdings are showing 20 shares of JSWSTEEL and the Profit that is being shown is incorrect(it should be yesterdays price minus today’s sold price times 80).