The loss goes into your basket of taxable income.
It actually depends on your employee tax that you have paid during the year.
IF the CFD loss reduces your taxable income to zero and you paid in R20000 of PAYE you will only get a Refund of R20000.
If there was a way to recover 100% everyone would be trading!
If you need any help give me a buzz i am a professional.