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
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"
}
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.
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
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