mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
fix: improve wording for config overriding strategy values
closes #12212
This commit is contained in:
@@ -109,7 +109,8 @@ class StrategyResolver(IResolver):
|
||||
# Ensure Properties are not overwritten
|
||||
setattr(strategy, attribute, config[attribute])
|
||||
logger.info(
|
||||
f"Override strategy '{attribute}' with value in config file: {config[attribute]}.",
|
||||
f"Override strategy '{attribute}' with value from the configuration: "
|
||||
f"{config[attribute]}.",
|
||||
)
|
||||
elif hasattr(strategy, attribute):
|
||||
val = getattr(strategy, attribute)
|
||||
|
||||
Reference in New Issue
Block a user