get_contracts: Get a option contracts from RobinHood

View source: R/get_contracts.R

get_contractsR 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)

RobinHood documentation built on Jan. 7, 2023, 1:11 a.m.