From adbb3644a50490e4484b961ef50ef440f853eea4 Mon Sep 17 00:00:00 2001 From: Youngho Kim <1> Date: Sun, 25 Sep 2022 12:07:58 +0900 Subject: [PATCH] =?UTF-8?q?flag=20data=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Million Buyer/MainForm.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Million Buyer/MainForm.cs b/Million Buyer/MainForm.cs index 06a8aab..2f621a5 100644 --- a/Million Buyer/MainForm.cs +++ b/Million Buyer/MainForm.cs @@ -233,6 +233,7 @@ namespace Million_Buyer { realTimeMsg.ClearTicker(); InsertLog("Ticker Data Clear.."); + saveFlag = false; } else if (DateTime.Now.Minute > 1) saveFlag = true; @@ -281,8 +282,7 @@ namespace Million_Buyer if (flag) { if (overlapBuyManagementList[item]) - { - + { //if (resultDataList.Select(t => t.MarketData).ToList().Any(t => t.CodeFullName == item)) continue; var time = DateTime.Now; var buyData = new CandleDataList(); @@ -306,8 +306,7 @@ namespace Million_Buyer {buyData.ConGoodsData.CodeFullName, recentlyData.BuyValue, recentlyData.BuyCount, time.ToString("yyyy-MM-dd HH:mm:ss") }, null); lb_BuyMarketCount.Text = buyList.Count.ToString(); - })); - + })); } } else