[Quantproject-developers] QuantProject/b4_Business/a05_Timing IndexBasedEndOfDayTimer.cs, 1.10, 1.1
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2009-08-30 15:54:23
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23145/b4_Business/a05_Timing Modified Files: IndexBasedEndOfDayTimer.cs Log Message: The isDone method has been overriden Index: IndexBasedEndOfDayTimer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing/IndexBasedEndOfDayTimer.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** IndexBasedEndOfDayTimer.cs 29 Sep 2008 21:22:45 -0000 1.10 --- IndexBasedEndOfDayTimer.cs 30 Aug 2009 15:54:12 -0000 1.11 *************** *** 112,115 **** --- 112,123 ---- // } + protected override bool isDone() + { + bool lastDateHasAlreadyBeenLaunched; + lastDateHasAlreadyBeenLaunched = + this.IndexQuotes.Rows.Count - 1 == this.currentDateArrayPosition; + return lastDateHasAlreadyBeenLaunched; + } + #region moveNext private void moveNext_with_currentDateTime_properlyInitialized() |