Remove unneeded initialization

This commit is contained in:
Matthias
2019-06-22 16:40:33 +02:00
parent 559d5ebd1d
commit cc56d0e0fc
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,6 @@ def analyse_and_plot_pairs(config: Dict[str, Any]):
tickers = {}
tickers[pair] = data
dataframe = generate_dataframe(strategy, tickers, pair)
trades = None
if config["trade_source"] == "DB":
trades = load_trades_from_db(config["db_url"])
elif config["trade_source"] == "file":