sell point 입력 시 로그 입력되도록

This commit is contained in:
kyh
2022-11-16 10:47:56 +09:00
parent 3ef393f24c
commit 6c0f72967d

View File

@@ -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);