mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add ID method to the TestStrategy
This commit is contained in:
parent
7904c6f4d0
commit
1a2c3556a8
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user