mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-13 02:23:51 +00:00
grid2: remove todo
This commit is contained in:
parent
abdded8126
commit
829704eda3
|
@ -1402,7 +1402,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
|
||||||
metricsGridProfit.With(labels).Set(stats.TotalQuoteProfit.Float64())
|
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 s.ClearOpenOrdersWhenStart {
|
||||||
if err := s.clearOpenOrders(ctx, session); err != nil {
|
if err := s.clearOpenOrders(ctx, session); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user