[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm SummaryTabPage.cs,1.3,1
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-03-30 23:41:25
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13388/b5_Presentation/Reporting/WindowsForm Modified Files: SummaryTabPage.cs Log Message: Now Benchmark is used instead of BuyAndHoldTicker Index: SummaryTabPage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/SummaryTabPage.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SummaryTabPage.cs 13 Feb 2005 21:03:16 -0000 1.3 --- SummaryTabPage.cs 30 Mar 2005 23:40:58 -0000 1.4 *************** *** 70,75 **** private System.Windows.Forms.Label lblNumberWinningShortTrades; private System.Windows.Forms.Label lblValNumberWinningShortTrades; ! private System.Windows.Forms.Label lblBuyAndHoldPercReturn; ! private System.Windows.Forms.Label lblValBuyAndHoldPercReturn; private System.Windows.Forms.Label lblNumberWinningLongTrades; private System.Windows.Forms.Label lblValNumberWinningLongTrades; --- 70,75 ---- private System.Windows.Forms.Label lblNumberWinningShortTrades; private System.Windows.Forms.Label lblValNumberWinningShortTrades; ! private System.Windows.Forms.Label lblBenchmarkPercReturn; ! private System.Windows.Forms.Label lblValBenchmarkPercReturn; private System.Windows.Forms.Label lblNumberWinningLongTrades; private System.Windows.Forms.Label lblValNumberWinningLongTrades; *************** *** 127,132 **** this.lblReturnOnAccount = new System.Windows.Forms.Label(); this.lblValReturnOnAccount = new System.Windows.Forms.Label(); ! this.lblBuyAndHoldPercReturn = new System.Windows.Forms.Label(); ! this.lblValBuyAndHoldPercReturn = new System.Windows.Forms.Label(); this.lblAnnualSystemPercReturn = new System.Windows.Forms.Label(); this.lblValAnnualSystemPercReturn = new System.Windows.Forms.Label(); --- 127,132 ---- this.lblReturnOnAccount = new System.Windows.Forms.Label(); this.lblValReturnOnAccount = new System.Windows.Forms.Label(); ! this.lblBenchmarkPercReturn = new System.Windows.Forms.Label(); ! this.lblValBenchmarkPercReturn = new System.Windows.Forms.Label(); this.lblAnnualSystemPercReturn = new System.Windows.Forms.Label(); this.lblValAnnualSystemPercReturn = new System.Windows.Forms.Label(); *************** *** 174,185 **** this.addValueLabel( lblValReturnOnAccount , "lblValReturnOnAccount" ); // ! // lblBuyAndHoldPercReturn // ! this.addTextLabel( lblBuyAndHoldPercReturn , "lblBuyAndHoldPercReturn" , ! "Buy and hold % return:" ); // ! // lblValBuyAndHoldPercReturn // ! this.addValueLabel( lblValBuyAndHoldPercReturn , "lblValBuyAndHoldPercReturn" ); // // lblAnnualSystemPercReturn --- 174,185 ---- this.addValueLabel( lblValReturnOnAccount , "lblValReturnOnAccount" ); // ! // lblBenchmarkPercReturn // ! this.addTextLabel( lblBenchmarkPercReturn , "lblBenchmarkPercReturn" , ! "Benchmark % return:" ); // ! // lblValBenchmarkPercReturn // ! this.addValueLabel( lblValBenchmarkPercReturn , "lblValBuyAndHoldPercReturn" ); // // lblAnnualSystemPercReturn *************** *** 307,312 **** this.lblValReturnOnAccount.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.ReturnOnAccount ); ! this.lblValBuyAndHoldPercReturn.Text = ! FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.BuyAndHoldPercentageReturn ); this.lblValAnnualSystemPercReturn.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.AnnualSystemPercentageReturn ); --- 307,312 ---- this.lblValReturnOnAccount.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.ReturnOnAccount ); ! this.lblValBenchmarkPercReturn.Text = ! FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.BenchmarkPercentageReturn ); this.lblValAnnualSystemPercReturn.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.AnnualSystemPercentageReturn ); |