公告板
版本库
filestore
活动
搜索
登录
main
/
gp-server
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
将掘金接口抽象出单独的类
Administrator
2023-06-25
7bfdbe969da0b3a132d805cd15e9e83e7f2a8f8a
[gp-server.git]
/
trade
/
trade_server_processor.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
服务端处理器
"""
def process(data):
ctype = data["type"]
if ctype == 100:
# L2逐笔委托数据
pass
elif ctype == 101:
# L2逐笔成交数据
pass
elif ctype == 102:
# 买卖10档
pass