С++ MIPT 2023
Authors
Lukashev Kirill
Borshcheva Elizabeth
This project represents a model of an exchange where there are companies and traders who make orders
The current functionality allows traders to make orders to buy shares from companies
The program receives a prescribed scenario of actions on the exchange, and then it executes it
C++ 14
CMake VERSION 3.23
cd ~/Exchange #Create an empty directory for temporary files and go there
mkdir build
cd build
cmake .. #Running the cmake command with the path to the folder with the sources
cmake --build .
./ExchangeCheck
COMPANY
SHOW
- Shows company with ticker ‘ticker’SHOW_CATEGORIES
- Shows all categoriesSHOW_CATEGORY
- Shows all companies with categoryADD
- Adds and registers a companyDELETE
- Deletes and unregisters a company
TRADER
SHOW
- Shows traderADD
- Adds and registers a traderDELETE
- Deletes and unregisters a trader
ORDER
EXECUTE_ALL
- Executes staged orders if conditions are metSTAGE
- Adds and stages a new order