diff --git a/v2realbot/reporting/metricstoolsimage.py b/v2realbot/reporting/metricstoolsimage.py index 6c2c5ec..535ccfa 100644 --- a/v2realbot/reporting/metricstoolsimage.py +++ b/v2realbot/reporting/metricstoolsimage.py @@ -171,9 +171,11 @@ def generate_trading_report_image(runner_ids: list = None, batch_id: str = None, # 'patch.edgecolor': dark_finance_theme['accent'], # }) - - # Create a combined figure for all plots 11,7 ideal na 3,4 - fig, axs = plt.subplots(3, 4, figsize=(12, 7)) + if len(closed_trades) > 100: + fig, axs = plt.subplots(3, 4, figsize=(15, 10)) + else: + # Create a combined figure for all plots 11,7 ideal na 3,4 + fig, axs = plt.subplots(3, 4, figsize=(12, 7)) #TITLE title = "" diff --git a/v2realbot/static/index.html b/v2realbot/static/index.html index 83d1433..6c44104 100644 --- a/v2realbot/static/index.html +++ b/v2realbot/static/index.html @@ -309,8 +309,8 @@ - - + +