FXSwap-class: FX Swap Class

Description Arguments Value Author(s) References Examples

Description

Creates an FX Swap object with the relevant info needed to calculate the Exposure-at-Default (EAD)

Arguments

Notional

The notional amount of the trade

MTM

The mark-to-market valuation of the trade

Currency

The currency set that the trade belongs to

Si

The number of years that the trade will take to start (zero if already started)

Ei

The number of years that the trade will expire

BuySell

Takes the values of either 'Buy' or 'Sell'

traded_price

the price that trade was done

Value

An object of type FXSwap

Author(s)

Tasos Grivas <tasos@openriskcalculator.com>

References

Basel Committee: The standardised approach for measuring counterparty credit risk exposures http://www.bis.org/publ/bcbs279.htm

Examples

1
tr1 = FXSwap(Notional=10000,MtM=30,ccyPair="EUR/USD",Si=0,Ei=10,BuySell='Buy')

Trading documentation built on May 19, 2017, 3:59 p.m.

Search within the Trading package
Search all R packages, documentation and source code