Administrator
2024-06-03 7aed1066e91e1807c7d4f6f28c6c649c01b31a29
可转债回撤
1个文件已修改
4 ■■■■ 已修改文件
main.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
main.py
@@ -137,6 +137,7 @@
            logger_debug.exception(e)
            send_response({"code": 1, "msg": str(e)}, client_id, request_id)
    elif type_ == "get_code_position_info":
        try:
        # 查询此仓
        code = data.get("code")
        if code:
@@ -195,6 +196,9 @@
                                  in
                                  sells]
        send_response({"code": 0, "data": results}, client_id, request_id)
        except Exception as e:
            logger_debug.exception(e)
            send_response({"code": 1, "msg": str(e)}, client_id, request_id)
    elif type_ == "refresh_trade_data":
        # 刷新交易数据
        ctype = data.get("ctype")