When a futures CFD contract expires, all the open positions are closed at the futures settlement price as reported by the futures exchange.