using System; using System.Collections.Generic; using System.Linq; using System.Text; //---------------------------------------------------------------- //Module Name: $safeprojectname$ //Purpose: //CopyRight: Muchinfo //History: //---------------------------------------------------------------- //DateTime 2016/3/28 14:32:06 //Author //Description Create //---------------------------------------------------------------- using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Helper; using Muchinfo.MTPClient.Data.Model.Listing; namespace Muchinfo.MTPClient.Data.Model { public class NewEntrustOrder { /// /// 资金账号 /// public ulong AccountId { get; set; } /// /// 登陆账号 /// public ulong LoginID { get; set; } /// /// 操作者 /// public ulong OperaterId { get; set; } /// /// 账号类型 /// public eUserType AccountType { get; set; } /// /// 限价单使用的行情价 /// public decimal CurtQuotePrice { get; set; } /// /// 允许成交偏差范围 /// public decimal AllowTradeSub { get; set; } /// /// 买卖方向 /// public Direction BuyOrSell { get; set; } /// /// 买卖点差 /// public double BuyOrSellPtSub { get; set; } /// /// 委托价格 /// public decimal EntrustPrice { get; set; } /// /// 委托数量 /// public decimal EntrustQuantity { get; set; } /// /// 商品代码 /// public string GoodsCode { get; set; } /// /// 所属会员 /// public string MemberCode { get; set; } /// /// 所属会员ID /// public uint MemberAreaId { get; set; } /// /// 操作员 /// public string OperatorCode { get; set; } /// /// 止损价格 /// public decimal SLPrice { get; set; } /// /// 特别会员账号 /// public string SpecialAccount { get; set; } /// /// 止盈价格 /// public decimal SPPrice { get; set; } /// /// 有效期限 /// public DateTime ValidTime { get; set; } /// /// 校验类型 /// public ExpirationType ValidType { get; set; } /// /// 关联委托单号 /// public ulong RelationTicket { get; set; } /// /// 卖买增量点差 /// public decimal PtSub { get; set; } /// /// 成交属性 /// public OrderMode OrderMode { get; set; } /// /// 取价方式 /// public ePriceMode PriceMode { get; set; } /// /// 建仓/平仓 /// public OpenCloseMode BuildType { get; set; } /// /// 市场id /// public uint MarketId { get; set; } /// /// 商品Id /// public uint GoodsId { get; set; } ///// ///// 反手建仓 ///// //public ReverseOpenFlag ReverseOpenFlag { get; set; } /// /// 委托时间 /// public DateTime EntrurstTime { get; set; } /// /// 订单类型 /// public OrderType OrderType { get; set; } private uint _OrderFlag = uint.MaxValue; /// /// 下单方向 /// public uint OrderFlag { get { return _OrderFlag; } set { _OrderFlag = value; } } private uint _TriggerType = uint.MaxValue; /// /// 触发类型 /// public uint TriggerType { get { return _TriggerType; } set { _TriggerType = value; } } private decimal _TriggerPrice = int.MinValue; /// /// 触发价格 /// public decimal TriggerPrice { get { return _TriggerPrice; } set { _TriggerPrice = value; } } /// /// 挂牌订单类型 /// //public ListingOrderType ListingOrderType { get; set; } /// /// 挂牌点选类型 /// public eListingSelectType ListingSelectType { get; set; } /// /// 摘牌类型 /// public eDelistingType DelistingType { get; set; } private eOrderFormType _orderFormType = eOrderFormType.Commom; /// /// 下单来源类型 /// public eOrderFormType OrderFormType { get { return _orderFormType; } set { _orderFormType = value; } } /// /// 挂牌仓单 /// public List ListHouseOrders { get; set; } /// /// 交易模式 /// public eTradeMode TradeMode { get; set; } /// /// 通道交易价格方式 /// public ChannelPriceMode ChannelPriceMode { get; set; } /// /// 当前商品 /// public QuoteGoods CurrentGoods { get; set; } #region 资管 /// /// 止盈止损单类型 /// /// The type of the SPSL order. public SPSLOrderType SPSLOrderType { get; set; } /// /// 自动止盈止损的点差 /// public int SPPoint { get; set; } /// /// 自动止盈止损的点差 /// public int SLPoint { get; set; } #endregion private string _ip; public string Ip { get { return _ip; } set { _ip = value; } } #region 企业风管 /// /// 投机套保标志 /// private uint _HedgeFlag; public uint HedgeFlag { get { return _HedgeFlag; } set { _HedgeFlag = value; } } private ulong _SpotContractID; /// /// 现货合同ID-为4:套期保值时填写 /// public ulong SpotContractID { get { return _SpotContractID; } set { _SpotContractID = value; } } private ulong _SaleUserID; /// /// 业务员ID /// public ulong SaleUserID { get { return _SaleUserID; } set { _SaleUserID = value; } } private ulong _BizSubjectID; /// /// 归属业务部门ID /// public ulong BizSubjectID { get { return _BizSubjectID; } set { _BizSubjectID = value; } } #endregion } }