plot-scripts use user_data_dir

This commit is contained in:
Matthias
2019-07-21 15:49:52 +02:00
parent da755d1c83
commit eab82fdec7
5 changed files with 11 additions and 7 deletions

View File

@@ -77,7 +77,8 @@ def analyse_and_plot_pairs(config: Dict[str, Any]):
indicators2=config["indicators2"].split(",")
)
store_plot_file(fig, generate_plot_filename(pair, config['ticker_interval']))
store_plot_file(fig, filename=generate_plot_filename(pair, config['ticker_interval']),
folder=config['user_data_dir'] / "plot")
logger.info('End of ploting process %s plots generated', pair_counter)