feat: 高频交易系统的随机测试实验台(可控标记价格构造确定性爆仓边界)

This commit is contained in:
WbiubiuW
2026-09-22 14:29:24 +08:00
commit 8654bb4224
11 changed files with 1637 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# demo 只需要这些。原始实现还用了 SQLAlchemy + PyMySQL + DBUtils + redis-py-cluster
# 去连真实的 MySQL / Redis 集群;demo 把这些换成了标准库 sqlite3 数据源,所以这些重依赖
# (以及装不上 Python 3.12+ 的 redis-py-cluster)都去掉了。
#
# pyzmq 才是真正的绑定(原 requirements 里误写成了占位包 "zmq==0.0.0")。
# HTTP 客户端只用标准库:verify.py 用 urllib,requester 用 aiohttp(并发发送)。
pyzmq>=22.3
diskcache>=5.2
aiohttp>=3.8
pytest>=7.0