Move plot_utils to plot_commands

This commit is contained in:
Matthias 2020-01-26 13:20:34 +01:00
parent 70a0346b0a
commit b254bdfea3
4 changed files with 4 additions and 3 deletions

View File

@ -6,5 +6,6 @@ from freqtrade.commands.hyperopt_commands import (start_hyperopt_list, # noqa:
from freqtrade.commands.list_commands import (start_list_exchanges, # noqa: F401
start_list_markets, start_list_strategies,
start_list_timeframes)
from freqtrade.commands.plot_commands import start_plot_dataframe, start_plot_profit # noqa: F401
from freqtrade.commands.trade_commands import start_trading # noqa: F401
from freqtrade.commands.utils import setup_utils_configuration, start_test_pairlist # noqa: F401

View File

@ -2,7 +2,7 @@ from typing import Any, Dict
from freqtrade.exceptions import OperationalException
from freqtrade.state import RunMode
from freqtrade.commands import setup_utils_configuration
from freqtrade.commands.utils import setup_utils_configuration
def validate_plot_args(args: Dict[str, Any]):

View File

@ -136,8 +136,8 @@ class Arguments:
start_list_exchanges, start_list_markets,
start_list_strategies, start_new_hyperopt,
start_new_strategy, start_list_timeframes,
start_plot_dataframe, start_plot_profit,
start_test_pairlist, start_trading)
from freqtrade.plot.plot_utils import start_plot_dataframe, start_plot_profit
subparsers = self.parser.add_subparsers(dest='command',
# Use custom message when no subhandler is added

View File

@ -11,7 +11,7 @@ from freqtrade.configuration import TimeRange
from freqtrade.data import history
from freqtrade.data.btanalysis import create_cum_profit, load_backtest_data
from freqtrade.exceptions import OperationalException
from freqtrade.plot.plot_utils import start_plot_dataframe, start_plot_profit
from freqtrade.commands import start_plot_dataframe, start_plot_profit
from freqtrade.plot.plotting import (add_indicators, add_profit,
create_plotconfig,
generate_candlestick_graph,