From 95c5a69d20704205d6b5a82103d1c6a920bd378b Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 12 Mar 2021 06:15:16 +0100 Subject: [PATCH] Fix tabs to spaces --- user_data/hyperopts/AverageHyperopt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user_data/hyperopts/AverageHyperopt.py b/user_data/hyperopts/AverageHyperopt.py index 1c4fb23..9e1d5fa 100644 --- a/user_data/hyperopts/AverageHyperopt.py +++ b/user_data/hyperopts/AverageHyperopt.py @@ -71,7 +71,7 @@ class AverageHyperopt(IHyperOpt): for short in range(shortRangeBegin, shortRangeEnd): for medium in range(mediumRangeBegin, mediumRangeEnd): """ - The output will be '{short}-{long}' so we can split it on the trigger + The output will be '{short}-{long}' so we can split it on the trigger this will prevent an error on scikit-optimize not accepting tuples as first argument to Categorical """ @@ -120,8 +120,8 @@ class AverageHyperopt(IHyperOpt): sellTriggerList = [] for short in range(shortRangeBegin, shortRangeEnd): for medium in range(mediumRangeBegin, mediumRangeEnd): - """ - The output will be '{short}-{long}' so we can split it on the trigger + """ + The output will be '{short}-{long}' so we can split it on the trigger this will prevent an error on scikit-optimize not accepting tuples as first argument to Categorical """ @@ -163,4 +163,4 @@ class AverageHyperopt(IHyperOpt): ), 'sell'] = 1 - return dataframe \ No newline at end of file + return dataframe