[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryR
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-11-20 20:51:16
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31813/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: BenchmarkPercentageReturn.cs Log Message: it has been changed to always used an HistoricalAdjustedQuoteProvider for this computation (not tested, yet) Index: BenchmarkPercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/BenchmarkPercentageReturn.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BenchmarkPercentageReturn.cs 29 Sep 2008 21:13:46 -0000 1.3 --- BenchmarkPercentageReturn.cs 20 Nov 2008 20:51:10 -0000 1.4 *************** *** 15,21 **** public class BenchmarkPercentageReturn : PercentageSummaryRow { ! public BenchmarkPercentageReturn( Summary summary , ! HistoricalMarketValueProvider historicalMarketValueProvider ) { if ( summary.AccountReport.Benchmark != "" ) { --- 15,23 ---- public class BenchmarkPercentageReturn : PercentageSummaryRow { ! public BenchmarkPercentageReturn( Summary summary ) ! // HistoricalMarketValueProvider historicalMarketValueProvider ) { + HistoricalAdjustedQuoteProvider historicalMarketValueProvider = + new HistoricalAdjustedQuoteProvider(); if ( summary.AccountReport.Benchmark != "" ) { |