Learn R Programming

RobinHood (version 1.7.0)

get_market_hours: Get open market hours

Description

Get a list of markets available on RobinHood with trading hours for a specific date.

Usage

get_market_hours(RH, market_date = NULL, tz = Sys.timezone())

Arguments

RH

object of class RobinHood

market_date

(string) date in the form 'yyyy-mm-dd', default today

tz

(string) one of timezone returned by OlsonNames(), defaults to local

Examples

Run this code
if (FALSE) {
# Login in to your RobinHood account
RH <- RobinHood("username", "password")

get_market_hours(RH)
}

Run the code above in your browser using DataLab