This order book has red lines and green lines how is that calculated ?
It's the amount from the total, on both sides.
It's usually grouped by a number of decimals, but in your image the total column is already grouped at 2 decimals, so in your case it's simply the total.