Created
April 11, 2022 03:30
-
-
Save c9s/dee54bec3d7575b2dfce18d6c1db2a15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ... { | |
bbgo.StrategySuspender | |
} | |
func (s *Strategy) Run() error { | |
s.StrategySuspender.OnResume(func() {. .... }) | |
s.StrategySuspender.OnSuspend(func() { ...... }) | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment