Administrator
2025-05-28 e2c50654c83367625821689c6fa708eac87f9a6e
累计大单够了,只要有2个大单成交立即下单
2个文件已修改
5 ■■■■■ 已修改文件
servers/huaxin_trade_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/buy_radical/radical_buy_strategy.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
servers/huaxin_trade_server.py
@@ -828,7 +828,7 @@
                        radical_buy_data_manager.ExcludeIndexComputeCodesManager.remove_code(code)
                        if result_by_volume[0] == radical_buy_strategy.BUY_MODE_DIRECT and not tool.is_sh_code(code):
                        if result_by_volume[0] == radical_buy_strategy.BUY_MODE_DIRECT:
                            # 上证不能根据成交买入
                            latest_deal_time = l2_huaxin_util.convert_time(transaction_datas[-1][3])
                            refer_sell_data = L2MarketSellManager().get_refer_sell_data(code, latest_deal_time)
trade/buy_radical/radical_buy_strategy.py
@@ -213,8 +213,7 @@
            if tool.is_sz_code(code) and refer_sell_money >= 5e7:
                return BUY_MODE_DIRECT, f"剩余涨停总卖额-{left_limit_up_sell_money},均大单-{average_big_order_money}, 剩余阈值-{threshold_left_sell_money}, 总抛压大({refer_sell_money})"
            else:
                if total_lack_money_info[0] <= 0:
                if total_lack_money_info[0] <= 0 and tool.is_sz_code(code):
                    return BUY_MODE_DIRECT, f"剩余涨停总卖额-{left_limit_up_sell_money},均大单-{average_big_order_money}, 大单足够"
    else:
        average_big_order_money = 0