OS_Intrinsic (Function)
The OS_Instrinsic function calculates the difference between the option's strike price and the price of the underlying asset, which determines how much an option is in-the-money. This function is designed primarily for use in OptionStation.
Syntax
OS_Intrinsic(AssetPr,OptType,StrikePr)
Returns (Double)
A numeric value representing the intrinsic value of an option..
Parameters
|
Name |
Type |
Description |
|
AssetPr |
Numeric |
Specifies the price of the underlying asset |
|
OptType |
Numeric |
Sets if it is a Put or Call option. Put or 2 = Puts; Call or 3 = Calls. |
|
StrikePr |
Numeric |
Sets the strike price of option. |
Remarks
Intrinsic value represents the current ITM (In The Money) value of the option. Intrinsic value is also the difference between the option premium and time value.
Example
Assigns to Value1 the intrinsic value of a Call option with a strike price of 55 and an underlying asset price of 62.125:
Value1 = OS_Intrinsic(62.125,1,55);
Assigns to Value2 the intrinsic value of a Put option with a strike price of 105 and an underlying asset price of 98.125:
Value2 = OS_Intrinsic(98.125,0,105);