[Quantproject-developers] QuantProject/b4_Business/a2_Strategies/returnsManagement ReturnsManager.
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2007-10-07 13:16:26
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/returnsManagement In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25191/b4_Business/a2_Strategies/returnsManagement Modified Files: ReturnsManager.cs Log Message: Minor change: a single line has been broken down to two separate lines, for a better debugging experience. This has been done for a couple of statements. Index: ReturnsManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/returnsManagement/ReturnsManager.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ReturnsManager.cs 23 Sep 2007 16:24:45 -0000 1.6 --- ReturnsManager.cs 7 Oct 2007 13:15:55 -0000 1.7 *************** *** 109,113 **** { this.tickersMissingQuotes = new Set(); - this.tickersReturns = new Hashtable(); this.tickersReturnsStandardDeviations = new Hashtable(); --- 109,112 ---- *************** *** 172,179 **** private void setReturns( string ticker ) { - // EndOfDayDateTime firstEndOfDayDateTime = - // this.returnIntervals[ 0 ].Begin; - // EndOfDayDateTime lastEndOfDayDateTime = - // this.returnIntervals.LastEndOfDayDateTime; EndOfDayHistory endOfDayQuotes = this.historicalQuoteProvider.GetEndOfDayQuotes( ticker , --- 171,174 ---- *************** *** 189,195 **** { if ( !this.areReturnsAlreadySet( ticker ) ) ! // returns for this tickerhave not been set yet this.setReturns( ticker ); ! return this.getAlreadySetReturns( ticker ); } #endregion GetReturns --- 184,193 ---- { if ( !this.areReturnsAlreadySet( ticker ) ) ! { ! // returns for this ticker have not been set yet this.setReturns( ticker ); ! } ! float[] setReturns = this.getAlreadySetReturns( ticker ); ! return setReturns; } #endregion GetReturns *************** *** 218,222 **** { this.getReturnCheckParameters( ticker , returnIndex ); ! return this.getReturnActually( ticker , returnIndex ); } #endregion GetReturn --- 216,222 ---- { this.getReturnCheckParameters( ticker , returnIndex ); ! float actualReturn = ! this.getReturnActually( ticker , returnIndex ); ! return actualReturn; } #endregion GetReturn |