hunter 예외처리
This commit is contained in:
@@ -410,7 +410,7 @@ namespace Million_Buyer
|
||||
|
||||
this.BeginInvoke(new Action(delegate ()
|
||||
{
|
||||
InitManager.BuyerInit(cb_IncludeClearIndicator.Checked, overlapBuyManagementList, totalIndicatorList);
|
||||
InitManager.SettingInit(cb_IncludeClearIndicator.Checked, overlapBuyManagementList, totalIndicatorList);
|
||||
foreach (var item in buyList)
|
||||
{
|
||||
var recentlyData = item.CandleDataLists_Im[0];
|
||||
|
||||
@@ -280,6 +280,9 @@ namespace Million
|
||||
var startDate = _saveResultData.StartDateTime;
|
||||
var endDate = _saveResultData.EndDateTime;
|
||||
|
||||
InitManager.SettingInit(true, null, totalIndicator);
|
||||
|
||||
|
||||
//TODO 이전 조건보다 현재 조건이 더 높아야 한다는 조건 걸기
|
||||
var upperMainIndicatorFlag = cb_UpperMainIndi.Checked;
|
||||
|
||||
|
||||
@@ -78,17 +78,19 @@ namespace Million.Manager
|
||||
/// <param name="checkData"></param>
|
||||
/// <param name="overlapBuyManagementList"></param>
|
||||
/// <param name="totalIndicatorList"></param>
|
||||
public static void BuyerInit(bool checkData, Dictionary<string, bool> overlapBuyManagementList, List<IndicatorCoditionSetup> totalIndicatorList)
|
||||
public static void SettingInit(bool checkData, Dictionary<string, bool> overlapBuyManagementList, List<IndicatorCoditionSetup> totalIndicatorList)
|
||||
{
|
||||
var coinFullNameList = CommonProperty.selectedMarketOfPlaceList.Select(t => t.CoinFullName).ToList();
|
||||
|
||||
|
||||
foreach (var item in coinFullNameList)
|
||||
if (overlapBuyManagementList != null)
|
||||
{
|
||||
if (checkData)
|
||||
overlapBuyManagementList[item] = false;
|
||||
else
|
||||
overlapBuyManagementList[item] = true;
|
||||
foreach (var item in coinFullNameList)
|
||||
{
|
||||
if (checkData)
|
||||
overlapBuyManagementList[item] = false;
|
||||
else
|
||||
overlapBuyManagementList[item] = true;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var item in totalIndicatorList)
|
||||
|
||||
Reference in New Issue
Block a user