From 533587ffd2091f1be77f640d9cecf51dd4cc391d Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 6 Nov 2022 10:13:13 +0800 Subject: [PATCH] grid2: update lowerPrice --- pkg/strategy/grid2/grid.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/strategy/grid2/grid.go b/pkg/strategy/grid2/grid.go index 7e5d78aec..bc11d99b2 100644 --- a/pkg/strategy/grid2/grid.go +++ b/pkg/strategy/grid2/grid.go @@ -114,6 +114,7 @@ func (g *Grid) ExtendLowerPrice(lower fixedpoint.Value) (newPins []Pin) { newPins = append(newPins, Pin(p)) } + g.LowerPrice = lower g.addPins(newPins) return newPins }