PosiDividendSum 扣除互换分红的时候方向有问题
This commit is contained in:
@@ -1492,7 +1492,7 @@ namespace YLErp.Modules.SwapModule
|
||||
//BondPaymentService bondPaymentService = new BondPaymentService(UserInfo);
|
||||
//decimal totalPayment = bondPaymentService.CalcPayment(curretEod.UnderlyingCode, td.StartDate.Value, valueDate, td.., shortRatio, directionRatio);
|
||||
//var totalInterest = totalPayment / (1 + tax) * (1 - tax);
|
||||
var consumedDividend = CalcConsumedDividend(curretEod, unwindEvents);
|
||||
var consumedDividend = - 1 * CalcConsumedDividend(curretEod, unwindEvents);
|
||||
|
||||
curretEod.PosiDividendSum = eod.PosiDividendSum - consumedDividend - curretEod.TdCloseDividend;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user