R/functions.r
storethat_fund_market.Rd
Provided with a set of Bloomberg fund tickers and a time period, retrieves the corresponding fund historical market data previously stored in a storethat SQLite database.
storethat_fund_market(file = NULL, tickers, start, end, verbose = T)
file | a scalar chatacter vector. Specifies the target storethat SQLite database file. |
---|---|
tickers | a chatacter vector. Specifies the Bloomberg fund tickers to query data for. |
start | a scalar character vector. Specifies the starting date for the query in the following format: 'yyyy-mm-dd'. |
end | a scalar character vector. Specifies the end date for the query in the following format: 'yyyy-mm-dd'. |
verbose | a logical scalar vector. Should progression messages be printed? Defaults to TRUE. |
An S4 object of class FundMarket.
if (FALSE) { storethat_fund_market(tickers = c("SPY US Equity", "IVV US Equity"), start = "2000-01-01", end = as.character(Sys.Date())) }