[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Su
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-03-30 23:41:43
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13388/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Modified Files: Summary.cs Log Message: Now Benchmark is used instead of BuyAndHoldTicker Index: Summary.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Summary.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Summary.cs 20 Mar 2005 18:30:59 -0000 1.13 --- Summary.cs 30 Mar 2005 23:40:59 -0000 1.14 *************** *** 18,22 **** private IHistoricalQuoteProvider historicalQuoteProvider; private double totalPnl; ! private double buyAndHoldPercentageReturn; private double finalAccountValue; private long intervalDays; --- 18,22 ---- private IHistoricalQuoteProvider historicalQuoteProvider; private double totalPnl; ! private double benchmarkPercentageReturn; private double finalAccountValue; private long intervalDays; *************** *** 41,48 **** get { return totalPnl; } } ! public double BuyAndHoldPercentageReturn { ! get { return buyAndHoldPercentageReturn; } ! set { buyAndHoldPercentageReturn = value; } } public double FinalAccountValue --- 41,48 ---- get { return totalPnl; } } ! public double BenchmarkPercentageReturn { ! get { return this.benchmarkPercentageReturn; } ! set { this.benchmarkPercentageReturn = value; } } public double FinalAccountValue *************** *** 145,149 **** getSummary_setRow( new TotalNetProfit( this ) , summaryDataTable ); getSummary_setRow( new ReturnOnAccount( this ) , summaryDataTable ); ! getSummary_setRow( new BuyAndHoldPercentageReturn( this , this.historicalQuoteProvider ) , summaryDataTable ); getSummary_setRow( new AnnualSystemPercentageReturn( this ) , summaryDataTable ); --- 145,149 ---- getSummary_setRow( new TotalNetProfit( this ) , summaryDataTable ); getSummary_setRow( new ReturnOnAccount( this ) , summaryDataTable ); ! getSummary_setRow( new BenchmarkPercentageReturn( this , this.historicalQuoteProvider ) , summaryDataTable ); getSummary_setRow( new AnnualSystemPercentageReturn( this ) , summaryDataTable ); |