|
| 1 | +# Stock-Market-Prediction-Web-App-using-Machine-Learning |
| 2 | +**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 |
| 3 | + |
| 4 | +# Screenshots |
| 5 | +<img src="https://github.com/kaushikjadhav01/Stock-Market-Prediction-Web-App-using-Machine-Learning/blob/master/screenshots/banner.PNG"> |
| 6 | +Find how the project looks in <b>screenshots folder</b> Or <a href="https://github.com/kaushikjadhav01/Stock-Market-Prediction-Web-App-using-Machine-Learning/tree/master/screenshots">click here</a> |
| 7 | + |
| 8 | +# File and Directory Structure |
| 9 | +<pre> |
| 10 | +screenshots - Screenshots of Web App |
| 11 | +static - static files of flask app: css, images, js, etc. |
| 12 | +templates - html files |
| 13 | +Tweets.py - structure of Tweets for sentiment Analysis |
| 14 | +constants.py - config file for app with Twitter API keys and other details |
| 15 | +main.py - main machine learning module |
| 16 | +</pre> |
| 17 | + |
| 18 | +# Technologies Used |
| 19 | +<ul> |
| 20 | +<a href="https://wordpress.org/"><li>Wordpress</a></li> |
| 21 | +<a href="https://flask.palletsprojects.com/"><li>Flask</a></li> |
| 22 | +<a href="https://www.tensorflow.org/"><li>Tensorflow</a></li> |
| 23 | +<a href="https://keras.io/"><li>Keras</a></li> |
| 24 | +<a href="https://pypi.org/project/yfinance/"><li>Yahoo Finance</a></li> |
| 25 | +<a href="https://www.alphavantage.co/"><li>Alphavantage</a></li> |
| 26 | +<a href="https://scikit-learn.org/"><li>Scikit-Learn</a></li> |
| 27 | +<a href="https://www.tweepy.org/"><li>Tweepy</a></li> |
| 28 | +<a href="https://www.python.org/"><li>Python</a></li> |
| 29 | +<a href="https://www.php.net/"><li>PHP</a></li> |
| 30 | +<a href="https://www.w3.org/Style/CSS/Overview.en.html"><li>CSS</a></li> |
| 31 | +<a href="https://www.w3.org/TR/html52/"><li>HTML</a></li> |
| 32 | +<a href="https://www.javascript.com/"><li>Javascript</a></li> |
| 33 | +</ul> |
| 34 | + |
| 35 | +# How to Install and Use |
| 36 | +<ol> |
| 37 | +<li>Download and install <b>Wordpress</b> from https://wordpress.org/download/</li> |
| 38 | +<li>Once wordpress is installed, install <b>All In One WP Migration Plugin</b> on Wordpress</li> |
| 39 | +<li>Once installed, go to the plugin and import the file "localhost-wordpress-20200313-074610-uxz1wx (1).wpress" provided in my repo</li> |
| 40 | +<li>Go to command prompt, change directory to directory of repository and type <b>pip install -r requirements.txt</b></li> |
| 41 | +<li>To run app, type in command prompt, <b>python main.py</b></li> |
| 42 | +<li>Open your web browser and go to http://localhost/wordpress to access the web app</li> |
| 43 | +</ol> |
0 commit comments