OS_DaysToFarExp (Function)
The OS_DaysToFarExp function calculates the days to the far expiration for a position. This function is designed primarily for use within the OptionStation Analysis window.
Syntax
OS_DaysToFarExp
Returns (Double)
A numeric value that is the days to the far expiration in fractional days.
Parameters
None
Remarks
This function is useful when you're trying to find the far expiration of a position that my contain different strategies or legs with different expirations.
Example
Plots the days to the far expiration for a position, for the current option, from today, at the current time, and calculate the fractional portion.
Plot1(OS_DaysToFarExp);