public interface Sensitivities extends PortfolioItem, org.joda.beans.ImmutableBean, Serializable
Sometimes it is useful to pass in a representation of risk rather than explicitly listing the current portfolio of trades and/or positions. This target is designed to allow this.
The most common implementation is CurveSensitivities, which allows delta and gamma
sensitivity to curves to be expressed.
Implementations may express the risk in any way they see fit. Where risk is grouped, such as by trade, it is intended that one instance exists for each grouping.
CurveSensitivities| Modifier and Type | Method and Description |
|---|---|
PortfolioItemInfo |
getInfo()
Gets the additional information.
|
Sensitivities |
withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.
|
getId, summarizePortfolioItemInfo getInfo()
All sensitivity instances contain this standard set of information. One use is to represent the grouping criteria for this instance.
getInfo in interface PortfolioItemSensitivities withInfo(PortfolioItemInfo info)
withInfo in interface PortfolioIteminfo - the new infoCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.