59 lines
1.6 KiB
C#
59 lines
1.6 KiB
C#
using YLErp.Models;
|
|
|
|
namespace YLErp.Model
|
|
{
|
|
/// <summary>
|
|
/// 波动率报价表
|
|
/// </summary>
|
|
public class VolatilityQuotation
|
|
{
|
|
/// <summary>
|
|
/// 品种
|
|
/// </summary>
|
|
public string CommodityCode { get; set; }
|
|
public string UnderlyingType { get; set; }
|
|
public string UnderlyingMainCode { get; set; }
|
|
public List<BidAskMatureData> BidAskMatureData { get; set; }
|
|
public string MarketName { get; set; }
|
|
}
|
|
public class ExpireGroup
|
|
{
|
|
public string Expire { get; set; }
|
|
public List<SingleVol> Sv { get; set; }
|
|
}
|
|
|
|
public class BidAskMatureData
|
|
{
|
|
public string Expire { get; set; }
|
|
public double BidVol { get; set; }
|
|
public double AskVol { get; set; }
|
|
}
|
|
|
|
public class UnderlyingMainContractViewModel
|
|
{
|
|
public List<UnderlyingMainContractRecord> Records { get; set; }
|
|
public bool EnableClientCalculation { get; set; }
|
|
public bool EnableMobileQuotation { get; set; }
|
|
|
|
public bool EnableMobileVolQuote { get; set; }
|
|
}
|
|
|
|
public class UnderlyingMainContractRecord
|
|
{
|
|
public bool NeedQuote { get; set; }
|
|
public string UnderlyingType { get; set; }
|
|
|
|
public List<SelectItem> UnderlyingCodeList { get; set; } = new List<SelectItem>();
|
|
|
|
public string UnderlyingCode { get; set; }
|
|
|
|
public int? MinimumAmount { get; set; }
|
|
|
|
public string MarketCode { get; set; }
|
|
|
|
public int? StrikeInterval { get; set; }
|
|
|
|
public int? OrderId { get; set; }
|
|
|
|
}
|
|
} |