Administrator
2025-07-18 9d77f09f8792957afa1b7a9ba5879f644cd1ac62
api/outside_api_command_callback.py
@@ -881,11 +881,9 @@
                account_available_money = trade_data_manager.AccountMoneyManager().get_available_money_cache()
                # 获取委托中的代码
                # current_delegates = huaxin_trade_record_manager.DelegateRecordManager().list_current_delegates()
                # TODO 测试
                current_delegates, update_time = huaxin_trade_record_manager.DelegateRecordManager.list_by_day(
                    tool.get_now_date_str("%Y%m%d"), None,
                    [huaxin_util.TORA_TSTP_OST_Accepted, huaxin_util.TORA_TSTP_OST_PartTraded,
                     huaxin_util.TORA_TSTP_OST_AllCanceled])
                    [huaxin_util.TORA_TSTP_OST_Accepted, huaxin_util.TORA_TSTP_OST_PartTraded])
                fdatas = []
                if current_delegates:
                    codes_set = set()
@@ -894,11 +892,6 @@
                            if int(c["direction"]) != huaxin_util.TORA_TSTP_D_Buy:
                                continue
                            code = c["securityID"]
                            # TODO 测试
                            if code != '000751':
                                continue
                            if code in codes_set:
                                continue
                            orderSysID = c.get("orderSysID")