using Binance.TradeRobot.Model.Base;
using Binance.TradeRobot.Model.Dto;
namespace Binance.TradeRobot.Business
{
public interface ITradeBusiness
{
Enums.TradePolicy TradePolicy { get; }
///
/// 趋势变化
///
///
///
///
///
///
void TrendChanged(T singalRequest, T1 robot, SymbolInfoResponse symbolInfo) where T : BaseSingalRequest where T1 : RobotResponse;
///
/// 多交叉
///
///
///
///
///
/// 是否为补救信号
///
void LongCross(T singalRequest, T1 robot, bool isRemedy, SymbolInfoResponse symbolInfo) where T : BaseSingalRequest where T1 : RobotResponse;
///
/// 空交叉
///
///
///
///
///
/// 是否为补救信号'
///
void ShortCross(T singalRequest, T1 robot, bool isRemedy, SymbolInfoResponse symbolInfo) where T : BaseSingalRequest where T1 : RobotResponse;
}
}