计算指标可配置
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Qdp.Pricing.Base.Implementations;
|
||||
using Qdp.Pricing.Base.Implementations;
|
||||
using System.Text.RegularExpressions;
|
||||
using YLErp.BLL;
|
||||
using YLErp.BLL.Calculation.V2;
|
||||
@@ -11,6 +11,7 @@ using YLErp.Enums;
|
||||
using YLErp.Model;
|
||||
using YLErp.Modules.CalculationModule;
|
||||
using YLErp.Modules.DataProviderModule;
|
||||
using YLErp.Modules.EodModule;
|
||||
using YLErp.Modules.PricingModule.Models;
|
||||
using YLErp.Modules.TradeModule;
|
||||
using YLErp.QdpModule;
|
||||
@@ -500,7 +501,7 @@ namespace YLErp.Modules.PricingModule
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var greeksHandleService = new GLMSGreeksHandleService();
|
||||
foreach (var item in tdList)
|
||||
{
|
||||
var td = item.tdConv;
|
||||
@@ -529,6 +530,9 @@ namespace YLErp.Modules.PricingModule
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
greeksHandleService.Handle(td, calcResult);
|
||||
|
||||
results.Add(new CalcOptionPriceResult
|
||||
{
|
||||
BuySell = td.BuySell,
|
||||
|
||||
Reference in New Issue
Block a user