get_contracts: Get a option contracts from RobinHood

Description Usage Arguments Examples

View source: R/get_contracts.R

Description

Get a option contracts from RobinHood

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
# Login in to your RobinHood account
RH <- RobinHood("username", "password")

get_contracts(RH, "IR")

## End(Not run)

RobinHood documentation built on March 1, 2021, 5:08 p.m.