mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
grid2: fix log format
This commit is contained in:
parent
c4544cf8b2
commit
a67d01e821
|
@ -735,7 +735,7 @@ func (s *Strategy) openGrid(ctx context.Context, session *bbgo.ExchangeSession)
|
|||
for i, order := range submitOrders {
|
||||
|
||||
if i > 0 && lastPrice.Compare(order.Price) >= 0 && lastPrice.Compare(submitOrders[i-1].Price) <= 0 {
|
||||
s.logger.Info(" - LAST PRICE: %f", lastPrice.Float64())
|
||||
s.logger.Infof(" - LAST PRICE: %f", lastPrice.Float64())
|
||||
}
|
||||
|
||||
s.logger.Info(" - ", order.String())
|
||||
|
|
Loading…
Reference in New Issue
Block a user