【文件属性】:
文件名称:匹配引擎
文件大小:11KB
文件格式:ZIP
更新时间:2021-02-18 12:57:46
Python
匹配引擎和测试示例
脚本(在CentOS7上测试)
build.sh:构建docker映像
test.sh:运行单元测试
run.sh:针对示例数据运行应用
方案的性能特征
确定AddOrderRequest是否导致匹配
从休息订单簿中删除已填写的订单运行时复杂度为O(log(n))
删除已取消的订单: 用于从书的特定侧面移除对象的运行时复杂度为O(log(n))。
【文件预览】:
matching-engine-master
----build.sh(226B)
----matching_engine()
--------common()
--------app.py(1KB)
--------__init__.py(0B)
----version.properties(37B)
----sample_data.txt(182B)
----Dockerfile(151B)
----run.sh(274B)
----requirements.txt(38B)
----test()
--------test_message_parser.py(1KB)
--------test_main.py(1KB)
--------__init__.py(0B)
--------test_engine.py(2KB)
----test.sh(208B)
----README.md(476B)
----.gitignore(8B)