mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 16:43:06 +00:00
Use build_args for plot_dataframe script
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user