Description Usage Arguments Value Note Author(s) See Also Examples
Reads from disk and merges closing Bid, Ask, Trade data
1 | makeBATs(Symbols, base_dir = "/mnt/W", env = .GlobalEnv, ndays)
|
Symbols |
chr name of instrument |
base_dir |
base_dir that holds TRADES, BID, and ASK directories (each of those directories should hold directories named for instruments.) |
env |
environment to put BATs in |
ndays |
optional. If given and numeric, ‘from’ will become ‘to’- |
called for side-effect. Objects that are stored will have Bid, Ask, Trade, Mid, and Volume columns unless there are no TRADES data in which case they will have Bid, Ask, and Mid columns.
used by reqTBBOhistory
Garrett See
1 2 3 4 5 | ## Not run:
#reqTBBOhistory("RIMM", ndays=5)
makeBATs("RIMM")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.