Administrator
2024-05-16 c3ff5a760141e9d76a9f20f12ea6606c0b75e85f
code_attribute/code_volumn_manager.py
@@ -91,7 +91,7 @@
    today = get_today_volumn(code)
    max60, yesterday = get_histry_volumn(code)
    if today is None or max60 is None or yesterday is None:
        raise Exception("获取量失败")
        raise Exception(f"获取量失败:{code}")
    rate = round((int(today) + total_sell_volume) / max(int(max60[0]), int(yesterday)), 2)
    if not with_info:
        return rate