Update backtesting.py
This commit is contained in:
parent
ed4bf32f2a
commit
79f931f296
@ -95,10 +95,10 @@ class Backtesting(object):
|
|||||||
#self.np_sco: int = self.np_close # stops_calculated_on - Should be stop, 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.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_timing = False # Stages within Backslap
|
||||||
self.debug_2loops = False # Limit each pair to two loops, useful when debugging
|
self.debug_2loops = False # Limit each pair to two loops, useful when debugging
|
||||||
self.debug_vector = True # Debug vector calcs
|
self.debug_vector = False # Debug vector calcs
|
||||||
self.debug_timing_main_loop = False # print overall timing per pair - works in Backtest and Backslap
|
self.debug_timing_main_loop = False # print overall timing per pair - works in Backtest and Backslap
|
||||||
|
|
||||||
self.backslap_show_trades = False # prints trades in addition to summary report
|
self.backslap_show_trades = False # prints trades in addition to summary report
|
||||||
|
Loading…
Reference in New Issue
Block a user