plot-profit: Make "auto-open" HTML result optional

Adding an "--auto-open" argument.
This improves tool processing of the results, while still allowing to open the HTML file for easy use.
This commit is contained in:
Janos
2021-05-30 16:11:24 +02:00
parent 3dab58e6db
commit 812eb229df
7 changed files with 18 additions and 4 deletions

View File

@@ -375,6 +375,9 @@ class Configuration:
self._args_to_config(config, argname='plot_limit',
logstring='Limiting plot to: {}')
self._args_to_config(config, argname='plot_auto_open',
logstring='Parameter --auto-open detected.')
self._args_to_config(config, argname='trade_source',
logstring='Using trades from: {}')