From 7151fdc5b841beea93416d5d0e636f0d98928bf9 Mon Sep 17 00:00:00 2001 From: kyh <1329522@naver.com> Date: Thu, 4 Jan 2024 17:39:28 +0900 Subject: [PATCH] =?UTF-8?q?buyer=EC=97=90=20=EA=B1=B0=EB=9E=98=EB=9F=89=20?= =?UTF-8?q?top=EB=AA=87=EA=B0=9C=20=ED=95=A0=20=EC=88=98=20=EC=9E=88?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EA=B5=AC=ED=98=84=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Million Buyer/MainForm.Designer.cs | 1263 +++++++++++++++------------- Million Buyer/MainForm.cs | 44 +- Million Buyer/MainForm.resx | 50 +- 3 files changed, 726 insertions(+), 631 deletions(-) diff --git a/Million Buyer/MainForm.Designer.cs b/Million Buyer/MainForm.Designer.cs index 9e7e103..a11c767 100644 --- a/Million Buyer/MainForm.Designer.cs +++ b/Million Buyer/MainForm.Designer.cs @@ -28,814 +28,873 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.cb_StarValueLowOverlapUp = new System.Windows.Forms.CheckBox(); - this.cb_DownBeforeValueFlag = new System.Windows.Forms.CheckBox(); - this.cb_UpperMainIndi = new System.Windows.Forms.CheckBox(); - this.cb_IncludeClearIndicator = new System.Windows.Forms.CheckBox(); - this.lb_IndiName = new System.Windows.Forms.Label(); - this.bt_Modify = new System.Windows.Forms.Button(); - this.label6 = new System.Windows.Forms.Label(); - this.lb_TotalMoney = new System.Windows.Forms.Label(); - this.tb_CycleMoneyValue = new System.Windows.Forms.TextBox(); - this.tb_CycleCount = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.lb_StartDate = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.lb_BuyMarketCount = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.bt_Start = new System.Windows.Forms.Button(); - this.bt_Stop = new System.Windows.Forms.Button(); - this.rd_Realtime = new System.Windows.Forms.RadioButton(); - this.rd_buyer = new System.Windows.Forms.RadioButton(); - this.tl_BuyList = new DevExpress.XtraTreeList.TreeList(); - this.BuyMarket = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyValue = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyCount = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyDateTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.tl_Result = new DevExpress.XtraTreeList.TreeList(); - this.Market = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyValueData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyCountData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.BuyDateTimeData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.SellValueData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.SellCountData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.SellDateTimeData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.RateData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.MoneyData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.bt_Save = new System.Windows.Forms.Button(); - this.lb_log = new System.Windows.Forms.ListBox(); - this.bt_alive = new System.Windows.Forms.Button(); - this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.cb_AccountList = new System.Windows.Forms.ComboBox(); - this.cb_UserList = new System.Windows.Forms.ComboBox(); - this.label12 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.tl_RealtimeOrder = new DevExpress.XtraTreeList.TreeList(); - this.Uuid = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.CoinFullName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.Side = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.OrderPrice = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.State = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.Volume = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.ExecutedVolume = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.CreateOrderTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - this.bt_BuyStop = new System.Windows.Forms.Button(); - this.bt_BuyStart = new System.Windows.Forms.Button(); - this.lb_BuyFlag = new System.Windows.Forms.Label(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); - this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); - this.bt_AllSell = new System.Windows.Forms.Button(); - this.groupBox4 = new System.Windows.Forms.GroupBox(); - this.tb_BigMoneyVolCnt = new System.Windows.Forms.TextBox(); - this.cb_BuyBigthanHighType = new DevExpress.XtraEditors.ComboBoxEdit(); - this.cb_BigMoneyVolType = new DevExpress.XtraEditors.ComboBoxEdit(); - this.ck_BigMoneyVol = new System.Windows.Forms.CheckBox(); - this.ck_BuyBigthanHighVal = new System.Windows.Forms.CheckBox(); - this.groupBox1.SuspendLayout(); - this.groupBox2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.tl_BuyList)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.tl_Result)).BeginInit(); - this.groupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.tl_RealtimeOrder)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); - this.splitContainerControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit(); - this.splitContainerControl2.SuspendLayout(); - this.groupBox4.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.cb_BuyBigthanHighType.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.cb_BigMoneyVolType.Properties)).BeginInit(); - this.SuspendLayout(); + components = new System.ComponentModel.Container(); + groupBox1 = new System.Windows.Forms.GroupBox(); + cb_StarValueLowOverlapUp = new System.Windows.Forms.CheckBox(); + cb_DownBeforeValueFlag = new System.Windows.Forms.CheckBox(); + cb_UpperMainIndi = new System.Windows.Forms.CheckBox(); + cb_IncludeClearIndicator = new System.Windows.Forms.CheckBox(); + lb_IndiName = new System.Windows.Forms.Label(); + bt_Modify = new System.Windows.Forms.Button(); + label6 = new System.Windows.Forms.Label(); + lb_TotalMoney = new System.Windows.Forms.Label(); + tb_CycleMoneyValue = new System.Windows.Forms.TextBox(); + tb_CycleCount = new System.Windows.Forms.TextBox(); + label2 = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + groupBox2 = new System.Windows.Forms.GroupBox(); + lb_StartDate = new System.Windows.Forms.Label(); + label10 = new System.Windows.Forms.Label(); + lb_BuyMarketCount = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + bt_Start = new System.Windows.Forms.Button(); + bt_Stop = new System.Windows.Forms.Button(); + rd_Realtime = new System.Windows.Forms.RadioButton(); + rd_buyer = new System.Windows.Forms.RadioButton(); + tl_BuyList = new DevExpress.XtraTreeList.TreeList(); + BuyMarket = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyValue = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyCount = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyDateTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + tl_Result = new DevExpress.XtraTreeList.TreeList(); + Market = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyValueData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyCountData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + BuyDateTimeData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + SellValueData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + SellCountData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + SellDateTimeData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + RateData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + MoneyData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + bt_Save = new System.Windows.Forms.Button(); + lb_log = new System.Windows.Forms.ListBox(); + bt_alive = new System.Windows.Forms.Button(); + groupBox3 = new System.Windows.Forms.GroupBox(); + cb_AccountList = new System.Windows.Forms.ComboBox(); + cb_UserList = new System.Windows.Forms.ComboBox(); + label12 = new System.Windows.Forms.Label(); + label11 = new System.Windows.Forms.Label(); + tl_RealtimeOrder = new DevExpress.XtraTreeList.TreeList(); + Uuid = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + CoinFullName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + Side = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + OrderPrice = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + State = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + Volume = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + ExecutedVolume = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + CreateOrderTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + bt_BuyStop = new System.Windows.Forms.Button(); + bt_BuyStart = new System.Windows.Forms.Button(); + lb_BuyFlag = new System.Windows.Forms.Label(); + timer1 = new System.Windows.Forms.Timer(components); + splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); + splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); + bt_AllSell = new System.Windows.Forms.Button(); + groupBox4 = new System.Windows.Forms.GroupBox(); + tb_BigMoneyVolCnt = new System.Windows.Forms.TextBox(); + cb_BuyBigthanHighType = new DevExpress.XtraEditors.ComboBoxEdit(); + cb_BigMoneyVolType = new DevExpress.XtraEditors.ComboBoxEdit(); + ck_BigMoneyVol = new System.Windows.Forms.CheckBox(); + ck_BuyBigthanHighVal = new System.Windows.Forms.CheckBox(); + cb_TopVol = new System.Windows.Forms.CheckBox(); + tb_TopVolCnt = new System.Windows.Forms.TextBox(); + groupBox1.SuspendLayout(); + groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)tl_BuyList).BeginInit(); + ((System.ComponentModel.ISupportInitialize)tl_Result).BeginInit(); + groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)tl_RealtimeOrder).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1.Panel1).BeginInit(); + splitContainerControl1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1.Panel2).BeginInit(); + splitContainerControl1.Panel2.SuspendLayout(); + splitContainerControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2.Panel1).BeginInit(); + splitContainerControl2.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2.Panel2).BeginInit(); + splitContainerControl2.Panel2.SuspendLayout(); + splitContainerControl2.SuspendLayout(); + groupBox4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)cb_BuyBigthanHighType.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)cb_BigMoneyVolType.Properties).BeginInit(); + SuspendLayout(); // // groupBox1 // - this.groupBox1.Controls.Add(this.cb_StarValueLowOverlapUp); - this.groupBox1.Controls.Add(this.cb_DownBeforeValueFlag); - this.groupBox1.Controls.Add(this.cb_UpperMainIndi); - this.groupBox1.Controls.Add(this.cb_IncludeClearIndicator); - this.groupBox1.Controls.Add(this.lb_IndiName); - this.groupBox1.Controls.Add(this.bt_Modify); - this.groupBox1.Controls.Add(this.label6); - this.groupBox1.Controls.Add(this.lb_TotalMoney); - this.groupBox1.Controls.Add(this.tb_CycleMoneyValue); - this.groupBox1.Controls.Add(this.tb_CycleCount); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Controls.Add(this.label4); - this.groupBox1.Location = new System.Drawing.Point(12, 149); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(362, 230); - this.groupBox1.TabIndex = 5; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "데이터 Setting"; + groupBox1.Controls.Add(cb_StarValueLowOverlapUp); + groupBox1.Controls.Add(cb_DownBeforeValueFlag); + groupBox1.Controls.Add(cb_UpperMainIndi); + groupBox1.Controls.Add(cb_IncludeClearIndicator); + groupBox1.Controls.Add(lb_IndiName); + groupBox1.Controls.Add(bt_Modify); + groupBox1.Controls.Add(label6); + groupBox1.Controls.Add(lb_TotalMoney); + groupBox1.Controls.Add(tb_CycleMoneyValue); + groupBox1.Controls.Add(tb_CycleCount); + groupBox1.Controls.Add(label2); + groupBox1.Controls.Add(label1); + groupBox1.Controls.Add(label4); + groupBox1.Location = new System.Drawing.Point(12, 186); + groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox1.Name = "groupBox1"; + groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox1.Size = new System.Drawing.Size(362, 288); + groupBox1.TabIndex = 5; + groupBox1.TabStop = false; + groupBox1.Text = "데이터 Setting"; // // cb_StarValueLowOverlapUp // - this.cb_StarValueLowOverlapUp.AutoSize = true; - this.cb_StarValueLowOverlapUp.Location = new System.Drawing.Point(9, 199); - this.cb_StarValueLowOverlapUp.Name = "cb_StarValueLowOverlapUp"; - this.cb_StarValueLowOverlapUp.Size = new System.Drawing.Size(164, 16); - this.cb_StarValueLowOverlapUp.TabIndex = 15; - this.cb_StarValueLowOverlapUp.Text = "사는시점 전 고가<현 시가"; - this.cb_StarValueLowOverlapUp.UseVisualStyleBackColor = true; + cb_StarValueLowOverlapUp.AutoSize = true; + cb_StarValueLowOverlapUp.Location = new System.Drawing.Point(9, 249); + cb_StarValueLowOverlapUp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_StarValueLowOverlapUp.Name = "cb_StarValueLowOverlapUp"; + cb_StarValueLowOverlapUp.Size = new System.Drawing.Size(166, 19); + cb_StarValueLowOverlapUp.TabIndex = 15; + cb_StarValueLowOverlapUp.Text = "사는시점 전 고가<현 시가"; + cb_StarValueLowOverlapUp.UseVisualStyleBackColor = true; // // cb_DownBeforeValueFlag // - this.cb_DownBeforeValueFlag.AutoSize = true; - this.cb_DownBeforeValueFlag.Location = new System.Drawing.Point(10, 177); - this.cb_DownBeforeValueFlag.Name = "cb_DownBeforeValueFlag"; - this.cb_DownBeforeValueFlag.Size = new System.Drawing.Size(312, 16); - this.cb_DownBeforeValueFlag.TabIndex = 10; - this.cb_DownBeforeValueFlag.Text = "최초돌파 검색 시 메인조건이 사전조건보다 높아야 함"; - this.cb_DownBeforeValueFlag.UseVisualStyleBackColor = true; + cb_DownBeforeValueFlag.AutoSize = true; + cb_DownBeforeValueFlag.Location = new System.Drawing.Point(10, 221); + cb_DownBeforeValueFlag.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_DownBeforeValueFlag.Name = "cb_DownBeforeValueFlag"; + cb_DownBeforeValueFlag.Size = new System.Drawing.Size(314, 19); + cb_DownBeforeValueFlag.TabIndex = 10; + cb_DownBeforeValueFlag.Text = "최초돌파 검색 시 메인조건이 사전조건보다 높아야 함"; + cb_DownBeforeValueFlag.UseVisualStyleBackColor = true; // // cb_UpperMainIndi // - this.cb_UpperMainIndi.AutoSize = true; - this.cb_UpperMainIndi.Checked = true; - this.cb_UpperMainIndi.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_UpperMainIndi.Location = new System.Drawing.Point(10, 155); - this.cb_UpperMainIndi.Name = "cb_UpperMainIndi"; - this.cb_UpperMainIndi.Size = new System.Drawing.Size(212, 16); - this.cb_UpperMainIndi.TabIndex = 9; - this.cb_UpperMainIndi.Text = "메인조건이 사전조건보다 높아야함"; - this.cb_UpperMainIndi.UseVisualStyleBackColor = true; + cb_UpperMainIndi.AutoSize = true; + cb_UpperMainIndi.Checked = true; + cb_UpperMainIndi.CheckState = System.Windows.Forms.CheckState.Checked; + cb_UpperMainIndi.Location = new System.Drawing.Point(10, 194); + cb_UpperMainIndi.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_UpperMainIndi.Name = "cb_UpperMainIndi"; + cb_UpperMainIndi.Size = new System.Drawing.Size(214, 19); + cb_UpperMainIndi.TabIndex = 9; + cb_UpperMainIndi.Text = "메인조건이 사전조건보다 높아야함"; + cb_UpperMainIndi.UseVisualStyleBackColor = true; // // cb_IncludeClearIndicator // - this.cb_IncludeClearIndicator.AutoSize = true; - this.cb_IncludeClearIndicator.Checked = true; - this.cb_IncludeClearIndicator.CheckState = System.Windows.Forms.CheckState.Checked; - this.cb_IncludeClearIndicator.Location = new System.Drawing.Point(10, 133); - this.cb_IncludeClearIndicator.Name = "cb_IncludeClearIndicator"; - this.cb_IncludeClearIndicator.Size = new System.Drawing.Size(170, 16); - this.cb_IncludeClearIndicator.TabIndex = 8; - this.cb_IncludeClearIndicator.Text = "판매 완료 조건으로 Setting"; - this.cb_IncludeClearIndicator.UseVisualStyleBackColor = true; + cb_IncludeClearIndicator.AutoSize = true; + cb_IncludeClearIndicator.Checked = true; + cb_IncludeClearIndicator.CheckState = System.Windows.Forms.CheckState.Checked; + cb_IncludeClearIndicator.Location = new System.Drawing.Point(10, 166); + cb_IncludeClearIndicator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_IncludeClearIndicator.Name = "cb_IncludeClearIndicator"; + cb_IncludeClearIndicator.Size = new System.Drawing.Size(172, 19); + cb_IncludeClearIndicator.TabIndex = 8; + cb_IncludeClearIndicator.Text = "판매 완료 조건으로 Setting"; + cb_IncludeClearIndicator.UseVisualStyleBackColor = true; // // lb_IndiName // - this.lb_IndiName.AutoSize = true; - this.lb_IndiName.Location = new System.Drawing.Point(142, 106); - this.lb_IndiName.Name = "lb_IndiName"; - this.lb_IndiName.Size = new System.Drawing.Size(0, 12); - this.lb_IndiName.TabIndex = 7; + lb_IndiName.AutoSize = true; + lb_IndiName.Location = new System.Drawing.Point(142, 132); + lb_IndiName.Name = "lb_IndiName"; + lb_IndiName.Size = new System.Drawing.Size(0, 15); + lb_IndiName.TabIndex = 7; // // bt_Modify // - this.bt_Modify.Location = new System.Drawing.Point(288, 101); - this.bt_Modify.Name = "bt_Modify"; - this.bt_Modify.Size = new System.Drawing.Size(68, 23); - this.bt_Modify.TabIndex = 6; - this.bt_Modify.Text = "선택"; - this.bt_Modify.UseVisualStyleBackColor = true; - this.bt_Modify.Click += new System.EventHandler(this.bt_Modify_Click); + bt_Modify.Location = new System.Drawing.Point(288, 126); + bt_Modify.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_Modify.Name = "bt_Modify"; + bt_Modify.Size = new System.Drawing.Size(68, 29); + bt_Modify.TabIndex = 6; + bt_Modify.Text = "선택"; + bt_Modify.UseVisualStyleBackColor = true; + bt_Modify.Click += bt_Modify_Click; // // label6 // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(95, 106); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(41, 12); - this.label6.TabIndex = 4; - this.label6.Text = "조건식"; + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(95, 132); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(43, 15); + label6.TabIndex = 4; + label6.Text = "조건식"; // // lb_TotalMoney // - this.lb_TotalMoney.AutoSize = true; - this.lb_TotalMoney.Location = new System.Drawing.Point(146, 21); - this.lb_TotalMoney.Name = "lb_TotalMoney"; - this.lb_TotalMoney.Size = new System.Drawing.Size(0, 12); - this.lb_TotalMoney.TabIndex = 4; + lb_TotalMoney.AutoSize = true; + lb_TotalMoney.Location = new System.Drawing.Point(146, 26); + lb_TotalMoney.Name = "lb_TotalMoney"; + lb_TotalMoney.Size = new System.Drawing.Size(0, 15); + lb_TotalMoney.TabIndex = 4; // // tb_CycleMoneyValue // - this.tb_CycleMoneyValue.Location = new System.Drawing.Point(142, 74); - this.tb_CycleMoneyValue.Name = "tb_CycleMoneyValue"; - this.tb_CycleMoneyValue.ReadOnly = true; - this.tb_CycleMoneyValue.Size = new System.Drawing.Size(214, 21); - this.tb_CycleMoneyValue.TabIndex = 3; + tb_CycleMoneyValue.Location = new System.Drawing.Point(142, 92); + tb_CycleMoneyValue.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tb_CycleMoneyValue.Name = "tb_CycleMoneyValue"; + tb_CycleMoneyValue.ReadOnly = true; + tb_CycleMoneyValue.Size = new System.Drawing.Size(214, 23); + tb_CycleMoneyValue.TabIndex = 3; // // tb_CycleCount // - this.tb_CycleCount.Location = new System.Drawing.Point(142, 44); - this.tb_CycleCount.Name = "tb_CycleCount"; - this.tb_CycleCount.ReadOnly = true; - this.tb_CycleCount.Size = new System.Drawing.Size(214, 21); - this.tb_CycleCount.TabIndex = 2; + tb_CycleCount.Location = new System.Drawing.Point(142, 55); + tb_CycleCount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tb_CycleCount.Name = "tb_CycleCount"; + tb_CycleCount.ReadOnly = true; + tb_CycleCount.Size = new System.Drawing.Size(214, 23); + tb_CycleCount.TabIndex = 2; // // label2 // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(35, 77); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(101, 12); - this.label2.TabIndex = 1; - this.label2.Text = "종목 별 구입 금액"; + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(35, 96); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(103, 15); + label2.TabIndex = 1; + label2.Text = "종목 별 구입 금액"; // // label1 // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(7, 50); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(129, 12); - this.label1.TabIndex = 0; - this.label1.Text = "한번에 구입 할 종목 수"; + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(7, 62); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(131, 15); + label1.TabIndex = 0; + label1.Text = "한번에 구입 할 종목 수"; // // label4 // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(47, 21); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(89, 12); - this.label4.TabIndex = 0; - this.label4.Text = "계정 내 총 금액"; + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(47, 26); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(91, 15); + label4.TabIndex = 0; + label4.Text = "계정 내 총 금액"; // // groupBox2 // - this.groupBox2.Controls.Add(this.lb_StartDate); - this.groupBox2.Controls.Add(this.label10); - this.groupBox2.Controls.Add(this.lb_BuyMarketCount); - this.groupBox2.Controls.Add(this.label3); - this.groupBox2.Location = new System.Drawing.Point(12, 388); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(362, 72); - this.groupBox2.TabIndex = 6; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "데이터 현황"; + groupBox2.Controls.Add(lb_StartDate); + groupBox2.Controls.Add(label10); + groupBox2.Controls.Add(lb_BuyMarketCount); + groupBox2.Controls.Add(label3); + groupBox2.Location = new System.Drawing.Point(12, 485); + groupBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox2.Name = "groupBox2"; + groupBox2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox2.Size = new System.Drawing.Size(362, 90); + groupBox2.TabIndex = 6; + groupBox2.TabStop = false; + groupBox2.Text = "데이터 현황"; // // lb_StartDate // - this.lb_StartDate.AutoSize = true; - this.lb_StartDate.Location = new System.Drawing.Point(102, 49); - this.lb_StartDate.Name = "lb_StartDate"; - this.lb_StartDate.Size = new System.Drawing.Size(0, 12); - this.lb_StartDate.TabIndex = 9; + lb_StartDate.AutoSize = true; + lb_StartDate.Location = new System.Drawing.Point(102, 61); + lb_StartDate.Name = "lb_StartDate"; + lb_StartDate.Size = new System.Drawing.Size(0, 15); + lb_StartDate.TabIndex = 9; // // label10 // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(39, 49); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(57, 12); - this.label10.TabIndex = 8; - this.label10.Text = "시작 시간"; + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(39, 61); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(59, 15); + label10.TabIndex = 8; + label10.Text = "시작 시간"; // // lb_BuyMarketCount // - this.lb_BuyMarketCount.AutoSize = true; - this.lb_BuyMarketCount.Location = new System.Drawing.Point(102, 25); - this.lb_BuyMarketCount.Name = "lb_BuyMarketCount"; - this.lb_BuyMarketCount.Size = new System.Drawing.Size(0, 12); - this.lb_BuyMarketCount.TabIndex = 5; + lb_BuyMarketCount.AutoSize = true; + lb_BuyMarketCount.Location = new System.Drawing.Point(102, 31); + lb_BuyMarketCount.Name = "lb_BuyMarketCount"; + lb_BuyMarketCount.Size = new System.Drawing.Size(0, 15); + lb_BuyMarketCount.TabIndex = 5; // // label3 // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(23, 25); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(73, 12); - this.label3.TabIndex = 1; - this.label3.Text = "구입 종목 수"; + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(23, 31); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(75, 15); + label3.TabIndex = 1; + label3.Text = "구입 종목 수"; // // bt_Start // - this.bt_Start.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bt_Start.Location = new System.Drawing.Point(1442, 750); - this.bt_Start.Name = "bt_Start"; - this.bt_Start.Size = new System.Drawing.Size(75, 23); - this.bt_Start.TabIndex = 7; - this.bt_Start.Text = "Start"; - this.bt_Start.UseVisualStyleBackColor = true; - this.bt_Start.Click += new System.EventHandler(this.bt_Start_Click); + bt_Start.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right; + bt_Start.Location = new System.Drawing.Point(1442, 938); + bt_Start.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_Start.Name = "bt_Start"; + bt_Start.Size = new System.Drawing.Size(75, 29); + bt_Start.TabIndex = 7; + bt_Start.Text = "Start"; + bt_Start.UseVisualStyleBackColor = true; + bt_Start.Click += bt_Start_Click; // // bt_Stop // - this.bt_Stop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bt_Stop.Location = new System.Drawing.Point(1523, 751); - this.bt_Stop.Name = "bt_Stop"; - this.bt_Stop.Size = new System.Drawing.Size(75, 23); - this.bt_Stop.TabIndex = 8; - this.bt_Stop.Text = "Stop"; - this.bt_Stop.UseVisualStyleBackColor = true; - this.bt_Stop.Click += new System.EventHandler(this.bt_Stop_Click); + bt_Stop.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right; + bt_Stop.Location = new System.Drawing.Point(1523, 939); + bt_Stop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_Stop.Name = "bt_Stop"; + bt_Stop.Size = new System.Drawing.Size(75, 29); + bt_Stop.TabIndex = 8; + bt_Stop.Text = "Stop"; + bt_Stop.UseVisualStyleBackColor = true; + bt_Stop.Click += bt_Stop_Click; // // rd_Realtime // - this.rd_Realtime.AutoSize = true; - this.rd_Realtime.Checked = true; - this.rd_Realtime.Location = new System.Drawing.Point(10, 79); - this.rd_Realtime.Name = "rd_Realtime"; - this.rd_Realtime.Size = new System.Drawing.Size(145, 16); - this.rd_Realtime.TabIndex = 9; - this.rd_Realtime.TabStop = true; - this.rd_Realtime.Text = "Buyer Realtime Mode"; - this.rd_Realtime.UseVisualStyleBackColor = true; - this.rd_Realtime.CheckedChanged += new System.EventHandler(this.rd_Realtime_CheckedChanged); + rd_Realtime.AutoSize = true; + rd_Realtime.Checked = true; + rd_Realtime.Location = new System.Drawing.Point(10, 99); + rd_Realtime.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + rd_Realtime.Name = "rd_Realtime"; + rd_Realtime.Size = new System.Drawing.Size(140, 19); + rd_Realtime.TabIndex = 9; + rd_Realtime.TabStop = true; + rd_Realtime.Text = "Buyer Realtime Mode"; + rd_Realtime.UseVisualStyleBackColor = true; + rd_Realtime.CheckedChanged += rd_Realtime_CheckedChanged; // // rd_buyer // - this.rd_buyer.AutoSize = true; - this.rd_buyer.Location = new System.Drawing.Point(10, 101); - this.rd_buyer.Name = "rd_buyer"; - this.rd_buyer.Size = new System.Drawing.Size(92, 16); - this.rd_buyer.TabIndex = 10; - this.rd_buyer.Text = "Buyer Mode"; - this.rd_buyer.UseVisualStyleBackColor = true; - this.rd_buyer.CheckedChanged += new System.EventHandler(this.rd_buyer_CheckedChanged); + rd_buyer.AutoSize = true; + rd_buyer.Location = new System.Drawing.Point(10, 126); + rd_buyer.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + rd_buyer.Name = "rd_buyer"; + rd_buyer.Size = new System.Drawing.Size(90, 19); + rd_buyer.TabIndex = 10; + rd_buyer.Text = "Buyer Mode"; + rd_buyer.UseVisualStyleBackColor = true; + rd_buyer.CheckedChanged += rd_buyer_CheckedChanged; // // tl_BuyList // - this.tl_BuyList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.BuyMarket, - this.BuyValue, - this.BuyCount, - this.BuyDateTime}); - this.tl_BuyList.Cursor = System.Windows.Forms.Cursors.Default; - this.tl_BuyList.Dock = System.Windows.Forms.DockStyle.Fill; - this.tl_BuyList.Location = new System.Drawing.Point(0, 0); - this.tl_BuyList.Name = "tl_BuyList"; - this.tl_BuyList.OptionsBehavior.Editable = false; - this.tl_BuyList.OptionsView.ShowIndicator = false; - this.tl_BuyList.Size = new System.Drawing.Size(442, 373); - this.tl_BuyList.TabIndex = 11; + tl_BuyList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { BuyMarket, BuyValue, BuyCount, BuyDateTime }); + tl_BuyList.Dock = System.Windows.Forms.DockStyle.Fill; + tl_BuyList.Location = new System.Drawing.Point(0, 0); + tl_BuyList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tl_BuyList.Name = "tl_BuyList"; + tl_BuyList.OptionsBehavior.Editable = false; + tl_BuyList.OptionsView.ShowIndicator = false; + tl_BuyList.Size = new System.Drawing.Size(442, 466); + tl_BuyList.TabIndex = 11; // // BuyMarket // - this.BuyMarket.Caption = "구매 항목"; - this.BuyMarket.FieldName = "BuyMarket"; - this.BuyMarket.Name = "BuyMarket"; - this.BuyMarket.Visible = true; - this.BuyMarket.VisibleIndex = 0; + BuyMarket.Caption = "구매 항목"; + BuyMarket.FieldName = "BuyMarket"; + BuyMarket.Name = "BuyMarket"; + BuyMarket.Visible = true; + BuyMarket.VisibleIndex = 0; // // BuyValue // - this.BuyValue.Caption = "구매 가격"; - this.BuyValue.FieldName = "BuyValue"; - this.BuyValue.Name = "BuyValue"; - this.BuyValue.Visible = true; - this.BuyValue.VisibleIndex = 1; + BuyValue.Caption = "구매 가격"; + BuyValue.FieldName = "BuyValue"; + BuyValue.Name = "BuyValue"; + BuyValue.Visible = true; + BuyValue.VisibleIndex = 1; // // BuyCount // - this.BuyCount.Caption = "구매 개수"; - this.BuyCount.FieldName = "BuyCount"; - this.BuyCount.Name = "BuyCount"; - this.BuyCount.Visible = true; - this.BuyCount.VisibleIndex = 2; + BuyCount.Caption = "구매 개수"; + BuyCount.FieldName = "BuyCount"; + BuyCount.Name = "BuyCount"; + BuyCount.Visible = true; + BuyCount.VisibleIndex = 2; // // BuyDateTime // - this.BuyDateTime.Caption = "검출 된 시간"; - this.BuyDateTime.FieldName = "BuyDateTime"; - this.BuyDateTime.Name = "BuyDateTime"; - this.BuyDateTime.Visible = true; - this.BuyDateTime.VisibleIndex = 3; + BuyDateTime.Caption = "검출 된 시간"; + BuyDateTime.FieldName = "BuyDateTime"; + BuyDateTime.Name = "BuyDateTime"; + BuyDateTime.Visible = true; + BuyDateTime.VisibleIndex = 3; // // tl_Result // - this.tl_Result.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.Market, - this.BuyValueData, - this.BuyCountData, - this.BuyDateTimeData, - this.SellValueData, - this.SellCountData, - this.SellDateTimeData, - this.RateData, - this.MoneyData}); - this.tl_Result.Cursor = System.Windows.Forms.Cursors.Default; - this.tl_Result.Dock = System.Windows.Forms.DockStyle.Fill; - this.tl_Result.Location = new System.Drawing.Point(0, 0); - this.tl_Result.Name = "tl_Result"; - this.tl_Result.OptionsBehavior.Editable = false; - this.tl_Result.OptionsView.ShowIndicator = false; - this.tl_Result.Size = new System.Drawing.Size(1216, 349); - this.tl_Result.TabIndex = 12; + tl_Result.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { Market, BuyValueData, BuyCountData, BuyDateTimeData, SellValueData, SellCountData, SellDateTimeData, RateData, MoneyData }); + tl_Result.Dock = System.Windows.Forms.DockStyle.Fill; + tl_Result.Location = new System.Drawing.Point(0, 0); + tl_Result.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tl_Result.Name = "tl_Result"; + tl_Result.OptionsBehavior.Editable = false; + tl_Result.OptionsView.ShowIndicator = false; + tl_Result.Size = new System.Drawing.Size(1216, 439); + tl_Result.TabIndex = 12; // // Market // - this.Market.Caption = "항목"; - this.Market.FieldName = "Market"; - this.Market.Name = "Market"; - this.Market.Visible = true; - this.Market.VisibleIndex = 0; + Market.Caption = "항목"; + Market.FieldName = "Market"; + Market.Name = "Market"; + Market.Visible = true; + Market.VisibleIndex = 0; // // BuyValueData // - this.BuyValueData.Caption = "구매 가격"; - this.BuyValueData.FieldName = "BuyValueData"; - this.BuyValueData.Name = "BuyValueData"; - this.BuyValueData.Visible = true; - this.BuyValueData.VisibleIndex = 1; + BuyValueData.Caption = "구매 가격"; + BuyValueData.FieldName = "BuyValueData"; + BuyValueData.Name = "BuyValueData"; + BuyValueData.Visible = true; + BuyValueData.VisibleIndex = 1; // // BuyCountData // - this.BuyCountData.Caption = "구매 개수"; - this.BuyCountData.FieldName = "BuyCountData"; - this.BuyCountData.Name = "BuyCountData"; - this.BuyCountData.Visible = true; - this.BuyCountData.VisibleIndex = 2; + BuyCountData.Caption = "구매 개수"; + BuyCountData.FieldName = "BuyCountData"; + BuyCountData.Name = "BuyCountData"; + BuyCountData.Visible = true; + BuyCountData.VisibleIndex = 2; // // BuyDateTimeData // - this.BuyDateTimeData.Caption = "구매 시간"; - this.BuyDateTimeData.FieldName = "BuyDateTimeData"; - this.BuyDateTimeData.Name = "BuyDateTimeData"; - this.BuyDateTimeData.Visible = true; - this.BuyDateTimeData.VisibleIndex = 3; + BuyDateTimeData.Caption = "구매 시간"; + BuyDateTimeData.FieldName = "BuyDateTimeData"; + BuyDateTimeData.Name = "BuyDateTimeData"; + BuyDateTimeData.Visible = true; + BuyDateTimeData.VisibleIndex = 3; // // SellValueData // - this.SellValueData.Caption = "판매 가격"; - this.SellValueData.FieldName = "SellValueData"; - this.SellValueData.Name = "SellValueData"; - this.SellValueData.Visible = true; - this.SellValueData.VisibleIndex = 4; + SellValueData.Caption = "판매 가격"; + SellValueData.FieldName = "SellValueData"; + SellValueData.Name = "SellValueData"; + SellValueData.Visible = true; + SellValueData.VisibleIndex = 4; // // SellCountData // - this.SellCountData.Caption = "판매 개수"; - this.SellCountData.FieldName = "SellCountData"; - this.SellCountData.Name = "SellCountData"; - this.SellCountData.Visible = true; - this.SellCountData.VisibleIndex = 5; + SellCountData.Caption = "판매 개수"; + SellCountData.FieldName = "SellCountData"; + SellCountData.Name = "SellCountData"; + SellCountData.Visible = true; + SellCountData.VisibleIndex = 5; // // SellDateTimeData // - this.SellDateTimeData.Caption = "판매 시간"; - this.SellDateTimeData.FieldName = "SellDateTimeData"; - this.SellDateTimeData.Name = "SellDateTimeData"; - this.SellDateTimeData.Visible = true; - this.SellDateTimeData.VisibleIndex = 6; + SellDateTimeData.Caption = "판매 시간"; + SellDateTimeData.FieldName = "SellDateTimeData"; + SellDateTimeData.Name = "SellDateTimeData"; + SellDateTimeData.Visible = true; + SellDateTimeData.VisibleIndex = 6; // // RateData // - this.RateData.Caption = "수익률"; - this.RateData.FieldName = "RateData"; - this.RateData.Name = "RateData"; - this.RateData.Visible = true; - this.RateData.VisibleIndex = 7; + RateData.Caption = "수익률"; + RateData.FieldName = "RateData"; + RateData.Name = "RateData"; + RateData.Visible = true; + RateData.VisibleIndex = 7; // // MoneyData // - this.MoneyData.Caption = "수익금"; - this.MoneyData.FieldName = "MoneyData"; - this.MoneyData.Name = "MoneyData"; - this.MoneyData.Visible = true; - this.MoneyData.VisibleIndex = 8; + MoneyData.Caption = "수익금"; + MoneyData.FieldName = "MoneyData"; + MoneyData.Name = "MoneyData"; + MoneyData.Visible = true; + MoneyData.VisibleIndex = 8; // // bt_Save // - this.bt_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bt_Save.Location = new System.Drawing.Point(17, 751); - this.bt_Save.Name = "bt_Save"; - this.bt_Save.Size = new System.Drawing.Size(91, 23); - this.bt_Save.TabIndex = 13; - this.bt_Save.Text = "데이터 저장"; - this.bt_Save.UseVisualStyleBackColor = true; - this.bt_Save.Click += new System.EventHandler(this.bt_Save_Click); + bt_Save.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + bt_Save.Location = new System.Drawing.Point(17, 939); + bt_Save.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_Save.Name = "bt_Save"; + bt_Save.Size = new System.Drawing.Size(91, 29); + bt_Save.TabIndex = 13; + bt_Save.Text = "데이터 저장"; + bt_Save.UseVisualStyleBackColor = true; + bt_Save.Click += bt_Save_Click; // // lb_log // - this.lb_log.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); - this.lb_log.FormattingEnabled = true; - this.lb_log.HorizontalScrollbar = true; - this.lb_log.ItemHeight = 12; - this.lb_log.Location = new System.Drawing.Point(12, 546); - this.lb_log.Name = "lb_log"; - this.lb_log.ScrollAlwaysVisible = true; - this.lb_log.Size = new System.Drawing.Size(362, 196); - this.lb_log.TabIndex = 16; + lb_log.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + lb_log.FormattingEnabled = true; + lb_log.HorizontalScrollbar = true; + lb_log.ItemHeight = 15; + lb_log.Location = new System.Drawing.Point(12, 727); + lb_log.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + lb_log.Name = "lb_log"; + lb_log.ScrollAlwaysVisible = true; + lb_log.Size = new System.Drawing.Size(362, 199); + lb_log.TabIndex = 16; // // bt_alive // - this.bt_alive.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bt_alive.Location = new System.Drawing.Point(116, 751); - this.bt_alive.Name = "bt_alive"; - this.bt_alive.Size = new System.Drawing.Size(89, 23); - this.bt_alive.TabIndex = 10; - this.bt_alive.Text = "Alive Check"; - this.bt_alive.UseVisualStyleBackColor = true; - this.bt_alive.Click += new System.EventHandler(this.bt_alive_Click); + bt_alive.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + bt_alive.Location = new System.Drawing.Point(116, 939); + bt_alive.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_alive.Name = "bt_alive"; + bt_alive.Size = new System.Drawing.Size(89, 29); + bt_alive.TabIndex = 10; + bt_alive.Text = "Alive Check"; + bt_alive.UseVisualStyleBackColor = true; + bt_alive.Click += bt_alive_Click; // // groupBox3 // - this.groupBox3.Controls.Add(this.cb_AccountList); - this.groupBox3.Controls.Add(this.cb_UserList); - this.groupBox3.Controls.Add(this.label12); - this.groupBox3.Controls.Add(this.label11); - this.groupBox3.Controls.Add(this.rd_buyer); - this.groupBox3.Controls.Add(this.rd_Realtime); - this.groupBox3.Location = new System.Drawing.Point(12, 9); - this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(362, 134); - this.groupBox3.TabIndex = 10; - this.groupBox3.TabStop = false; - this.groupBox3.Text = "계정 및 모드 선택"; + groupBox3.Controls.Add(cb_AccountList); + groupBox3.Controls.Add(cb_UserList); + groupBox3.Controls.Add(label12); + groupBox3.Controls.Add(label11); + groupBox3.Controls.Add(rd_buyer); + groupBox3.Controls.Add(rd_Realtime); + groupBox3.Location = new System.Drawing.Point(12, 11); + groupBox3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox3.Name = "groupBox3"; + groupBox3.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox3.Size = new System.Drawing.Size(362, 168); + groupBox3.TabIndex = 10; + groupBox3.TabStop = false; + groupBox3.Text = "계정 및 모드 선택"; // // cb_AccountList // - this.cb_AccountList.FormattingEnabled = true; - this.cb_AccountList.Location = new System.Drawing.Point(64, 49); - this.cb_AccountList.Name = "cb_AccountList"; - this.cb_AccountList.Size = new System.Drawing.Size(292, 20); - this.cb_AccountList.TabIndex = 14; - this.cb_AccountList.SelectedIndexChanged += new System.EventHandler(this.cb_AccountList_SelectedIndexChanged); + cb_AccountList.FormattingEnabled = true; + cb_AccountList.Location = new System.Drawing.Point(64, 61); + cb_AccountList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_AccountList.Name = "cb_AccountList"; + cb_AccountList.Size = new System.Drawing.Size(292, 23); + cb_AccountList.TabIndex = 14; + cb_AccountList.SelectedIndexChanged += cb_AccountList_SelectedIndexChanged; // // cb_UserList // - this.cb_UserList.FormattingEnabled = true; - this.cb_UserList.Location = new System.Drawing.Point(64, 21); - this.cb_UserList.Name = "cb_UserList"; - this.cb_UserList.Size = new System.Drawing.Size(292, 20); - this.cb_UserList.TabIndex = 13; - this.cb_UserList.SelectedIndexChanged += new System.EventHandler(this.cb_UserList_SelectedIndexChanged); + cb_UserList.FormattingEnabled = true; + cb_UserList.Location = new System.Drawing.Point(64, 26); + cb_UserList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_UserList.Name = "cb_UserList"; + cb_UserList.Size = new System.Drawing.Size(292, 23); + cb_UserList.TabIndex = 13; + cb_UserList.SelectedIndexChanged += cb_UserList_SelectedIndexChanged; // // label12 // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(6, 52); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(51, 12); - this.label12.TabIndex = 12; - this.label12.Text = "Account"; + label12.AutoSize = true; + label12.Location = new System.Drawing.Point(6, 65); + label12.Name = "label12"; + label12.Size = new System.Drawing.Size(52, 15); + label12.TabIndex = 12; + label12.Text = "Account"; // // label11 // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(6, 24); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(41, 12); - this.label11.TabIndex = 11; - this.label11.Text = "사용자"; + label11.AutoSize = true; + label11.Location = new System.Drawing.Point(6, 30); + label11.Name = "label11"; + label11.Size = new System.Drawing.Size(43, 15); + label11.TabIndex = 11; + label11.Text = "사용자"; // // tl_RealtimeOrder // - this.tl_RealtimeOrder.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { - this.Uuid, - this.CoinFullName, - this.Side, - this.OrderPrice, - this.State, - this.Volume, - this.ExecutedVolume, - this.CreateOrderTime}); - this.tl_RealtimeOrder.Cursor = System.Windows.Forms.Cursors.Default; - this.tl_RealtimeOrder.Dock = System.Windows.Forms.DockStyle.Fill; - this.tl_RealtimeOrder.Location = new System.Drawing.Point(0, 0); - this.tl_RealtimeOrder.Name = "tl_RealtimeOrder"; - this.tl_RealtimeOrder.OptionsBehavior.Editable = false; - this.tl_RealtimeOrder.OptionsView.ShowIndicator = false; - this.tl_RealtimeOrder.Size = new System.Drawing.Size(764, 373); - this.tl_RealtimeOrder.TabIndex = 17; + tl_RealtimeOrder.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { Uuid, CoinFullName, Side, OrderPrice, State, Volume, ExecutedVolume, CreateOrderTime }); + tl_RealtimeOrder.Dock = System.Windows.Forms.DockStyle.Fill; + tl_RealtimeOrder.Location = new System.Drawing.Point(0, 0); + tl_RealtimeOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tl_RealtimeOrder.Name = "tl_RealtimeOrder"; + tl_RealtimeOrder.OptionsBehavior.Editable = false; + tl_RealtimeOrder.OptionsView.ShowIndicator = false; + tl_RealtimeOrder.Size = new System.Drawing.Size(764, 466); + tl_RealtimeOrder.TabIndex = 17; // // Uuid // - this.Uuid.Caption = "UUID"; - this.Uuid.FieldName = "Uuid"; - this.Uuid.Name = "Uuid"; - this.Uuid.Visible = true; - this.Uuid.VisibleIndex = 0; + Uuid.Caption = "UUID"; + Uuid.FieldName = "Uuid"; + Uuid.Name = "Uuid"; + Uuid.Visible = true; + Uuid.VisibleIndex = 0; // // CoinFullName // - this.CoinFullName.Caption = "Coin Name"; - this.CoinFullName.FieldName = "CoinFullName"; - this.CoinFullName.Name = "CoinFullName"; - this.CoinFullName.Visible = true; - this.CoinFullName.VisibleIndex = 1; + CoinFullName.Caption = "Coin Name"; + CoinFullName.FieldName = "CoinFullName"; + CoinFullName.Name = "CoinFullName"; + CoinFullName.Visible = true; + CoinFullName.VisibleIndex = 1; // // Side // - this.Side.Caption = "주문종류"; - this.Side.FieldName = "Side"; - this.Side.Name = "Side"; - this.Side.Visible = true; - this.Side.VisibleIndex = 2; + Side.Caption = "주문종류"; + Side.FieldName = "Side"; + Side.Name = "Side"; + Side.Visible = true; + Side.VisibleIndex = 2; // // OrderPrice // - this.OrderPrice.Caption = "주문가격"; - this.OrderPrice.FieldName = "OrderPrice"; - this.OrderPrice.Name = "OrderPrice"; - this.OrderPrice.Visible = true; - this.OrderPrice.VisibleIndex = 3; + OrderPrice.Caption = "주문가격"; + OrderPrice.FieldName = "OrderPrice"; + OrderPrice.Name = "OrderPrice"; + OrderPrice.Visible = true; + OrderPrice.VisibleIndex = 3; // // State // - this.State.Caption = "주문상태"; - this.State.FieldName = "State"; - this.State.Name = "State"; - this.State.Visible = true; - this.State.VisibleIndex = 4; + State.Caption = "주문상태"; + State.FieldName = "State"; + State.Name = "State"; + State.Visible = true; + State.VisibleIndex = 4; // // Volume // - this.Volume.Caption = "총 주문양"; - this.Volume.FieldName = "Volume"; - this.Volume.Name = "Volume"; - this.Volume.Visible = true; - this.Volume.VisibleIndex = 5; + Volume.Caption = "총 주문양"; + Volume.FieldName = "Volume"; + Volume.Name = "Volume"; + Volume.Visible = true; + Volume.VisibleIndex = 5; // // ExecutedVolume // - this.ExecutedVolume.Caption = "체결된 주문양"; - this.ExecutedVolume.FieldName = "ExecutedVolume"; - this.ExecutedVolume.Name = "ExecutedVolume"; - this.ExecutedVolume.Visible = true; - this.ExecutedVolume.VisibleIndex = 6; + ExecutedVolume.Caption = "체결된 주문양"; + ExecutedVolume.FieldName = "ExecutedVolume"; + ExecutedVolume.Name = "ExecutedVolume"; + ExecutedVolume.Visible = true; + ExecutedVolume.VisibleIndex = 6; // // CreateOrderTime // - this.CreateOrderTime.Caption = "주문 생성 시간"; - this.CreateOrderTime.FieldName = "CreateOrderTime"; - this.CreateOrderTime.Name = "CreateOrderTime"; - this.CreateOrderTime.Visible = true; - this.CreateOrderTime.VisibleIndex = 7; + CreateOrderTime.Caption = "주문 생성 시간"; + CreateOrderTime.FieldName = "CreateOrderTime"; + CreateOrderTime.Name = "CreateOrderTime"; + CreateOrderTime.Visible = true; + CreateOrderTime.VisibleIndex = 7; // // bt_BuyStop // - this.bt_BuyStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bt_BuyStop.Location = new System.Drawing.Point(211, 751); - this.bt_BuyStop.Name = "bt_BuyStop"; - this.bt_BuyStop.Size = new System.Drawing.Size(76, 23); - this.bt_BuyStop.TabIndex = 19; - this.bt_BuyStop.Text = "매수 Stop"; - this.bt_BuyStop.UseVisualStyleBackColor = true; - this.bt_BuyStop.Click += new System.EventHandler(this.bt_BuyStop_Click); + bt_BuyStop.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + bt_BuyStop.Location = new System.Drawing.Point(211, 939); + bt_BuyStop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_BuyStop.Name = "bt_BuyStop"; + bt_BuyStop.Size = new System.Drawing.Size(76, 29); + bt_BuyStop.TabIndex = 19; + bt_BuyStop.Text = "매수 Stop"; + bt_BuyStop.UseVisualStyleBackColor = true; + bt_BuyStop.Click += bt_BuyStop_Click; // // bt_BuyStart // - this.bt_BuyStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bt_BuyStart.Location = new System.Drawing.Point(293, 751); - this.bt_BuyStart.Name = "bt_BuyStart"; - this.bt_BuyStart.Size = new System.Drawing.Size(81, 23); - this.bt_BuyStart.TabIndex = 20; - this.bt_BuyStart.Text = "매수 Start"; - this.bt_BuyStart.UseVisualStyleBackColor = true; - this.bt_BuyStart.Click += new System.EventHandler(this.bt_BuyStart_Click); + bt_BuyStart.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + bt_BuyStart.Location = new System.Drawing.Point(293, 939); + bt_BuyStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_BuyStart.Name = "bt_BuyStart"; + bt_BuyStart.Size = new System.Drawing.Size(81, 29); + bt_BuyStart.TabIndex = 20; + bt_BuyStart.Text = "매수 Start"; + bt_BuyStart.UseVisualStyleBackColor = true; + bt_BuyStart.Click += bt_BuyStart_Click; // // lb_BuyFlag // - this.lb_BuyFlag.AutoSize = true; - this.lb_BuyFlag.Location = new System.Drawing.Point(380, 742); - this.lb_BuyFlag.Name = "lb_BuyFlag"; - this.lb_BuyFlag.Size = new System.Drawing.Size(0, 12); - this.lb_BuyFlag.TabIndex = 21; + lb_BuyFlag.AutoSize = true; + lb_BuyFlag.Location = new System.Drawing.Point(380, 928); + lb_BuyFlag.Name = "lb_BuyFlag"; + lb_BuyFlag.Size = new System.Drawing.Size(0, 15); + lb_BuyFlag.TabIndex = 21; // // timer1 // - this.timer1.Enabled = true; - this.timer1.Interval = 60000; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + timer1.Enabled = true; + timer1.Interval = 60000; + timer1.Tick += timer1_Tick; // // splitContainerControl1 // - this.splitContainerControl1.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.splitContainerControl1.Horizontal = false; - this.splitContainerControl1.Location = new System.Drawing.Point(382, 12); - this.splitContainerControl1.Name = "splitContainerControl1"; - this.splitContainerControl1.Panel1.Controls.Add(this.splitContainerControl2); - this.splitContainerControl1.Panel1.Text = "Panel1"; - this.splitContainerControl1.Panel2.Controls.Add(this.tl_Result); - this.splitContainerControl1.Panel2.Text = "Panel2"; - this.splitContainerControl1.Size = new System.Drawing.Size(1216, 732); - this.splitContainerControl1.SplitterPosition = 373; - this.splitContainerControl1.TabIndex = 22; + splitContainerControl1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + splitContainerControl1.Horizontal = false; + splitContainerControl1.Location = new System.Drawing.Point(382, 15); + splitContainerControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + splitContainerControl1.Name = "splitContainerControl1"; + // + // splitContainerControl1.Panel1 + // + splitContainerControl1.Panel1.Controls.Add(splitContainerControl2); + splitContainerControl1.Panel1.Text = "Panel1"; + // + // splitContainerControl1.Panel2 + // + splitContainerControl1.Panel2.Controls.Add(tl_Result); + splitContainerControl1.Panel2.Text = "Panel2"; + splitContainerControl1.Size = new System.Drawing.Size(1216, 915); + splitContainerControl1.SplitterPosition = 466; + splitContainerControl1.TabIndex = 22; // // splitContainerControl2 // - this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainerControl2.Location = new System.Drawing.Point(0, 0); - this.splitContainerControl2.Name = "splitContainerControl2"; - this.splitContainerControl2.Panel1.Controls.Add(this.tl_BuyList); - this.splitContainerControl2.Panel1.Text = "Panel1"; - this.splitContainerControl2.Panel2.Controls.Add(this.tl_RealtimeOrder); - this.splitContainerControl2.Panel2.Text = "Panel2"; - this.splitContainerControl2.Size = new System.Drawing.Size(1216, 373); - this.splitContainerControl2.SplitterPosition = 442; - this.splitContainerControl2.TabIndex = 23; + splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; + splitContainerControl2.Location = new System.Drawing.Point(0, 0); + splitContainerControl2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + splitContainerControl2.Name = "splitContainerControl2"; + // + // splitContainerControl2.Panel1 + // + splitContainerControl2.Panel1.Controls.Add(tl_BuyList); + splitContainerControl2.Panel1.Text = "Panel1"; + // + // splitContainerControl2.Panel2 + // + splitContainerControl2.Panel2.Controls.Add(tl_RealtimeOrder); + splitContainerControl2.Panel2.Text = "Panel2"; + splitContainerControl2.Size = new System.Drawing.Size(1216, 466); + splitContainerControl2.SplitterPosition = 442; + splitContainerControl2.TabIndex = 23; // // bt_AllSell // - this.bt_AllSell.Location = new System.Drawing.Point(380, 751); - this.bt_AllSell.Name = "bt_AllSell"; - this.bt_AllSell.Size = new System.Drawing.Size(75, 23); - this.bt_AllSell.TabIndex = 23; - this.bt_AllSell.Text = "모두팔기"; - this.bt_AllSell.UseVisualStyleBackColor = true; - this.bt_AllSell.Click += new System.EventHandler(this.bt_AllSell_Click); + bt_AllSell.Location = new System.Drawing.Point(380, 939); + bt_AllSell.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + bt_AllSell.Name = "bt_AllSell"; + bt_AllSell.Size = new System.Drawing.Size(75, 29); + bt_AllSell.TabIndex = 23; + bt_AllSell.Text = "모두팔기"; + bt_AllSell.UseVisualStyleBackColor = true; + bt_AllSell.Click += bt_AllSell_Click; // // groupBox4 // - this.groupBox4.Controls.Add(this.tb_BigMoneyVolCnt); - this.groupBox4.Controls.Add(this.cb_BuyBigthanHighType); - this.groupBox4.Controls.Add(this.cb_BigMoneyVolType); - this.groupBox4.Controls.Add(this.ck_BigMoneyVol); - this.groupBox4.Controls.Add(this.ck_BuyBigthanHighVal); - this.groupBox4.Location = new System.Drawing.Point(12, 468); - this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(362, 72); - this.groupBox4.TabIndex = 10; - this.groupBox4.TabStop = false; - this.groupBox4.Text = "필터"; - this.groupBox4.Enter += new System.EventHandler(this.groupBox4_Enter); + groupBox4.Controls.Add(tb_TopVolCnt); + groupBox4.Controls.Add(cb_TopVol); + groupBox4.Controls.Add(tb_BigMoneyVolCnt); + groupBox4.Controls.Add(cb_BuyBigthanHighType); + groupBox4.Controls.Add(cb_BigMoneyVolType); + groupBox4.Controls.Add(ck_BigMoneyVol); + groupBox4.Controls.Add(ck_BuyBigthanHighVal); + groupBox4.Location = new System.Drawing.Point(12, 585); + groupBox4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox4.Name = "groupBox4"; + groupBox4.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); + groupBox4.Size = new System.Drawing.Size(362, 134); + groupBox4.TabIndex = 10; + groupBox4.TabStop = false; + groupBox4.Text = "필터"; + groupBox4.Enter += groupBox4_Enter; // // tb_BigMoneyVolCnt // - this.tb_BigMoneyVolCnt.Location = new System.Drawing.Point(239, 40); - this.tb_BigMoneyVolCnt.Name = "tb_BigMoneyVolCnt"; - this.tb_BigMoneyVolCnt.Size = new System.Drawing.Size(105, 21); - this.tb_BigMoneyVolCnt.TabIndex = 19; + tb_BigMoneyVolCnt.Location = new System.Drawing.Point(239, 50); + tb_BigMoneyVolCnt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tb_BigMoneyVolCnt.Name = "tb_BigMoneyVolCnt"; + tb_BigMoneyVolCnt.Size = new System.Drawing.Size(105, 23); + tb_BigMoneyVolCnt.TabIndex = 19; // // cb_BuyBigthanHighType // - this.cb_BuyBigthanHighType.Location = new System.Drawing.Point(10, 37); - this.cb_BuyBigthanHighType.Name = "cb_BuyBigthanHighType"; - this.cb_BuyBigthanHighType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.cb_BuyBigthanHighType.Size = new System.Drawing.Size(85, 20); - this.cb_BuyBigthanHighType.TabIndex = 22; + cb_BuyBigthanHighType.Location = new System.Drawing.Point(10, 46); + cb_BuyBigthanHighType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_BuyBigthanHighType.Name = "cb_BuyBigthanHighType"; + cb_BuyBigthanHighType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + cb_BuyBigthanHighType.Size = new System.Drawing.Size(85, 20); + cb_BuyBigthanHighType.TabIndex = 22; // // cb_BigMoneyVolType // - this.cb_BigMoneyVolType.Location = new System.Drawing.Point(148, 39); - this.cb_BigMoneyVolType.Name = "cb_BigMoneyVolType"; - this.cb_BigMoneyVolType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.cb_BigMoneyVolType.Size = new System.Drawing.Size(85, 20); - this.cb_BigMoneyVolType.TabIndex = 18; + cb_BigMoneyVolType.Location = new System.Drawing.Point(148, 49); + cb_BigMoneyVolType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_BigMoneyVolType.Name = "cb_BigMoneyVolType"; + cb_BigMoneyVolType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + cb_BigMoneyVolType.Size = new System.Drawing.Size(85, 20); + cb_BigMoneyVolType.TabIndex = 18; // // ck_BigMoneyVol // - this.ck_BigMoneyVol.AutoSize = true; - this.ck_BigMoneyVol.Location = new System.Drawing.Point(148, 20); - this.ck_BigMoneyVol.Name = "ck_BigMoneyVol"; - this.ck_BigMoneyVol.Size = new System.Drawing.Size(132, 16); - this.ck_BigMoneyVol.TabIndex = 21; - this.ck_BigMoneyVol.Text = "거래량 가장 많을 떄"; - this.ck_BigMoneyVol.UseVisualStyleBackColor = true; + ck_BigMoneyVol.AutoSize = true; + ck_BigMoneyVol.Location = new System.Drawing.Point(148, 25); + ck_BigMoneyVol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + ck_BigMoneyVol.Name = "ck_BigMoneyVol"; + ck_BigMoneyVol.Size = new System.Drawing.Size(134, 19); + ck_BigMoneyVol.TabIndex = 21; + ck_BigMoneyVol.Text = "거래량 가장 많을 떄"; + ck_BigMoneyVol.UseVisualStyleBackColor = true; // // ck_BuyBigthanHighVal // - this.ck_BuyBigthanHighVal.AutoSize = true; - this.ck_BuyBigthanHighVal.Location = new System.Drawing.Point(10, 20); - this.ck_BuyBigthanHighVal.Name = "ck_BuyBigthanHighVal"; - this.ck_BuyBigthanHighVal.Size = new System.Drawing.Size(102, 16); - this.ck_BuyBigthanHighVal.TabIndex = 20; - this.ck_BuyBigthanHighVal.Text = "Buy가격>고가"; - this.ck_BuyBigthanHighVal.UseVisualStyleBackColor = true; + ck_BuyBigthanHighVal.AutoSize = true; + ck_BuyBigthanHighVal.Location = new System.Drawing.Point(10, 25); + ck_BuyBigthanHighVal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + ck_BuyBigthanHighVal.Name = "ck_BuyBigthanHighVal"; + ck_BuyBigthanHighVal.Size = new System.Drawing.Size(102, 19); + ck_BuyBigthanHighVal.TabIndex = 20; + ck_BuyBigthanHighVal.Text = "Buy가격>고가"; + ck_BuyBigthanHighVal.UseVisualStyleBackColor = true; + // + // cb_TopVol + // + cb_TopVol.AutoSize = true; + cb_TopVol.Location = new System.Drawing.Point(10, 89); + cb_TopVol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + cb_TopVol.Name = "cb_TopVol"; + cb_TopVol.Size = new System.Drawing.Size(126, 19); + cb_TopVol.TabIndex = 23; + cb_TopVol.Text = "수거래량 Top 개수"; + cb_TopVol.UseVisualStyleBackColor = true; + // + // tb_TopVolCnt + // + tb_TopVolCnt.Location = new System.Drawing.Point(142, 87); + tb_TopVolCnt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + tb_TopVolCnt.Name = "tb_TopVolCnt"; + tb_TopVolCnt.Size = new System.Drawing.Size(105, 23); + tb_TopVolCnt.TabIndex = 24; // // MainForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1610, 783); - this.Controls.Add(this.groupBox4); - this.Controls.Add(this.bt_AllSell); - this.Controls.Add(this.splitContainerControl1); - this.Controls.Add(this.lb_BuyFlag); - this.Controls.Add(this.bt_BuyStart); - this.Controls.Add(this.bt_BuyStop); - this.Controls.Add(this.groupBox3); - this.Controls.Add(this.bt_alive); - this.Controls.Add(this.lb_log); - this.Controls.Add(this.bt_Save); - this.Controls.Add(this.bt_Stop); - this.Controls.Add(this.bt_Start); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.groupBox2); - this.Name = "MainForm"; - this.Text = "Buyer"; - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.tl_BuyList)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.tl_Result)).EndInit(); - this.groupBox3.ResumeLayout(false); - this.groupBox3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.tl_RealtimeOrder)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); - this.splitContainerControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit(); - this.splitContainerControl2.ResumeLayout(false); - this.groupBox4.ResumeLayout(false); - this.groupBox4.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.cb_BuyBigthanHighType.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.cb_BigMoneyVolType.Properties)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(1610, 979); + Controls.Add(groupBox4); + Controls.Add(bt_AllSell); + Controls.Add(splitContainerControl1); + Controls.Add(lb_BuyFlag); + Controls.Add(bt_BuyStart); + Controls.Add(bt_BuyStop); + Controls.Add(groupBox3); + Controls.Add(bt_alive); + Controls.Add(lb_log); + Controls.Add(bt_Save); + Controls.Add(bt_Stop); + Controls.Add(bt_Start); + Controls.Add(groupBox1); + Controls.Add(groupBox2); + Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + Name = "MainForm"; + Text = "Buyer"; + groupBox1.ResumeLayout(false); + groupBox1.PerformLayout(); + groupBox2.ResumeLayout(false); + groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)tl_BuyList).EndInit(); + ((System.ComponentModel.ISupportInitialize)tl_Result).EndInit(); + groupBox3.ResumeLayout(false); + groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)tl_RealtimeOrder).EndInit(); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1.Panel1).EndInit(); + splitContainerControl1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1.Panel2).EndInit(); + splitContainerControl1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)splitContainerControl1).EndInit(); + splitContainerControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2.Panel1).EndInit(); + splitContainerControl2.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2.Panel2).EndInit(); + splitContainerControl2.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)splitContainerControl2).EndInit(); + splitContainerControl2.ResumeLayout(false); + groupBox4.ResumeLayout(false); + groupBox4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)cb_BuyBigthanHighType.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)cb_BigMoneyVolType.Properties).EndInit(); + ResumeLayout(false); + PerformLayout(); } #endregion @@ -908,6 +967,8 @@ private DevExpress.XtraEditors.ComboBoxEdit cb_BigMoneyVolType; private System.Windows.Forms.CheckBox ck_BigMoneyVol; private System.Windows.Forms.CheckBox ck_BuyBigthanHighVal; + private System.Windows.Forms.CheckBox cb_TopVol; + private System.Windows.Forms.TextBox tb_TopVolCnt; } } diff --git a/Million Buyer/MainForm.cs b/Million Buyer/MainForm.cs index 6177c1b..5a9965a 100644 --- a/Million Buyer/MainForm.cs +++ b/Million Buyer/MainForm.cs @@ -56,6 +56,9 @@ namespace Million_Buyer private bool buyFlag = true; private bool allSell = false; + private bool TopVolFlag = false; + private int TopVolCnt = 0; + private bool BuyBigthanHighValFlag = false; private MCandleTimeType BuyBigthanHighValType; private int BigMoneyVolCnt = 0; @@ -163,8 +166,11 @@ namespace Million_Buyer int.TryParse(tb_CycleCount.Text, out cycleCount); double.TryParse(tb_CycleMoneyValue.Text, out cycleBuyMoney); - int.TryParse(tb_BigMoneyVolCnt.Text, out BigMoneyVolCnt); + int.TryParse(tb_TopVolCnt.Text, out TopVolCnt); + + TopVolFlag = cb_TopVol.Checked; + BigMoneyVolFlag = ck_BigMoneyVol.Checked; if(BigMoneyVolFlag) BigMoneyVolType = (MCandleTimeType)Enum.Parse(typeof(MCandleTimeType), cb_BigMoneyVolType.Text.ToString()); @@ -212,6 +218,10 @@ namespace Million_Buyer rd_Realtime.Enabled = false; cb_StarValueLowOverlapUp.Enabled = false; + cb_TopVol.Enabled = false; + tb_TopVolCnt.Enabled = false; + + ck_BigMoneyVol.Enabled = false; ck_BuyBigthanHighVal.Enabled = false; cb_BigMoneyVolType.Enabled = false; @@ -250,7 +260,9 @@ namespace Million_Buyer cb_BigMoneyVolType.Enabled = true; cb_BuyBigthanHighType.Enabled = true; tb_BigMoneyVolCnt.Enabled = true; - + cb_TopVol.Enabled = true; + tb_TopVolCnt.Enabled = true; + } /// @@ -384,6 +396,7 @@ namespace Million_Buyer sw.Start(); #endregion + while (ThreadFlag) { try @@ -395,7 +408,6 @@ namespace Million_Buyer InsertLog("Alive"); } - #region 기본 데이터 Setting if (firstFlag) { @@ -437,7 +449,7 @@ namespace Million_Buyer #endregion firstFlag = false; - + sw.Stop(); InsertLog("Deafult Data Setting 완료..\\r\n" + "Default 계산 시간 : " + sw.Elapsed.ToString()); LogManager.WriteLog("Default 계산 시간 : " + sw.Elapsed.ToString()); @@ -459,9 +471,21 @@ namespace Million_Buyer } #endregion + var nameList = realTimeMsg.coinFullNameList; + var filterNameList = new List(); + if (TopVolFlag) + { + var tickerList = UpbitApi.GetTickerList(realTimeMsg.coinFullNameList).OrderByDescending(t => t.AccumulateTradeVolume).ToList(); + if (tickerList.Count > TopVolCnt) + { + tickerList.RemoveRange(TopVolCnt, tickerList.Count - TopVolCnt); + filterNameList = tickerList.Select(t => t.CoinFullName).ToList(); + } + } + if (buyList.Count == 0) allSell = false; - foreach (var item in realTimeMsg.coinFullNameList) + foreach (var item in nameList) { #region Indicator 계산 -> Code full name 으로 for문 돌면서 계산 처리 sw.Restart(); @@ -591,6 +615,16 @@ namespace Million_Buyer continue; } } + + if (TopVolFlag) + { + if(!filterNameList.Any(t=> t== item)) + { + overlapBuyManagementList[item] = false; + continue; + } + } + #endregion InsertLog("Insert Buy Logic"); if (programMode == BuyerMode.Buyer) diff --git a/Million Buyer/MainForm.resx b/Million Buyer/MainForm.resx index 3fdede5..ae72eea 100644 --- a/Million Buyer/MainForm.resx +++ b/Million Buyer/MainForm.resx @@ -1,17 +1,17 @@  -