Use build_args for plot_dataframe script

This commit is contained in:
Matthias
2019-06-22 20:18:26 +02:00
parent 7e82be53cd
commit ee312ac230
3 changed files with 8 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ import plotly.graph_objs as go
from plotly import tools
from plotly.offline import plot
from freqtrade.arguments import Arguments
from freqtrade.arguments import Arguments, ARGS_PLOT_DATAFRAME
from freqtrade.configuration import Configuration
from freqtrade.data import history
from freqtrade.exchange import timeframe_to_seconds
@@ -206,8 +206,8 @@ def plot_parse_args(args: List[str]) -> Namespace:
:return: args: Array with all arguments
"""
arguments = Arguments(args, 'Graph profits')
arguments.common_options()
arguments.main_options()
arguments.build_args(optionlist=ARGS_PLOT_DATAFRAME)
arguments.common_optimize_options()
arguments.backtesting_options()
arguments.common_scripts_options()