Merge pull request #32 from hroff-1902/fix-sell-0

fix 'sell' set to 0 in strategies
This commit is contained in:
Misagh
2019-06-01 12:40:10 +02:00
committed by GitHub
5 changed files with 5 additions and 5 deletions
@@ -56,5 +56,5 @@ class AdxSmas(IStrategy):
(qtpylib.crossed_above(dataframe['long'], dataframe['short']))
),
'sell'] = 0
'sell'] = 1
return dataframe
@@ -62,5 +62,5 @@ class AwesomeMacd(IStrategy):
(dataframe['ao'].shift() > 0)
),
'sell'] = 0
'sell'] = 1
return dataframe
@@ -59,5 +59,5 @@ class BbandRsi(IStrategy):
(dataframe['rsi'] > 70)
),
'sell'] = 0
'sell'] = 1
return dataframe
@@ -40,5 +40,5 @@ class DoesNothingStrategy(IStrategy):
dataframe.loc[
(
),
'sell'] = 0
'sell'] = 1
return dataframe
+1 -1
View File
@@ -104,5 +104,5 @@ class Low_BB(IStrategy):
"""
dataframe.loc[
(),
'sell'] = 0
'sell'] = 1
return dataframe