changes to names

This commit is contained in:
Jonathan Raviotta 2019-09-03 23:34:59 -04:00
parent 24cd151fcf
commit 2ee89c4ef3
2 changed files with 4 additions and 5 deletions

View File

@ -9,10 +9,10 @@ def start_plot_dataframe(args: Namespace) -> None:
Entrypoint for dataframe plotting Entrypoint for dataframe plotting
""" """
# Import here to avoid errors if plot-dependencies are not installed. # 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) config = setup_utils_configuration(args, RunMode.PLOT)
analyse_and_plot_pairs(config) load_and_plot_trades(config)
def start_plot_profit(args: Namespace) -> None: def start_plot_profit(args: Namespace) -> None:

View File

@ -24,8 +24,6 @@ class StrategyResolver(IResolver):
This class contains all the logic to load custom strategy class This class contains all the logic to load custom strategy class
""" """
__slots__ = ['strategy']
def __init__(self, config: Optional[Dict] = None) -> None: def __init__(self, config: Optional[Dict] = None) -> None:
""" """
Load the custom class from config parameter Load the custom class from config parameter
@ -123,7 +121,8 @@ class StrategyResolver(IResolver):
current_path = Path(__file__).parent.parent.joinpath('strategy').resolve() current_path = Path(__file__).parent.parent.joinpath('strategy').resolve()
abs_paths = [ abs_paths = [
config['user_data_dir'].joinpath('strategies'), Path(config['user_data_dir']).joinpath('strategies'),
config['strategy_path'],
current_path, current_path,
] ]