Updated 3/23/18 4:38PMC

Added "update into backup"

Mainly PR'd to keep notes, maybe this could be used to advance documentation.
This commit is contained in:
MoonGem 2018-03-23 16:39:58 -05:00 committed by GitHub
parent 80c735cdd5
commit 6aa8b539dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ import numpy # noqa
# 'sar_reversal': (qtpylib.crossed_above( # 'sar_reversal': (qtpylib.crossed_above(
# dataframe['close'], dataframe['sar'] # dataframe['close'], dataframe['sar']
# #
# Drop the trigger into 'def populate_buy_trend(self, dataframe: DataFrame) -> DataFrame:' as: # Drop the trigger into 'def populate_buy_trend(self, dataframe: DataFrame) -> DataFrame:' into your default_strategy backup as:
# dataframe['close'], dataframe['sar'] & # dataframe['close'], dataframe['sar'] &
# Then for your other values such as: 'Mfi-Value: 15.00' # Then for your other values such as: 'Mfi-Value: 15.00'
# The if statement looks like: conditions.append(dataframe['mfi'] < params['mfi']['value'] # The if statement looks like: conditions.append(dataframe['mfi'] < params['mfi']['value']
@ -40,7 +40,7 @@ import numpy # noqa
# 'sell'] = 1 # 'sell'] = 1
# #
# Once done, move your backup strategy back over this one and backtest.
class_name = 'DefaultStrategy' class_name = 'DefaultStrategy'