From c5e2acf0f5f122d5388066dedd387459e241694c Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 2 Mar 2023 18:08:26 +0800 Subject: [PATCH] grid2: call Initialize in clean up --- pkg/strategy/grid2/strategy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/strategy/grid2/strategy.go b/pkg/strategy/grid2/strategy.go index 6bd9fcca4..36a0d3b7e 100644 --- a/pkg/strategy/grid2/strategy.go +++ b/pkg/strategy/grid2/strategy.go @@ -1567,6 +1567,7 @@ func (s *Strategy) CleanUp(ctx context.Context) error { s.session = s.ExchangeSession } + _ = s.Initialize() return s.cancelAll(ctx) }