代码优化
This commit is contained in:
@@ -690,8 +690,8 @@ namespace YLErp.Modules.SwapModule
|
||||
var startDate = position.PosiStartDate;
|
||||
decimal interestProfitSum = 0;
|
||||
decimal TdInterestPrincipal = 0;
|
||||
decimal interest = interestProfitSum * closePercent;
|
||||
decimal tdinterest = interestProfitSum * closePercent;
|
||||
decimal interest = interestProfitSum ;
|
||||
decimal tdinterest = interestProfitSum ;
|
||||
int interestPeriod = position.interest_rest_days ?? 1;
|
||||
// 复利:只能用要平仓的名义本金从头开始算
|
||||
decimal dynomicPrincipal = principal;
|
||||
|
||||
Reference in New Issue
Block a user