FirstRate | R Documentation |
Get data data from FirstRate.
findata::DataAbstract
-> FirstRate
userid
FirstRate user ID.
new()
Create a new FirstRate object.
FirstRate$new(userid = NULL, context_with_config = NULL)
userid
FirstRate user ID.
context_with_config
AWS S3 Tiledb config
A new 'FirstRate' object.
get_historical_data()
Download stock data from FirstRate.
FirstRate$get_historical_data( save_dest, type = c("stock"), period = c("full", "month", "week", "day"), ticker_range = toupper(letters), timeframe = c("1min", "5min", "30min", "1hour", "1day"), adjustment = c("adj_split", "adj_splitdiv", "UNADJUSTED") )
save_dest
Save path
type
Security type
period
Period.
ticker_range
First letter of symbols.
timeframe
Time frequency.
adjustment
Adjustment type.
NULL.
firstrate_to_tledb()
Save data to TileDB Uri.
FirstRate$firstrate_to_tledb( zip_files, save_uri = "s3://equity-usa-hour-firstrate-adjusted" )
zip_files
Zip files downloaded from FirstRate site.
save_uri
TileDB URI to save data to.
NULL
clone()
The objects of this class are cloneable with this method.
FirstRate$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.