public interface VolatilitySurface
| Modifier and Type | Interface and Description |
|---|---|
static class |
VolatilitySurface.QuotingConvention
Quoting conventions.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the volatility surface.
|
VolatilitySurface.QuotingConvention |
getQuotingConvention()
Return the default quoting convention of this surface.
|
LocalDate |
getReferenceDate()
Return the reference date of this surface, i.e. the date
associated with t=0.
|
double |
getValue(AnalyticModel model,
double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
Returns the price or implied volatility for the corresponding maturity and strike.
|
double |
getValue(double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
Returns the price or implied volatility for the corresponding maturity and strike.
|
String getName()
LocalDate getReferenceDate()
double getValue(double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
maturity - The option maturity for which the price or implied volatility is requested.strike - The option strike for which the price or implied volatility is requested.quotingConvention - The quoting convention to be used for the return value.double getValue(AnalyticModel model, double maturity, double strike, VolatilitySurface.QuotingConvention quotingConvention)
model - An analytic model providing a context. Some curves do not need this (may be null).maturity - The option maturity for which the price or implied volatility is requested.strike - The option strike for which the price or implied volatility is requested.quotingConvention - The quoting convention to be used for the return value.VolatilitySurface.QuotingConvention getQuotingConvention()
Copyright © 2019. All rights reserved.