Administrator
2025-04-02 f0bd0a516cd71998c63f5ee4784ee0ed2d51748a
bug修改
2个文件已修改
6 ■■■■ 已修改文件
l2/cancel_buy_strategy.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
servers/data_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/cancel_buy_strategy.py
@@ -529,6 +529,10 @@
    # 距离太近,封单不足
    def need_cancel_for_p(self, code, order_begin_pos):
        if True:
            return False, ""
        if gpcode_manager.MustBuyCodesManager().is_in_cache(code):
            return False, "已加红"
servers/data_server.py
@@ -807,7 +807,7 @@
                deals_month = trade_data_manager.AccountMoneyManager().get_deal_count_info(start_date, end_date)
                cost_month = sum([round(0.1 * x[1], 2) for x in delegates_month])
                make_month = 0
                make_month += max(1 * deals_month[0][1], deals_month[0][2] * 1.854 / 10000) + 1 * deals_month[1][
                make_month += max(1 * deals_month[0][1] if deals_month[0][1] else 0, deals_month[0][2] * 1.854 / 10000 if deals_month[0][2] else 0) + 1 * deals_month[1][
                    1] + 0 * deals_month[2][1]
                fdata["month_commission"] = round(make_month - cost_month, 2)
                # 计算当日手续费详情