Browse Source

多交叉 空交叉信号处理

master
shanji 3 years ago
parent
commit
27939233c3
  1. 14
      Binance.TradeRobot.Business/Business/TradeBusiness/D21TradeBusiness.cs
  2. 4
      Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs

14
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, T1>(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy)
where T : BaseSingalRequest
where T1 : RobotResponse
{
throw new NotImplementedException();
}
public void ShortCross<T, T1>(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy)
where T : BaseSingalRequest
where T1 : RobotResponse
{
throw new NotImplementedException();
}
}
}

4
Binance.TradeRobot.Business/Business/TradeBusiness/ITradeBusiness.cs

@ -8,5 +8,9 @@ namespace Binance.TradeRobot.Business
Enums.TradePolicy TradePolicy { get; }
void TrendChanged<T, T1>(T singalRequest, T1 robot) where T : BaseSingalRequest where T1 : RobotResponse;
void LongCross<T, T1>(T singalRequest, T1 robot, decimal newestPrice,bool isRemedy) where T : BaseSingalRequest where T1 : RobotResponse;
void ShortCross<T, T1>(T singalRequest, T1 robot, decimal newestPrice, bool isRemedy) where T : BaseSingalRequest where T1 : RobotResponse;
}
}

Loading…
Cancel
Save