From 6c0f72967d0487e678c21e320ef29570b5f991a6 Mon Sep 17 00:00:00 2001 From: kyh <1329522@naver.com> Date: Wed, 16 Nov 2022 10:47:56 +0900 Subject: [PATCH] =?UTF-8?q?sell=20point=20=EC=9E=85=EB=A0=A5=20=EC=8B=9C?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=20=EC=9E=85=EB=A0=A5=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Million Buyer/MainForm.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Million Buyer/MainForm.cs b/Million Buyer/MainForm.cs index 12e9919..e51c6ca 100644 --- a/Million Buyer/MainForm.cs +++ b/Million Buyer/MainForm.cs @@ -571,6 +571,8 @@ namespace Million_Buyer // buycount 에서 sell count를 제외한 양이 미체결 량 if (!RealTimeMode) { + LogManager.WriteLog("Sell Point 진입 : " + item, item); + InsertLog("Sell Point 진입 : " + item); recentlyData.BuyCount = Math.Round(cycleBuyMoney / recentlyData.BuyValue, 8); result.SellCount = OrderSell(buyItem.ConGoodsData.CoinFullName, buyItem.Uuid, sellVal); buyCycleCount--; @@ -827,8 +829,7 @@ namespace Million_Buyer OrderCancel(coinFullName, uuid); var orderData = CommonProperty.UpbitApi.GetOrderInformation(uuid); - - // 못삿을 경우 + if (orderData.ExecutedVolume != 0) { var returnData = CommonProperty.UpbitApi.TryOrder(coinFullName, side, orderData.ExecutedVolume, price, InsertLog, ordType);