powered by
Creates a FX Forward Object with the relevant info needed to calculate the Exposure-at-Default (EAD)
The notional amount of the trade
The mark-to-market valuation of the trade
The currency that the input amounts are in
The currency Pair of the trade
The number of years that the trade will take to start (zero if already started)
The number of years that the trade will expire
Takes the values of either 'Buy' or 'Sell'
the price that trade was done
An object of type FX Forward
Basel Committee: The standardised approach for measuring counterparty credit risk exposures http://www.bis.org/publ/bcbs279.htm
# NOT RUN { ## a FX Forward trade tr1 = FxForward(Notional=10000,MtM=-50,Si=0,Ei=0.75,BuySell='Buy',ccyPair="EUR/USD") # }
Run the code above in your browser using DataLab