dataprovider fix, updated config example
This commit is contained in:
parent
05cbcf834c
commit
1601868854
@ -173,8 +173,7 @@
|
||||
"CORS_origins": [],
|
||||
"username": "freqtrader",
|
||||
"password": "SuperSecurePassword",
|
||||
"ws_token": "a_secret_ws_token",
|
||||
"enable_message_ws": false
|
||||
"ws_token": "a_secret_ws_token"
|
||||
},
|
||||
"external_message_consumer": {
|
||||
"enabled": false,
|
||||
|
@ -166,7 +166,7 @@ class DataProvider:
|
||||
# We don't have this data yet, return empty DataFrame and datetime (01-01-1970)
|
||||
return (DataFrame(), datetime.fromtimestamp(0, tz=timezone.utc))
|
||||
|
||||
if pair_key not in self.__producer_pairs_df:
|
||||
if pair_key not in self.__producer_pairs_df[producer_name]:
|
||||
# We don't have this data yet, return empty DataFrame and datetime (01-01-1970)
|
||||
return (DataFrame(), datetime.fromtimestamp(0, tz=timezone.utc))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user