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