Merge pull request #1882 from freqtrade/fix/plot_script

Update plot-script to work with exported trades
This commit is contained in:
Matthias 2019-05-27 08:21:31 +02:00 committed by GitHub
commit 73f1d9bb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def load_trades(args: Namespace, pair: str, timerange: TimeRange) -> pd.DataFram
file = Path(args.exportfilename)
if file.exists():
load_backtest_data(file)
trades = load_backtest_data(file)
else:
trades = pd.DataFrame([], columns=BT_DATA_COLUMNS)