ModuleNotFoundError: No module named 'data_modules'

Dear All. I am blocked in the Unit2 of the section "Ratios for Fundamental Data", of the course "Geting Market Data". Import Libraries "gave me the following error. I working into the env "quantra_py"



How can I install this module? I will appreciate help.

Hi Efueyo



"data_modules" is a custom module that Quantra creates. You can download all the files including the "data_modules" from the last section of the course. Once downloaded you can import it as has been shown in the notebook, "Ratios from Fundamental Data".



Let us know if you face any further issues in this regard.

 

Thanks Rishabh. With this sentences:

# Quantra function to fetch the fundamental data
import sys
sys.path.append("..")
from data_modules.FMDA_quantra import get_fundamental_data 

operates correctly