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).
|
Represents a price level in an order book, including its price and quantity. More...
#include <LevelInfo.hpp>
Public Attributes | |
Price | _price |
The price at this level in the order book. More... | |
Quantity | _quantity |
The quantity available at this price level. More... | |
Represents a price level in an order book, including its price and quantity.
The LevelInfo struct is used to store information about individual price levels within an order book, including the price of the level and the associated quantity.
Price LevelInfo::_price |
The price at this level in the order book.
Quantity LevelInfo::_quantity |
The quantity available at this price level.