public class DiscountingIborFixingDepositProductPricer extends Object
This provides the ability to price ResolvedIborFixingDeposit. Those products are synthetic deposits
which are used for curve calibration purposes; they should not be used as actual trades.
| Modifier and Type | Field and Description |
|---|---|
static DiscountingIborFixingDepositProductPricer |
DEFAULT
Default implementation.
|
| Constructor and Description |
|---|
DiscountingIborFixingDepositProductPricer()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
parRate(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the deposit fair rate given the start and end time and the accrual factor.
|
PointSensitivities |
parRateSensitivity(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the deposit fair rate sensitivity to the curves.
|
double |
parSpread(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the spread to be added to the deposit rate to have a zero present value.
|
PointSensitivities |
parSpreadSensitivity(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the par spread curve sensitivity.
|
CurrencyAmount |
presentValue(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the present value of the Ibor fixing deposit product.
|
PointSensitivities |
presentValueSensitivity(ResolvedIborFixingDeposit deposit,
RatesProvider provider)
Calculates the present value sensitivity of the Ibor fixing product.
|
public static final DiscountingIborFixingDepositProductPricer DEFAULT
public DiscountingIborFixingDepositProductPricer()
public CurrencyAmount presentValue(ResolvedIborFixingDeposit deposit, RatesProvider provider)
The present value of the product is the value on the valuation date.
deposit - the productprovider - the rates providerpublic PointSensitivities presentValueSensitivity(ResolvedIborFixingDeposit deposit, RatesProvider provider)
The present value sensitivity of the product is the sensitivity of the present value to the underlying curves.
deposit - the productprovider - the rates providerpublic double parRate(ResolvedIborFixingDeposit deposit, RatesProvider provider)
deposit - the productprovider - the rates providerpublic PointSensitivities parRateSensitivity(ResolvedIborFixingDeposit deposit, RatesProvider provider)
deposit - the productprovider - the rates providerpublic double parSpread(ResolvedIborFixingDeposit deposit, RatesProvider provider)
deposit - the productprovider - the rates providerpublic PointSensitivities parSpreadSensitivity(ResolvedIborFixingDeposit deposit, RatesProvider provider)
deposit - the productprovider - the rates providerCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.