Class SabrIborCapFloorTradePricer

    • Method Detail

      • presentValueSensitivityRatesStickyModel

        public PointSensitivities presentValueSensitivityRatesStickyModel​(ResolvedIborCapFloorTrade trade,
                                                                          RatesProvider ratesProvider,
                                                                          SabrIborCapletFloorletVolatilities volatilities)
        Calculates the present value rates sensitivity of the Ibor cap/floor trade.

        The present value sensitivity is computed in a "sticky model parameter" style, i.e. the sensitivity to the curve nodes with the SABR model parameters unchanged. This sensitivity does not include a potential re-calibration of the model parameters to the raw market data.

        Parameters:
        trade - the Ibor cap/floor trade
        ratesProvider - the rates provider
        volatilities - the volatilities
        Returns:
        the present value sensitivity
      • presentValueSensitivityModelParamsSabr

        public PointSensitivityBuilder presentValueSensitivityModelParamsSabr​(ResolvedIborCapFloorTrade trade,
                                                                              RatesProvider ratesProvider,
                                                                              SabrIborCapletFloorletVolatilities volatilities)
        Calculates the present value volatility sensitivity of the Ibor cap/floor trade.

        The sensitivity of the present value to the SABR model parameters, alpha, beta, rho and nu.

        Parameters:
        trade - the Ibor cap/floor trade
        ratesProvider - the rates provider
        volatilities - the volatilities
        Returns:
        the present value sensitivity