Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
slick::sim::MDOrderUpdate Struct Reference

Every order-book change one request (or feed event) produced, in book order. More...

#include <common/market_data.hpp>

Collaboration diagram for slick::sim::MDOrderUpdate:

Public Attributes

uint32_t num_orders
MDOrder orders [0]

Detailed Description

Every order-book change one request (or feed event) produced, in book order.

Published by Exchange::flushMarketDataCaches only for a venue that sets publish_order_updates_, and published there last - after the event's TRADE_SUMMARY and LEVEL frames - so for such a venue an ORDER frame marks the end of an event. Any book change produces at least one order update, so no event that touched the book is left without one.

Definition at line 97 of file market_data.hpp.

Member Data Documentation

◆ num_orders

uint32_t slick::sim::MDOrderUpdate::num_orders

Definition at line 98 of file market_data.hpp.

Referenced by slick::sim::exch::Exchange::publishMDOrderUpdate().

◆ orders

MDOrder slick::sim::MDOrderUpdate::orders[0]

Definition at line 99 of file market_data.hpp.


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