public int GetBuysQuantity(Symbol symbol) { if (!Buys.IsEmpty) { return(Buys.Sum(b => b.Quantity)); } return(0); }
public int GetBuysQuantity(Symbol symbol) { if (BuysCount() > 0) { return(Buys.Sum(b => b.Quantity)); } return(0); }