Gets the theoretical value of a European style call option.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public double GetEuropeanCallPrice( double assetPrice ) |
| Visual Basic (Declaration) |
|---|
Public Function GetEuropeanCallPrice ( _ assetPrice As Double _ ) As Double |
| Visual C++ |
|---|
public: double GetEuropeanCallPrice( double assetPrice ) |
Parameters
- assetPrice
- Type: System..::.Double
current price of the underlying asset.
Return Value
theoretical approximation of the call price
Remarks
European style options differ from American options in that the option can only be exercised
at expiration, therefore, the calculation for European options is slightly different.