Here you will find the specifications for the downloadable Time&Sales files for individual stocks. Time&Sales data contains only records of executed orders, also known as traded volume. The data also contains executions for non-displayed orders (orders that are not present in the book), also referred to as non-cross trades. There are the following formats available:
You might want to consult with the Nasdaq's TotalView-ITCH 3.0 and Nasdaq's TotalView-ITCH 4.0 specifications for the native data stream as well.
Table files are designed to be more user friendly than other formats. Column tables are padded with spaces to align the data vertically with headers. The first row is always the header row. An empty line is added at the end of the table to indicate the end of file.
Character-separated-value (CSV) files are designed for importing to other applications, such as statistical packages. Columns are separated by a special delimiter character. The default delimiter is ",". The data is not padded with spaces for vertical alignment. The first row is always the header row. An empty line is added at the end of the table to indicate the end of file.
The column format is the same as in the Table Format.
XML files are designed for use in real time applications. XML also contains information about the session date and requested stock. Column tables are padded with spaces to align the data vertically with headers. The first row is always the header row. An empty line is added at the end of the table to indicate the end of file.
date="string": session date in YYYYMMDD format
ticker="string": stock ticker string
type="TimeAndSales": session type, equals "TimeAndSales" string
timestamp="unsigned 32-bit": number of milliseconds after the midnight
type="string": Original order type in string format. Allowed values:
The following mandatory elements: