request_prices: Request number of historical prices

Description Usage Arguments Value

View source: R/priceReq.R

Description

Request number of historical prices

Usage

1
2
3
4
5
6
request_prices(
  epic = "IX.D.SPTRD.DAILY.IP",
  resolution = "HOUR",
  n_prices = 5,
  price_type = "bid"
)

Arguments

epic

Instrument ID

resolution

Time interval of prices eg. "HOUR", "DAY", "MINUTE_15"

n_prices

Number of prices to request

price_type

"bid" or "ask"

Value

Dataframe of historical prices


zumthor86/OptionsAnalytics documentation built on Oct. 20, 2020, 1:15 p.m.