org.jquantlib.pricingengines
Class BlackCalculator
- java.lang.Object
-
- org.jquantlib.pricingengines.BlackCalculator
-
public class BlackCalculator extends java.lang.ObjectBlack 1976 calculator class
-
-
Constructor Summary
Constructors Constructor and Description BlackCalculator(StrikedTypePayoff payoff, double forward, double stdDev)BlackCalculator(StrikedTypePayoff payoff, double forward, double stdDev, double discount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublealpha()doublebeta()doubledelta(double spot)Sensitivity to change in the underlying spot price.doubledeltaForward()Sensitivity to change in the underlying forward price.doubledividendRho(double maturity)Sensitivity to dividend/growth rate.doubleelasticity(double spot)Sensitivity in percent to a percent change in the underlying spot price.doubleelasticityForward()Sensitivity in percent to a percent change in the underlying forward price.doublegamma(double spot)Second order derivative with respect to change in the underlying spot price.doublegammaForward()Second order derivative with respect to change in the underlying forward price.doubleitmAssetProbability()Probability of being in the money in the asset martingale measure, i.e.doubleitmCashProbability()Probability of being in the money in the bond martingale measure, i.e.doublerho(double maturity)Sensitivity to discounting rate.doublestrikeSensitivity()Sensitivity to strike.doubletheta(double spot, double maturity)Sensitivity to time to maturity.doublethetaPerDay(double spot, double maturity)Sensitivity to time to maturity per day, assuming 365 day per year.doublevalue()doublevega(double maturity)Sensitivity to volatility.
-
-
-
Constructor Detail
-
BlackCalculator
public BlackCalculator(StrikedTypePayoff payoff, double forward, double stdDev)
-
BlackCalculator
public BlackCalculator(StrikedTypePayoff payoff, double forward, double stdDev, double discount)
-
-
Method Detail
-
value
public double value()
-
delta
public double delta(double spot)
Sensitivity to change in the underlying spot price.
-
deltaForward
public double deltaForward()
Sensitivity to change in the underlying forward price.
-
elasticity
public double elasticity(double spot)
Sensitivity in percent to a percent change in the underlying spot price.
-
elasticityForward
public double elasticityForward()
Sensitivity in percent to a percent change in the underlying forward price.
-
gamma
public double gamma(double spot)
Second order derivative with respect to change in the underlying spot price.
-
gammaForward
public double gammaForward()
Second order derivative with respect to change in the underlying forward price.
-
theta
public double theta(double spot, double maturity)Sensitivity to time to maturity.
-
thetaPerDay
public double thetaPerDay(double spot, double maturity)Sensitivity to time to maturity per day, assuming 365 day per year.
-
vega
public double vega(double maturity)
Sensitivity to volatility.
-
rho
public double rho(double maturity)
Sensitivity to discounting rate.
-
dividendRho
public double dividendRho(double maturity)
Sensitivity to dividend/growth rate.
-
itmCashProbability
public double itmCashProbability()
Probability of being in the money in the bond martingale measure, i.e. N(d2).It is a risk-neutral probability, not the real world one.
-
itmAssetProbability
public double itmAssetProbability()
Probability of being in the money in the asset martingale measure, i.e. N(d1).It is a risk-neutral probability, not the real world one.
-
strikeSensitivity
public double strikeSensitivity()
Sensitivity to strike.
-
alpha
public double alpha()
-
beta
public double beta()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG