Administrator
2023-11-10 a7d5600868e9d11b420455f81535e5620a621b49
bug修复
1个文件已修改
3 ■■■■ 已修改文件
third_data/data_server.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
third_data/data_server.py
@@ -331,9 +331,10 @@
        elif url.path == "/get_l_cancel_datas":
            # 最新的l撤数据
            ps_dict = dict([(k, v[0]) for k, v in parse_qs(url.query).items()])
            logger_debug.info(f"l撤数据:{ps_dict}")
            code = ps_dict['code']
            buy_single_index = ps_dict.get('buy_single_index')
            if buy_single_index is not None:
                buy_single_index = int(buy_single_index)
            records = code_info_output.load_trade_record_cancel_watch_indexes(code)
            # 获取最新的L上与L下
            records.reverse()