api_historicals_options: RobinHood API: Historicals Options

View source: R/api_historicals_options.R

api_historicals_optionsR Documentation

RobinHood API: Historicals Options

Description

Backend function called by get_historicals_options().

Usage

api_historicals_options(
  RH,
  chain_symbol,
  type,
  strike_price,
  expiration_date,
  interval = NULL,
  span = NULL
)

Arguments

RH

object of class RobinHood

chain_symbol

(string) stock symbol

type

(string) one of ("put", "call")

strike_price

(numeric) strike price

expiration_date

(string) expiration date (YYYY-MM-DD)

interval

(string) one of ("5minute", "10minute", "hour", "day", "week")

span

(string) one of ("day", "week", "month")


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