After the expiration, the delivery procedures shall be carried out at the cash price difference according to the actual indicators. For example, when you bought the stock index, it was 1500, and you never closed your position. When the index is 1800, you will have a profit margin of 300 points. As for the specific profit, it depends on the value of each point.
On the other hand, if the index at the time of delivery is 1400 points, the loss is 100 points.