mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
Merge pull request #1584 from c9s/kbearXD/dca2/profit
dca2: use GeneralBackoff not GeneralLiteBackoff
This commit is contained in:
commit
14fd4ea449
|
@ -398,7 +398,7 @@ func (s *Strategy) CalculateAndEmitProfitUntilSuccessful(ctx context.Context) er
|
|||
return nil
|
||||
}
|
||||
|
||||
return retry.GeneralLiteBackoff(ctx, op)
|
||||
return retry.GeneralBackoff(ctx, op)
|
||||
}
|
||||
|
||||
func (s *Strategy) CalculateAndEmitProfit(ctx context.Context, historyService types.ExchangeTradeHistoryService, queryService types.ExchangeOrderQueryService) error {
|
||||
|
|
Loading…
Reference in New Issue
Block a user