*breaking change* simplify user strat by consolidating feature loops into backend

This commit is contained in:
robcaulk
2022-07-21 12:24:22 +02:00
parent e7337728bf
commit 8f86b0deaa
5 changed files with 42 additions and 72 deletions

View File

@@ -281,6 +281,10 @@ class IFreqaiModel(ABC):
# load the model and associated data into the data kitchen
self.model = dk.load_data(coin=metadata["pair"])
dataframe = self.dk.use_strategy_to_populate_indicators(
strategy, prediction_dataframe=dataframe, pair=metadata["pair"]
)
if not self.model:
logger.warning(
f"No model ready for {metadata['pair']}, returning null values to strategy."