RTHHistoricalSearch: Search for historical instruments given an instrument...

Description Usage Arguments

View source: R/RTH.R

Description

Search for historical instruments given an instrument identifier. Return instruments may be currently active, or inactive 'historical only' instruments.

Usage

1
2
3
4
5
6
7
RTHHistoricalSearch(
  identifier,
  startDateTime,
  endDateTime,
  identifierType = NULL,
  resultsBy = NULL
)

Arguments

identifier

Instrument identifier

startDateTime

The range's start date and time. The format is yyyy-mm-ddThh:mm:ss.sssZ

endDateTime

The range's end date and time. The format is yyyy-mm-ddThh:mm:ss.sssZ

identifierType

The type of identifier. Supported types are Ric, Isin, Cusip, Sedol. Search will look for the identifier in all supported types when not specified.

resultsBy

Determines what information is returned for each found RIC. By RIC: Returns information purely based on the RIC history. By Entity: Returns information based on the entity associated with the RIC on the end date of the Range. This will cause RIC rename history to be returned. Defaults to searching by RIC when not specified.


TR-API-Samples/Article.TRTH.R.TRTHinR documentation built on Oct. 26, 2021, 10:17 p.m.