mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Merge pull request #1338 from c9s/fix/add-grid2-max-retires
FIX: [grid2] set max retries to 5
This commit is contained in:
commit
d617bf8ae5
|
@ -1888,6 +1888,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
|
|||
bbgo.Sync(ctx, s)
|
||||
})
|
||||
orderExecutor.ActiveMakerOrders().OnFilled(s.newOrderUpdateHandler(ctx, session))
|
||||
orderExecutor.SetMaxRetries(5)
|
||||
|
||||
if s.logger != nil {
|
||||
orderExecutor.SetLogger(s.logger)
|
||||
|
|
Loading…
Reference in New Issue
Block a user