OS_FindSeries (Function)
The OS_FindSeries function returns the option series proximity to the near series. This function is designed primarily for use in OptionStation.
Syntax
OS_FindSeries(OptType, ExpDate)
Returns (Double)
A numeric value representing the option series proximity to the near series.
Parameters
|
Name |
Type |
Description |
|
OptType |
Numeric |
Sets whether it is a Put or Call option. Put or 2 = Puts; Call or 3 = Calls. |
|
ExpDate |
Numeric |
Sets the expiration date of the option in EasyLanguage format (enter December 1 2006 as 1061201). |
Remarks
This function can be used to set the series proximity input in the OS_FindCall and OS_FindPut functions.
Example
Assigns to Value1 the series proximity value to the near series month for the option.
Value1 = OS_FindSeries(Call, 1070199) ;