mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Rename stop/roi loading method
This commit is contained in:
parent
ad8ff10a05
commit
386d3e0353
|
@ -47,7 +47,7 @@ class StrategyResolver(IResolver):
|
|||
strategy: IStrategy = StrategyResolver._load_strategy(
|
||||
strategy_name, config=config,
|
||||
extra_dir=config.get('strategy_path'))
|
||||
strategy.ft_load_hyper_params_from_file()
|
||||
strategy.ft_load_params_from_file()
|
||||
# Set attributes
|
||||
# Check if we need to override configuration
|
||||
# (Attribute name, default, subkey)
|
||||
|
|
|
@ -85,7 +85,7 @@ class HyperStrategyMixin:
|
|||
|
||||
return params
|
||||
|
||||
def ft_load_hyper_params_from_file(self) -> None:
|
||||
def ft_load_params_from_file(self) -> None:
|
||||
"""
|
||||
Load Parameters from parameter file
|
||||
Should/must run before config values are loaded in strategy_resolver.
|
||||
|
|
Loading…
Reference in New Issue
Block a user