Move plot_utils to plot_commands
This commit is contained in:
parent
70a0346b0a
commit
b254bdfea3
@ -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
|
from freqtrade.commands.list_commands import (start_list_exchanges, # noqa: F401
|
||||||
start_list_markets, start_list_strategies,
|
start_list_markets, start_list_strategies,
|
||||||
start_list_timeframes)
|
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.trade_commands import start_trading # noqa: F401
|
||||||
from freqtrade.commands.utils import setup_utils_configuration, start_test_pairlist # noqa: F401
|
from freqtrade.commands.utils import setup_utils_configuration, start_test_pairlist # noqa: F401
|
||||||
|
@ -2,7 +2,7 @@ from typing import Any, Dict
|
|||||||
|
|
||||||
from freqtrade.exceptions import OperationalException
|
from freqtrade.exceptions import OperationalException
|
||||||
from freqtrade.state import RunMode
|
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]):
|
def validate_plot_args(args: Dict[str, Any]):
|
@ -136,8 +136,8 @@ class Arguments:
|
|||||||
start_list_exchanges, start_list_markets,
|
start_list_exchanges, start_list_markets,
|
||||||
start_list_strategies, start_new_hyperopt,
|
start_list_strategies, start_new_hyperopt,
|
||||||
start_new_strategy, start_list_timeframes,
|
start_new_strategy, start_list_timeframes,
|
||||||
|
start_plot_dataframe, start_plot_profit,
|
||||||
start_test_pairlist, start_trading)
|
start_test_pairlist, start_trading)
|
||||||
from freqtrade.plot.plot_utils import start_plot_dataframe, start_plot_profit
|
|
||||||
|
|
||||||
subparsers = self.parser.add_subparsers(dest='command',
|
subparsers = self.parser.add_subparsers(dest='command',
|
||||||
# Use custom message when no subhandler is added
|
# Use custom message when no subhandler is added
|
||||||
|
@ -11,7 +11,7 @@ from freqtrade.configuration import TimeRange
|
|||||||
from freqtrade.data import history
|
from freqtrade.data import history
|
||||||
from freqtrade.data.btanalysis import create_cum_profit, load_backtest_data
|
from freqtrade.data.btanalysis import create_cum_profit, load_backtest_data
|
||||||
from freqtrade.exceptions import OperationalException
|
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,
|
from freqtrade.plot.plotting import (add_indicators, add_profit,
|
||||||
create_plotconfig,
|
create_plotconfig,
|
||||||
generate_candlestick_graph,
|
generate_candlestick_graph,
|
||||||
|
Loading…
Reference in New Issue
Block a user