Skip to content

Limit Orderbook & Matching Engine + market simulation & visualsation.

Notifications You must be signed in to change notification settings

jxm35/LimitOrderBook-MatchingEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LimitOrderBook & MatchingEngine

  • Limit Orderbook & Matching Engine + market simulation & visualsation written in c++.
  • Design Document here.

Preview

here

Benchmarks

Benchmark methodology explained here. In a simulation of market trading the application was able to place and match orders at an average rate of 2.4 Million orders per second.

Function Time (ns) Implied rate per second
Get Order 21.2 47,139,000
Get Best Bid Price 20.4 49,000,000
Place Limit Order 343 2,915,000
Place Limit Order (New Price Level) 430 2,327,000
Place Market Order 25.7 38,899,000
Remove Order 88.2 11,340,000
Match Orders (uncrossed) 24.0 41,624,000
Match Orders (crossed) 140 7,151,000

Features

  • A limit orderbook capable of handling limit and market orders, order cancellattions, and order modifications.
  • Matching Engine implementing a price-time priority algorithm.
  • A market simulation to to test performance and different implementations of the limit order book.
  • Visualisation showing a price/time graph, limit level heatmaps, and a volume/time graph.

About

Limit Orderbook & Matching Engine + market simulation & visualsation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published