mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
added bot_start to backtesting
This commit is contained in:
parent
d92761b2b1
commit
4fd904e0a9
|
@ -182,6 +182,7 @@ class Backtesting:
|
|||
# since a "perfect" stoploss-exit is assumed anyway
|
||||
# And the regular "stoploss" function would not apply to that case
|
||||
self.strategy.order_types['stoploss_on_exchange'] = False
|
||||
self.strategy.bot_start()
|
||||
|
||||
def _load_protections(self, strategy: IStrategy):
|
||||
if self.config.get('enable_protections', False):
|
||||
|
|
Loading…
Reference in New Issue
Block a user