Sharekhan.domain.SellTransaction.ComputeCapitalRealization C# (CSharp) Метод

ComputeCapitalRealization() публичный Метод

public ComputeCapitalRealization ( RealizedProfit realizedProfit ) : void
realizedProfit RealizedProfit
Результат void
        public override void ComputeCapitalRealization(RealizedProfit realizedProfit)
        {
            Net net = realizedProfit.For(Instrument);
            net.Profit += Amount();
            net.Quantity += Quantity;
        }