arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.10925cs.DCcs.MAq-fin.CPq-fin.TR
收藏

CoinTossX:一个开源的低延迟高吞吐量匹配引擎

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

Ivan Jericevich, Dharmesh Sing, Tim Gebbie

摘要:

我们部署并演示了CoinTossX低延迟,高吞吐量,开源的匹配引擎,使用Julia和Python语言发送订单。我们展示了如何部署小规模的本地桌面测试,并讨论了更大规模的本地托管,同时管理多个交易工具,并由多个客户端管理。然后,我们使用Microsoft Azure演示基于云的部署,并考虑到大规模工业和模拟研究用例。该系统通过使用UDP SBE消息协议的套接字公开和交互,并且可以使用使用HTTP的简单Web浏览器界面进行监控。我们给出的示例显示了如何使用Julia和Python语言将订单发送到系统和监控市场数据馈送。该系统是在Java中开发的,订单通过UDP协议以二进制编码(SBE)的形式提交,使用Aeron Media Driver作为低延迟、高吞吐量的消息传输。该系统将订单生成和仿真环境(例如基于代理的模型仿真)与订单匹配、数据馈送和订单系统的各种模块化组件分离。这确保了生成订单的事件与订单簿动态和市场数据馈送相关的事件之间的更自然和更真实的相似性。我们提倡使用Julia作为首选的订单提交和模拟环境。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑