From 5015073e7a0ce4a5d2b75c3ca72ea502acc55034 Mon Sep 17 00:00:00 2001 From: cardosofede Date: Wed, 4 Oct 2023 22:48:45 -0300 Subject: [PATCH] (feat) simplify some values of file templates --- utils/file_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/file_templates.py b/utils/file_templates.py index ad28829..e30f26e 100644 --- a/utils/file_templates.py +++ b/utils/file_templates.py @@ -122,7 +122,7 @@ def objective(trial): # amounts for going long or short, the cooldown time between orders and the triple barrier configuration stop_loss = trial.suggest_float('stop_loss', 0.01, 0.02, step=0.01) take_profit = trial.suggest_float('take_profit', 0.01, 0.05, step=0.01) - time_limit = trial.suggest_int('time_limit', 60 * 60 * 2, 60 * 60 * 24) + time_limit = trial.suggest_int('time_limit', 60 * 60 * 12, 60 * 60 * 24) triple_barrier_conf = TripleBarrierConf( stop_loss=Decimal(stop_loss), take_profit=Decimal(take_profit),