[Quantproject-developers] QuantDownloader/Downloader TickerDownloader.cs,1.17,1.18
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2006-01-22 09:53:22
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27449/Downloader Modified Files: TickerDownloader.cs Log Message: For too high volume data, a maximum value is stored. Index: TickerDownloader.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerDownloader.cs,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** TickerDownloader.cs 7 Oct 2005 16:52:28 -0000 1.17 --- TickerDownloader.cs 22 Jan 2006 09:53:13 -0000 1.18 *************** *** 202,206 **** myRow[ "quLow" ]=Double.Parse( LineIn[3] ); myRow[ "quClose" ]=Double.Parse( LineIn[4] ); ! myRow[ "quVolume" ]=Double.Parse( LineIn[5] ); myRow[ "quAdjustedClose" ]=Double.Parse( LineIn[6] ); --- 202,206 ---- myRow[ "quLow" ]=Double.Parse( LineIn[3] ); myRow[ "quClose" ]=Double.Parse( LineIn[4] ); ! myRow[ "quVolume" ]=Math.Min(Double.Parse( LineIn[5]),Convert.ToDouble(Int32.MaxValue)); myRow[ "quAdjustedClose" ]=Double.Parse( LineIn[6] ); |