kaushikjadhav01 / Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis

Stock Market Prediction Web App based on Machine Learning and Sentiment Analysis of Tweets (API keys included in code). The front end of the Web App is based on Flask and Wordpress. The App forecasts stock prices of the next seven days for any given stock under NASDAQ or NSE as input by the user. Predictions are made using three algorithms: ARIMA, LSTM, Linear Regression. The Web App combines the predicted prices of the next seven days with the sentiment analysis of tweets to give recommendation whether the price is going to rise or fall
MIT License
658 stars 213 forks source link

RuntimeError: main thread is not in main loop #12

Open bhogeswar opened 3 years ago

bhogeswar commented 3 years ago

Dear Kaushik,

Today I tried to find stock forecasting opensource projects in python came across many but due to some or other issue many programs are not able to run(deprecated), during the course i found your project and details are very clear and thought of giving a try and it worked perfect in the first try itself., UI is very easy to use and the results populated with much ease compared to other programs, thank you very much for sharing such a valuable project to the public but i will evaluate the predictions during next week. In between i found some issue with the main.py program it gives below error on each new scrip search, i end up closing the console and run again it works, if possible can you provide me any updated python scripts to fix this issue?

Do we expect any future upgrade on predictions to show next day high and low prices aswell?

Error message:

Exception ignored in: <function Image.del at 0x000002288D1DAB80> Traceback (most recent call last): File "C:\Python38\lib\tkinter__init.py", line 4014, in del self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Exception ignored in: <function Image.del at 0x000002288D1DAB80> Traceback (most recent call last): File "C:\Python38\lib\tkinter\init.py", line 4014, in del__ self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Tcl_AsyncDelete: async handler deleted by the wrong thread

Regards, bhogeswar@gmail.com

ponragul commented 3 years ago

did you get the forcast report

0543139448 commented 3 years ago

Dear Kaushik,

Today I tried to find stock forecasting opensource projects in python came across many but due to some or other issue many programs are not able to run(deprecated), during the course i found your project and details are very clear and thought of giving a try and it worked perfect in the first try itself., UI is very easy to use and the results populated with much ease compared to other programs, thank you very much for sharing such a valuable project to the public but i will evaluate the predictions during next week. In between i found some issue with the main.py program it gives below error on each new scrip search, i end up closing the console and run again it works, if possible can you provide me any updated python scripts to fix this issue?

Do we expect any future upgrade on predictions to show next day high and low prices aswell?

Error message:

Exception ignored in: <function Image.del at 0x000002288D1DAB80> Traceback (most recent call last): File "C:\Python38\lib\tkinterinit.py", line 4014, in del self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Exception ignored in: <function Image.del at 0x000002288D1DAB80> Traceback (most recent call last): File "C:\Python38\lib\tkinterinit.py", line 4014, in del self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Tcl_AsyncDelete: async handler deleted by the wrong thread

Regards, bhogeswar@gmail.com

Hi there, Have you found a solution to this error?