37 lines
980 B
C#
37 lines
980 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YLErp.Modules.PricingModule.Models
|
|
{
|
|
public class CalcTradesRequest
|
|
{
|
|
/// <summary>
|
|
/// 试算交易id
|
|
/// </summary>
|
|
public List<int> TradeIds { get; set; }
|
|
|
|
/// <summary>
|
|
/// 试算标的价格
|
|
/// </summary>
|
|
public Dictionary<string, double> PricesDic { get; set; } = new Dictionary<string, double>();
|
|
|
|
/// <summary>
|
|
/// 交易标的价格
|
|
/// </summary>
|
|
public Dictionary<int, double> TradePricesDic { get; set; } = new Dictionary<int, double>();
|
|
|
|
/// <summary>
|
|
/// 试算波动率
|
|
/// </summary>
|
|
public Dictionary<int, double> VolsDic { get; set; } = new Dictionary<int, double>();
|
|
|
|
/// <summary>
|
|
/// 试算日期
|
|
/// </summary>
|
|
public DateTime ValueDate { get; set; }
|
|
}
|
|
}
|