TAQ Data Queries

Trades and quotes (TAQ) data tables include real-time price quotes and trade prices that are updated frequently during a trading day. Queries against these tables use intraday price and quote fluctuations.

The tick queries are representative of the query workloads generated in pretrade analysis and trade order generation. This selection of possible queries constitutes a reasonable sample test for use in performance and tuning analysis, and also as a template to build a library of queries. You can modify the sample queries to build a native Transact-SQL access layer to present data to computational applications.

TAQ data queries are optimized to run with the RAP sample data in both RAPCache and RAPStore databases.

Note:
  • The output for the TAQ data queries is derived by running the queries with the large set of sample data provided in the RAP Samples component.
  • The TAQ 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.
Related tasks
Reloading the Small Sample Data Set into RAPCache
Reloading the Small Sample Data Set into RAPStore
Loading Additional TAQ Sample Data
Preserving the Small TAQ Sample Data Set