[Quantproject-developers] QuantDownloader/Downloader/OpenTickDownloader OTTickerDownloader.cs, 1.6
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2009-01-11 20:37:56
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/OpenTickDownloader In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17034/Downloader/OpenTickDownloader Modified Files: OTTickerDownloader.cs Log Message: - old commented code has been removed - the log creation statement has been commented out Index: OTTickerDownloader.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/OpenTickDownloader/OTTickerDownloader.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** OTTickerDownloader.cs 7 Jan 2009 23:27:15 -0000 1.6 --- OTTickerDownloader.cs 11 Jan 2009 20:37:47 -0000 1.7 *************** *** 46,62 **** private List<Time> dailyTimes; private DateTime firstDate; - // /// <summary> - // /// time (date doesn't matter for this member) for the first - // /// bar to be downloaded, each day - // /// </summary> - // private DateTime firstBarOpenTimeInNewYorkTimeZone; /// <summary> /// number of seconds in each bar /// </summary> private int barInterval; - // /// <summary> - // /// number of bars to be downloaded for each day - // /// </summary> - // private int numberOfDailyBars; private DateTime dateTimeForOverWritingQuotes;//before this //date quotes should be overwritten automatically --- 46,53 ---- *************** *** 110,118 **** List<Time> dailyTimes , DateTime firstDate, - // int fromHour , - // int fromMinute , - // int fromSecond , int barInterval , - // int numberOfDailyBars , DateTime dateTimeForOverWritingQuotes, bool checkForMissingQuotes, --- 101,105 ---- *************** *** 133,141 **** this.dailyTimes = dailyTimes; this.firstDate = firstDate; - // this.firstBarOpenTimeInNewYorkTimeZone = - // new DateTime( - // 1 , 1 , 1 , fromHour , fromMinute , fromSecond ); this.barInterval = barInterval; - // this.numberOfDailyBars = numberOfDailyBars; this.dateTimeForOverWritingQuotes = dateTimeForOverWritingQuotes; this.checkForMissingQuotes = checkForMissingQuotes; --- 120,124 ---- *************** *** 203,208 **** this.barInterval , this.dailyTimes ); - // this.firstBarOpenTimeInNewYorkTimeZone , - // this.numberOfDailyBars ); else // all quotes are to be downloaded, even if they --- 186,189 ---- *************** *** 215,220 **** this.barInterval , this.dailyTimes ); - // this.firstBarOpenTimeInNewYorkTimeZone , - // this.numberOfDailyBars ); } private void setExchangeSelector() --- 196,199 ---- *************** *** 244,255 **** private void setBarsDownloader() { - // DailyBarsSelector barsSelector = - // new DailyBarsSelector( - // new string[]{ "GE" , "MSFT" } , - // new DateTime( 2002 , 3 , 1 ) , - // new DateTime( 2002 , 4 , 30 ) , - // 60 , - // new DateTime( 1 , 1 , 1 , 9 , 29 , 0 ) , - // 3 ); this.barsDownloader = new BarsDownloader( --- 223,226 ---- *************** *** 259,265 **** this.openTickPassword ); this.setBarsDownloader_setEventHandlers(); - // this.barsDownloader.NewOHLCRequest += - // new NewOHLCRequestEventHandler ( - // this.newOHLCRequestEventHandler ); } #endregion setBarsDownloader --- 230,233 ---- *************** *** 281,286 **** this.messageManager = new MessageManager( this.getLogFileName() ); ! this.messageManager.Monitor( ! this.barsDownloader ); } #endregion setMessageManager --- 249,254 ---- this.messageManager = new MessageManager( this.getLogFileName() ); ! // uncomment the following line if you want to see the log file ! // this.messageManager.Monitor( this.barsDownloader ); } #endregion setMessageManager |