[Quantproject-developers] QuantDownloader/Downloader/TickerSelectors TickerSelectorForm.cs,1.7,1.8
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2004-08-22 16:48:33
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18096/Downloader/TickerSelectors Modified Files: TickerSelectorForm.cs Log Message: Updated combo box of ticker selector form with another selection type for the TickerSelector class Index: TickerSelectorForm.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors/TickerSelectorForm.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TickerSelectorForm.cs 4 Aug 2004 23:03:17 -0000 1.7 --- TickerSelectorForm.cs 22 Aug 2004 16:47:56 -0000 1.8 *************** *** 71,80 **** this.comboBoxAvailableSelectionRules.Text = "Performance"; this.comboBoxAvailableSelectionRules.Items.Add("Performance"); ! this.comboBoxAvailableSelectionRules.Text = "Volatility"; ! this.comboBoxAvailableSelectionRules.Items.Add("Volatility"); this.comboBoxAvailableSelectionRules.Text = "AverageCloseToClosePerformance"; this.comboBoxAvailableSelectionRules.Items.Add("AverageCloseToClosePerformance"); this.comboBoxAvailableSelectionRules.Text = "CloseToCloseLinearCorrelation"; this.comboBoxAvailableSelectionRules.Items.Add("CloseToCloseLinearCorrelation"); } --- 71,86 ---- this.comboBoxAvailableSelectionRules.Text = "Performance"; this.comboBoxAvailableSelectionRules.Items.Add("Performance"); ! this.comboBoxAvailableSelectionRules.Text = "CloseToCloseVolatility"; ! this.comboBoxAvailableSelectionRules.Items.Add("CloseToCloseVolatility"); ! this.comboBoxAvailableSelectionRules.Text = "CloseToOpenVolatility"; ! this.comboBoxAvailableSelectionRules.Items.Add("CloseToOpenVolatility"); this.comboBoxAvailableSelectionRules.Text = "AverageCloseToClosePerformance"; this.comboBoxAvailableSelectionRules.Items.Add("AverageCloseToClosePerformance"); this.comboBoxAvailableSelectionRules.Text = "CloseToCloseLinearCorrelation"; this.comboBoxAvailableSelectionRules.Items.Add("CloseToCloseLinearCorrelation"); + this.comboBoxAvailableSelectionRules.Text = "CloseToOpenLinearCorrelation"; + this.comboBoxAvailableSelectionRules.Items.Add("CloseToOpenLinearCorrelation"); + this.comboBoxAvailableSelectionRules.Text = "AverageCloseToOpenPerformance"; + this.comboBoxAvailableSelectionRules.Items.Add("AverageCloseToOpenPerformance"); } *************** *** 351,360 **** else if (this.comboBoxAvailableSelectionRules.Text == "Performance") typeSelected = SelectionType.Performance; ! else if (this.comboBoxAvailableSelectionRules.Text == "Volatility") ! typeSelected = SelectionType.Volatility; else if (this.comboBoxAvailableSelectionRules.Text == "AverageCloseToClosePerformance") typeSelected = SelectionType.AverageCloseToClosePerformance; else if (this.comboBoxAvailableSelectionRules.Text == "CloseToCloseLinearCorrelation") typeSelected = SelectionType.CloseToCloseLinearCorrelation; return typeSelected; } --- 357,372 ---- else if (this.comboBoxAvailableSelectionRules.Text == "Performance") typeSelected = SelectionType.Performance; ! else if (this.comboBoxAvailableSelectionRules.Text == "CloseToCloseVolatility") ! typeSelected = SelectionType.CloseToCloseVolatility; ! else if (this.comboBoxAvailableSelectionRules.Text == "CloseToOpenVolatility") ! typeSelected = SelectionType.CloseToOpenVolatility; else if (this.comboBoxAvailableSelectionRules.Text == "AverageCloseToClosePerformance") typeSelected = SelectionType.AverageCloseToClosePerformance; else if (this.comboBoxAvailableSelectionRules.Text == "CloseToCloseLinearCorrelation") typeSelected = SelectionType.CloseToCloseLinearCorrelation; + else if (this.comboBoxAvailableSelectionRules.Text == "CloseToOpenLinearCorrelation") + typeSelected = SelectionType.CloseToOpenLinearCorrelation; + else if (this.comboBoxAvailableSelectionRules.Text == "AverageCloseToOpenPerformance") + typeSelected = SelectionType.AverageCloseToOpenPerformance; return typeSelected; } |