We address the problem of allocating the counterparty-level credit valuation adjustment (CVA) to the individual trades composing the portfolio. We show that this problem can be reduced to calculating contributions of the trades to the counterparty-level expected exposure (EE) conditional on the...