//----------------------------------------------------------------
//Module Name: EntrustOrder
//Purpose:
//CopyRight: Muchinfo
//History:
//----------------------------------------------------------------
//DateTime Author Description
//----------------------------------------------------------------
//2014-03-24 deng.yinping Create
//----------------------------------------------------------------
using System;
using Muchinfo.MTPClient.Data.Enums;
namespace Muchinfo.MTPClient.Data.Model
{
////
//// 委托单类
////
public class EntrustOrder
{
///
/// 账号
///
public uint AccountId { get; set; }
///
/// 账号类型
///
public eAccountType 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 MemberId { get; set; }
///
/// 操作员
///
public string OperatorCode { get; set; }
///
/// 订单类型
///
public OrderType OrderType { get; set; }
///
/// 止损价格
///
public decimal SLPrice { get; set; }
///
/// 特别会员账号
///
public string SpecialAccount { get; set; }
///
/// 止盈价格
///
public decimal SPPrice { get; set; }
///
/// 交易账号
///
public string TradeCode { get; set; }
///
/// 有效期限
///
public DateTime ValidTime { get; set; }
///
/// 校验类型
///
public ExpirationType ValidType { get; set; }
///
/// 建仓/平仓
///
public OpenCloseMode OpenType { get; set; }
///
/// 关联委托单号
///
public long RelationTicket { get; set; }
///
/// 卖买增量点差
///
public decimal PtSub { get; set; }
///
/// 取价方式
///
// public PriceMode PriceMode { get; set; }
///
/// 止损触发价
///
public decimal SlTriggerPrice { get; set; }
///
/// 止盈触发价
///
public decimal SpTriggerPrice { get; set; }
///
/// 反手建仓价
///
public decimal ReverseOpenPrice { get; set; }
///
/// 市场id
///
public uint MarketId { get; set; }
///
/// 商品Id
///
public uint GoodId { get; set; }
///
/// 转让时间
///
public string TransferStartTime { get; set; }
///
/// 转让有效期
///
public string TransferEndTime { get; set; }
///
/// 委托时间
///
public DateTime EntrurstTime { get; set; }
}
}