In Financial Time Series Analysis for Trading, ARIMA model, i have entered all the code till #Forecasting the time series, but I am finally stuck in # Predict the price using predict_price_MA
function:
- import sys
- sys.path.append("C:/Users/rakes/FTSA-Resources/data_modules/")
- # Predict the price using `predict_price_MA` function:
- data['predicted_price'] = data['close'].rolling(
- rolling_window).apply(predict_price_ARIMA)
- # Shift the predicted price by 1 period:
- data['predicted_price'] = data['predicted_price'].shift(1)
-
ModuleNotFoundError Traceback (most recent call last) Cell In[76], line 1 ----> 1 from data_modules.tsa_functions_quantra import model_performance 2 model_performance(data['Close'].iloc[rolling_window:], 3 data['predicted_price'].iloc[rolling_window:])
ModuleNotFoundError: No module named 'data_modules'
I have uploaded all the files in FTSA resources on to notebook, I have also properly mentioned the path of 'data_modules'
I have deleted all duplicate folders of 'data_modules', yet i am still getting this error
Please help me resolve this issue, i am unable to proceed further due to this error