山证bug修复迁移
This commit is contained in:
@@ -5056,7 +5056,7 @@ namespace YLErp.Modules.RiskModule
|
||||
lastPrice = bondPrice != null ? bondPrice.ClosePrice : (um.Price ?? 0) * Convert.ToDouble(ConsGlobal.bondPriceMultiple);
|
||||
}
|
||||
}
|
||||
currentValue += lastPrice * Math.Abs(item.Position) - Math.Abs(item.PositionCost);
|
||||
currentValue += lastPrice * item.Position - item.PositionCost;
|
||||
}
|
||||
return currentValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user