Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rx-matching-engine

An implement of a matching engine in Rust. Implementation of a Limit Order Book only. The Limit OrderBook process the ITCH data at 4.89 Million messages per second as tested on my local device.

Build and Run

Build

cargo build

or

cargo build --release

Execution

## make sure ITCH  binary data and executables are in same dir.
./<executable binary>

Device Specifications

MacBook Air M2

Performance

ITCH Parser Performance

Parser Metrics:

ITCH Parsing Statistics:
Total Messages: 240017065
Total Time: 8.658 seconds
Rate: 27721741 msg/second
Latency: 36 ns

Limit OrderBook Performance

Metrics:
Total Messages: 240017065
ITCH Latency: 204 ns
Total Time: 49.028 seconds
Rate: 4895546 msg/second

Orderbook State:
Total Add Orders: 117145568
Total Execute Orders: 5722824
Total Cancel Orders: 2787676
Total Delete Orders: 114360997

ITCH Specs

Nasdaq TotalView-ITCH 5.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages