Skip to content

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.

Notifications You must be signed in to change notification settings

eshansurendra/Flower-Exchange-LSEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flower-Exchange-LSEG

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.

Key Features

  • 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.

Project Structure

└── Flower-Exchange-LSEG
    ├── Flower Exchange App
    │   ├── src
    │   ├── flow chart
    │   ├── Executable Program 
    │   │   └── output_program   
    │   └── Tested Examples
    ├── frontend
    └── backend

Getting Started:

  1. Clone the Repository:

    git clone https://github.com/eshansurendra/Flower-Exchange-LSEG.git
  2. Navigate to Executable:

    cd 'Flower Exchange App/Executable Program'
  3. 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.

Team Members

About

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.

Topics

Resources

Stars

Watchers

Forks