1 #ifndef jb_itch5_generate_inside_hpp 2 #define jb_itch5_generate_inside_hpp 30 template <
typename duration_t,
typename book_type>
77 template <
typename duration_t,
typename book_type>
84 stats, header, book, update, processing_latency)) {
90 << update.
stock <<
" " << bid.first.as_integer() <<
" " << bid.second
91 <<
" " << offer.first.as_integer() <<
" " << offer.second <<
"\n";
98 #endif // jb_itch5_generate_inside_hpp
bool record_latency_stats(jb::offline_feed_statistics &stats, jb::itch5::message_header const &header, jb::itch5::order_book< book_type > const &book, jb::itch5::book_update const &update, duration_t processing_latency)
Determine if this event changes the inside, if so, record the statistics.
Keep statistics about a feed and its offline processor.
void sample(event_timestamp_t ts, duration_t processing_latency)
Record a sample, that is process a message received at the given timestamp.
bool cxlreplx
If true, this was a cancel replace and and old order was modified too...
int stock_locate
The stock locate number.
half_quote best_bid() const
std::chrono::nanoseconds ts
buy_sell_indicator_t buy_sell_indicator
What side of the book is being updated.
stock_t stock
The security updated by this order.
A flat struct to represent updates to an order book.
bool generate_inside(jb::offline_feed_statistics &stats, std::ostream &out, jb::itch5::message_header const &header, jb::itch5::order_book< book_type > const &book, jb::itch5::book_update const &update, duration_t processing_latency)
Determine if this event changes the inside, if so, record the statistics and output the result...
price4_t oldpx
Old price for the order.
Maintain the ITCH-5.0 order book for a single security.
jb::itch5::timestamp timestamp
The message timestamp, in nanoseconds since midnight.
half_quote best_offer() const
price4_t px
What price level is being updated.
The top-level namespace for the JayBeams library.