Class BlackFormula
- java.lang.Object
-
- org.jquantlib.pricingengines.BlackFormula
-
public class BlackFormula extends java.lang.ObjectBlack 1976 formula
-
-
Constructor Summary
Constructors Constructor and Description BlackFormula()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublebachelierBlackFormula(Option.Type optionType, double strike, double forward, double stddev)Black style formula when forward is normal rather than log-normal.static doublebachelierBlackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount)Black style formula when forward is normal rather than log-normal.static doublebachelierBlackFormula(PlainVanillaPayoff payoff, double forward, double stddev)Black style formula when forward is normal rather than log-normal.static doublebachelierBlackFormula(PlainVanillaPayoff payoff, double forward, double stddev, double discount)Black style formula when forward is normal rather than log-normal.static doubleblackFormula(Option.Type optionType, double strike, double forward, double stddev)Black 1976 formulastatic doubleblackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount)Black 1976 formulastatic doubleblackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount, double displacement)Black 1976 formulastatic doubleblackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev)Black 1976 formulastatic doubleblackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double discount)Black 1976 formulastatic doubleblackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double discount, double displacement)Black 1976 formulastatic doubleblackFormulaCashItmProbability(Option.Type optionType, double strike, double forward, double stddev)Black 1976 probability of being in the money (in the bond martingale measure), i.e.static doubleblackFormulaCashItmProbability(Option.Type optionType, double strike, double forward, double stddev, double displacement)Black 1976 probability of being in the money (in the bond martingale measure), i.e.static doubleblackFormulaCashItmProbability(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double displacement)Black 1976 probability of being in the money (in the bond martingale measure), i.e.static doubleblackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess, double accuracy)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess, double accuracy, double displacement)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess, double accuracy)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess, double accuracy, double displacement)Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice, double discount)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double displacement)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double displacement)Approximated Black 1976 implied standard deviation, i.e.static doubleblackFormulaStdDevDerivative(double strike, double forward, double stddev)Black 1976 formula for standard deviation derivativestatic doubleblackFormulaStdDevDerivative(double strike, double forward, double stddev, double discount)Black 1976 formula for standard deviation derivativestatic doubleblackFormulaStdDevDerivative(double strike, double forward, double stddev, double discount, double displacement)Black 1976 formula for standard deviation derivativestatic doubleblackFormulastddevDerivative(PlainVanillaPayoff payoff, double forward, double stddev)Black 1976 formula for standard deviation derivativestatic doubleblackFormulastddevDerivative(PlainVanillaPayoff payoff, double forward, double stddev, double discount)Black 1976 formula for standard deviation derivativestatic doubleblackFormulaStdDevDerivative(PlainVanillaPayoff payoff, double forward, double stddev, double discount, double displacement)Black 1976 formula for standard deviation derivative
-
-
-
Method Detail
-
blackFormula
public static double blackFormula(Option.Type optionType, double strike, double forward, double stddev)
Black 1976 formula
-
blackFormula
public static double blackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount)
Black 1976 formula
-
blackFormula
public static double blackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount, double displacement)
Black 1976 formula
-
blackFormula
public static double blackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev)
Black 1976 formula
-
blackFormula
public static double blackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double discount)
Black 1976 formula
-
blackFormula
public static double blackFormula(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double discount, double displacement)
Black 1976 formula
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice, double discount)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double displacement)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDevApproximation
public static double blackFormulaImpliedStdDevApproximation(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double displacement)
Approximated Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity).It is calculated using Brenner and Subrahmanyan (1988) and Feinstein (1988) approximation for at-the-money forward option, with the extended moneyness approximation by Corrado and Miller (1996)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess, double accuracy)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(Option.Type optionType, double strike, double forward, double blackPrice, double discount, double guess, double accuracy, double displacement)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess, double accuracy)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaImpliedStdDev
public static double blackFormulaImpliedStdDev(PlainVanillaPayoff payoff, double strike, double forward, double blackPrice, double discount, double guess, double accuracy, double displacement)
Black 1976 implied standard deviation, i.e. volatility*sqrt(timeToMaturity)
-
blackFormulaCashItmProbability
public static double blackFormulaCashItmProbability(Option.Type optionType, double strike, double forward, double stddev)
Black 1976 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.
-
blackFormulaCashItmProbability
public static double blackFormulaCashItmProbability(Option.Type optionType, double strike, double forward, double stddev, double displacement)
Black 1976 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.
-
blackFormulaCashItmProbability
public static double blackFormulaCashItmProbability(PlainVanillaPayoff payoff, double strike, double forward, double stddev, double displacement)
Black 1976 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.
-
blackFormulaStdDevDerivative
public static double blackFormulaStdDevDerivative(double strike, double forward, double stddev)Black 1976 formula for standard deviation derivative
-
blackFormulaStdDevDerivative
public static double blackFormulaStdDevDerivative(double strike, double forward, double stddev, double discount)Black 1976 formula for standard deviation derivative
-
blackFormulaStdDevDerivative
public static double blackFormulaStdDevDerivative(double strike, double forward, double stddev, double discount, double displacement)Black 1976 formula for standard deviation derivative
-
blackFormulastddevDerivative
public static double blackFormulastddevDerivative(PlainVanillaPayoff payoff, double forward, double stddev)
Black 1976 formula for standard deviation derivative
-
blackFormulastddevDerivative
public static double blackFormulastddevDerivative(PlainVanillaPayoff payoff, double forward, double stddev, double discount)
Black 1976 formula for standard deviation derivative
-
blackFormulaStdDevDerivative
public static double blackFormulaStdDevDerivative(PlainVanillaPayoff payoff, double forward, double stddev, double discount, double displacement)
Black 1976 formula for standard deviation derivative
-
bachelierBlackFormula
public static double bachelierBlackFormula(PlainVanillaPayoff payoff, double forward, double stddev, double discount)
Black style formula when forward is normal rather than log-normal. This is essentially the model of Bachelier.
-
bachelierBlackFormula
public static double bachelierBlackFormula(Option.Type optionType, double strike, double forward, double stddev, double discount)
Black style formula when forward is normal rather than log-normal. This is essentially the model of Bachelier.
-
bachelierBlackFormula
public static double bachelierBlackFormula(Option.Type optionType, double strike, double forward, double stddev)
Black style formula when forward is normal rather than log-normal. This is essentially the model of Bachelier.
-
bachelierBlackFormula
public static double bachelierBlackFormula(PlainVanillaPayoff payoff, double forward, double stddev)
Black style formula when forward is normal rather than log-normal. This is essentially the model of Bachelier.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG