58 lines
1.3 KiB
C#
58 lines
1.3 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace YLErp.Model
|
|
{
|
|
[Table("eod_trade_position_static")]
|
|
public class eod_trade_position_static
|
|
{
|
|
[Key]
|
|
public int id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 簿记账户ID
|
|
/// </summary>
|
|
public int AssetBookId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 估值日
|
|
/// </summary>
|
|
public DateTime ValueDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标的代码
|
|
/// </summary>
|
|
public string UnderlyingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// long|short
|
|
/// </summary>
|
|
public string TradeType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 交易编号
|
|
/// </summary>
|
|
public string PositionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 持仓份额
|
|
/// </summary>
|
|
public double Notional { get; set; }
|
|
|
|
/// <summary>
|
|
/// 持仓盈亏
|
|
/// </summary>
|
|
public double PositionPnL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 持仓均价
|
|
/// </summary>
|
|
public double AveragePrice { get; set; }
|
|
|
|
/// <summary>
|
|
/// 场内期权合约号
|
|
/// </summary>
|
|
public string OptionCode { get; set; }
|
|
}
|
|
}
|