Beispiel #1
0
 public TransactionPairsBinary GetCompletedList(TimeStamp time, double price, int bar)
 {
     if (count > 0)
     {
         TransactionPairBinary pair = this[count - 1];
         if (!pair.Completed)
         {
             pair.Update(price, time, bar);
             this[count - 1] = pair;
         }
     }
     return(this);
 }