| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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
- {
- /// <summary>
- /// 建平
- /// </summary>
- public class OrderMessage
- {
- /// <summary>
- /// 下单方向
- /// </summary>
- public Direction Direction { get; set; }
- /// <summary>
- /// 取价方式
- /// </summary>
- public ePriceMode OrderPriceMode { get; set; }
- /// <summary>
- /// 建仓/平仓
- /// </summary>
- public OpenCloseMode OpenCloseMode { get; set; }
- /// <summary>
- /// 要平的单据
- /// </summary>
- public OrderBase Order { get; set; }
- /// <summary>
- /// 一般下单/挂牌下单
- /// </summary>
- public eOrderFormType formType { get; set; }
- /// <summary>
- /// 资金帐号
- /// </summary>
- public ulong AccountID { get; set; }
-
- public OrderMessage()
- {
- OpenCloseMode = OpenCloseMode.BUILDTYPE_OPEN;
- formType = eOrderFormType.Commom;
- }
- /// <summary>
- /// 挂牌、摘牌属性 委托单号
- /// </summary>
- public long OrderId { get; set; }
- /// <summary>
- /// 挂牌、摘牌属性 委托价格
- /// </summary>
- public decimal OrderPrice { get; set; }
-
- }
- }
|