Skip to contents

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'