| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Muchinfo.MTPClient.Data.Model
- {
- /// <summary>
- /// 持仓头寸
- /// </summary>
- public class GoodsPositionModel
- {
- #region 字段备注
- //GoodsId 商品id
- //BuyPosition 买期初持仓数量
- //BuyHolderAmount 买持仓期初总金额
- //BuyFrozen 买持仓冻结
- //BuyOtherfrozen 买持仓其他冻结
-
- //SellPosition 卖期初持仓数量
- //SellHolderAmount 卖持仓期初总金额
- //SellFrozen 卖持仓冻结
- //SellOtherfrozen 卖持仓其他冻结
- //BuyCurPosition 买当前持仓数量 uint32
- //BuyCurHolderAmount 买当前持仓金额 double
- //SellCurPosition 卖当前持仓数量 uint32
- //SellCurHolderAmount 卖当前持仓金额 double
- #endregion
- private uint _GoodsId = uint.MaxValue;
- /// <summary>
- /// 商品id
- /// </summary>
- public uint GoodsId
- {
- get { return _GoodsId; }
- set { _GoodsId = value; }
- }
- private uint _BuyPosition = uint.MaxValue;
- /// <summary>
- /// 买期初持仓数量
- /// </summary>
- public uint BuyPosition
- {
- get { return _BuyPosition; }
- set { _BuyPosition = value; }
- }
- private double _BuyHolderAmount = int.MinValue;
- /// <summary>
- /// 买持仓期初总金额
- /// </summary>
- public double BuyHolderAmount
- {
- get { return _BuyHolderAmount; }
- set { _BuyHolderAmount = value; }
- }
- private uint _BuyFrozen = uint.MaxValue;
- /// <summary>
- /// 买持仓冻结
- /// </summary>
- public uint BuyFrozen
- {
- get { return _BuyFrozen; }
- set { _BuyFrozen = value; }
- }
- private uint _BuyOtherfrozen = uint.MaxValue;
- /// <summary>
- /// 买持仓其他冻结
- /// </summary>
- public uint BuyOtherfrozen
- {
- get { return _BuyOtherfrozen; }
- set { _BuyOtherfrozen = value; }
- }
- private uint _SellPosition = uint.MaxValue;
- /// <summary>
- /// 卖期初持仓数量
- /// </summary>
- public uint SellPosition
- {
- get { return _SellPosition; }
- set { _SellPosition = value; }
- }
- private double _SellHolderAmount = int.MinValue;
- /// <summary>
- /// 卖持仓期初总金额
- /// </summary>
- public double SellHolderAmount
- {
- get { return _SellHolderAmount; }
- set { _SellHolderAmount = value; }
- }
- private uint _SellFrozen = uint.MaxValue;
- /// <summary>
- /// 卖持仓冻结
- /// </summary>
- public uint SellFrozen
- {
- get { return _SellFrozen; }
- set { _SellFrozen = value; }
- }
- private uint _SellOtherfrozen = uint.MaxValue;
- /// <summary>
- /// 卖持仓其他冻结
- /// </summary>
- public uint SellOtherfrozen
- {
- get { return _SellOtherfrozen; }
- set { _SellOtherfrozen = value; }
- }
-
- private uint _BuyCurPosition = uint.MaxValue;
- /// <summary>
- /// 买当前持仓数量
- /// </summary>
- public uint BuyCurPosition
- {
- get { return _BuyCurPosition; }
- set { _BuyCurPosition = value; }
- }
- private double _BuyCurHolderAmount = int.MinValue;
- /// <summary>
- /// 买当前持仓金额
- /// </summary>
- public double BuyCurHolderAmount
- {
- get { return _BuyCurHolderAmount; }
- set { _BuyCurHolderAmount = value; }
- }
- private uint _SellCurPosition = uint.MaxValue;
- /// <summary>
- /// 卖当前持仓数量
- /// </summary>
- public uint SellCurPosition
- {
- get { return _SellCurPosition; }
- set { _SellCurPosition = value; }
- }
- private double _SellCurHolderAmount = int.MinValue;
- /// <summary>
- /// 卖当前持仓金额
- /// </summary>
- public double SellCurHolderAmount
- {
- get { return _SellCurHolderAmount; }
- set { _SellCurHolderAmount = value; }
- }
- }
- }
|