change how missing candles will be handled

This commit is contained in:
Timothy Pogue
2022-11-25 19:04:51 -07:00
parent 9660e445b8
commit 4cbb3341d7
3 changed files with 15 additions and 37 deletions

View File

@@ -388,8 +388,8 @@ class ExternalMessageConsumer:
producer_name=producer_name
)
elif len(df) == 1:
# This is just a single candle
elif len(df) < 999:
# This is n single candles
# Have dataprovider append it to
# the full datafame. If it can't,
# request the missing candles