Gamma_r未计算出来,取值错误
This commit is contained in:
@@ -123,7 +123,7 @@ namespace YLErp.Modules.EodModule
|
||||
{
|
||||
p.bond_id,
|
||||
p.modi_dura,
|
||||
p.convexity,
|
||||
p.cnvxty,
|
||||
p.yield
|
||||
}).ToList();
|
||||
if (datas != null && datas.Count > 0)
|
||||
@@ -131,7 +131,7 @@ namespace YLErp.Modules.EodModule
|
||||
foreach (var item in datas)
|
||||
{
|
||||
_dDic.Add(item.bond_id, item.modi_dura != null ? (double)item.modi_dura : null);
|
||||
_cDic.Add(item.bond_id, item.convexity != null ? (double)item.convexity : null);
|
||||
_cDic.Add(item.bond_id, item.cnvxty != null ? (double)item.cnvxty : null);
|
||||
_ytmDic.Add(item.bond_id, item.yield != null ? (double)item.yield : null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user