Skip to content

Commit

Permalink
Merge pull request #1584 from c9s/kbearXD/dca2/profit
Browse files Browse the repository at this point in the history
dca2: use GeneralBackoff not GeneralLiteBackoff
  • Loading branch information
kbearXD committed Mar 15, 2024
2 parents 3300b71 + 62d6e79 commit 14fd4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strategy/dca2/strategy.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 14fd4ea

Please sign in to comment.