Hello, the opening price MINUS the closing price is your profit, and the total contract value of your profit or loss is multiplied by your opening price. The opening price multiplied by the number of positions you hold is your real position cost.
The contract value calculated by the average position price is the floating profit and loss value.