CalcNotionalByMode 已完成历史使命: - 融资腿(1/2/9)迁入 FundingLegStrategyFactory - 保证金(5/6)迁入 MarginModes.Contains 分支 - 死代码(3/4/7/8)已删 调用点(GetInterests:843)现在内联两条路径: - 保证金: closePrincipal = Fix × closePercent (用 MarginModes.Contains 判断) - 融资腿: FundingLegStrategyFactory.Get(mode).CalcNotional(...) 删除: - CalcNotionalByMode 方法(含注释) - 2个用反射调私有方法的诊断测试(验证的逻辑已被FundingLegStrategyTest覆盖) 验证: 编译0错误, 全量509测试7失败(基线一致)。
13 lines
285 B
JSON
13 lines
285 B
JSON
{
|
|
"profiles": {
|
|
"YLErpWeb": {
|
|
"commandName": "Project",
|
|
"launchBrowser": true,
|
|
"launchUrl": "http://localhost:49462",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "local"
|
|
},
|
|
"applicationUrl": "http://localhost:49462"
|
|
}
|
|
}
|
|
} |