/// <summary> /// 获取撮合中心UComboItem集合 /// </summary> /// <returns></returns> public static List <UComboItem> GetMatchCenterList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { ManagementCenter.BLL.RC_MatchCenterBLL MatchCenterBLL = new RC_MatchCenterBLL(); List <RC_MatchCenter> l = MatchCenterBLL.GetListArray(string.Empty); if (l == null) { return(null); } foreach (RC_MatchCenter MatchCenter in l) { item = new UComboItem(MatchCenter.MatchCenterName, MatchCenter.MatchCenterID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 绑定单位类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListUnitType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("股", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Thigh); listUComboItem.Add(_Item); _Item = new UComboItem("手", (int) GTA.VTS.Common.CommonObject.Types.UnitType.Hand); listUComboItem.Add(_Item); _Item = new UComboItem("张", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Sheet); listUComboItem.Add(_Item); _Item = new UComboItem("点 ", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Point); listUComboItem.Add(_Item); _Item = new UComboItem("吨", (int) GTA.VTS.Common.CommonObject.Types.UnitType.Ton); listUComboItem.Add(_Item); _Item = new UComboItem("克", (int) GTA.VTS.Common.CommonObject.Types.UnitType.Gram); listUComboItem.Add(_Item); //_Item = new UComboItem("指数点", // (int) // GTA.VTS.Common.CommonObject.Types.UnitType.IndexPoints); //listUComboItem.Add(_Item); _Item = new UComboItem("份", (int) GTA.VTS.Common.CommonObject.Types.UnitType.Share); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取提示问题类型UComboItem集合 /// </summary> /// <returns></returns> public static List <UComboItem> GetQuestionTypeList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { UM_QuestionTypeBLL QuestionTypeBLL = new UM_QuestionTypeBLL(); List <UM_QuestionType> L_QuestionType = QuestionTypeBLL.GetListArray(string.Empty); if (L_QuestionType == null) { return(null); } foreach (UM_QuestionType questiontype in L_QuestionType) { item = new UComboItem(questiontype.Content, questiontype.QuestionID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 获取柜台UComboItem集合 /// </summary> /// <returns></returns> public static List <UComboItem> GetAllCounterList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { CT_CounterBLL CounterBLL = new CT_CounterBLL(); List <CT_Counter> l = CounterBLL.GetListArray(string.Empty); if (l == null) { return(null); } foreach (CT_Counter ct in l) { item = new UComboItem(ct.name, ct.CouterID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 绑定现货品种涨跌幅控制类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListXHHighLowTypeDisplayAll() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); // _Item = new UComboItem("新股上市,增发上市,暂停后开始交易和其他日期", _Item = new UComboItem("股票", (int)GTA.VTS.Common.CommonObject.Types.XHSpotHighLowControlType.NewThighAddFatStopAfterOrOtherDate); listUComboItem.Add(_Item); // _Item = new UComboItem("无涨跌幅限制", _Item = new UComboItem("债券", (int) GTA.VTS.Common.CommonObject.Types.XHSpotHighLowControlType.NotHighLowControl); listUComboItem.Add(_Item); // _Item = new UComboItem("权证涨跌幅", _Item = new UComboItem("权证", (int)GTA.VTS.Common.CommonObject.Types.XHSpotHighLowControlType.RightPermitHighLow); listUComboItem.Add(_Item); // _Item = new UComboItem("新基金上市,增发上市,暂停后开始交易和其他日期", _Item = new UComboItem("基金", (int)GTA.VTS.Common.CommonObject.Types.XHSpotHighLowControlType.NewFundAddFatStopAfterOrOtherDate); listUComboItem.Add(_Item); //_Item = new UComboItem("港股", // 5); ////GTA.VTS.Common.CommonObject.Types.XHSpotHighLowControlType.NotHighLowControl); //listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取交易所类型UComboItem集合 /// </summary> /// <returns></returns> public static List <UComboItem> GetBourseTypeList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { ManagementCenter.BLL.CM_BourseTypeBLL BourseTypeBLL = new CM_BourseTypeBLL(); string strWhere = " DELETESTATE IS NOT NULL AND DELETESTATE<>1 "; List <CM_BourseType> l = BourseTypeBLL.GetListArray(strWhere);//(string.Empty); if (l == null) { return(null); } foreach (CM_BourseType BourseType in l) { item = new UComboItem(BourseType.BourseTypeName, BourseType.BourseTypeID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 期货每周星期几 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHWeek() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("星期日", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Sunday); listUComboItem.Add(_Item); _Item = new UComboItem("星期一", (int) GTA.VTS.Common.CommonObject.Types.QHWeek.Monday); listUComboItem.Add(_Item); _Item = new UComboItem("星期二", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Tuesday); listUComboItem.Add(_Item); _Item = new UComboItem("星期三", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Wednesday); listUComboItem.Add(_Item); _Item = new UComboItem("星期四", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Thursday); listUComboItem.Add(_Item); _Item = new UComboItem("星期五", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Friday); listUComboItem.Add(_Item); _Item = new UComboItem("星期六", (int)GTA.VTS.Common.CommonObject.Types.QHWeek.Saturday); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取权限UComboItem集合 /// </summary> /// <returns></returns> public static List <UComboItem> GetAllRightGroupList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { UM_ManagerGroupBLL ManagerGroupBLL = new UM_ManagerGroupBLL(); List <UM_ManagerGroup> L_ManagerGroup = ManagerGroupBLL.GetListArray(string.Empty); if (L_ManagerGroup == null) { return(null); } foreach (UM_ManagerGroup managergroup in L_ManagerGroup) { item = new UComboItem(managergroup.ManagerGroupName, managergroup.ManagerGroupID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 绑定交易规则_取值类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListCMValueType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("单一值", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Single); listUComboItem.Add(_Item); _Item = new UComboItem("范围值", (int) GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Scope); listUComboItem.Add(_Item); _Item = new UComboItem("成交额", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Turnover); listUComboItem.Add(_Item); _Item = new UComboItem("股", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Thigh); listUComboItem.Add(_Item); _Item = new UComboItem("单边买", (int) GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.SingleBuy); listUComboItem.Add(_Item); _Item = new UComboItem("单边卖", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.SingleSell); listUComboItem.Add(_Item); _Item = new UComboItem("双边", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.TwoEdge); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取币种类型列表 /// </summary> /// <returns></returns> public static List <UComboItem> GetCurrencyTypeList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { CM_CurrencyTypeBLL cM_CurrencyTypeBLL = new CM_CurrencyTypeBLL(); List <CM_CurrencyType> l = cM_CurrencyTypeBLL.GetListArray(string.Empty); if (l == null) { return(null); } foreach (CM_CurrencyType _cMCurrencyType in l) { item = new UComboItem(_cMCurrencyType.CurrencyName, _cMCurrencyType.CurrencyTypeID); listUComboItem.Add(item); } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 根据账户类型ID,返回不包含此账户类型ID的资金账户 /// </summary> /// <param name="AccountTypeID">账户类型ID</param> /// <returns></returns> public static List <UComboItem> GetAccountTypeListByAccountTypeID(int AccountTypeID) { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { ManagementCenter.BLL.UM_AccountTypeBLL accountTypeBLL = new UM_AccountTypeBLL(); List <UM_AccountType> l = accountTypeBLL.GetListArray(string.Format("AccountTypeID<>{0}", AccountTypeID)); if (l == null) { return(null); } foreach (UM_AccountType accountType in l) { if ((int)accountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.SpotCapital || (int)accountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.FuturesCapital || (int)accountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.BankAccount) { item = new UComboItem(accountType.AccountName, accountType.AccountTypeID); listUComboItem.Add(item); } } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 绑定期货相关单位(交易单位,行情成交量单位) /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHAboutUnit() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("手", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Hand); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定数据,1是,2否 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListYesOrNo() { UComboItem _item; List <UComboItem> listUComboItem = new List <UComboItem>(); _item = new UComboItem("是", (int)GTA.VTS.Common.CommonObject.Types.IsYesOrNo.Yes); listUComboItem.Add(_item); _item = new UComboItem("否", (int)GTA.VTS.Common.CommonObject.Types.IsYesOrNo.No); listUComboItem.Add(_item); return(listUComboItem); }
/// <summary> /// 绑定期货交易费用类型,1(按成交量)交易单位手续费,2(按成交额)成交金额手续费 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListFutrueCostType() { UComboItem _item; List <UComboItem> listUComboItem = new List <UComboItem>(); _item = new UComboItem("按成交量", (int)GTA.VTS.Common.CommonObject.Types.FutrueCostType.TradeUnitCharge); listUComboItem.Add(_item); _item = new UComboItem("按成交额", (int)GTA.VTS.Common.CommonObject.Types.FutrueCostType.TurnoverRateOfSerCha); listUComboItem.Add(_item); return(listUComboItem); }
/// <summary> /// 绑定现货过户费取值类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListXHTransferTollType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("成交额", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Turnover); listUComboItem.Add(_Item); _Item = new UComboItem("股", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Thigh); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定交易方向 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListTransDire() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("买", (int)GTA.VTS.Common.CommonObject.Types.TransactionDirection.Buying); listUComboItem.Add(_Item); _Item = new UComboItem("卖", (int) GTA.VTS.Common.CommonObject.Types.TransactionDirection.Selling); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定期货(计价单位) /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHPriceUnit() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("吨", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Ton); listUComboItem.Add(_Item); _Item = new UComboItem("点", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Point); listUComboItem.Add(_Item); _Item = new UComboItem("克", (int)GTA.VTS.Common.CommonObject.Types.UnitType.Gram); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定最小变动价位范围值,交易费用(交易规则_取值类型表中的2个值) /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListValueType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("单一值", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Single); listUComboItem.Add(_Item); _Item = new UComboItem("范围值", (int) GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.Scope); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定期货最后交易日是顺数或倒数 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHLastTradDayIsSequence() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("顺数", (int)GTA.VTS.Common.CommonObject.Types.QHLastTradingDayIsSequence.Order); listUComboItem.Add(_Item); _Item = new UComboItem("倒数", (int) GTA.VTS.Common.CommonObject.Types.QHLastTradingDayIsSequence.Reverse); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定商品期货_持仓取值类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHPositionValueType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("持仓量", (int)GTA.VTS.Common.CommonObject.Types.QHPositionValueType.Positions); listUComboItem.Add(_Item); _Item = new UComboItem("百分比", (int) GTA.VTS.Common.CommonObject.Types.QHPositionValueType.Scales); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定委托指令类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListMarketPriceType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("市价", (int)GTA.VTS.Common.CommonObject.Types.MarketPriceType.MarketPrice); listUComboItem.Add(_Item); _Item = new UComboItem("限价", (int) GTA.VTS.Common.CommonObject.Types.MarketPriceType.otherPrice); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定股票性质 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListStockNature() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("正常股票", (int)GTA.VTS.Common.CommonObject.Types.StockNatureEnum.Normal); listUComboItem.Add(_Item); _Item = new UComboItem("ST股票", (int) GTA.VTS.Common.CommonObject.Types.StockNatureEnum.ST); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取证件类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetCertificateStyleList() { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); item = new UComboItem("身份证", (int)ManagementCenter.Model.CommonClass.Types.CertificateStyleEnum.StatusCard); listUComboItem.Add(item); item = new UComboItem("学生证", (int)ManagementCenter.Model.CommonClass.Types.CertificateStyleEnum.StudentCard); listUComboItem.Add(item); item = new UComboItem("军官证", (int)ManagementCenter.Model.CommonClass.Types.CertificateStyleEnum.ServicemanCard); listUComboItem.Add(item); item = new UComboItem("护照", (int)ManagementCenter.Model.CommonClass.Types.CertificateStyleEnum.Passport); listUComboItem.Add(item); return(listUComboItem); }
/// <summary> /// 绑定印花税取值类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListStampDutyType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("单边买", (int) GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.SingleBuy); listUComboItem.Add(_Item); _Item = new UComboItem("单边卖", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.SingleSell); listUComboItem.Add(_Item); _Item = new UComboItem("双边", (int)GTA.VTS.Common.CommonObject.Types.GetValueTypeEnum.TwoEdge); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定币种类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListCurrencyType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("人民币", (int)GTA.VTS.Common.CommonObject.Types.CurrencyType.RMB); listUComboItem.Add(_Item); _Item = new UComboItem("港币", (int) GTA.VTS.Common.CommonObject.Types.CurrencyType.HK); listUComboItem.Add(_Item); _Item = new UComboItem("美元", (int) GTA.VTS.Common.CommonObject.Types.CurrencyType.US); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 获取帐号类型列表 /// </summary> /// <param name="i">1:为资金帐号 2:持仓帐号</param> /// <returns></returns> public static List <UComboItem> GetAccountTypeList(int i) { UComboItem item; List <UComboItem> listUComboItem = new List <UComboItem>(); try { ManagementCenter.BLL.UM_AccountTypeBLL AccountTypeBLL = new UM_AccountTypeBLL(); List <UM_AccountType> l = AccountTypeBLL.GetListArray(string.Empty); if (l == null) { return(null); } foreach (UM_AccountType AccountType in l) { if (i == 1) { if ((int)AccountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.SpotCapital || (int)AccountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.FuturesCapital) { item = new UComboItem(AccountType.AccountName, AccountType.AccountTypeID); listUComboItem.Add(item); } } else if (i == 2) { if ((int)AccountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.FuturesHold || (int)AccountType.AccountAttributionType == (int)GTA.VTS.Common.CommonObject.Types.AccountAttributionType.SpotHold) { item = new UComboItem(AccountType.AccountName, AccountType.AccountTypeID); listUComboItem.Add(item); } } } } catch { return(null); } return(listUComboItem); }
/// <summary> /// 绑定期货涨跌停类型(根据2009。05。15界面确认结果修改) /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHHighLowStopType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); //_Item = new UComboItem("不超过上一交易日结算价", //_Item = new UComboItem("不超过上一......", // (int) GTA.VTS.Common.CommonObject.Types.QHHighLowStopScopeType.NoMoreAgoTradDayClearPrice); _Item = new UComboItem("比例", (int)GTA.VTS.Common.CommonObject.Types.QHHighLowStopScopeType.NoMoreAgoTradDayClearPrice); listUComboItem.Add(_Item); //_Item = new UComboItem("每吨不高于或低于上一交易日结算价格", _Item = new UComboItem("金额", (int) GTA.VTS.Common.CommonObject.Types.QHHighLowStopScopeType.TonNotHighOrLowAgoTradDayClearPrice); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定期货最后交易日类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHLastTradingDayType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("交割月份+第几个自然日", (int)GTA.VTS.Common.CommonObject.Types.QHLastTradingDayType.DeliMonthAndDay); listUComboItem.Add(_Item); _Item = new UComboItem("交割月份+倒数/顺数+第几个交易日", (int) GTA.VTS.Common.CommonObject.Types.QHLastTradingDayType.DeliMonthAndDownOrShunAndWeek); listUComboItem.Add(_Item); _Item = new UComboItem("交割月份+第几周+星期几", (int)GTA.VTS.Common.CommonObject.Types.QHLastTradingDayType.DeliMonthAndWeek); listUComboItem.Add(_Item); _Item = new UComboItem("交割月份前一个月份+倒数/顺数+第几个交易日", (int)GTA.VTS.Common.CommonObject.Types.QHLastTradingDayType.DeliMonthAgoMonthLastTradeDay); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定品种类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListBreedClassType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("现货",//("股票现货", (int)GTA.VTS.Common.CommonObject.Types.BreedClassTypeEnum.Stock); listUComboItem.Add(_Item); _Item = new UComboItem("商品期货", (int) GTA.VTS.Common.CommonObject.Types.BreedClassTypeEnum.CommodityFuture); listUComboItem.Add(_Item); _Item = new UComboItem("股指期货", (int)GTA.VTS.Common.CommonObject.Types.BreedClassTypeEnum.StockIndexFuture); listUComboItem.Add(_Item); _Item = new UComboItem("港股", (int)GTA.VTS.Common.CommonObject.Types.BreedClassTypeEnum.HKStock); listUComboItem.Add(_Item); return(listUComboItem); }
/// <summary> /// 绑定持仓和保证金控制类型 /// </summary> /// <returns></returns> public static List <UComboItem> GetBindListQHPositionBailType() { UComboItem _Item; List <UComboItem> listUComboItem = new List <UComboItem>(); _Item = new UComboItem("单边持仓", (int)GTA.VTS.Common.CommonObject.Types.QHPositionBailType.SinglePosition); listUComboItem.Add(_Item); _Item = new UComboItem("双边持仓", (int) GTA.VTS.Common.CommonObject.Types.QHPositionBailType.TwoPosition); listUComboItem.Add(_Item); _Item = new UComboItem("自然日", (int) GTA.VTS.Common.CommonObject.Types.QHPositionBailType.ByDays); listUComboItem.Add(_Item); _Item = new UComboItem("交易日", (int) GTA.VTS.Common.CommonObject.Types.QHPositionBailType.ByTradeDays); listUComboItem.Add(_Item); return(listUComboItem); }