Sell-Part was buying signal

This commit is contained in:
ThreeCO
2021-11-27 18:32:21 +01:00
committed by GitHub
parent 20c11dd627
commit 2ca84121eb
+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