changes to names
This commit is contained in:
parent
24cd151fcf
commit
2ee89c4ef3
@ -9,10 +9,10 @@ def start_plot_dataframe(args: Namespace) -> None:
|
||||
Entrypoint for dataframe plotting
|
||||
"""
|
||||
# Import here to avoid errors if plot-dependencies are not installed.
|
||||
from freqtrade.plot.plotting import analyse_and_plot_pairs
|
||||
from freqtrade.plot.plotting import load_and_plot_trades
|
||||
config = setup_utils_configuration(args, RunMode.PLOT)
|
||||
|
||||
analyse_and_plot_pairs(config)
|
||||
load_and_plot_trades(config)
|
||||
|
||||
|
||||
def start_plot_profit(args: Namespace) -> None:
|
||||
|
@ -24,8 +24,6 @@ class StrategyResolver(IResolver):
|
||||
This class contains all the logic to load custom strategy class
|
||||
"""
|
||||
|
||||
__slots__ = ['strategy']
|
||||
|
||||
def __init__(self, config: Optional[Dict] = None) -> None:
|
||||
"""
|
||||
Load the custom class from config parameter
|
||||
@ -123,7 +121,8 @@ class StrategyResolver(IResolver):
|
||||
current_path = Path(__file__).parent.parent.joinpath('strategy').resolve()
|
||||
|
||||
abs_paths = [
|
||||
config['user_data_dir'].joinpath('strategies'),
|
||||
Path(config['user_data_dir']).joinpath('strategies'),
|
||||
config['strategy_path'],
|
||||
current_path,
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user