MonteCarlo Class |
Namespace: FinMath.Derivatives
public class MonteCarlo : OptionValuation
The MonteCarlo type exposes the following members.
Name | Description | |
---|---|---|
MonteCarlo |
Constructor without parameters.
Acceleration is disabled.
| |
MonteCarlo(Boolean, Int32) |
Constructor that defines which greeks should be saved for fast recomputation.
Note that at each query for any of saveable greeks all of them will be computed if needed.
|
Name | Description | |
---|---|---|
BasisFunctions | Number of basis functions for least square approximation. | |
Charm | Charm, or delta decay, measures the instantaneous rate of change of delta over the passage of time. (Inherited from OptionValuation.) | |
Color | Color, or gamma decay, measures the rate of change of gamma over the passage of time. (Inherited from OptionValuation.) | |
Delta | Delta measures the rate of change of option value with respect to changes in the underlying asset's price. (Inherited from OptionValuation.) | |
ExercisePayoutFunction | Exercise payout function for custom option style. | |
ExpectedReturn |
Expected return of the underlying asset.
Used for geometric brownian price model.
| |
Gamma | Gamma measures the rate of change in the delta with respect to changes in the underlying price. (Inherited from OptionValuation.) | |
nextPrice |
Next price function.
Used for custom price model.
| |
nextVolatility |
Next volatility function.
Used for custom price model.
| |
OptionStyle | Option style. (Inherited from OptionValuation.) | |
OptionType | Type of option. (Inherited from OptionValuation.) | |
PriceModel | Price model used for price paths generation. | |
PricePaths | Number of price paths. | |
RandomGenerator |
Random generator used for prices paths generation.
| |
Rho | Rho, the derivative of the option value with respect to the risk free rate. (Inherited from OptionValuation.) | |
Speed | Speed measures the rate of change in Gamma with respect to changes in the underlying price. (Inherited from OptionValuation.) | |
Steps | Number of time steps. | |
StockPrice | Stock price of the underlying asset. (Inherited from OptionValuation.) | |
StrikePrice | Strike price of the underlying asset. (Inherited from OptionValuation.) | |
Theta | Theta measures the sensitivity of the value of the derivative to the passage of time: the "time decay". (Inherited from OptionValuation.) | |
TimeToMaturity | Time to the expiration date measured in years. (Inherited from OptionValuation.) | |
Value | Value of the option. (Inherited from OptionValuation.) | |
Vanna | Vanna, the second derivative of the option value with respect to the volatility. (Inherited from OptionValuation.) | |
Vega | Vega, the derivative of the option value with respect to the volatility of the underlying asset. (Inherited from OptionValuation.) | |
Volatility | Volatility of the underlying asset. (Inherited from OptionValuation.) | |
Zomma | Zomma measures the rate of change of gamma with respect to changes in volatility. (Inherited from OptionValuation.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAnnualDividendYield | Get annual dividend yield. (Inherited from OptionValuation.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRiskFreeRate | Get risk-free interest rate. (Inherited from OptionValuation.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitByVolatility | Initializes object by option parameters. | |
RecomputeValue | Forces to compute value of option using new prices paths. | |
SetAccelerationGranularity | Sets acceleration granularity. Clears all computed values. (Inherited from OptionValuation.) | |
SetAccelerationMemoryUsage | Changes acceleration RAM usage. Clears all computed values. | |
SetAnnualDividendYield |
Set annual dividend yield (e.g. value 0.02 means that yearly dividends income equals to 2 % of the underlying asset stock price).
All computed values are forgotten after this change.
(Inherited from OptionValuation.) | |
SetCustomOptionPayoutFunction |
Sets custom option payout function.
This function is used if and only if option style is OptionStyle.Other.
Clears all computed values.
| |
SetCustomPriceModelFunctions |
Sets custom price model functions.
This functions are used if and only if price model is PriceModel.Other.
Clears all computed values.
| |
SetRiskFreeRate |
Set risk-free interest rate (e.g. value 0.02 means that yearly risk-free income equals to 2 % of initial money amount
if there is no capitalization of interest).
All computed values are forgotten after this change.
(Inherited from OptionValuation.) | |
SpecifyExpectedReturn |
Sets custom expected return for geometric brownian price model.
Clears all computed values.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByOptionPrice(Double, Double) | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByOptionPrice(Double, Double, Double) | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByOptionPrice(Double, Double, Double, Double) | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByVolatility(Double, Double) | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByVolatility(Double, Double, Double) | Updates option parameters. (Inherited from OptionValuation.) | |
UpdateByVolatility(Double, Double, Double, Double) | Updates option parameters. (Inherited from OptionValuation.) |