Stav dette: Counterparty credit risk and credit value adjustment