Historical Market Data Queries

Historical market data queries compare price histories for different instruments over time.

Historical market data changes infrequently, and updates typically occur at the end of the trading day.The end-of-day data is consolidated into the historical TAQ time series in RAPStore as well. Stock History, Stock Quotes, and Stock Trade tables contain entries for end-of-day data records.

The historical market data queries are optimized to run with the RAP sample data in RAPStore. Use dbisql to run these sample queries against RAPStore. The output that appears for each query is derived from the large set of sample data provided in the RAP Samples component. See the Sybase IQ Utility Guide > Using Interactive SQL (dbisql).

Note:

The historical market data queries for RAPStore all begin with a commit statement which causes the data to refresh, so the query accesses the most recent data. When you write your own queries for RAPStore, precede the query with a commit statement.