South Africa's rand ended the week with its biggest loss in a month on Friday but had bounced from two-week lows on hopes that European leaders were close to a deal that will recapitalise banks and stop the debt crisis from spreading.