[Quantproject-developers] QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank BestPerformi
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-01-20 01:14:30
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2563/b7_Scripts/WalkForwardTesting/WalkForwardOneRank Modified Files: BestPerformingTickers.cs Log Message: Best performing tickers are actually chosen now Index: BestPerformingTickers.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank/BestPerformingTickers.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** BestPerformingTickers.cs 9 Jan 2005 22:13:12 -0000 1.6 --- BestPerformingTickers.cs 20 Jan 2005 01:14:20 -0000 1.7 *************** *** 96,100 **** } this.eligibleAccounts.Sort(); ! for ( int index=this.numberBestPerformingTickers - 1 ; index >= 0 ; index-- ) this.Add( this.eligibleAccounts[ index ] ); } --- 96,102 ---- } this.eligibleAccounts.Sort(); ! for ( int index=this.eligibleAccounts.Count - 1 ; ! index >= this.eligibleAccounts.Count - this.numberBestPerformingTickers ; ! index-- ) this.Add( this.eligibleAccounts[ index ] ); } |