Remove unnecessary statement

This commit is contained in:
Matthias 2020-06-26 19:32:47 +02:00
parent 075eb0a161
commit af9a9592b7

View File

@ -141,7 +141,6 @@ def load_trades_from_db(db_url: str) -> pd.DataFrame:
:param db_url: Sqlite url (default format sqlite:///tradesv3.dry-run.sqlite) :param db_url: Sqlite url (default format sqlite:///tradesv3.dry-run.sqlite)
:return: Dataframe containing Trades :return: Dataframe containing Trades
""" """
trades: pd.DataFrame = pd.DataFrame([], columns=BT_DATA_COLUMNS)
persistence.init(db_url, clean_open_orders=False) persistence.init(db_url, clean_open_orders=False)
columns = ["pair", "open_date", "close_date", "profit", "profit_percent", columns = ["pair", "open_date", "close_date", "profit", "profit_percent",