Skip to main content

HISTORICAL

Get historical price data for a given stock. This includes open, high, low, close, and volume.

Syntax

=OBB.EQUITY.PRICE.HISTORICAL(symbol,[interval],[start_date],[end_date])

Examples

=OBB.EQUITY.PRICE.HISTORICAL("AAPL")
=OBB.EQUITY.PRICE.HISTORICAL("AAPL","1d")

Parameters

NameTypeDescriptionRequired
symbolTextSymbol to get data for. Multiple comma separated items allowed.True
intervalTextTime interval of the data to return.False
start_dateTextStart date of the data, in YYYY-MM-DD format.False
end_dateTextEnd date of the data, in YYYY-MM-DD format.False

Data

NameDescription
dateThe date of the data.
openThe open price.
highThe high price.
lowThe low price.
closeThe close price.
volumeThe trading volume.
vwapVolume Weighted Average Price over the period.
nNumber of transactions for the symbol in the time period.