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