Learn R Programming

Trading (version 3.2)

OtherExposure-class: OtherExposure Class

Description

Creates a OtherExposure Object with the relevant info needed to calculate the Exposure-at-Default (EAD)

Value

An object of type OtherExposure

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'

SubClass

Defines the hedging set the relevant trade will belong to

Author

Tasos Grivas <tasos@openriskcalculator.com>

References

Regulation (EU) 2019/876 of the European Parliament and of the Council of 20 May 2019 http://data.europa.eu/eli/reg/2019/876/oj

Examples

Run this code


tr1 = OtherExposure(Notional=10000,MtM=-50,Si=0,Ei=10,
BuySell='Buy',SubClass='Other_1')

Run the code above in your browser using DataLab