Get historical pricing for a security. This data will usually cover the entire lifetime of the company if sending reasonable start/end times. You can fetch historical pricing for options by passing the OCC option symbol (ex. AAPL220617C00270000) as the symbol.
Notes: Historical data may not be dividend adjusted as this relies on the exchanges to report/adjust it properly. Historical options data is not available for expired options.
Header | Required | Values/Example | Default |
---|---|---|---|
Accept | Optional | application/xml, application/json | application/xml |
Authorization | Required | Bearer {token} |
Parameter | Type | Param Type | Required | Values/Example | Default |
---|---|---|---|---|---|
symbol | Query | String | Required | AAPL | |
A single security symbol. | |||||
interval | Query | String | Optional | daily | daily |
Interval of time per timesale. One of: daily, weekly, monthly | |||||
start | Query | String | Optional | 2019-05-04 | |
Start date represented as YYYY-MM-DD | |||||
end | Query | String | Optional | 2019-05-04 | |
End date represented as YYYY-MM-DD | |||||
session_filter | Query | String | Optional | all | all |
Specify to retrieve aggregate data for all hours of the day (all ) or only regular trading sessions (open ).
|
https://sandbox.tradier.com