mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
@@ -75,11 +75,11 @@ def init_plotscript(config, markets: list, startup_candles: int = 0):
|
|||||||
)
|
)
|
||||||
|
|
||||||
no_trades = False
|
no_trades = False
|
||||||
filename = config.get("exportfilename")
|
filename = config.get("exportfilename") or config.get("exportdirectory")
|
||||||
if config.get("no_trades", False):
|
if config.get("no_trades", False):
|
||||||
no_trades = True
|
no_trades = True
|
||||||
elif config["trade_source"] == "file":
|
elif config["trade_source"] == "file":
|
||||||
if not filename.is_dir() and not filename.is_file():
|
if not filename and not filename.is_dir() and not filename.is_file():
|
||||||
logger.warning("Backtest file is missing skipping trades.")
|
logger.warning("Backtest file is missing skipping trades.")
|
||||||
no_trades = True
|
no_trades = True
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user