mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +00:00
do not return when failed cleaning up orders
This commit is contained in:
parent
12455604a6
commit
f776914e8c
|
@ -417,8 +417,7 @@ func (s *Strategy) quoteWorker(ctx context.Context) {
|
||||||
|
|
||||||
// clean up the previous open orders
|
// clean up the previous open orders
|
||||||
if err := s.cleanUpOpenOrders(ctx, s.makerSession); err != nil {
|
if err := s.cleanUpOpenOrders(ctx, s.makerSession); err != nil {
|
||||||
log.WithError(err).Errorf("error cleaning up open orders")
|
log.WithError(err).Warnf("error cleaning up open orders")
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s.updateQuote(ctx, 0)
|
s.updateQuote(ctx, 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user