Re: [Quantproject-developers] QuantDownloader/Downloader/QuotesEditor QuotesChart.cs,1.5,1.6
Brought to you by:
glauco_1
|
From: Marco M. <mar...@li...> - 2005-04-03 19:19:06
|
----- Original Message ----- From: "Glauco Siliprandi" <gla...@us...> To: <Qua...@li...> Sent: Sunday, April 03, 2005 2:02 AM Subject: [Quantproject-developers] QuantDownloader/Downloader/QuotesEditor QuotesChart.cs,1.5,1.6 > Update of /cvsroot/quantproject/QuantDownloader/Downloader/QuotesEditor > In directory > sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9260/Downloader/QuotesEditor > > Modified Files: > QuotesChart.cs > Log Message: > - Close was used, AdjustedClose is used now (Millo, this was > the reason why you were looking at so many "suspicious" > adjusted quotes: they were not adjusted... sorry) Don't worry, Glauco: that's a good news! Now, I will trust more these adjusted values ... > - the quote's history is now computed just once, when > the ticker is assigned. In the previous version, > it was computed on each OnPaint event. As a consequence, > not it is more efficient. Furthermore, now zoom feature is available. > > Index: QuotesChart.cs > =================================================================== > RCS file: > /cvsroot/quantproject/QuantDownloader/Downloader/QuotesEditor/QuotesChart.cs,v > retrieving revision 1.5 > retrieving revision 1.6 > diff -C2 -d -r1.5 -r1.6 > *** QuotesChart.cs 29 Mar 2005 14:57:31 -0000 1.5 > --- QuotesChart.cs 3 Apr 2005 00:02:53 -0000 1.6 > *************** > *** 41,52 **** > { > get { return this.ticker; } > ! set { this.ticker = value; } > } > > public QuotesChart() > { > - // > - // TODO: Add constructor logic here > - // > } > > --- 41,54 ---- > { > get { return this.ticker; } > ! set > ! { > ! this.ticker = value; > ! this.Clear(); > ! this.Add( HistoricalDataProvider.GetAdjustedCloseHistory( > this.ticker ) ); > ! } > } > > public QuotesChart() > { > } > > *************** > *** 54,59 **** > { > Console.WriteLine( "QuotesChart.PaintingHandler()" ); > ! this.Clear(); > ! this.Add( HistoricalDataProvider.GetCloseHistory( this.ticker ) ); > base.OnPaint( e ); > } > --- 56,61 ---- > { > Console.WriteLine( "QuotesChart.PaintingHandler()" ); > ! // this.Clear(); > ! // this.Add( HistoricalDataProvider.GetCloseHistory( > this.ticker ) ); > base.OnPaint( e ); > } > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Quantproject-developers mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantproject-developers |