fix startPrice value conversion

This commit is contained in:
c9s 2021-02-08 13:21:22 +08:00
parent 173074f5e4
commit ffb6a29d0d

View File

@ -111,7 +111,7 @@ func (s *Strategy) generateGridSellOrders(session *bbgo.ExchangeSession) ([]type
}
log.Infof("placing grid sell orders from %f ~ %f, grid spread %f",
startPrice,
startPrice.Float64(),
s.UpperPrice.Float64(),
gridSpread.Float64())