Exclude Edge from startup-stoploss calc
Edge would recalculate / reevaluate stoploss values on startup, so these values are not reliable
This commit is contained in:
@@ -96,8 +96,9 @@ class FreqtradeBot(object):
|
||||
: return: None
|
||||
"""
|
||||
self.rpc.startup_messages(self.config, self.pairlists)
|
||||
# Adjust stoploss if it was changed
|
||||
Trade.stoploss_reinitialization(self.strategy.stoploss)
|
||||
if not self.edge:
|
||||
# Adjust stoploss if it was changed
|
||||
Trade.stoploss_reinitialization(self.strategy.stoploss)
|
||||
|
||||
def process(self) -> bool:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user