Update of /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23867/Downloader/TickerSelectors
Modified Files:
TickerSelectorForm.cs
Log Message:
Added SelectorByQuotationNotAtEachMarketDay to the SelectorForm's combo box
Index: TickerSelectorForm.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors/TickerSelectorForm.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** TickerSelectorForm.cs 7 Jan 2006 11:12:30 -0000 1.18
--- TickerSelectorForm.cs 8 Apr 2006 14:25:50 -0000 1.19
***************
*** 92,95 ****
--- 92,96 ----
this.comboBoxAvailableSelectionRules.Items.Add("AverageCloseToOpenPerformance");
this.comboBoxAvailableSelectionRules.Items.Add("QuotedAtEachMarketDay");
+ this.comboBoxAvailableSelectionRules.Items.Add("QuotedNotAtEachMarketDay");
this.comboBoxAvailableSelectionRules.Items.Add("AverageRawOpenPrice");
this.comboBoxAvailableSelectionRules.Items.Add("WinningOpenToClose");
***************
*** 633,636 ****
--- 634,650 ----
this.textBoxMarketIndex.Text);
}
+ else if (this.comboBoxAvailableSelectionRules.Text == "QuotedNotAtEachMarketDay")
+ {
+ if(this.textBoxGroupID.Text != "")
+ returnValue = new SelectorByQuotationNotAtEachMarketDay (this.textBoxGroupID.Text,
+ this.checkBoxASCMode.Checked, this.dateTimePickerFirstDate.Value,
+ this.dateTimePickerLastDate.Value, Int32.Parse(this.textBoxMaxNumOfReturnedTickers.Text),
+ this.textBoxMarketIndex.Text);
+ else
+ returnValue = new SelectorByQuotationNotAtEachMarketDay(this.tableOfSelectedTickers,
+ this.checkBoxASCMode.Checked, this.dateTimePickerFirstDate.Value,
+ this.dateTimePickerLastDate.Value, Int32.Parse(this.textBoxMaxNumOfReturnedTickers.Text),
+ this.textBoxMarketIndex.Text);
+ }
else if (this.comboBoxAvailableSelectionRules.Text == "AverageRawOpenPrice")
{
***************
*** 723,726 ****
--- 737,741 ----
{
if(this.comboBoxAvailableSelectionRules.Text == "QuotedAtEachMarketDay" ||
+ this.comboBoxAvailableSelectionRules.Text == "QuotedNotAtEachMarketDay" ||
this.comboBoxAvailableSelectionRules.Text == "OpenToCloseCorrelationToBenchmark")
{
|