i.prices: Requests market data history (OHLC, volumes, dividends, etc.)

Description Usage Arguments Value

Description

Using prices endpoint downloads data for a subset of tags, allowed by i.historicalData. However, it loads multiple tags with a single call, which allows spending less API credits.

Usage

1
i.prices(tickers, from = NULL, to = NULL, freq = "daily", ...)

Arguments

tickers

tickers A character vector of stock symbols. For non-US tickers it is possible to specify exchange after tick symbol, separated by colon, i.e. "TICKER:EXCHANGE"

from

History start date (either Date or a character in 'YYYY-MM-DD' format), If NULL, date would not be restricted by a minimum. A vector of dates of the same length as tickers is also possible in order to have specific start date for each ticker.

to

History end date (either Date or a character in 'YYYY-MM-DD' format), If NULL, date would not be restricted by a maximum. A vector of dates of the same length as tickers is also possible in order to have specific end date for each ticker.

freq

Data periodicity. A string containing any of 'daily', 'weekly', 'monthly', 'quarterly', 'yearly' or NULL. NULL will preserve default intrinio behavior (daily).

Value

Data in specified format. See intrOptions for details. Columns:

ticker

Security identifier

date

Price date

open

The actual observed first traded stock price on the trading date

high

The actual observed highest traded stock price on the trading date

low

The actual observed lowest traded stock price on the trading date

close

The actual observed last trade stock price on the trading date

volume

The actual observed number of shares of stock traded between market participants on the trading date

ex_dividend

The non-split adjusted dividend per share on the ex-dividend date - not available on index historical prices

split_ratio

The split factor on the split date - not available on index historical prices

adj_open

The dividend and split adjusted open price - not available on index historical prices

adj_high

The dividend and split adjusted high price - not available on index historical prices

adj_low

The dividend and split adjusted low price - not available on index historical prices

adj_close

The dividend and split adjusted close price - not available on index historical prices

adj_volume

The dividend and split adjusted volume - not available on index historical prices


ksavin/intrinio documentation built on May 20, 2019, 7:03 p.m.