[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting AccountRe
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2006-02-19 18:03:51
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25895/b4_Business/a1_Financial/a2_Accounting/h5_Reporting Modified Files: AccountReport.cs Log Message: Minor code formatting improvement Index: AccountReport.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/AccountReport.cs,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** AccountReport.cs 11 Jan 2006 18:38:10 -0000 1.17 --- AccountReport.cs 19 Feb 2006 18:03:44 -0000 1.18 *************** *** 158,168 **** { dataRow[ "AccountCash" ] = this.accountCopy.CashAmount; ! dataRow[ "PortfolioValue" ] = this.accountCopy.Portfolio.GetMarketValue( ! endOfDayDateTime , this.historicalQuoteProvider ); ! dataRow[ "AccountValue" ] = (double)dataRow[ "AccountCash" ] + (double)dataRow[ "PortfolioValue" ]; ! dataRow[ "PnL" ] = (double)dataRow[ "AccountValue" ] + ! this.accountCopy.Transactions.TotalWithdrawn - ! this.accountCopy.Transactions.TotalAddedCash; } private void addTransactionRow( EndOfDayTransaction transaction , --- 158,170 ---- { dataRow[ "AccountCash" ] = this.accountCopy.CashAmount; ! ! dataRow[ "PortfolioValue" ] = this.accountCopy.Portfolio.GetMarketValue( ! endOfDayDateTime , this.historicalQuoteProvider ); ! ! dataRow[ "AccountValue" ] = (double)dataRow[ "AccountCash" ] + (double)dataRow[ "PortfolioValue" ]; ! dataRow[ "PnL" ] = (double)dataRow[ "AccountValue" ] + ! this.accountCopy.Transactions.TotalWithdrawn - ! this.accountCopy.Transactions.TotalAddedCash; } private void addTransactionRow( EndOfDayTransaction transaction , |