How does Tapaas calculate the rebate?

 
The rebate is only calculated per closed trade, not the total traded volume.