add ID method to the TestStrategy

This commit is contained in:
c9s 2021-02-03 09:09:19 +08:00
parent 7904c6f4d0
commit 1a2c3556a8

View File

@ -19,6 +19,10 @@ type TestStrategy struct {
MinDropPercentage float64 `json:"minDropPercentage"`
}
func (s *TestStrategy) ID() string {
return "test"
}
func (s *TestStrategy) Run(ctx context.Context, orderExecutor OrderExecutor, session *ExchangeSession) error {
return nil
}