docs: FR007 ReferencePrice 小数口径注释(利息腿计算无需再 ÷100)
EodPriceQueryService.TryGetPrice 读取 eod_commodity_future_price.ReferencePrice 作为 FR007 浮动利率参与利息计算。说明该行 ReferencePrice 无论 bond-sync 自动 同步还是界面手工录入,写入时均已 ÷100 为小数口径,利息腿计算直接作为 floatRate 参与 principal*(fixedRate+floatRate)/annualDays,无需在计算侧再次 ÷100。
This commit is contained in:
@@ -137,6 +137,8 @@ namespace YLErp.Modules.DataProviderModule
|
||||
|
||||
if (data != null)
|
||||
{
|
||||
// FR007 行 ReferencePrice 已是小数口径(无论 bond-sync 自动同步还是界面手工录入,写入时均已 ÷100),
|
||||
// 利息腿计算直接作为 floatRate 参与 principal*(fixedRate+floatRate)/annualDays,无需再 ÷100。
|
||||
price = data.ReferencePrice ?? 0;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user