Administrator
2025-07-18 82aafdbfa40bfebcdfe8d91c1de88a85918de5c0
api/outside_api_command_callback.py
@@ -884,7 +884,8 @@
                # 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,
                     huaxin_util.TORA_TSTP_OST_AllCanceled])
                fdatas = []
                if current_delegates:
                    codes_set = set()
@@ -893,6 +894,11 @@
                            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")
@@ -1026,8 +1032,8 @@
                                fdata['l_down_watch_indexes_info'] = {}
                                if current_info:
                                    fdata['l_down_watch_indexes_info']['current'] = current_info
                            except:
                                pass
                            except Exception as e:
                                logger_debug.exception(e)
                            fdatas.append(fdata)
                        except Exception as e:
                            logger_debug.exception(e)