Description Usage Arguments Details Value Note Author(s) References See Also Examples
Find number of calendar days until expiration given a contract specification.
1 |
osi |
A character string formatted per OSI specification or |
from |
A time object or string in CCYY-MM-DD format to be used as reference date. |
This calculates the difference between an option contract's expiration date and
the date indicated with from
.
An integer number of days until expiration. May be negative if from
is before expiration.
The value returned is in calendar days, not trading days.
Jeffrey A. Ryan
OSI Specification
1 | tte("AAPL 120122C00450000","2011-12-03")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.