| save_taq | R Documentation |
*.RData’ files.Load and scrub multiple days of TAQ data for a single symbol, and save
it to multiple ‘*.RData’ files.
save_taq(
symbol,
dirin = "E:/mktdata/sec/",
dirout = "E:/output/data/",
lookb = 51,
volm = 2,
tzone = "America/New_York"
)
The function save_taq() loads multiple days of TAQ
data, scrubs it, and saves the scrubbed TAQ data to individual
‘*.RData’ files. It uses the same file names for output as
the input file names. The TAQ data files are assumed to be stored in
separate directories for each ‘symbol’. Each
‘symbol’ has its own directory (named ‘symbol’)
in the ‘dirin’ directory.
Each ‘symbol’ directory contains multiple daily
‘*.RData’ files, each file containing one day of TAQ
data.
a TAQ time series in xts format.
## Not run:
save_taq("SPY")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.