[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRo
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-11-28 16:12:10
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows
In directory sc8-pr-cvs1:/tmp/cvs-serv9973/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows
Modified Files:
ReturnOnAccount.cs
Log Message:
The class ReturnOnAccount assigns
the corresponding Summary's property.
Index: ReturnOnAccount.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/ReturnOnAccount.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ReturnOnAccount.cs 10 Nov 2003 21:35:52 -0000 1.1
--- ReturnOnAccount.cs 28 Nov 2003 16:12:06 -0000 1.2
***************
*** 12,17 ****
public ReturnOnAccount( Summary summary )
{
this.rowDescription = "Return on account";
! this.rowValue = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ) * 100;
}
}
--- 12,18 ----
public ReturnOnAccount( Summary summary )
{
+ summary.ReturnOnAccount = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ) * 100;
this.rowDescription = "Return on account";
! this.rowValue = summary.ReturnOnAccount;
}
}
|