Remove unneeded function

This commit is contained in:
Matthias
2020-08-18 15:20:37 +02:00
parent aa866294cd
commit 4eb17b4daf
3 changed files with 20 additions and 15 deletions

View File

@@ -179,7 +179,7 @@ def load_trades_from_db(db_url: str, strategy: Optional[str] = None) -> pd.DataF
filters = []
if strategy:
filters = Trade.strategy == strategy
filters.append(Trade.strategy == strategy)
trades = pd.DataFrame([(t.pair,
t.open_date.replace(tzinfo=timezone.utc),