计算指标可配置

This commit is contained in:
yexuzhong
2026-07-31 14:49:52 +08:00
parent f7e7aaa373
commit 633cd7d32d
8 changed files with 112 additions and 11 deletions
@@ -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,