Skip to contents

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