fix 'sell' = 0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -104,5 +104,5 @@ class Low_BB(IStrategy):
|
||||
"""
|
||||
dataframe.loc[
|
||||
(),
|
||||
'sell'] = 0
|
||||
'sell'] = 1
|
||||
return dataframe
|
||||
|
||||
Reference in New Issue
Block a user