diff --git a/starbot/painter/LiveReportGenerator.py b/starbot/painter/LiveReportGenerator.py index b00d443..3bd02b0 100644 --- a/starbot/painter/LiveReportGenerator.py +++ b/starbot/painter/LiveReportGenerator.py @@ -671,7 +671,7 @@ class LiveReportGenerator: length = len(profits) indexs = list(range(0, length)) - abs_max = math.ceil(max(max(profits), abs(min(profits)))) + abs_max = math.ceil(max(max(profits), abs(min(profits)), 0.01)) start = -abs_max - (-abs_max % 10) end = abs_max + (-abs_max % 10) step = int((end - start) / 10)