ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::nasdaq::itch50::Trade Struct Reference

#include <nasdaq/itch50/Messages.h>

Inheritance diagram for b2bits::nasdaq::itch50::Trade:

Public Member Functions

UInt64 get_timestamp () const
void set_timestamp (UInt64 val)
UInt32 get_orderbook_id () const
void set_orderbook_id (UInt32 val)
UInt32 get_transaction_id () const
void set_transaction_id (UInt32 val)
UInt32 get_executed_quantity () const
void set_executed_quantity (UInt32 val)
const FixedString< 14 > & get_match_id () const
FixedString< 14 > & get_match_id ()
Price get_trade_price () const
void set_trade_price (Price val)
UInt8 get_trade_flag () const
void set_trade_flag (UInt8 val)
std::ostream & to_string (std::ostream &os, const char *delim="|") const
Public Member Functions inherited from b2bits::nasdaq::MessageHeader
Alpha get_type () const
 Get the message type.
void set_type (Alpha val)
 Set the message type.
template<class T>
const T * cast () const
 Cast to a specific message type (const).
template<class T>
T * cast ()
 Cast to a specific message type (non-const).

Static Public Attributes

static constexpr char Type = 'P'

Member Function Documentation

◆ get_executed_quantity()

UInt32 b2bits::nasdaq::itch50::Trade::get_executed_quantity ( ) const
inline

◆ get_match_id() [1/2]

FixedString< 14 > & b2bits::nasdaq::itch50::Trade::get_match_id ( )
inline

◆ get_match_id() [2/2]

const FixedString< 14 > & b2bits::nasdaq::itch50::Trade::get_match_id ( ) const
inline

◆ get_orderbook_id()

UInt32 b2bits::nasdaq::itch50::Trade::get_orderbook_id ( ) const
inline

◆ get_timestamp()

UInt64 b2bits::nasdaq::itch50::Trade::get_timestamp ( ) const
inline

◆ get_trade_flag()

UInt8 b2bits::nasdaq::itch50::Trade::get_trade_flag ( ) const
inline

◆ get_trade_price()

Price b2bits::nasdaq::itch50::Trade::get_trade_price ( ) const
inline

◆ get_transaction_id()

UInt32 b2bits::nasdaq::itch50::Trade::get_transaction_id ( ) const
inline

◆ set_executed_quantity()

void b2bits::nasdaq::itch50::Trade::set_executed_quantity ( UInt32 val)
inline

◆ set_orderbook_id()

void b2bits::nasdaq::itch50::Trade::set_orderbook_id ( UInt32 val)
inline

◆ set_timestamp()

void b2bits::nasdaq::itch50::Trade::set_timestamp ( UInt64 val)
inline

◆ set_trade_flag()

void b2bits::nasdaq::itch50::Trade::set_trade_flag ( UInt8 val)
inline

◆ set_trade_price()

void b2bits::nasdaq::itch50::Trade::set_trade_price ( Price val)
inline

◆ set_transaction_id()

void b2bits::nasdaq::itch50::Trade::set_transaction_id ( UInt32 val)
inline

◆ to_string()

std::ostream & b2bits::nasdaq::itch50::Trade::to_string ( std::ostream & os,
const char * delim = "|" ) const

Member Data Documentation

◆ Type

char b2bits::nasdaq::itch50::Trade::Type = 'P'
staticconstexpr

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