This project implements a simplified Flower Exchange system as part of the C++ Workshop Series at the University of Moratuwa, organized by the London Stock Exchange Group (LSEG). The Flower Exchange allows traders to buy and sell various types of flowers through a simulated trading platform.
- Trader Application: Enables users to submit buy and sell orders for different flower types.
- Exchange Application: Processes incoming orders against the existing order book, matching buyers and sellers.
- Order Matching: Supports both full and partial order executions.
- Execution Reports: Provides detailed reports on the status of each order (e.g., filled, partially filled, rejected).
- Order Rejection Handling: Implements logic to reject orders based on factors like quantity limits and invalid flower types.
└── Flower-Exchange-LSEG
├── Flower Exchange App
│ ├── src
│ ├── flow chart
│ ├── Executable Program
│ │ └── output_program
│ └── Tested Examples
├── frontend
└── backend
-
Clone the Repository:
git clone https://github.com/eshansurendra/Flower-Exchange-LSEG.git
-
Navigate to Executable:
cd 'Flower Exchange App/Executable Program'
-
Run the Program:
./output_program ../Tested Examples/example_2.csv
Explanation:
./output_program
: Executes the compiled C++ program.../Tested Examples/example_2.csv
: Provides the path to a CSV file containing sample order data. The program processes this file to simulate trading activity.