73 lines
2.1 KiB
C#
73 lines
2.1 KiB
C#
namespace YLErp.Model
|
|
{
|
|
/// <summary>
|
|
/// T型报价结果类
|
|
/// </summary>
|
|
public class TQuoteRecord
|
|
{
|
|
public double Strike { get; set; }
|
|
|
|
public double CallAskPrice { get; set; }
|
|
public double CallBidPrice { get; set; }
|
|
public double PutAskPrice { get; set; }
|
|
public double PutBidPrice { get; set; }
|
|
|
|
public double CallAskPricePercent { get; set; }
|
|
public double CallBidPricePercent { get; set; }
|
|
public double PutAskPricePercent { get; set; }
|
|
public double PutBidPricePercent { get; set; }
|
|
|
|
public double CallAskVol { get; set; }
|
|
public double CallBidVol { get; set; }
|
|
public double PutAskVol { get; set; }
|
|
public double PutBidVol { get; set; }
|
|
}
|
|
|
|
public class TQuoteResult
|
|
{
|
|
public int StatusCode { get; set; }
|
|
|
|
public string Info { get; set; }
|
|
|
|
public List<TQuoteRecord> quotaList { get; set; }
|
|
public double LatestPrice { get; set; }
|
|
public double Change { get; set; }
|
|
public double ChangePercent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 附加消息
|
|
/// </summary>
|
|
public string OtherInfo { get; set; }
|
|
}
|
|
public class TQuoteRequest
|
|
{
|
|
public string underlyingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// datetime string
|
|
/// </summary>
|
|
public DateTime maturityDate { get; set; }
|
|
public double? spotPrice { get; set; }
|
|
public int? strikeInterval { get; set; }
|
|
public int? strikeCount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// ask调整天数
|
|
/// </summary>
|
|
public int askMaturityShift { get; set; }
|
|
|
|
/// <summary>
|
|
/// bid调整天数
|
|
/// </summary>
|
|
public int bidMaturityShift { get; set; }
|
|
}
|
|
public class TQuoteWithCustomizedVolRequest
|
|
{
|
|
public string UnderlyingCode { get; set; }
|
|
public string MaturityDate { get; set; }
|
|
public double SpotPrice { get; set; }
|
|
public List<TQuoteRecord> Records { get; set; }
|
|
}
|
|
}
|