persistence.init does not need the config dict
This commit is contained in:
@@ -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(_CONF)
|
||||
persistence.init(args.db_url, True)
|
||||
columns = ["pair", "profit", "open_time", "close_time",
|
||||
"open_rate", "close_rate", "duration"]
|
||||
|
||||
|
Reference in New Issue
Block a user