GithubHelp home page GithubHelp logo

alireza-ebrahimi-ai / stock-market-prediction-web-app-using-machine-learning-and-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaushikjadhav01/stock-market-prediction-web-app-using-machine-learning-and-sentiment-analysis

1.0 0.0 0.0 36.11 MB

Stock Market Prediction Web App based on Machine Learning and Sentiment Analysis of Tweets

Python 100.00%

stock-market-prediction-web-app-using-machine-learning-and-sentiment-analysis's Introduction

Stock-Market-Prediction-Web-App-using-Machine-Learning

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

Note

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

Screenshots

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
Tweets.py - structure of Tweets for sentiment Analysis
constants.py - config file for app with Twitter API keys and other details
main.py - main machine learning module

Technologies Used

  • Wordpress
  • Flask
  • Tensorflow
  • Keras
  • Yahoo Finance
  • Alphavantage
  • Scikit-Learn
  • Tweepy
  • Python
  • PHP
  • CSS
  • HTML
  • Javascript

How to Install and Use

Python 3.10.6 is required for the python packages to install correctly

  1. Clone the repo. Download and install XAMPP server from https://www.apachefriends.org/download.html 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 main.py
  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: Samplepass@123

Authors

Kaushik Jadhav

stock-market-prediction-web-app-using-machine-learning-and-sentiment-analysis's People

Contributors

kaushikjadhav01 avatar

Stargazers

Alireza Ebrahimi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.