CoinTossX: An open-source low-latency high-throughput matching engine

02/22/2021
by   Ivan Jericevich, et al.
0

We deploy and demonstrate the CoinTossX low-latency, high-throughput, open-source matching engine with orders sent using the Julia and Python languages. We show how this can be deployed for small-scale local desk-top testing and discuss a larger scale, but local hosting, with multiple traded instruments managed concurrently and managed by multiple clients. We then demonstrate a cloud based deployment using Microsoft Azure, with large-scale industrial and simulation research use cases in mind. The system is exposed and interacted with via sockets using UDP SBE message protocols and can be monitored using a simple web browser interface using HTTP. We give examples showing how orders can be be sent to the system and market data feeds monitored using the Julia and Python languages. The system is developed in Java with orders submitted as binary encodings (SBE) via UDP protocols using the Aeron Media Driver as the low-latency, high throughput message transport. The system separates the order-generation and simulation environments e.g. agent-based model simulation, from the matching of orders, data-feeds and various modularised components of the order-book system. This ensures a more natural and realistic asynchronicity between events generating orders, and the events associated with order-book dynamics and market data-feeds. We promote the use of Julia as the preferred order submission and simulation environment.

READ FULL TEXT

page 9

page 10

page 18

page 19

page 20

page 21

research
05/15/2020

kiwiPy: Robust, high-volume, messaging for big-data and computational science workflows

In this work we present kiwiPy, a Python library designed to support rob...
research
10/18/2020

Analysis of the impact of maker-taker fees on the stock market using agent-based simulation

Recently, most stock exchanges in the U.S. employ maker-taker fees, in w...
research
11/16/2010

Optimizing real-time RDF data streams

The Resource Description Framework (RDF) provides a common data model fo...
research
12/05/2018

Ibdxnet: Leveraging InfiniBand in Highly Concurrent Java Applications

In this report, we describe the design and implementation of Ibdxnet, a ...
research
05/05/2021

Simulation and estimation of a point-process market-model with a matching engine

The extent to which a matching engine can cloud the modelling of underly...
research
06/26/2023

BBCA-LEDGER: High Throughput Consensus meets Low Latency

This paper presents BBCA-LEDGER, a Byzantine log replication technology ...
research
02/07/2021

Hemlock : Compact and Scalable Mutual Exclusion

We present Hemlock, a novel mutual exclusion locking algorithm that is e...

Please sign up or login with your details

Forgot password? Click here to reset