The profit and loss of positions held on that day =(2040-2000)*20* 10=8000, and the profit and loss of 20 lots still holding positions are calculated according to the settlement price of that day.
So the total profit and loss of customers on that day =10000+8000 =18000.