From bae36818d4d9c3a2bcc2c3640cbad18a7da54ac6 Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 16 Mar 2023 14:57:05 +0800 Subject: [PATCH] grid2: fix error message --- pkg/strategy/grid2/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/grid2/strategy.go b/pkg/strategy/grid2/strategy.go index 09ff9b7b5..14a75c5c6 100644 --- a/pkg/strategy/grid2/strategy.go +++ b/pkg/strategy/grid2/strategy.go @@ -911,7 +911,7 @@ func (s *Strategy) cancelAll(ctx context.Context) error { openOrders, err := queryOpenOrdersUntilSuccessful(ctx, session.Exchange, s.Symbol) if err != nil { - s.logger.WithError(err).Errorf("CancelOrdersByGroupID api call error") + s.logger.WithError(err).Errorf("queryOpenOrders api call error") werr = multierr.Append(werr, err) }