package strategy import "github.com/govalues/decimal" // todo Exit 止盈止损策略(trading service 管理) type IExitStrategy interface { Name() string // 获取策略名称,便于日志 Tick(ctx IExitStrategyContext) } type IExitStrategyContext interface { LastPrice() decimal.Decimal }