mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Regenerate plots with new settings
This commit is contained in:
parent
3883d18b8a
commit
c3fd894a6c
Binary file not shown.
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 211 KiB |
BIN
docs/assets/plot-dataframe2.png
Normal file
BIN
docs/assets/plot-dataframe2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 KiB |
|
@ -122,7 +122,7 @@ freqtrade plot-dataframe --strategy AwesomeStrategy --export-filename user_data/
|
|||
|
||||
### 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.
|
||||
|
||||
|
|
|
@ -429,8 +429,8 @@ def load_and_plot_trades(config: Dict[str, Any]):
|
|||
pair=pair,
|
||||
data=dataframe,
|
||||
trades=trades_pair,
|
||||
indicators1=config["indicators1"],
|
||||
indicators2=config["indicators2"],
|
||||
indicators1=config.get("indicators1", []),
|
||||
indicators2=config.get("indicators2", []),
|
||||
plot_config=strategy.plot_config if hasattr(strategy, 'plot_config') else {}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user