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).
|
Parses test input files to extract actions and expected results. More...
Public Member Functions | |
std::tuple< Informations, Result > | GetInformations (const std::filesystem::path &path) const |
Retrieves actions and the result from a file. More... | |
Parses test input files to extract actions and expected results.
The InputHandler class provides functionality for parsing actions and results from test files, which are used to drive tests for the Orderbook functionality.
std::tuple<Informations, Result> InputHandler::GetInformations | ( | const std::filesystem::path & | path | ) | const |
Retrieves actions and the result from a file.
path | The path to the input file. |
std::logic_error | if no result is specified in the file. |