Administrator
2023-07-31 a94be3119e519cc670e74903956f8a6b6991c582
获取环境接口
1个文件已修改
1 ■■■■ 已修改文件
trade/huaxin/trade_api_server.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin/trade_api_server.py
@@ -398,6 +398,7 @@
    while True:
        try:
            _datas = huaxin_target_codes_manager.HuaXinL2SubscriptCodesManager.pop()
            if _datas:
            timestamp, datas = _datas[0], _datas[1]
            # 只处理20s内的数据
            if time.time() - timestamp < 20 and datas: