[Quantproject-developers] QuantProject/b7_Scripts/WalkForwardTesting/PairsTrading/Logging PairsVie
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2009-03-09 17:46:21
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/PairsTrading/Logging In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv5368/b7_Scripts/WalkForwardTesting/PairsTrading/Logging Modified Files: PairsViewer.Designer.cs Log Message: - a DateTimePicker has been added to chose the final date time for the chart - tickers are now displayed, each with its own line colour Index: PairsViewer.Designer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/PairsTrading/Logging/PairsViewer.Designer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PairsViewer.Designer.cs 7 Mar 2009 04:20:46 -0000 1.1 --- PairsViewer.Designer.cs 9 Mar 2009 17:45:51 -0000 1.2 *************** *** 52,72 **** private void InitializeComponent() { ! this.dateTimePicker = new System.Windows.Forms.DateTimePicker(); this.buttonShow = new System.Windows.Forms.Button(); this.SuspendLayout(); // ! // dateTimePicker // ! this.dateTimePicker.CustomFormat = "yyyy-MM-dd HH:mm"; ! this.dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; ! this.dateTimePicker.Location = new System.Drawing.Point(24, 47); ! this.dateTimePicker.Name = "dateTimePicker"; ! this.dateTimePicker.ShowUpDown = true; ! this.dateTimePicker.Size = new System.Drawing.Size(256, 20); ! this.dateTimePicker.TabIndex = 0; // // buttonShow // ! this.buttonShow.Location = new System.Drawing.Point(104, 131); this.buttonShow.Name = "buttonShow"; this.buttonShow.Size = new System.Drawing.Size(75, 23); --- 52,79 ---- private void InitializeComponent() { ! this.dateTimePickerForFirstDateTime = new System.Windows.Forms.DateTimePicker(); this.buttonShow = new System.Windows.Forms.Button(); + this.labelFirstDateTime = new System.Windows.Forms.Label(); + this.labelLastDateTime = new System.Windows.Forms.Label(); + this.dateTimePickerForLastDateTime = new System.Windows.Forms.DateTimePicker(); + this.panelGreenTicker = new System.Windows.Forms.Panel(); + this.textBoxGreenTicker = new System.Windows.Forms.TextBox(); + this.textBoxRedTicker = new System.Windows.Forms.TextBox(); + this.panelRedTicker = new System.Windows.Forms.Panel(); this.SuspendLayout(); // ! // dateTimePickerForFirstDateTime // ! this.dateTimePickerForFirstDateTime.CustomFormat = "yyyy-MM-dd HH:mm"; ! this.dateTimePickerForFirstDateTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; ! this.dateTimePickerForFirstDateTime.Location = new System.Drawing.Point(137, 27); ! this.dateTimePickerForFirstDateTime.Name = "dateTimePickerForFirstDateTime"; ! this.dateTimePickerForFirstDateTime.ShowUpDown = true; ! this.dateTimePickerForFirstDateTime.Size = new System.Drawing.Size(143, 20); ! this.dateTimePickerForFirstDateTime.TabIndex = 0; // // buttonShow // ! this.buttonShow.Location = new System.Drawing.Point(102, 197); this.buttonShow.Name = "buttonShow"; this.buttonShow.Size = new System.Drawing.Size(75, 23); *************** *** 76,79 **** --- 83,144 ---- this.buttonShow.Click += new System.EventHandler(this.ButtonShowClick); // + // labelFirstDateTime + // + this.labelFirstDateTime.Location = new System.Drawing.Point(31, 27); + this.labelFirstDateTime.Name = "labelFirstDateTime"; + this.labelFirstDateTime.Size = new System.Drawing.Size(100, 23); + this.labelFirstDateTime.TabIndex = 2; + this.labelFirstDateTime.Text = "First Date Time:"; + this.labelFirstDateTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // labelLastDateTime + // + this.labelLastDateTime.Location = new System.Drawing.Point(31, 66); + this.labelLastDateTime.Name = "labelLastDateTime"; + this.labelLastDateTime.Size = new System.Drawing.Size(100, 23); + this.labelLastDateTime.TabIndex = 4; + this.labelLastDateTime.Text = "Last Date Time:"; + this.labelLastDateTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // dateTimePickerForLastDateTime + // + this.dateTimePickerForLastDateTime.CustomFormat = "yyyy-MM-dd HH:mm"; + this.dateTimePickerForLastDateTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dateTimePickerForLastDateTime.Location = new System.Drawing.Point(137, 66); + this.dateTimePickerForLastDateTime.Name = "dateTimePickerForLastDateTime"; + this.dateTimePickerForLastDateTime.ShowUpDown = true; + this.dateTimePickerForLastDateTime.Size = new System.Drawing.Size(143, 20); + this.dateTimePickerForLastDateTime.TabIndex = 3; + // + // panelGreenTicker + // + this.panelGreenTicker.BackColor = System.Drawing.Color.Green; + this.panelGreenTicker.Location = new System.Drawing.Point(121, 113); + this.panelGreenTicker.Name = "panelGreenTicker"; + this.panelGreenTicker.Size = new System.Drawing.Size(10, 14); + this.panelGreenTicker.TabIndex = 5; + // + // textBoxGreenTicker + // + this.textBoxGreenTicker.Location = new System.Drawing.Point(137, 110); + this.textBoxGreenTicker.Name = "textBoxGreenTicker"; + this.textBoxGreenTicker.Size = new System.Drawing.Size(66, 20); + this.textBoxGreenTicker.TabIndex = 6; + // + // textBoxRedTicker + // + this.textBoxRedTicker.Location = new System.Drawing.Point(137, 146); + this.textBoxRedTicker.Name = "textBoxRedTicker"; + this.textBoxRedTicker.Size = new System.Drawing.Size(66, 20); + this.textBoxRedTicker.TabIndex = 8; + // + // panelRedTicker + // + this.panelRedTicker.BackColor = System.Drawing.Color.Red; + this.panelRedTicker.Location = new System.Drawing.Point(121, 149); + this.panelRedTicker.Name = "panelRedTicker"; + this.panelRedTicker.Size = new System.Drawing.Size(10, 14); + this.panelRedTicker.TabIndex = 7; + // // PairsViewer // *************** *** 81,92 **** this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 262); this.Controls.Add(this.buttonShow); ! this.Controls.Add(this.dateTimePicker); this.Name = "PairsViewer"; this.Text = "PairsViewer"; this.ResumeLayout(false); } private System.Windows.Forms.Button buttonShow; - private System.Windows.Forms.DateTimePicker dateTimePicker; } } --- 146,172 ---- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 262); + this.Controls.Add(this.textBoxRedTicker); + this.Controls.Add(this.panelRedTicker); + this.Controls.Add(this.textBoxGreenTicker); + this.Controls.Add(this.panelGreenTicker); + this.Controls.Add(this.labelLastDateTime); + this.Controls.Add(this.dateTimePickerForLastDateTime); + this.Controls.Add(this.labelFirstDateTime); this.Controls.Add(this.buttonShow); ! this.Controls.Add(this.dateTimePickerForFirstDateTime); this.Name = "PairsViewer"; this.Text = "PairsViewer"; this.ResumeLayout(false); + this.PerformLayout(); } + private System.Windows.Forms.Panel panelRedTicker; + private System.Windows.Forms.TextBox textBoxRedTicker; + private System.Windows.Forms.DateTimePicker dateTimePickerForLastDateTime; + private System.Windows.Forms.TextBox textBoxGreenTicker; + private System.Windows.Forms.Panel panelGreenTicker; + private System.Windows.Forms.Label labelLastDateTime; + private System.Windows.Forms.Label labelFirstDateTime; + private System.Windows.Forms.DateTimePicker dateTimePickerForFirstDateTime; private System.Windows.Forms.Button buttonShow; } } |