namespace YLErp.Model
{
///
/// T型报价结果类
///
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 quotaList { get; set; }
public double LatestPrice { get; set; }
public double Change { get; set; }
public double ChangePercent { get; set; }
///
/// 附加消息
///
public string OtherInfo { get; set; }
}
public class TQuoteRequest
{
public string underlyingCode { get; set; }
///
/// datetime string
///
public DateTime maturityDate { get; set; }
public double? spotPrice { get; set; }
public int? strikeInterval { get; set; }
public int? strikeCount { get; set; }
///
/// ask调整天数
///
public int askMaturityShift { get; set; }
///
/// bid调整天数
///
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 Records { get; set; }
}
}