get_contracts {RobinHood}R Documentation

Get a option contracts from RobinHood

Description

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

## Not run: 
# Login in to your RobinHood account
RH <- RobinHood("username", "password")

get_contracts(RH, "IR")

## End(Not run)

[Package RobinHood version 1.7.0 Index]