fix: drift add back symbol in InstanceID

This commit is contained in:
zenix 2022-08-16 12:50:30 +09:00
parent 14aa667d59
commit 17d6b2465c

View File

@ -120,7 +120,7 @@ func (s *Strategy) ID() string {
}
func (s *Strategy) InstanceID() string {
return fmt.Sprintf("%s:%s:%v", ID, "" /*s.Symbol*/, bbgo.IsBackTesting)
return fmt.Sprintf("%s:%s:%v", ID, s.Symbol, bbgo.IsBackTesting)
}
func (s *Strategy) Subscribe(session *bbgo.ExchangeSession) {