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