diff --git a/pkg/bbgo/scale.go b/pkg/bbgo/scale.go index b973319b6..821fd5882 100644 --- a/pkg/bbgo/scale.go +++ b/pkg/bbgo/scale.go @@ -295,7 +295,7 @@ func (rule *SlideRule) Scale() (Scale, error) { return rule.QuadraticScale, nil } - return nil, errors.New("no any scale is defined") + return nil, fmt.Errorf("no any scale is defined, avaiable scales: log, exp, linear, quadratic") } // LayerScale defines the scale DSL for maker layers, e.g.,