Home › Forums › Getting Started › Cross Currency Swap Valuation › Reply To: Cross Currency Swap Valuation
Hi Roland,
following up on Niall’s comments, please have a look at Example_8. It covers pricing and exposure simulation for a cross currency swap, so the set up we have chosen there takes cross currency basis into account, and it is assuming EUR collateral.
In Examples/Example_8/Input/ore.xml we say that we want to use the market configuration “collateral_eur”.
In Examples/Input/todaysmarket.xml you then see that this means we use the following discount curves
i.e. Eonia discounting in EUR and e.g. a USD-IN-EUR for discounting USD cash flows.
And finally in Examples/Input/curveconfig.xml you will find the following which defines how the USD-IN-EUR curve is constructed from FX Forwards and Cross Currency Basis Swaps:
FXFWD/RATE/EUR/USD/3M
FXFWD/RATE/EUR/USD/6M
FXFWD/RATE/EUR/USD/9M
FXFWD/RATE/EUR/USD/12M
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/2Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/3Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/4Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/5Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/7Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/10Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/15Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/20Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/30Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/40Y
CC_BASIS_SWAP/BASIS_SPREAD/USD/3M/EUR/3M/50Y
I hope that helps.
Regards,
Roland