Awesome Open Source
Awesome Open Source


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


Wordpress file has been moved from the repository due to exceeding quota of Github LFS. Download it now from here


Find more screenshots in the screenshots folder Or click here

File and Directory Structure

screenshots - Screenshots of Web App
static - static files of flask app: css, images, js, etc.
templates - html files - structure of Tweets for sentiment Analysis - config file for app with Twitter API keys and other details - main machine learning module

Technologies Used

How to Install and Use

Python 3.8.5 is required for the python packages to install correctly

  1. Clone the repo. Download and install XAMPP server from and start Apache and MySql servers
  2. Open phpmyadmin by visiting http://localhost/phpmyadmin/ and go to User Accounts -> Add a User, give username and password as admin and click on Check All next to Global Privileges and hit Go
  3. Next, create a new database named wordpress
  4. Select the wordpress database and click on Import and select the wordpress.sql file from the repo.
  5. Download my wordpress website zip file from here
  6. Extract the above zip file in xampp/htdocs folder
  7. Go to command prompt, change directory to directory of repository and type pip install -r requirements.txt
  8. To run app, type in command prompt, python
  9. Open your web browser and go to http://localhost/www and click on the wordpress folders to access the web app
  10. Wordpress Admin Panel is available at: http://localhost/www/wordpress-5.6.2/wordpress/wp-admin

Video of setup and demo is available here

Admin Credentails

Username: admin
Email: [email protected]
Password: [email protected]


Kaushik Jadhav

  • Github:
  • Medium:
  • LinkedIn:
  • Portfolio:
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (806,773
Machine Learning (37,065
Wordpress (29,580
Tensorflow (22,341
Twitter (21,336
Flask (20,638
Keras (10,446
Stock (9,229
Tweets (8,387
Sentiment (6,177
Lstm (5,528
Sentiment Analysis (3,251
Linear Regression (1,684
Stock Market (1,194
Tweepy (339
Stock Price Prediction (320
Nse (281
Arima (95
Alpha Vantage (70
Yfinance (22