Parametric Risk Attribution¶
The Parametric Risk Attribution worker calculates the magnitude of a security's reaction to changes in underlying factors, most often in terms of its price response to other factors.

Parameters¶
The Parametric Risk Attribution worker must receive specific parameters in order to execute properly. When parameters are not set correctly it may cause the worker to not work as expected. This worker's parameters are separated in the following tabs: Input and Advanced.
Input¶
The Input tab contains parameters which are consumed by the worker, in order to execute its calculations or actions.

Portfolio¶
Select the portfolio to be calculated using Fixed Portfolio, Get Latest, Get List or Upstream Data variants.
Workspace¶
Set the research workspace of the portfolio to be calculated using Fixed Workspace variant
Filter¶
Select the filter to be applied in the calculation using Select variant.

Aggregation¶
Select the aggregation to be applied in the calculation using Select variant.

Time Period¶
Select the time period to be applied in the calculation using Select variant.

Format¶
Select the format in which the calculation will be performed using Select variant.

Advanced¶
The Advanced tab contains parameters that defines the worker execution results, and how it will be provided to downstream workers.

Fixed Income Mapping¶
Select whether the worker will map fixed income through Duration or Cashflows using Boolean variant.
Horizon¶
Set horizon using Select variant. You can check the Sampling Combination section, on the Everysk API documentation, to know more about combinations between Horizon and Sampling.

Sampling¶
Set the sampling using Select variant. You can check the Sampling Combination section, on the Everysk API documentation, to know more about combinations between Horizon and Sampling.

Volatility Half-Life¶
Set the Volatility Half-Life using Select variant.

Correlation Half-Life¶
Set the Correlation Half-Life using Select variant.

Confidence¶
Set the Confidence using Select variant.

Result¶
Once the worker finishes its executions successfully, it will return a result object containing the merged portfolio to the workflow, which can be used by downstream workers. Below you can see an example of the Parametric Risk Attribution's result object hierarchy.
- Portfolio Level (object)
- Volatility (number)
- VaR (number)
- CVaR (number)
- Aggregation Level (object)
- Aggregation ID (string)
- Contribution to Volatility (number)
- Contribution to VaR (number)
- Contribution to CVaR (number)