Update freqtrade/data/btanalysis.py

Co-Authored-By: Matthias <xmatthias@outlook.com>
This commit is contained in:
Fredrik81 2020-03-18 11:01:09 +01:00 committed by GitHub
parent 05250ba661
commit 0920d6fce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ def load_trades_from_db(db_url: str) -> pd.DataFrame:
return trades
def load_trades(source: str, db_url: str, exportfilename: Path, no_trades: bool) -> pd.DataFrame:
def load_trades(source: str, db_url: str, exportfilename: Path, no_trades: bool = False) -> pd.DataFrame:
"""
Based on configuration option "trade_source":
* loads data from DB (using `db_url`)