Merge pull request #236 from ThreeCO/patch-1

Sell-Part was buying signal
This commit is contained in:
Matthias
2021-11-27 19:14:47 +01:00
committed by GitHub
+2 -2
View File
@@ -99,7 +99,7 @@ class HourBasedStrategy(IStrategy):
min, max = self.sell_hour_min.value, self.sell_hour_max.value
dataframe.loc[
(
(dataframe['hour'].between(min, max))
(dataframe['hour'].between(max, min))
),
'buy'] = 1
'sell'] = 1
return dataframe