안쓰는 로직 삭제
This commit is contained in:
@@ -126,9 +126,6 @@ namespace Million_Prototype
|
||||
|
||||
candleData.CandleDataLists_Im.ToString();
|
||||
}
|
||||
|
||||
//var datas = DataSettingManager.GetBasicDataSetting(PaymentType.KRW, MCandleTimeType.M1, 100001);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,48 +37,9 @@ namespace Million.Manager
|
||||
codeFullNameList = marketList.Select(t => t.CodeFullName).ToList();
|
||||
}
|
||||
|
||||
var tickerList = CommonProperty.UpbitApi.GetTickerList(codeFullNameList);
|
||||
var tickerList = CommonProperty.UpbitApi.GetTickerList(codeFullNameList);
|
||||
|
||||
return tickerList;
|
||||
}
|
||||
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// 기본 시작시 필요한 Data Setting
|
||||
///// </summary>
|
||||
///// <param name="buyType"></param>
|
||||
///// <param name="codeFullNameList"></param>
|
||||
///// <param name="tableName"></param>
|
||||
///// <returns></returns>
|
||||
//public static List<CandleDataList> GetBasicDataSetting(PaymentType buyType, MCandleTimeType timeType, int count = 100000, List<string> codeFullNameList = null, string tableName = "Upbit")
|
||||
//{
|
||||
// var returnData = new List<CandleDataList>();
|
||||
|
||||
// var dateTime = DateTime.Now;
|
||||
// var resultList = new List<CandleData>();
|
||||
|
||||
|
||||
// var marketList = DbServiceFunctions.GetMarketDatas(tableName, Enum.GetName(typeof(PaymentType), buyType));
|
||||
|
||||
// //null일경우 전체가 가져옴
|
||||
// if (codeFullNameList == null)
|
||||
// {
|
||||
// //Upbit로 임시
|
||||
// codeFullNameList = marketList.Select(t => t.CodeFullName).ToList();
|
||||
// }
|
||||
|
||||
// Parallel.For(0, codeFullNameList.Count, i =>
|
||||
// {
|
||||
// var val = new CandleDataList();
|
||||
// val.ConGoodsData = marketList.FirstOrDefault(t => t.CodeFullName == codeFullNameList[i]);
|
||||
// val.CandleDataLists_Im = CommonProperty.UpbitApi.GetCandleStics(codeFullNameList[i], timeType, dateTime, count);
|
||||
|
||||
// returnData.Add(val);
|
||||
// });
|
||||
|
||||
|
||||
// return returnData;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user