expires.instrument {FinancialInstrument} | R Documentation |
instrument expires extraction method
Description
Returns either the last expiration date before Date
, or the
first expiration date after Date
(if expired==FALSE
).
Usage
## S3 method for class 'instrument'
expires(x, Date, expired = TRUE, silent = FALSE, ...)
Arguments
Date |
Can be a Date or character string. When |
expired |
TRUE/FALSE. This determines which date will be used when
|
silent |
silence warnings? |
Author(s)
Garrett See
See Also
[Package FinancialInstrument version 1.3.1 Index]