grid2: remove todo

This commit is contained in:
c9s 2023-02-08 16:46:19 +08:00
parent abdded8126
commit 829704eda3
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -1402,7 +1402,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
metricsGridProfit.With(labels).Set(stats.TotalQuoteProfit.Float64())
})
// TODO: detect if there are previous grid orders on the order book
// detect if there are previous grid orders on the order book
if s.ClearOpenOrdersWhenStart {
if err := s.clearOpenOrders(ctx, session); err != nil {
return err