收盘当天未算实现盈亏

This commit is contained in:
吴方海
2024-06-21 14:17:04 +08:00
parent 1684bae60d
commit d9c3f02d19
@@ -1413,8 +1413,8 @@ namespace YLErp.Modules.SwapModule
if (settleDate == td.TradeDate)
{
curretEod.UnderlyingPrice = curretEod.PosiGrossPrice;
curretEod.TdCloseMtmPnl = 0;
curretEod.TdCloseFee = 0;
//curretEod.TdCloseMtmPnl = 0;
//curretEod.TdCloseFee = 0;
}
curretEod.TdCloseDividend = curretEod.TdPosiDividend;
curretEod.UnderlyingMarketValue = curretEod.UnderlyingPrice * curretEod.PosiQuantity * curretEod.ContractSize * shortRatio;