43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YLErp.BLL.MarginCalculation.DongWu
|
|
{
|
|
public interface IUpDownLimitProvider
|
|
{
|
|
//string Unlyingcode { get; set; }
|
|
//double GetUplimitRate();
|
|
//double GetDownlimitRate();
|
|
InnerUpDownLimit GetUpDownLimit();
|
|
}
|
|
|
|
public class InnerUpDownLimit
|
|
{
|
|
public string UnderlyingCode { get; set; }
|
|
public double UplimitRate { get; set; }
|
|
/// <summary>
|
|
/// 跌停幅度
|
|
/// </summary>
|
|
public double DownLimitRate { get; set; }
|
|
/// <summary>
|
|
/// 是否封板
|
|
/// </summary>
|
|
public bool IsCover { get; set; }
|
|
/// <summary>
|
|
/// 是否触板
|
|
/// </summary>
|
|
public bool IsTouch { get; set; }
|
|
///// <summary>
|
|
///// 收盘价
|
|
///// </summary>
|
|
//public double ClosePrice { get; set; }
|
|
/// <summary>
|
|
/// 涨跌停幅度
|
|
/// </summary>
|
|
public double OriginUpDownLimitRate { get; set; } = 0d;
|
|
}
|
|
}
|