[Quantproject-developers] QuantProject/b4_Business/a2_Strategies BasicStrategyForBacktester.cs, 1.3
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-12-10 19:29:38
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13766/b4_Business/a2_Strategies Modified Files: BasicStrategyForBacktester.cs Log Message: a log message has been improved: now the current simulated time is shown also Index: BasicStrategyForBacktester.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/BasicStrategyForBacktester.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BasicStrategyForBacktester.cs 22 Nov 2008 18:19:08 -0000 1.3 --- BasicStrategyForBacktester.cs 10 Dec 2008 19:29:27 -0000 1.4 *************** *** 186,190 **** string message = "Number of Eligible tickers: " + eligibleTickers.Count + ! " - " + DateTime.Now.ToString(); NewMessageEventArgs newMessageEventArgs = --- 186,192 ---- string message = "Number of Eligible tickers: " + eligibleTickers.Count + ! " - Simulated time: " + ! this.account.Timer.GetCurrentDateTime().ToString() + ! " - Real time: " + DateTime.Now.ToString(); NewMessageEventArgs newMessageEventArgs = *************** *** 246,249 **** --- 248,255 ---- if ( this.areOptimalWeightedPositionsToBeUpdated() ) this.updateOptimalTestingPositions(); + if ( ( dateTime.Month == 3 ) && ( dateTime.Day == 15 ) ) + { + ; + } if ( this.arePositionsToBeClosed() ) AccountManager.ClosePositions( this.account ); |