Update plot-script to work with exported trades
This commit is contained in:
parent
3e2c808b4b
commit
1988662607
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user