Package org.drip.pricer.option
Class Greeks
java.lang.Object
org.drip.pricer.option.Greeks
- Direct Known Subclasses:
PutGreeks
public class Greeks
extends java.lang.Object
Greeks contains the Sensitivities/Pricing Measures common across both Call and Put Option Pricing
Runs.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Custom Pricing Algorithms and the Derivative Fokker Planck Trajectory Generators
- Package = Deterministic/Stochastic Volatility Settings/Greeks
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Greeks(double dblDF, double dblEffectiveVolatility, double dblExpectedPayoff, double dblExpectedATMPayoff, double dblPrice, double dblProb1, double dblProb2, double dblDelta, double dblVega, double dblTheta, double dblRho, double dblGamma, double dblVanna, double dblVomma, double dblCharm, double dblVeta, double dblColor, double dblSpeed, double dblUltima)
The Greeks Constructor -
Method Summary
Modifier and Type Method Description double
charm()
The Option Charmdouble
color()
The Option Colordouble
delta()
The Option Deltadouble
df()
The Option Terminal Discount Factordouble
effectiveVolatility()
The "Effective" Volatilitydouble
expectedATMPayoff()
The Expected ATM Payoffdouble
expectedPayoff()
The Expected Payoffdouble
gamma()
The Option Gammadouble
price()
The Option Pricedouble
prob1()
The Prob 1 Termdouble
prob2()
The Prob 2 Termdouble
rho()
The Option Rhodouble
speed()
The Option Speeddouble
theta()
The Option Thetadouble
ultima()
The Option Ultimadouble
vanna()
The Option Vannadouble
vega()
The Option Vegadouble
veta()
The Option Vetadouble
vomma()
The Option VommaMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Greeks
public Greeks(double dblDF, double dblEffectiveVolatility, double dblExpectedPayoff, double dblExpectedATMPayoff, double dblPrice, double dblProb1, double dblProb2, double dblDelta, double dblVega, double dblTheta, double dblRho, double dblGamma, double dblVanna, double dblVomma, double dblCharm, double dblVeta, double dblColor, double dblSpeed, double dblUltima) throws java.lang.ExceptionThe Greeks Constructor- Parameters:
dblDF
- The Payoff Discount FactordblEffectiveVolatility
- Effective VolatilitydblExpectedPayoff
- Expected Forward PayoffdblExpectedATMPayoff
- Expected ATM Forward PayoffdblPrice
- PricedblProb1
- Probability Term #1dblProb2
- Probability Term #2dblDelta
- DeltadblVega
- VegadblTheta
- ThetadblRho
- RhodblGamma
- GammadblVanna
- VannadblVomma
- VommadblCharm
- CharmdblVeta
- VetadblColor
- ColordblSpeed
- SpeeddblUltima
- Ultima- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
df
public double df()The Option Terminal Discount Factor- Returns:
- The Option Terminal Discount Factor
-
effectiveVolatility
public double effectiveVolatility()The "Effective" Volatility- Returns:
- The "Effective" Volatility
-
expectedPayoff
public double expectedPayoff()The Expected Payoff- Returns:
- The Expected Payoff
-
expectedATMPayoff
public double expectedATMPayoff()The Expected ATM Payoff- Returns:
- The Expected ATM Payoff
-
price
public double price()The Option Price- Returns:
- The Option Price
-
prob1
public double prob1()The Prob 1 Term- Returns:
- The Prob 1 Term
-
prob2
public double prob2()The Prob 2 Term- Returns:
- The Prob 2 Term
-
delta
public double delta()The Option Delta- Returns:
- The Option Delta
-
vega
public double vega()The Option Vega- Returns:
- The Option Vega
-
theta
public double theta()The Option Theta- Returns:
- The Option Theta
-
rho
public double rho()The Option Rho- Returns:
- The Option Rho
-
gamma
public double gamma()The Option Gamma- Returns:
- The Option Gamma
-
vanna
public double vanna()The Option Vanna- Returns:
- The Option Vanna
-
vomma
public double vomma()The Option Vomma- Returns:
- The Option Vomma
-
charm
public double charm()The Option Charm- Returns:
- The Option Charm
-
veta
public double veta()The Option Veta- Returns:
- The Option Veta
-
color
public double color()The Option Color- Returns:
- The Option Color
-
speed
public double speed()The Option Speed- Returns:
- The Option Speed
-
ultima
public double ultima()The Option Ultima- Returns:
- The Option Ultima
-