fix: ensure full hist-preds is kept
This commit is contained in:
@@ -306,10 +306,6 @@ class FreqaiDataDrawer:
|
||||
"predictions. You likely left your FreqAI instance offline "
|
||||
f"for more than {len(dataframe.index)} candles.")
|
||||
|
||||
if len(new_pred.index) == 0:
|
||||
df_concat = hist_preds.tail(
|
||||
len(dataframe.index)).reset_index(drop=True)
|
||||
else:
|
||||
# Pandas warns that its keeping dtypes of non NaN columns...
|
||||
# yea we know and we already want that behavior. Ignoring.
|
||||
with warnings.catch_warnings():
|
||||
|
||||
Reference in New Issue
Block a user