mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 09:33:05 +00:00
fix: Proper fix for plotscript
this time also saving the file ... closes #12557
This commit is contained in:
@@ -79,7 +79,7 @@ def init_plotscript(config, markets: list, startup_candles: int = 0):
|
||||
if config.get("no_trades", False):
|
||||
no_trades = True
|
||||
elif config["trade_source"] == "file":
|
||||
if not filename and not filename.is_dir() and not filename.is_file():
|
||||
if not filename or (not filename.is_dir() and not filename.is_file()):
|
||||
logger.warning("Backtest file is missing skipping trades.")
|
||||
no_trades = True
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user