|
@ -74,5 +74,12 @@ namespace Binance.TradeRobot.Business |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void D21Remedy() |
|
|
|
|
|
{ |
|
|
|
|
|
var d21RobotList = robotBusiness.GetD21PolicyRobotList(robotState: Enums.RobotState.Runing, isLoadRecentTradeProfit: false, isLoadAPIKey: true); |
|
|
|
|
|
if (d21RobotList == null || d21RobotList.Count() == 0) |
|
|
|
|
|
throw new BusinessException("未找到符合条件的机器人"); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|