asset: Constructing an Asset with Direct Market Price
Description
Constructor for the S3 class asset.
It allows to build for an asset position with direct market price
known under the name "Aktiven mit direkt marktabh<U+00E4>ngigen Preisen"
in the FINMA technical document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
Usage
asset(type, currency, value)
Arguments
type
character value of length one representing the type of the asset position. This parameter relates
to the "Preisrisikofaktor" index i in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
type cannot be one of the following
reserved character:
"currency"
"rate"
"pcRate"
"spread"
currency
character value of length one representing the currency in which
the asset is valuated. This parameter relates
to the "Fremdw<U+00E4>hrungsrisikofaktor" index j in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
value
non-zero numeric value of length one representing the exposure in the
underlying asset. This must be expressed in the same currency as
currency. Note that if value is negative the position
is interpreted as a short position. If the value is set to 0,
a warning will be triggered. This parameter corresponds to the quantity $$\hat{E}_{0,i,j}$$ for asset with direct market price
in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".