国联民生 greeks计算代码完成
This commit is contained in:
@@ -502,6 +502,7 @@ namespace YLErp.Modules.PricingModule
|
||||
}
|
||||
}
|
||||
var greeksHandleService = new GLMSGreeksHandleService();
|
||||
|
||||
foreach (var item in tdList)
|
||||
{
|
||||
var td = item.tdConv;
|
||||
@@ -530,7 +531,7 @@ namespace YLErp.Modules.PricingModule
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
greeksHandleService.InitData(item.ValueDate ?? td.TradeDate ?? DateTime.Today, new List<string> { td.UnderlyingCode });
|
||||
greeksHandleService.Handle(td, calcResult, underlying);
|
||||
|
||||
results.Add(new CalcOptionPriceResult
|
||||
|
||||
Reference in New Issue
Block a user