Merge pull request #1584 from c9s/kbearXD/dca2/profit

dca2: use GeneralBackoff not GeneralLiteBackoff
This commit is contained in:
kbearXD 2024-03-15 11:38:20 +08:00 committed by GitHub
commit 14fd4ea449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {