From 059aceb582e04c2a64c5370ffb5381e7c1956385 Mon Sep 17 00:00:00 2001 From: creslinux Date: Mon, 16 Jul 2018 16:12:33 +0000 Subject: [PATCH] Disabled full debug on in last commit Switched Stops to trigger on Low Switched Stops to pay stop-rate not close. --- freqtrade/optimize/backtesting.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 191616c6c..3aabfc2ad 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -89,17 +89,17 @@ class Backtesting(object): self.np_stop: int = 6 self.np_bto: int = self.np_close # buys_triggered_on - should be close self.np_bco: int = self.np_open # buys calculated on - open of the next candle. - # self.np_sto: int = self.np_low # stops_triggered_on - Should be low, FT uses close - # self.np_sco: int = self.np_stop # stops_calculated_on - Should be stop, FT uses close - self.np_sto: int = self.np_close # stops_triggered_on - Should be low, FT uses close - self.np_sco: int = self.np_close # stops_calculated_on - Should be stop, FT uses close + self.np_sto: int = self.np_low # stops_triggered_on - Should be low, FT uses close + self.np_sco: int = self.np_stop # stops_calculated_on - Should be stop, FT uses close + #self.np_sto: int = self.np_close # stops_triggered_on - Should be low, FT uses close + #self.np_sco: int = self.np_close # stops_calculated_on - Should be stop, FT uses close self.use_backslap = True # Enable backslap - if false Orginal code is executed. - self.debug = True # Main debug enable, very print heavy, enable 2 loops recommended + self.debug = False # Main debug enable, very print heavy, enable 2 loops recommended self.debug_timing = False # Stages within Backslap self.debug_2loops = False # Limit each pair to two loops, useful when debugging - self.debug_vector = True # Debug vector calcs - self.debug_timing_main_loop = False # print overall timing per pair - works in Backtest and Backslap + self.debug_vector = False # Debug vector calcs + self.debug_timing_main_loop = True # print overall timing per pair - works in Backtest and Backslap @staticmethod