Commodity-class | R Documentation |
Creates a Commodity Object with the relevant info needed to calculate the Exposure-at-Default (EAD)
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) |
BuySell |
Takes the values of either 'Buy' or 'Sell' |
commodity_type |
Takes the values of 'Oil/Gas','Silver','Electricity' etc. |
An object of type Commodity
Tasos Grivas <tasos@openriskcalculator.com>
Basel Committee: The standardised approach for measuring counterparty credit risk exposures http://www.bis.org/publ/bcbs279.htm
tr1 = Commodity(Notional=10000,MtM=-50,
BuySell='Buy',SubClass='Energy',commodity_type='Oil')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.