Request for CFD margin call calculation

You are correct. I found this helpful here. and also this example CFD margin calls.