Volume reversal code correction

hi, in the volume reversal strategy section the code line "from pandas_datareader import data as dr" gives an error: "ModuleNotFoundError: No module named 'pandas_datareader' "



what to do?



thanks

Hi Yusuf,



To run the pandas_datareader module, you need to first pip install pandas_datareader.



The code for the same is



! pip install pandas-datareader



You can also check out the link: https://pandas-datareader.readthedocs.io/en/latest/

hi, I applied  the line "! pip install pandas-datareader" but it didn't work. it gives "invalid syntax" messageā€¦

Hi Yusuf,



You need to write the code ! pip install pandas_datareader on the right side of spyder console. I am attaching screenshot for your reference.



 



If you are still facing the probelm, please share the screenshot with the error.