Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
/ buy-the-dip Public archive

Stock predictions using a trained neural network based on factors like the fear/greed index, technical indicators, and social media sentiment analysis

Notifications You must be signed in to change notification settings

Arham4/buy-the-dip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

Buy the Dip is a stock prediction app using Python flask for the backend and Google Flutter for the frontend. Using a trained neural network, the app recommends buy, hold, or sell signals for stocks. The factors involved are:

  • CNN's Fear and Greed Index
    • Support for Alternative's Bitcoin Fear and Greed Index
  • Technical indicators
    • RSI
    • Slow stochastic
    • MACD
  • Twitter sentiment analysis
  • Reddit sentiment analysis

Planned future factors to be involved were:

  • Google Trends
  • Stock volatility

Screenshots

image image

Backend Setup

The following modules are needed to run this server:

pip install flask, fear-and-greed, finnhub-python

A finnhub API key is required for this server.

A config.json must be made set up like this:

{
  "finnhub_api_key": "your finnhub api key"
}

Frontend Setup

The following are requirements to run the frontend:

  • Flutter
  • Android SDK (if using Android to run)
    • Download the "Command line tools only," unless one wishes to use Android Studio to develop (recommended if one doesn't have IntelliJ Ultimate)
  • Gradle (if using Android to run)
  • Xcode (if using iOS to run)

After installing the tools, run the following command to check if Flutter is installed properly:

flutter doctor

Resolve all problems found.

If Using Android to Run

After installing the tools, set up a device using the AVD Manager. Then, run the AVD instance.

After the AVD instance sets up, run the following command:

flutter run

If Using iOS to Run

After installing the tools, set up a device using the Simulator application. Then, run the Simulator.

After the Simulator is set up, run the following command:

flutter run

About

Stock predictions using a trained neural network based on factors like the fear/greed index, technical indicators, and social media sentiment analysis

Topics

Resources

Stars

Watchers

Forks