Skip to contents

This function returns an object of S3 class RobinHood and establishes a connection to a RobinHood account. It is a required input for every other function in the package.

Usage

RobinHood(username, password, mfa_code)

Arguments

username

(string) account email address

password

(string) password

mfa_code

(string) mfa_code provided by your authentication app (required if mfa is enabled)

Examples

if (FALSE) {
RH <- RobinHood("username", "password")
}