Skip to main content
Version: 21.8.3

ewrDistribution

Summary

The ewrDistribution function spills the asset or portfolio returns over 500 cells. The only calculation level possible is portfolio.

Examples

=ewrDistribution("pnl", "portfolio", "historicalInnovation", 252, C11, 1, "EUR", FALSE)

Spans the distribution of asset C11 using the historical innovation model with a time horizon of 252 days. The weight D11 must be equal to 100%. The currency is EUR. The last parameter is set to FALSE hence the output will be a column (a row otherwise).

=ewrDistribution("pnl", "portfolio", "historicalInnovation", 252, "CH0038863350", 1, "EUR", FALSE)

This example can be copied and pasted to Excel and will give an instantaneous result.

Syntax

ewrDistribution(Measure, CalculationsLevel, ScenarioType, TimeHorizon, AssetIDs[], Weights[], Currency, IsRow)
Argument nameDefaultDescription
Measurepnl
CalculationsLevelportfolio
ScenarioTypeHow the possible scenarios for the asset prices are computed.
TimeHorizonThe time interval over which the risks are estimated (i.e. between now and now + risk-horizon).
AssetIDsSingle or multiple asset identifiers (ISIN, FIGI, currency ISO, Edgelab ID).
WeightsAsset weights in the same orders as the specified asset ids and must sum up to 100%.
IsRow (Optional)falseIf sets to true, the output is displayed as a row