[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2009-03-21 09:55:44
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23151/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Modified Files: Summary.cs Log Message: Added new summary row AveragePermanenceTimeOnTheMarket, which computes the average time in minutes positions stay on the market. Index: Summary.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Summary.cs,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Summary.cs 20 Nov 2008 20:52:28 -0000 1.23 --- Summary.cs 21 Mar 2009 09:55:33 -0000 1.24 *************** *** 48,51 **** --- 48,52 ---- private PercentageWinningPeriods percentageWinningPeriods; private AverageNumberOfTransactionsPerDay averageNumberOfTransactionsPerDay; + private AveragePermanenceTimeOnTheMarket averagePermanenceTimeOnTheMarket; public AccountReport AccountReport *************** *** 172,176 **** get { return this.averageNumberOfTransactionsPerDay; } } ! private void summary( AccountReport accountReport ) --- 173,180 ---- get { return this.averageNumberOfTransactionsPerDay; } } ! public AveragePermanenceTimeOnTheMarket AveragePermanenceTimeOnTheMarket ! { ! get { return this.averagePermanenceTimeOnTheMarket; } ! } private void summary( AccountReport accountReport ) *************** *** 290,293 **** --- 294,298 ---- this.totalCommissionAmount = new TotalCommissionAmount( this ); this.averageNumberOfTransactionsPerDay = new AverageNumberOfTransactionsPerDay(this); + this.averagePermanenceTimeOnTheMarket = new AveragePermanenceTimeOnTheMarket(this); //this.DataTable = getSummaryDataTable(); } |