dataprovider fix, updated config example

This commit is contained in:
Timothy Pogue
2022-09-04 09:42:43 -06:00
parent 05cbcf834c
commit 1601868854
2 changed files with 2 additions and 3 deletions

View File

@@ -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))