diff --git a/Million/Manager/DataManager.cs b/Million/Manager/DataManager.cs index c2ecd2b..e960102 100644 --- a/Million/Manager/DataManager.cs +++ b/Million/Manager/DataManager.cs @@ -247,7 +247,7 @@ namespace Million.Manager tempDateTime = tempDateTime.AddHours(((int)CommonProperty.ExchangeTime.UpbitorBithumb * -1)); var hour = tempDateTime.Hour / timeFlagValue * timeFlagValue; - var dateTime = new DateTime(firstData.DateTime.Year, firstData.DateTime.Month, firstData.DateTime.Day, hour, 0, 0); + var dateTime = new DateTime(tempDateTime.Year, tempDateTime.Month, tempDateTime.Day, hour, 0, 0); dateTime = dateTime.AddHours((int)CommonProperty.ExchangeTime.UpbitorBithumb); return new CandleData() @@ -334,11 +334,7 @@ namespace Million.Manager } if (!(recentlyData.DateTime < item.DateTime && item.DateTime < coverTime)) - { - if(mCandleTimeType == MCandleTimeType.H1) - { - - } + { returnData.Add(CreateCandleData(item, timeFlagValue, timeFlag)); continue; }