24 lines
676 B
C#
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);
|
|
}
|
|
}
|