api_markets {RobinHood}R Documentation

RobinHood API: Markets

Description

Backend function called by get_market_hours(). Returns a data frame of markets data and trading hours.

Usage

api_markets(RH, markets_url, type = "df")

Arguments

RH

object of class RobinHood

markets_url

(string) a single market url

type

(string) structure of data returned, 'df' or 'list'


[Package RobinHood version 1.7.0 Index]