using System; using System.Collections.Generic; using System.Linq; using System.Text; //---------------------------------------------------------------- //Module Name: $safeprojectname$ //Purpose: //CopyRight: Muchinfo //History: //---------------------------------------------------------------- //DateTime 2016/3/30 13:45:09 //Author //Description Create //---------------------------------------------------------------- using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Model.Account; namespace Muchinfo.MTPClient.Data { /// /// 建平 /// public class OrderMessage { /// /// 下单方向 /// public Direction Direction { get; set; } /// /// 取价方式 /// public ePriceMode OrderPriceMode { get; set; } /// /// 建仓/平仓 /// public OpenCloseMode OpenCloseMode { get; set; } /// /// 要平的单据 /// public OrderBase Order { get; set; } /// /// 一般下单/挂牌下单 /// public eOrderFormType formType { get; set; } /// /// 资金帐号 /// public ulong AccountID { get; set; } public OrderMessage() { OpenCloseMode = OpenCloseMode.BUILDTYPE_OPEN; formType = eOrderFormType.Commom; } /// /// 挂牌、摘牌属性 委托单号 /// public long OrderId { get; set; } /// /// 挂牌、摘牌属性 委托价格 /// public decimal OrderPrice { get; set; } } }