Change persistence.init parameter

It should describe what it does
This commit is contained in:
Matthias
2019-05-30 06:31:34 +02:00
parent d6cf314481
commit b6e8fecbf5
3 changed files with 8 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ timeZone = pytz.UTC
def load_trades(args: Namespace, pair: str, timerange: TimeRange) -> pd.DataFrame:
trades: pd.DataFrame = pd.DataFrame()
if args.db_url:
persistence.init(args.db_url, True)
persistence.init(args.db_url, False)
columns = ["pair", "profit", "open_time", "close_time",
"open_rate", "close_rate", "duration"]