Skip to content

saurabh-slacklife/order-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Stock Exchange

Design

Assumptions

  1. The Order Matching System does not run continuously and hence will exit after all the orders are processed from file, i.e. the system does not run in continuous polling but can be made to run.
  2. Since the input file takes only "time", hence there is no provision to validate the future date orders and assumes that all orders are placed for same day.
  3. The priority Queues are specific to Stock Name, i.e. each Stock will have a queue defined for it's stock. This is maintained through Map<StockName, PriorityQueue(Comparator)>

UML Diagram


Runbook

Runbook

About

FIFO based Order matching for Buy and Sell orders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published