[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRo
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-10-15 18:12:02
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16788/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: NumberWinningPeriods.cs Log Message: EquityLine is now used instead of EquityHistory Index: NumberWinningPeriods.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningPeriods.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NumberWinningPeriods.cs 19 Jun 2005 14:47:40 -0000 1.3 --- NumberWinningPeriods.cs 15 Oct 2005 18:11:54 -0000 1.4 *************** *** 44,50 **** { double equityHistoryGain = ! ( (double)this.summary.AccountReport.EquityHistory.GetByIndex( i + 1 ) - ! (double)this.summary.AccountReport.EquityHistory.GetByIndex( i ) ) / ! (double)this.summary.AccountReport.EquityHistory.GetByIndex( i ); double benchmarkGain = ( Convert.ToDouble( this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i + 1 ) ) - --- 44,50 ---- { double equityHistoryGain = ! ( (double)this.summary.AccountReport.EquityLine.GetByIndex( i + 1 ) - ! (double)this.summary.AccountReport.EquityLine.GetByIndex( i ) ) / ! (double)this.summary.AccountReport.EquityLine.GetByIndex( i ); double benchmarkGain = ( Convert.ToDouble( this.summary.AccountReport.BenchmarkEquityLine.GetByIndex( i + 1 ) ) - *************** *** 67,71 **** this.numberLosingPeriods = 0; this.numberEvenPeriods = 0; ! for ( int i=0; i<this.summary.AccountReport.EquityHistory.Count - 1 ; i++ ) this.setWinningLosingAndEvenPeriods_forPeriod( i ); } --- 67,71 ---- this.numberLosingPeriods = 0; this.numberEvenPeriods = 0; ! for ( int i=0; i<this.summary.AccountReport.EquityLine.Count - 1 ; i++ ) this.setWinningLosingAndEvenPeriods_forPeriod( i ); } |