[Quantproject-developers] QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank EndOfDayTime
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-12-20 00:27:10
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31143/b7_Scripts/WalkForwardTesting/WalkForwardOneRank Modified Files: EndOfDayTimerHandler.cs Log Message: Bug fixed: foreach now iterates through this.chosenTickers.Keys Index: EndOfDayTimerHandler.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardOneRank/EndOfDayTimerHandler.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EndOfDayTimerHandler.cs 29 Nov 2004 14:27:51 -0000 1.1 --- EndOfDayTimerHandler.cs 20 Dec 2004 00:26:58 -0000 1.2 *************** *** 123,127 **** private void oneHourAfterMarketCloseEventHandler_orderChosenTickers_openPositions() { ! foreach ( string ticker in this.chosenTickers ) if ( !this.account.Contains( ticker ) ) { --- 123,127 ---- private void oneHourAfterMarketCloseEventHandler_orderChosenTickers_openPositions() { ! foreach ( string ticker in this.chosenTickers.Keys ) if ( !this.account.Contains( ticker ) ) { *************** *** 180,184 **** private void fiveMinutesBeforeMarketCloseEventHandler_openPositions() { ! foreach ( string ticker in this.chosenTickers ) this.fiveMinutesBeforeMarketCloseEventHandler_openPosition( ticker ); } --- 180,184 ---- private void fiveMinutesBeforeMarketCloseEventHandler_openPositions() { ! foreach ( string ticker in this.chosenTickers.Keys ) this.fiveMinutesBeforeMarketCloseEventHandler_openPosition( ticker ); } |