Description Usage Arguments Details Value Author(s) See Also Examples
show names of or remove instruments that expire on a given date
| 1 2 3 | ls_by_expiry(expiry, pattern = NULL, match = TRUE)
rm_by_expiry(x, expiry)
 | 
| expiry | expiration date that should correspond to the ‘expires’ field of an instrument | 
| pattern | an optional regular expression. Only names matching ‘pattern’ are returned. | 
| match | exact match of pattern? | 
| x | what to remove | 
ls_by_expiry will find instruments that have a field named either
“expiry” or “expires” with a value that matches expiry.
ls_by_expiry gives a vector of names of instruments that
expire on the given expiry. rm_by_expiry is called for its
side-effect.
Garrett See
ls_instruments, ls_options, ls_calls, 
ls_puts, ls_futures, ls_derivatives
| 1 2 3 4 5 | ## Not run: 
ls_by_expiry('20110917')
ls_by_expiry('20110917',ls_options())
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.