First of all, cash = open position+close position.
For example, the first line shows the last transaction in 14:59 minutes. A total of 32 lots were sold, including opening 13 lots and closing 19 lots.
There is a misunderstanding in your understanding, that is, two-way trading of futures.
To put it simply, you sold me 10 tons of rebar. How many tons of rebar did we clinch? 10 ton? Or 20 tons?
Secondly, the diagram you gave lacks "warehouse difference". The warehouse difference in the first line should be -6, the second line is -24 and the third line is +22. The so-called warehouse difference is the number of positions opened MINUS the number of positions closed.
Actually, I don't think it's meaningful to study these. For example, in the first line, the opening quantity is 13 lots and the closing quantity is 19 lots. Among them, you can't judge how many people are involved in the transaction, and the number and direction of each person's position.