diff --git a/Binance.TradeRobot.Business/Business/TradeBusiness/D21TradeBusiness.cs b/Binance.TradeRobot.Business/Business/TradeBusiness/D21TradeBusiness.cs index 76773fc..734c5bb 100644 --- a/Binance.TradeRobot.Business/Business/TradeBusiness/D21TradeBusiness.cs +++ b/Binance.TradeRobot.Business/Business/TradeBusiness/D21TradeBusiness.cs @@ -49,5 +49,19 @@ namespace Binance.TradeRobot.Business logManager.GetLogger(robot.ExecuteLogKey).Error(ex, stringBuilder.ToString()); } } + + public void LongCross(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy) + where T : BaseSingalRequest + where T1 : RobotResponse + { + throw new NotImplementedException(); + } + + public void ShortCross(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy) + where T : BaseSingalRequest + where T1 : RobotResponse + { + throw new NotImplementedException(); + } } } diff --git a/Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs b/Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs index 9a38acd..f253f75 100644 --- a/Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs +++ b/Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs @@ -8,5 +8,9 @@ namespace Binance.TradeRobot.Business Enums.TradePolicy TradePolicy { get; } void TrendChanged(T singalRequest, T1 robot) where T : BaseSingalRequest where T1 : RobotResponse; + + void LongCross(T singalRequest, T1 robot, decimal newestPrice,bool isRemedy) where T : BaseSingalRequest where T1 : RobotResponse; + + void ShortCross(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy) where T : BaseSingalRequest where T1 : RobotResponse; } }