[Quantproject-developers] QuantProject/b7_Scripts/TickerSelectionTesting RunEfficientCTOPortfolio.cs
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-01-09 23:45:07
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15937/b7_Scripts/TickerSelectionTesting Modified Files: RunEfficientCTOPortfolio.cs Log Message: - the IHistoricalQuoteProvider "concept" has been introduced - the HistoricalRawQuoteProvider is used Index: RunEfficientCTOPortfolio.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting/RunEfficientCTOPortfolio.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** RunEfficientCTOPortfolio.cs 8 Jan 2005 12:01:38 -0000 1.7 --- RunEfficientCTOPortfolio.cs 9 Jan 2005 23:44:53 -0000 1.8 *************** *** 26,29 **** --- 26,30 ---- using QuantProject.ADT; using QuantProject.ADT.Optimizing.Genetic; + using QuantProject.Business.DataProviders; using QuantProject.Business.Financial.Accounting; using QuantProject.Business.Financial.Accounting.Reporting; *************** *** 63,66 **** --- 64,70 ---- private EndOfDayDateTime endDateTime; private int numIntervalDays;// number of days for the equity line graph + private IHistoricalQuoteProvider historicalQuoteProvider = + new HistoricalRawQuoteProvider(); + //private ProgressBarForm progressBarForm; *************** *** 112,117 **** { this.account = new Account( "EfficientCloseToOpenPortfolio" , this.endOfDayTimer , ! new HistoricalEndOfDayDataStreamer( this.endOfDayTimer ) , ! new HistoricalEndOfDayOrderExecutor( this.endOfDayTimer ) ); } --- 116,123 ---- { this.account = new Account( "EfficientCloseToOpenPortfolio" , this.endOfDayTimer , ! new HistoricalEndOfDayDataStreamer( this.endOfDayTimer , ! this.historicalQuoteProvider ) , ! new HistoricalEndOfDayOrderExecutor( this.endOfDayTimer , ! this.historicalQuoteProvider ) ); } *************** *** 171,175 **** { this.endOfDayTimer.Stop(); ! report = new Report( this.account ); report.Show("CTO_Portfolio" , this.numIntervalDays , this.endDateTime , "^MIBTEL" ); --- 177,181 ---- { this.endOfDayTimer.Stop(); ! report = new Report( this.account , this.historicalQuoteProvider ); report.Show("CTO_Portfolio" , this.numIntervalDays , this.endDateTime , "^MIBTEL" ); |