- 시간에 따른 감소폭 추가

- 정정주문 수정
- crash 수정
This commit is contained in:
2017-03-07 15:40:25 +09:00
parent f4872096c6
commit 592fc7a365
5 changed files with 601 additions and 450 deletions

121
AutoSeller.Designer.cs generated
View File

@@ -35,6 +35,7 @@
this.btSell = new MaterialSkin.Controls.MaterialRaisedButton();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.tbLog = new System.Windows.Forms.RichTextBox();
this.btUpdate = new MaterialSkin.Controls.MaterialRaisedButton();
this.btCybos = new MaterialSkin.Controls.MaterialRaisedButton();
@@ -58,13 +59,14 @@
this.cbSMMethod = new System.Windows.Forms.ComboBox();
this.tbSMListSize = new System.Windows.Forms.TextBox();
this.tbSMSlowUpCnt = new System.Windows.Forms.TextBox();
this.tbSMTimeDiffLimit = new System.Windows.Forms.TextBox();
this.tbSMTimeSub = new System.Windows.Forms.TextBox();
this.tbSMSlowSD = new System.Windows.Forms.TextBox();
this.tbSMFastUpCnt = new System.Windows.Forms.TextBox();
this.tbSMFastSD = new System.Windows.Forms.TextBox();
this.tbSimulationLog = new System.Windows.Forms.RichTextBox();
this.btSimulate = new MaterialSkin.Controls.MaterialFlatButton();
this.btLoad = new MaterialSkin.Controls.MaterialFlatButton();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.lvItems = new AutoSellerNS.ListViewNF();
this.chCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -76,6 +78,7 @@
this.chValuation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chYield = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chMaxPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCountLimit = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lvNCItem = new AutoSellerNS.ListViewNF();
this.chNCCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -98,12 +101,12 @@
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// materialTabSelector1
@@ -115,7 +118,7 @@
this.materialTabSelector1.Location = new System.Drawing.Point(0, 64);
this.materialTabSelector1.MouseState = MaterialSkin.MouseState.HOVER;
this.materialTabSelector1.Name = "materialTabSelector1";
this.materialTabSelector1.Size = new System.Drawing.Size(1074, 49);
this.materialTabSelector1.Size = new System.Drawing.Size(1147, 49);
this.materialTabSelector1.TabIndex = 1;
this.materialTabSelector1.Text = "materialTabSelector1";
//
@@ -132,7 +135,7 @@
this.materialTabControl1.MouseState = MaterialSkin.MouseState.HOVER;
this.materialTabControl1.Name = "materialTabControl1";
this.materialTabControl1.SelectedIndex = 0;
this.materialTabControl1.Size = new System.Drawing.Size(1068, 719);
this.materialTabControl1.Size = new System.Drawing.Size(1141, 719);
this.materialTabControl1.TabIndex = 2;
//
// tabPage1
@@ -144,7 +147,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1060, 693);
this.tabPage1.Size = new System.Drawing.Size(1133, 693);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Items";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -179,8 +182,8 @@
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.lvCurPrice);
this.splitContainer2.Size = new System.Drawing.Size(1054, 655);
this.splitContainer2.SplitterDistance = 804;
this.splitContainer2.Size = new System.Drawing.Size(1127, 655);
this.splitContainer2.SplitterDistance = 859;
this.splitContainer2.TabIndex = 2;
this.splitContainer2.SizeChanged += new System.EventHandler(this.splitContainer2_SizeChanged);
//
@@ -198,16 +201,34 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.tbLog);
this.splitContainer1.Size = new System.Drawing.Size(804, 655);
this.splitContainer1.Size = new System.Drawing.Size(859, 655);
this.splitContainer1.SplitterDistance = 455;
this.splitContainer1.TabIndex = 1;
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.lvItems);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.lvNCItem);
this.splitContainer3.Size = new System.Drawing.Size(859, 455);
this.splitContainer3.SplitterDistance = 300;
this.splitContainer3.TabIndex = 1;
//
// tbLog
//
this.tbLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbLog.Location = new System.Drawing.Point(0, 0);
this.tbLog.Name = "tbLog";
this.tbLog.Size = new System.Drawing.Size(804, 196);
this.tbLog.Size = new System.Drawing.Size(859, 196);
this.tbLog.TabIndex = 0;
this.tbLog.Text = "";
//
@@ -258,7 +279,7 @@
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1060, 693);
this.tabPage2.Size = new System.Drawing.Size(1133, 693);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Preference";
//
@@ -358,7 +379,7 @@
this.materialLabel3.Name = "materialLabel3";
this.materialLabel3.Size = new System.Drawing.Size(162, 18);
this.materialLabel3.TabIndex = 6;
this.materialLabel3.Text = "Version : 2017.02.22.23";
this.materialLabel3.Text = "Version : 2017.03.07.15";
//
// materialLabel2
//
@@ -451,6 +472,8 @@
this.tabPage3.Controls.Add(this.cbSMMethod);
this.tabPage3.Controls.Add(this.tbSMListSize);
this.tabPage3.Controls.Add(this.tbSMSlowUpCnt);
this.tabPage3.Controls.Add(this.tbSMTimeDiffLimit);
this.tabPage3.Controls.Add(this.tbSMTimeSub);
this.tabPage3.Controls.Add(this.tbSMSlowSD);
this.tabPage3.Controls.Add(this.tbSMFastUpCnt);
this.tabPage3.Controls.Add(this.tbSMFastSD);
@@ -460,7 +483,7 @@
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(1060, 693);
this.tabPage3.Size = new System.Drawing.Size(1133, 693);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Simulation";
this.tabPage3.UseVisualStyleBackColor = true;
@@ -471,7 +494,7 @@
this.tbSMSlowDownCnt.Name = "tbSMSlowDownCnt";
this.tbSMSlowDownCnt.Size = new System.Drawing.Size(36, 21);
this.tbSMSlowDownCnt.TabIndex = 8;
this.tbSMSlowDownCnt.Text = "0.1";
this.tbSMSlowDownCnt.Text = "0.4";
//
// tbSMFastDownCnt
//
@@ -479,7 +502,7 @@
this.tbSMFastDownCnt.Name = "tbSMFastDownCnt";
this.tbSMFastDownCnt.Size = new System.Drawing.Size(36, 21);
this.tbSMFastDownCnt.TabIndex = 6;
this.tbSMFastDownCnt.Text = "0.3";
this.tbSMFastDownCnt.Text = "0.05";
//
// cbSMMethod
//
@@ -487,7 +510,8 @@
this.cbSMMethod.FormattingEnabled = true;
this.cbSMMethod.Items.AddRange(new object[] {
"평균 비교",
"마지막 비교"});
"마지막 비교",
"호가 비교"});
this.cbSMMethod.Location = new System.Drawing.Point(477, 24);
this.cbSMMethod.Name = "cbSMMethod";
this.cbSMMethod.Size = new System.Drawing.Size(121, 20);
@@ -507,7 +531,23 @@
this.tbSMSlowUpCnt.Name = "tbSMSlowUpCnt";
this.tbSMSlowUpCnt.Size = new System.Drawing.Size(36, 21);
this.tbSMSlowUpCnt.TabIndex = 7;
this.tbSMSlowUpCnt.Text = "0.1";
this.tbSMSlowUpCnt.Text = "0.4";
//
// tbSMTimeDiffLimit
//
this.tbSMTimeDiffLimit.Location = new System.Drawing.Point(375, 101);
this.tbSMTimeDiffLimit.Name = "tbSMTimeDiffLimit";
this.tbSMTimeDiffLimit.Size = new System.Drawing.Size(36, 21);
this.tbSMTimeDiffLimit.TabIndex = 6;
this.tbSMTimeDiffLimit.Text = "5";
//
// tbSMTimeSub
//
this.tbSMTimeSub.Location = new System.Drawing.Point(333, 101);
this.tbSMTimeSub.Name = "tbSMTimeSub";
this.tbSMTimeSub.Size = new System.Drawing.Size(36, 21);
this.tbSMTimeSub.TabIndex = 6;
this.tbSMTimeSub.Text = "0.02";
//
// tbSMSlowSD
//
@@ -523,7 +563,7 @@
this.tbSMFastUpCnt.Name = "tbSMFastUpCnt";
this.tbSMFastUpCnt.Size = new System.Drawing.Size(36, 21);
this.tbSMFastUpCnt.TabIndex = 5;
this.tbSMFastUpCnt.Text = "0.3";
this.tbSMFastUpCnt.Text = "0.05";
//
// tbSMFastSD
//
@@ -538,9 +578,10 @@
this.tbSimulationLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbSimulationLog.HideSelection = false;
this.tbSimulationLog.Location = new System.Drawing.Point(0, 204);
this.tbSimulationLog.Name = "tbSimulationLog";
this.tbSimulationLog.Size = new System.Drawing.Size(1060, 489);
this.tbSimulationLog.Size = new System.Drawing.Size(1133, 489);
this.tbSimulationLog.TabIndex = 2;
this.tbSimulationLog.Text = "";
//
@@ -576,24 +617,6 @@
this.btLoad.UseVisualStyleBackColor = true;
this.btLoad.Click += new System.EventHandler(this.btLoad_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.lvItems);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.lvNCItem);
this.splitContainer3.Size = new System.Drawing.Size(804, 455);
this.splitContainer3.SplitterDistance = 300;
this.splitContainer3.TabIndex = 1;
//
// lvItems
//
this.lvItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
@@ -607,13 +630,14 @@
this.chValuation,
this.chYield,
this.chMaxPrice,
this.chCheckCountLimit,
this.chCheckCount});
this.lvItems.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvItems.FullRowSelect = true;
this.lvItems.GridLines = true;
this.lvItems.Location = new System.Drawing.Point(0, 0);
this.lvItems.Name = "lvItems";
this.lvItems.Size = new System.Drawing.Size(804, 300);
this.lvItems.Size = new System.Drawing.Size(859, 300);
this.lvItems.TabIndex = 0;
this.lvItems.UseCompatibleStateImageBehavior = false;
this.lvItems.View = System.Windows.Forms.View.Details;
@@ -675,6 +699,10 @@
this.chMaxPrice.Text = "최고가";
this.chMaxPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chCheckCountLimit
//
this.chCheckCountLimit.Text = "조건제한";
//
// chCheckCount
//
this.chCheckCount.Text = "조건횟수";
@@ -693,7 +721,7 @@
this.lvNCItem.GridLines = true;
this.lvNCItem.Location = new System.Drawing.Point(0, 0);
this.lvNCItem.Name = "lvNCItem";
this.lvNCItem.Size = new System.Drawing.Size(804, 151);
this.lvNCItem.Size = new System.Drawing.Size(859, 151);
this.lvNCItem.TabIndex = 1;
this.lvNCItem.UseCompatibleStateImageBehavior = false;
this.lvNCItem.View = System.Windows.Forms.View.Details;
@@ -737,7 +765,7 @@
this.lvCurPrice.GridLines = true;
this.lvCurPrice.Location = new System.Drawing.Point(0, 0);
this.lvCurPrice.Name = "lvCurPrice";
this.lvCurPrice.Size = new System.Drawing.Size(246, 655);
this.lvCurPrice.Size = new System.Drawing.Size(264, 655);
this.lvCurPrice.TabIndex = 0;
this.lvCurPrice.UseCompatibleStateImageBehavior = false;
this.lvCurPrice.View = System.Windows.Forms.View.Details;
@@ -767,7 +795,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1074, 837);
this.ClientSize = new System.Drawing.Size(1147, 837);
this.Controls.Add(this.materialTabSelector1);
this.Controls.Add(this.materialTabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -784,14 +812,14 @@
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.ResumeLayout(false);
}
@@ -856,5 +884,8 @@
public System.Windows.Forms.ComboBox cbSMMethod;
public System.Windows.Forms.TextBox tbSMSlowDownCnt;
public System.Windows.Forms.TextBox tbSMFastDownCnt;
private System.Windows.Forms.ColumnHeader chCheckCountLimit;
public System.Windows.Forms.TextBox tbSMTimeSub;
public System.Windows.Forms.TextBox tbSMTimeDiffLimit;
}
}