bugfix + optimizedcutoffs button on gui

This commit is contained in:
David Brazda
2023-11-22 12:18:42 +01:00
parent d621004f9a
commit 65897ce6c4
9 changed files with 830 additions and 7 deletions

View File

@ -37,7 +37,7 @@ from v2realbot.strategyblocks.indicators.indicators_hub import populate_dynamic_
from v2realbot.interfaces.backtest_interface import BacktestInterface
import os
from v2realbot.reporting.metricstoolsimage import generate_trading_report_image
import gc
#import gc
#from pyinstrument import Profiler
#adding lock to ensure thread safety of TinyDB (in future will be migrated to proper db)
lock = Lock()
@ -524,7 +524,7 @@ def batch_run_manager(id: UUID, runReq: RunRequest, rundays: list[RunDay]):
except Exception as e:
print("Nepodarilo se vytvorit report image", str(e)+format_exc())
gc.collect()
#gc.collect()
#stratin run
def run_stratin(id: UUID, runReq: RunRequest, synchronous: bool = False, inter_batch_params: dict = None):