use debug log for skipping filled grid

This commit is contained in:
c9s 2021-03-16 02:21:46 +08:00
parent f56df038aa
commit 98995bc75c

View File

@ -155,7 +155,7 @@ func (s *Strategy) generateGridSellOrders(session *bbgo.ExchangeSession) ([]type
} }
if _, filled := s.filledSellGrids[price]; filled { 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 continue
} }
@ -239,7 +239,7 @@ func (s *Strategy) generateGridBuyOrders(session *bbgo.ExchangeSession) ([]types
} }
if _, filled := s.filledBuyGrids[price]; filled { 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 continue
} }