Skip to contents

Get a option contracts from RobinHood

Usage

get_contracts(RH, chain_symbol, type, detail = FALSE)

Arguments

RH

object class RobinHood

chain_symbol

(string) a single ticket symbol

type

(string) one of call or put

detail

(logical) if TRUE (default) return additional info on greeks, prevous day, high/low fill rate prices

Examples

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

get_contracts(RH, "IR")
}