mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
grid2: update lowerPrice
This commit is contained in:
parent
d6f751c027
commit
533587ffd2
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user