|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--webcab.lib.finance.options.EuropeanRho
Within this class we consider the evaluation of the Rho of European options on equities, equity indexes, currencies and futures contracts in accordance with the classical Black-Scholes model.
Recall that the Rho of an option contract is the rate of change (i.e. the first derivative) of the option price with respect to changes of the risk free interest rate.
| Constructor Summary | |
EuropeanRho()
Creates a new instance. |
|
| Method Summary | |
double |
callRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluates Rho for a European call option whether or not the underlying asset pays a dividend. |
double |
callRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Evaluates Rho for a European call option whether or not the underlying asset pays a dividend. |
double |
callRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Returns the Rho for a European call option on a currency with respect to the base currencies interest rate. |
double |
callRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Returns the Rho for a European call option on a currency with respect to the base currencies interest rate. |
double |
callRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluates the Rho for a European call option on a currency with respect to the foreign currencies interest rate. |
double |
callRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
double timeToMaturity)
Evaluates the Rho for a European call option on a currency with respect to the foreign currencies interest rate. |
double |
callRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluate the Rho for a European call option on an index. |
double |
callRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Evaluate the Rho for a European call option on an index. |
double |
putRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluate the Rho for a European put option whether or not the underlying asset pays a dividend. |
double |
putRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Evaluate the Rho for a European put option whether or not the underlying asset pays a dividend. |
double |
putRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Returns the Rho for a European put option on a currency with respect to the base currencies interest rate. |
double |
putRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Returns the Rho for a European put option on a currency with respect to the base currencies interest rate. |
double |
putRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluates the rho for a European put option on a currency with respect to the foreign currencies interest rate. |
double |
putRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
double timeToMaturity)
Evaluates the rho for a European put option on a currency with respect to the foreign currencies interest rate. |
double |
putRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
Evaluate the Rho for a European put option on an index. |
double |
putRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
Evaluate the Rho for a European put option on an index. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EuropeanRho()
| Method Detail |
public double callRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
stockPrice - the price of the underlying assetstrike - the strike of the option contractriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying assetevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double callRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
stockPrice - the price of the underlying assetstrike - the strike of the option contractriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying assettimeToMaturity - the time period until the option expires
EuropeanRhoDemoException
public double putRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
stockPrice - the price of the underlying assetstrike - the strike of the option contractriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying assetevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double putRho(double stockPrice,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
stockPrice - the price of the underlying assetstrike - the strike of the option contracttimeToMaturity - the time period until the option expiresriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying asset
EuropeanRhoDemoException
public double callRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
indexValue - the value of the indexstrike - the value at which the option is exercisedriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the indexevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double callRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
indexValue - the value of the indexstrike - the value at which the option is exercisedtimeToMaturity - the period until the option expiresriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the index
EuropeanRhoDemoException
public double putRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
indexValue - the value of the indexstrike - the value at which the option is exercisedriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the indexevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double putRhoOnIndex(double indexValue,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
indexValue - the value of the indexstrike - the value at which the option is exercisedtimeToMaturity - the period until the option expiresriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the index
EuropeanRhoDemoException
public double callRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
exchangeRate - the price of the underlying assetstrike - exchange rate at which the option contract is exercisedriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying assetevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double callRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
exchangeRate - the price of the underlying assetstrike - exchange rate at which the option contract is exercisedtimeToMaturity - the time period until the option expiresriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying asset
EuropeanRhoDemoException
public double putRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
exchangeRate - the present exchange rate between the two currenciesstrike - exchange rate at which the option contract is exercisedriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying assetevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double putRhoOnBaseCurrency(double exchangeRate,
double strike,
double riskFreeRate,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
exchangeRate - the present exchange rate between the two currenciesstrike - exchange rate at which the option contract is exercisedtimeToMaturity - the time period until the option expiresriskFreeRate - the continuously compounded risk free interest ratevolatility - the volatility of the underlying asset
EuropeanRhoDemoException
public double callRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
foreignRiskFree - the continuously compounded risk free interest rate in the foreign currencyexchangeRate - the exchange rate between the two currenciesstrike - the exchange rate at which the option is settledvolatility - the volatility of the exchange rateevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double callRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
foreignRiskFree - the continuously compounded risk free interest rate in the foreign currencyexchangeRate - the exchange rate between the two currenciesstrike - the exchange rate at which the option is settledtimeToMaturity - the time period until the option contract expiresvolatility - the volatility of the exchange rate
EuropeanRhoDemoException
public double putRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
Date evaluationDate,
Date maturityDate,
BusinessCalendar businessCalendar)
throws EuropeanRhoDemoException
foreignRiskFree - the continuously compounded risk free interest rate in the foreign currencyexchangeRate - the exchange rate between the two currenciesstrike - the exchange rate at which the option is settledvolatility - the volatility of the exchange rateevaluationDate - the date when the Rho of the option is evaluatedmaturityDate - the date when the option maturesbusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
EuropeanRhoDemoException
public double putRhoOnForeignCurrency(double foreignRiskFree,
double exchangeRate,
double strike,
double volatility,
double timeToMaturity)
throws EuropeanRhoDemoException
foreignRiskFree - the continuously compounded risk free interest rate in the foreign currencyexchangeRate - the exchange rate between the two currenciesstrike - the exchange rate at which the option is settledtimeToMaturity - the time period until the option contract expiresvolatility - the volatility of the exchange rate
EuropeanRhoDemoException
|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||