mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
xdepthmaker: return when we can't clean up the open orders
This commit is contained in:
parent
fb35a2b79f
commit
091eb5d9c5
|
@ -400,6 +400,7 @@ func (s *Strategy) quoteWorker(ctx context.Context) {
|
|||
// clean up the previous open orders
|
||||
if err := s.cleanUpOpenOrders(ctx, s.makerSession); err != nil {
|
||||
log.WithError(err).Errorf("error cleaning up open orders")
|
||||
return
|
||||
}
|
||||
|
||||
s.updateQuote(ctx, 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user