[Quantproject-developers] QuantProject/b4_Business/a2_Strategies EndOfDayStrategyBackTester.cs, 1.7
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-03-13 19:37:30
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15914/b4_Business/a2_Strategies Modified Files: EndOfDayStrategyBackTester.cs Log Message: Description is now limited to a given max length Index: EndOfDayStrategyBackTester.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/EndOfDayStrategyBackTester.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** EndOfDayStrategyBackTester.cs 12 Mar 2008 22:02:06 -0000 1.7 --- EndOfDayStrategyBackTester.cs 13 Mar 2008 19:36:26 -0000 1.8 *************** *** 124,132 **** "_to_" + ExtendedDateTime.GetShortDescriptionForFileName( this.actualLastDateTime ) + ! "\n_annlRtrn_" + this.AccountReport.Summary.AnnualSystemPercentageReturn.FormattedValue + ! "\n_maxDD_" + this.AccountReport.Summary.MaxEquityDrawDown.FormattedValue + ! "\nHistoricalQuoteProviderForBackTester_" + this.historicalQuoteProvider.Description + ! "\n_" + this.endOfDayStrategy.Description; ! return description; } } --- 124,132 ---- "_to_" + ExtendedDateTime.GetShortDescriptionForFileName( this.actualLastDateTime ) + ! "_annlRtrn_" + this.AccountReport.Summary.AnnualSystemPercentageReturn.FormattedValue + ! "_maxDD_" + this.AccountReport.Summary.MaxEquityDrawDown.FormattedValue + ! "_" + this.historicalQuoteProvider.Description + ! "_" + this.endOfDayStrategy.Description; ! return description.Substring( 0 , Math.Min( description.Length , 200 ) ); } } |