Regenerate plots with new settings

This commit is contained in:
Matthias 2020-01-07 07:16:31 +01:00
parent 3883d18b8a
commit c3fd894a6c
4 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

View File

@ -122,7 +122,7 @@ freqtrade plot-dataframe --strategy AwesomeStrategy --export-filename user_data/
### Plot dataframe basics ### Plot dataframe basics
![plot-dataframe](assets/plot-dataframe.png) ![plot-dataframe2](assets/plot-dataframe2.png)
plot-dataframe will require backtesting data, a strategy as well as either a backtesting-results file or a Database file, containing trades corresponding to the strategy. plot-dataframe will require backtesting data, a strategy as well as either a backtesting-results file or a Database file, containing trades corresponding to the strategy.

View File

@ -429,8 +429,8 @@ def load_and_plot_trades(config: Dict[str, Any]):
pair=pair, pair=pair,
data=dataframe, data=dataframe,
trades=trades_pair, trades=trades_pair,
indicators1=config["indicators1"], indicators1=config.get("indicators1", []),
indicators2=config["indicators2"], indicators2=config.get("indicators2", []),
plot_config=strategy.plot_config if hasattr(strategy, 'plot_config') else {} plot_config=strategy.plot_config if hasattr(strategy, 'plot_config') else {}
) )