[Quantproject-developers] QuantProject/b7_Scripts/SimpleTesting/OneRank RunOneRank.cs,1.8,1.9
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-03-30 23:41:18
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13388/b7_Scripts/SimpleTesting/OneRank Modified Files: RunOneRank.cs Log Message: Now Benchmark is used instead of BuyAndHoldTicker Index: RunOneRank.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank/RunOneRank.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RunOneRank.cs 13 Feb 2005 21:06:42 -0000 1.8 --- RunOneRank.cs 30 Mar 2005 23:41:00 -0000 1.9 *************** *** 49,52 **** --- 49,55 ---- public RunOneRank() { + } + public override void Run() + { HistoricalEndOfDayTimer historicalEndOfDayTimer = new IndexBasedEndOfDayTimer( *************** *** 59,73 **** this.historicalQuoteProvider ) , new IBCommissionManager() ); ! // this.account = new Account( "MSFT" , historicalEndOfDayTimer , ! // new HistoricalEndOfDayDataStreamer( historicalEndOfDayTimer , ! // this.historicalQuoteProvider ) , ! // new HistoricalEndOfDayOrderExecutor( historicalEndOfDayTimer , ! // this.historicalQuoteProvider ) ); OneRank oneRank = new OneRank( account , this.endDateTime ); Report report = new Report( this.account , this.historicalQuoteProvider ); report.Show( "WFT One Rank" , 1 , ! new EndOfDayDateTime( this.endDateTime , EndOfDaySpecificTime.MarketClose ) , ! "MSFT" ); } } --- 62,76 ---- this.historicalQuoteProvider ) , new IBCommissionManager() ); ! // this.account = new Account( "MSFT" , historicalEndOfDayTimer , ! // new HistoricalEndOfDayDataStreamer( historicalEndOfDayTimer , ! // this.historicalQuoteProvider ) , ! // new HistoricalEndOfDayOrderExecutor( historicalEndOfDayTimer , ! // this.historicalQuoteProvider ) ); OneRank oneRank = new OneRank( account , this.endDateTime ); Report report = new Report( this.account , this.historicalQuoteProvider ); report.Show( "WFT One Rank" , 1 , ! new EndOfDayDateTime( this.endDateTime , EndOfDaySpecificTime.MarketClose ) , ! "MSFT" ); } } |