Home
Softono

Go Hft Orderbook

Open source MIT Go
276
Stars
62
Forks
4
Issues
11
Watchers
2 years
Last Commit

 About Go Hft Orderbook

Golang implementation of a Limit Order Book (LOB) for high frequency trading in crypto exchanges

Platforms

Web Self-hosted

Languages

Go

Links

Need Help Installing Go Hft Orderbook?

We provide expert installation service for this software. Our team will install, configure, and secure Go Hft Orderbook on your server. plans start at just $30.

Go Hft Orderbook

View on GitHub

Build Status

go-hft-orderbook

Golang implementation of a Limit Order Book (LOB) for high frequency trading in crypto exchanges. Inspired by this article.

Operations

  • Add – O(log M) for the first order at a limit, O(1) for all others
  • Cancel – O(1)
  • GetBestBid/Offer – O(1)
  • GetVolumeAtLimit – O(1)

Performance

  • Random generated insertion with limited number of price levels (10K levels) on average MacBook Pro: ~200ns/op or ~5M op/s

TODO

  • Object pool (Done)
  • Real data for benchmarks

Radicle URN

rad:git:hwd1yregaqj5mrp5dgc3gyuu6exszg84zr71su8j1f7t6oe9czxee1zzyzr