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