Updates an existing storethat SQLite database with fresh data up to date.
storethat_update( instrument = "all", book = "all", name = "all", file = NULL, verbose = T )
instrument | a scalar character vector. Specifies the financial instruments to get a snapshot for. Must be one of 'all', equity', 'index' or 'futures'. |
---|---|
book | a scalar character vector. Instrument dependent; for a given instrument, specifies the book for the snapshot; 'all' snapshots all the books available for the given instrument. |
name | a scalar character vector. Instrument dependent; for a given instrument, specifies the name for the snapshot; 'all' snapshots all the names available for the given instrument. |
file | a scalar character vector. Specifies the path to the appropriate 'storethat.sqlite' file. |
verbose | a logical scalar vector. Should progression messages be printed? Defaults to TRUE. |
For a given financial instrument, updates the database by book and name.
The finRes suite, in particular the storethat & BBGsymbols packages.
if (FALSE) storethat_update()