| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
-
- using System;
- using System.Collections.Generic;
- using Muchinfo.MTPClient.Data.Enums;
- namespace Muchinfo.MTPClient.Data.Model
- {
- public class OrderCompleteArg
- {
- public OrderCompleteType OrderCompleteType { get; set; }
- /// <summary>
- /// 订单号(委托单号)
- /// </summary>
- public long OrderId { get; set; }
- /// <summary>
- /// 二级委托单号
- /// </summary>
- public long SecEntrustId { get; set; }
-
- /// <summary>
- /// 成交数量
- /// </summary>
- public decimal TradeQuantity { get; set; }
-
- /// <summary>
- /// 成交金额
- /// </summary>
- public decimal Amount { get; set; }
- /// <summary>
- /// 商品代码
- /// </summary>
- public string GoodsCode { get; set; }
- /// <summary>
- /// 激活数量,即剩余数量
- /// </summary>
- public decimal ActiveQty { get; set; }
- /// <summary>
- /// 订单状态
- /// </summary>
- public OrderStatus OrderStatus { get; set; }
- /// <summary>
- /// 成交ID
- /// </summary>
- public long TradeID { get; set; }
- /// <summary>
- /// 资金账号
- /// </summary>
- public string AccountCode { get; set; }
- /// <summary>
- /// 账号ID
- /// </summary>
- public ulong AccountId { get; set; }
- /// <summary>
- /// 成交价格
- /// </summary>
- public decimal TradePrice { get; set; }
-
- /// <summary>
- /// 买卖方向
- /// </summary>
- public Direction Direction { get; set; }
- /// <summary>
- /// 委托数量
- /// </summary>
- public decimal EntrustQty { get; set; }
- /// <summary>
- /// 订单类型
- /// </summary>
- public eOrderType OrderType { get; set; }
- /// <summary>
- /// 成交时间
- /// </summary>
- public string TradeTime { get; set; }
- /// <summary>
- /// 特别会员账号
- /// </summary>
- public string SpecialAccount { get; set; }
- /// <summary>
- /// 建仓成交手续费
- /// </summary>
- public decimal TradeCharge { get; set; }
- /// <summary>
- /// 仓单服务费
- /// </summary>
- public decimal WareHouseCharge { get; set; }
- /// <summary>
- /// 占用保证金
- /// </summary>
- public decimal UsedMargin { get; set; }
- /// <summary>
- /// 操作员代码
- /// </summary>
- public string OperatorCode { get; set; }
- /// <summary>
- /// 平仓单信息
- /// </summary>
- public List<TradeCloseInfos> CloseInfos { get; set; }
- }
- /// <summary>
- /// 平仓成交通知信息
- /// </summary>
- public class TradeCloseInfos
- {
- /// <summary>
- /// 被平持仓单ID
- /// </summary>
- public long ClosedOrderID { get; set; }
- /// <summary>
- /// 平仓数量
- /// </summary>
- public decimal ClosedQty { get; set; }
- /// <summary>
- /// 平仓盈亏
- /// </summary>
- public decimal ClosePL { get; set; }
- /// <summary>
- /// 释放的占用保证金
- /// </summary>
- public decimal RlsUsedMargin { get; set; }
- /// <summary>
- /// 平仓手续费
- /// </summary>
- public decimal TradeCharge { get; set; }
-
- /// <summary>
- /// 仓单服务费
- /// </summary>
- public decimal WareHouseCharge { get; set; }
- /// <summary>
- /// 成交金额
- /// </summary>
- public decimal TradeAmount { get; set; }
- }
-
-
- public enum OrderCompleteType
- {
- Open,
- Close
- }
- }
|