[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting Account.cs,1.1.1.1,1.2
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-11-02 18:29:50
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting
In directory sc8-pr-cvs1:/tmp/cvs-serv26065/b4_Business/a1_Financial/a2_Accounting
Modified Files:
Account.cs
Log Message:
The CreateReport method has been overridden to (optionally) add
the Buy and Hold percentage return benchmark to the report
summary table
Index: Account.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Account.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Account.cs 13 Oct 2003 21:58:29 -0000 1.1.1.1
--- Account.cs 2 Nov 2003 18:29:47 -0000 1.2
***************
*** 176,179 ****
--- 176,186 ----
return accountReport.Create( reportName , numDaysForInterval , extendedDateTime );
}
+ public AccountReport CreateReport( string reportName ,
+ int numDaysForInterval , ExtendedDateTime extendedDateTime , string buyAndHoldTicker )
+ {
+ AccountReport accountReport = new AccountReport( this );
+ return accountReport.Create( reportName , numDaysForInterval ,
+ extendedDateTime , buyAndHoldTicker );
+ }
public void Serialize( string filePathAndName )
{
|