diff --git a/pkg/bbgo/interact.go b/pkg/bbgo/interact.go index 797cd1a15..c32c2af75 100644 --- a/pkg/bbgo/interact.go +++ b/pkg/bbgo/interact.go @@ -413,7 +413,7 @@ func getStrategySignature(strategy SingleExchangeStrategy) (string, error) { var signature = path.Base(rv.Type().PkgPath()) - id := callID(strategy) + var id = strategy.ID() if !strings.EqualFold(id, signature) { signature += "." + strings.ToLower(id)