powered by
Returns a dataframe of portfolio summaries for a specific period of time. Default is current day.
get_portfolios(RH, interval = NULL, span = NULL)
object of class RobinHood
(string) Interval of time to aggregate to (examples: hour, day, week, month)
(string) Period of time you are interested in (examples: day, week, month, year)
if (FALSE) { # Login in to your RobinHood account RH <- RobinHood("username", "password") get_portfolios(RH) get_portfolios(RH, interval = "day", span = "3month") }
Run the code above in your browser using DataLab