Gets the theoretical value of an American style put option.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public double GetAmericanPutPrice( double assetPrice, double strikePrice, int expirationMonth, int expirationYear ) |
| Visual Basic (Declaration) |
|---|
Public Function GetAmericanPutPrice ( _ assetPrice As Double, _ strikePrice As Double, _ expirationMonth As Integer, _ expirationYear As Integer _ ) As Double |
| Visual C++ |
|---|
public: double GetAmericanPutPrice( double assetPrice, double strikePrice, int expirationMonth, int expirationYear ) |
Parameters
- assetPrice
- Type: System..::.Double
current price of the underlying asset.
- strikePrice
- Type: System..::.Double
strike price of the option.
- expirationMonth
- Type: System..::.Int32
expiration month of the option.
- expirationYear
- Type: System..::.Int32
expiration year of the option.
Return Value
theoretical approximation of the put price
Remarks
American style options differ from European options in that the option can be exercised
at any point before expiration. This calculation uses binomial approximation and assumes
that there are no dividends.