首页|基于混合编程的高性能数据通信方法

基于混合编程的高性能数据通信方法

扫码查看
行情数据特别是高频数据是量化交易和研究的发动机,然而目前国内高频量化交易处于起步阶段,机构的业务人员大多缺乏IT专业能力,只有一些Python语言基础。但是市场上的高频行情数据SDK一般都是C++或Java语言开发的,暂无支持高频行情的Python-SDK。针对市场亟需一款能够处理高频数据的Python-SDK的痛点,方案提出的高性能Python-SDK,采用C++和Python混合编程的方式,既保留了Python语言特性,便于业务人员获取行情数据和对接量化交易,又兼顾了高频行情的性能要求,能达到15万TPS的处理性能,比纯Python实现的SDK性能提升近10倍,比Java和Python混合编程实现的SDK性能提升5倍,满足高频行情的处理需求。
High Performance Data Communication Method Based on Hybrid Programming
Market data,especially high-frequency data,is the engine for quantitative trading and research.However,at present,high-frequency quantitative trading in China is in its early stages,and most of the business personnel of institutions lack IT professional skills,with only some Python language foundation.But the high-frequency market data SDK in the market is generally developed in C++ or Java language,and there is currently no Python-SDK that supports high-frequency market data.In response to the urgent need for a Python-SDK capable of processing high-frequency data in the market,this solution proposes a high-performance Python SDK that adopts a hybrid programming method of C++ and Python.It not only retains the characteristics of the Python language,making it easy for business personnel to obtain market data and engage in quantitative trading,but also takes into account the performance requirements of high-frequency market.It can achieve processing performance of 15w TPS,which is nearly 10 times better than the SDK performance implemented in pure Python,and improves 5 times compared to SDK performance implemented by Java and Python hybrid programming.It meets the processing needs of high-frequency market.

Python SDKhigh performancehigh frequency markethybrid programming

丁娇

展开 >

雷达成像与微波光子技术教育部重点实验室(南京航空航天大学),江苏 南京 210016

Python-SDK 高性能 高频行情 混合编程

2024

现代信息科技
广东省电子学会

现代信息科技

ISSN:2096-4706
年,卷(期):2024.8(3)
  • 12