Seeking assistance with ValueError: Model 'linear_regression' not found for {symbol}. #122
Unanswered
EuclideanWild
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @EuclideanWild, Is AAPL present in your dataframe under the symbol column? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a data frame with the columns date, open, high, low, close, brecken, lofi, symbol, and pred already created. I registered it with
pybroker.register_columns('brecken', 'lofi', 'prev_pct_change', 'pred')
Then I defined the model:
Then I defined the execution logic:
And then I tried to backtest:
However, when I run it I get the error:
ValueError: Model 'linear_regression' not found for AAPL.
Does anyone know how I can get this to work?
Beta Was this translation helpful? Give feedback.
All reactions