Description Usage Arguments Details Value Author(s) See Also Examples
Get first or last date for which there are data stored on disk
1 2 3 4 5 |
Symbol |
name of instrument |
base_dir |
directory that has subdirectories for all of your Symbols (where each subdirectory contains data files named ). |
maxDays |
if there are no data for |
use_identifier |
if not |
... |
anything to pass through to |
Data should be stored as follows: There should be a directory under base_dir
named
the same as Symbol
that contains a separate data file for each day. The
data file names should begin with "%Y.%m.%d". ("2011.07.05.SPY.RData", for example).
character string of format "%Y-%m-%d" representing the first date for which there is
data stored in base_dir
. If there are no data for Symbol
then the date returned
will be today's date minus maxDays
Garrett See
saveSymbols.days
to save data the way this function expects it to be saved.
1 | get_from("SPY")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.