Skip to content

Commit

Permalink
Shifts report generation by 1 seconds and omit 0% Top Reports
Browse files Browse the repository at this point in the history
  • Loading branch information
patbaumgartner committed Aug 16, 2021
1 parent 8df8893 commit e993512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerter/BinancePumpAndDumpAlerter.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def check_and_send_top_pump_dump_statistics_report(
if (
current_time
> top_report_intervals[interval]["start"]
+ top_report_intervals[interval]["value"]
+ top_report_intervals[interval]["value"] + 1
):
# Update time for new trigger
top_report_intervals[interval]["start"] = current_time
Expand Down

0 comments on commit e993512

Please sign in to comment.