Esempio n. 1
0
        private decimal CalculateEquity()
        {
            decimal result = _content.CalculateEquityCommon();

            if (Settings.Setting.Default.SystemParameter.IncludeFeeOnRiskAction)
            {
                result -= _owner.EstimateCloseCommission + _owner.EstimateCloseLevy;
            }
            return(result);
        }
Esempio n. 2
0
        private decimal CalculateEquity()
        {
            decimal result = _content.CalculateEquityCommon();

            if (Settings.Setting.Default.SystemParameter.IncludeFeeOnRiskAction)
            {
                result -= this.CalculateEstimateFee();
            }
            return(result);
        }