Files
zszq-trs/YLErpDAL/Modules/CalculationModule/Abstract/ITradeKnockOutPayoffCalcService.cs
T
2024-05-09 14:06:26 +08:00

24 lines
676 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YLErp.Modules.TradeModule.KnockOutModule.Dto;
namespace YLErp.Modules.CalculationModule.Abstract
{
/// <summary>
/// 交易敲出 收益计算 服务
/// </summary>
public interface ITradeKnockOutPayoffCalcService
{
/// <summary>
/// 获取交易敲出收益
/// </summary>
/// <param name="td"></param>
/// <param name="underlyingPrice">实时标的价格</param>
/// <returns></returns>
GetKnockOutPayoffResult GetKnockOutPayoff(trade td, double underlyingPrice);
}
}