Orderbook Simulation
OrderbookSim is a C++ application simulating a financial market order book. It efficiently manages and matches buy and sell orders while calculating the Volume-Weighted Average Price (VWAP).
|
struct to capture the start position of the current token More...
#include <json.hpp>
Public Member Functions | |
constexpr | operator size_t () const |
conversion to size_t to preserve SAX interface More... | |
Public Attributes | |
std::size_t | chars_read_total = 0 |
the total number of characters read More... | |
std::size_t | chars_read_current_line = 0 |
the number of characters read in the current line More... | |
std::size_t | lines_read = 0 |
the number of lines read More... | |
struct to capture the start position of the current token
|
inlineconstexpr |
conversion to size_t to preserve SAX interface
std::size_t detail::position_t::chars_read_current_line = 0 |
the number of characters read in the current line
std::size_t detail::position_t::chars_read_total = 0 |
the total number of characters read
std::size_t detail::position_t::lines_read = 0 |
the number of lines read