mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
use debug log for skipping filled grid
This commit is contained in:
parent
f56df038aa
commit
98995bc75c
|
@ -155,7 +155,7 @@ func (s *Strategy) generateGridSellOrders(session *bbgo.ExchangeSession) ([]type
|
|||
}
|
||||
|
||||
if _, filled := s.filledSellGrids[price]; filled {
|
||||
log.Infof("sell grid at price %f is already filled, skipping", price.Float64())
|
||||
log.Debugf("sell grid at price %f is already filled, skipping", price.Float64())
|
||||
continue
|
||||
}
|
||||
|
||||
|
@ -239,7 +239,7 @@ func (s *Strategy) generateGridBuyOrders(session *bbgo.ExchangeSession) ([]types
|
|||
}
|
||||
|
||||
if _, filled := s.filledBuyGrids[price]; filled {
|
||||
log.Infof("buy grid at price %f is already filled, skipping", price.Float64())
|
||||
log.Debugf("buy grid at price %f is already filled, skipping", price.Float64())
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user