(feat) simplify some values of file templates

This commit is contained in:
cardosofede
2023-10-04 22:48:45 -03:00
parent c99b75a9ea
commit 5015073e7a

View File

@@ -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),