sell point 입력 시 로그 입력되도록
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user