Course Name: Volatility Trading Strategies for Beginners, Section No: 2, Unit No: 6, Unit type: Notebook
When I ran the code for Moving Avg crossover, I ran into the error that Talib is not found. I searched for a source code from github [Link" https://github.com/ta-lib/ta-lib-python] but cannot proceed further. Please help.
Hello Antariksha,
Can you confirm if you have set up a virtual environment similar to Quantra. Usually, this takes care of any python library issues. For more details you can always check the following blog: Setting Up Python On Your System.
No. I have not. Will do now.
I ran into a new issue after I was able to successfully create environment in Python IDE as mentioned in blog. I was running jupyter notebook through this prompt [(quantra_py) PS C:\Users\Antariksha Pattnaik>]. Now on running the program to determine entry points from Visa stock prices, I ran into this error.
FileNotFoundError Traceback (most recent call last)
Cell In[2], line 5
2 path = "../data_modules/"
4 # Read the csv file using read_csv method of pandas
----> 5 visa_2010_2022 = pd.read_csv(path + "visa_2010_2022.csv", index_col=0) [[Error in this line]]
What should I do?
Hello Antariksha,
The most common reason is the file is not present in the local system. What we suggest to users is to download the zip file present in the last section of the course. The zip file contains all the notebooks and the data files which have been used in the course. Once you download the zip files, you can unzip it and run the required notebook through Jupyter.
Hope this helps
Thanks for your help Rekhit. So we can run those jupyter notebook files only towards the end of the day. Meanwhile I will just understand what is provided in the course itself. I have been following StackExchange and anaconda community for debugging purpose. Since I am not from IT background, I am not that pro. A simple google search often helps. But certain aspects related to finance or that particular case, we can get it resolved in quantra community.
Hi Antariksha,
Glad that you are making the effort to understand the concepts yourself. If you are still stuck, you can always write to us.
I am not sure what you mean by running the notebook files "towards the end of the day". The dataset contains the close prices. But for backtesting, you can run it anytime. Of course, once you are confident that the strategy is good, and when you move towards paper/live trading, you can choose when to run the strategy.
But don't worry, you can go through the course at your own pace to understand how the strategy works. In the meantime, we are here to help.
Thanks.