mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +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))
|
newPins = append(newPins, Pin(p))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g.LowerPrice = lower
|
||||||
g.addPins(newPins)
|
g.addPins(newPins)
|
||||||
return newPins
|
return newPins
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user