ITCHCPP 1.6.0
High-Performance NASDAQ TotalView-ITCH 5.0 Parser & Market-Data Platform
Loading...
Searching...
No Matches
itch::Trade Struct Reference

A single execution extracted from the feed (the "trade tape"). More...

#include <tape.hpp>

Public Attributes

std::uint64_t timestamp {0}
 Nanoseconds past midnight.
 
std::uint16_t stock_locate {0}
 Locate code identifying the security.
 
std::string symbol
 Stock symbol (may be empty if unknown).
 
StandardPrice price {}
 Execution price.
 
std::uint64_t shares {0}
 Executed share quantity.
 
std::uint64_t match_number {0}
 Exchange match number.
 
char side {'\0'}
 Resting order side ('B'/'S'), or '\0'.
 
bool printable {true}
 Whether the print is displayable.
 
bool is_cross {false}
 Whether this is a cross (auction) trade.
 
char cross_type {'\0'}
 Cross type for Q trades, else '\0'.
 

Detailed Description

A single execution extracted from the feed (the "trade tape").

Trades arrive in several ITCH message types: executions of displayed orders (E), executions at a different price (C), trades of non-displayable orders (P), and cross trades (Q). They are normalized here into one record. The printable flag carries the spec's displayable/non-displayable distinction so consumers can correctly separate lit prints from hidden ones.

Definition at line 28 of file tape.hpp.

Member Data Documentation

◆ timestamp

std::uint64_t itch::Trade::timestamp {0}

Nanoseconds past midnight.

Definition at line 29 of file tape.hpp.

◆ stock_locate

std::uint16_t itch::Trade::stock_locate {0}

Locate code identifying the security.

Definition at line 30 of file tape.hpp.

◆ symbol

std::string itch::Trade::symbol

Stock symbol (may be empty if unknown).

Definition at line 31 of file tape.hpp.

◆ price

StandardPrice itch::Trade::price {}

Execution price.

Definition at line 32 of file tape.hpp.

◆ shares

std::uint64_t itch::Trade::shares {0}

Executed share quantity.

Definition at line 33 of file tape.hpp.

◆ match_number

std::uint64_t itch::Trade::match_number {0}

Exchange match number.

Definition at line 34 of file tape.hpp.

◆ side

char itch::Trade::side {'\0'}

Resting order side ('B'/'S'), or '\0'.

Definition at line 35 of file tape.hpp.

◆ printable

bool itch::Trade::printable {true}

Whether the print is displayable.

Definition at line 36 of file tape.hpp.

◆ is_cross

bool itch::Trade::is_cross {false}

Whether this is a cross (auction) trade.

Definition at line 37 of file tape.hpp.

◆ cross_type

char itch::Trade::cross_type {'\0'}

Cross type for Q trades, else '\0'.

Definition at line 38 of file tape.hpp.


The documentation for this struct was generated from the following file: