|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Options.Option Options.CallAsPathDependent
Plain vanilla European call declared as a path dependent option to test the pricing routines for path dependent options (full asset paths are computed to evaluate the option price).
Field Summary |
Fields inherited from class Options.Option |
ANALYTIC_DELTA, ANALYTIC_MINIMUM_VARIANCE_DELTA, ANALYTIC_QUOTIENT_DELTA, MARKET_PROBABILITY, MINIMUM_VARIANCE_DELTA, MONTE_CARLO_DELTA, QUOTIENT_DELTA, RISK_NEUTRAL_PROBABILITY |
Constructor Summary | |
CallAsPathDependent(double K,
Asset asset)
|
Method Summary | |
double |
currentDiscountedPayoff()
Payoff computed from discounted price path t->S^B(t) of the underlying asset. |
double |
discountedAnalyticPrice(int t)
Analytic price as function of t and the discounted price S[t]=S^B(t) of the underlying at time t. |
double |
get_K()
The strike price. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CallAsPathDependent(double K, Asset asset)
K
- strike price.asset
- underlying asset.Method Detail |
public double get_K()
public double currentDiscountedPayoff()
Payoff computed from discounted price path t->S^B(t) of the underlying asset.
currentDiscountedPayoff
in class Option
public double discountedAnalyticPrice(int t)
Analytic price as function of t and the discounted price S[t]=S^B(t) of the underlying at time t.
discountedAnalyticPrice
in class Option
t
- current time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |